Add more debugging details for SA Query processing
This commit is contained in:
parent
4209a95df5
commit
92305c5d9a
1 changed files with 11 additions and 0 deletions
|
@ -1287,6 +1287,11 @@ void ieee802_11_send_sa_query_req(struct hostapd_data *hapd,
|
||||||
struct ieee80211_mgmt mgmt;
|
struct ieee80211_mgmt mgmt;
|
||||||
u8 *end;
|
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));
|
os_memset(&mgmt, 0, sizeof(mgmt));
|
||||||
mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
|
mgmt.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT,
|
||||||
WLAN_FC_STYPE_ACTION);
|
WLAN_FC_STYPE_ACTION);
|
||||||
|
@ -1324,6 +1329,12 @@ static void hostapd_sa_query_action(struct hostapd_data *hapd,
|
||||||
return;
|
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 */
|
/* MLME-SAQuery.confirm */
|
||||||
|
|
||||||
sta = ap_get_sta(hapd, mgmt->sa);
|
sta = ap_get_sta(hapd, mgmt->sa);
|
||||||
|
|
Loading…
Reference in a new issue