aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-05-06 16:04:01 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-22 08:59:06 (GMT)
commit6de339d9e9d2de55569669dc160129137fccc7c4 (patch)
tree33a7f9779852e774e684cc8575c33fff62f4e417
parent203eb7328a5368fd865441455645a71841ce0cf7 (diff)
downloadhostap-06-6de339d9e9d2de55569669dc160129137fccc7c4.zip
hostap-06-6de339d9e9d2de55569669dc160129137fccc7c4.tar.gz
hostap-06-6de339d9e9d2de55569669dc160129137fccc7c4.tar.bz2
Add more debugging details for SA Query processing
(cherry picked from commit 92305c5d9a79a783d9f495f29e3e0fc06e66ed0a)
-rw-r--r--hostapd/ieee802_11.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/hostapd/ieee802_11.c b/hostapd/ieee802_11.c
index 851e144..d5ac755 100644
--- a/hostapd/ieee802_11.c
+++ b/hostapd/ieee802_11.c
@@ -1265,6 +1265,11 @@ void ieee802_11_send_sa_query_req(struct hostapd_data *hapd,
struct ieee80211_mgmt mgmt;
u8 *end;
+ wpa_printf(MSG_DEBUG, "IEEE 802.11: Sending SA Query Request to "
+ MACSTR, MAC2STR(addr));
+ wpa_hexdump(MSG_DEBUG, "IEEE 802.11: SA Query Transaction ID",
+ trans_id, WLAN_SA_QUERY_TR_ID_LEN);
+
os_memset(&mgmt, 0, sizeof(mgmt));
mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
WLAN_FC_STYPE_ACTION);
@@ -1302,6 +1307,12 @@ static void hostapd_sa_query_action(struct hostapd_data *hapd,
return;
}
+ wpa_printf(MSG_DEBUG, "IEEE 802.11: Received SA Query Response from "
+ MACSTR, MAC2STR(mgmt->sa));
+ wpa_hexdump(MSG_DEBUG, "IEEE 802.11: SA Query Transaction ID",
+ mgmt->u.action.u.sa_query_resp.trans_id,
+ WLAN_SA_QUERY_TR_ID_LEN);
+
/* MLME-SAQuery.confirm */
sta = ap_get_sta(hapd, mgmt->sa);