Home
last modified time | relevance | path

Searched refs:IEEE80211_HDRLEN (Results 1 – 19 of 19) sorted by relevance

/external/wpa_supplicant_8/src/fst/
Dfst_session.c369 if (frame_len < IEEE80211_HDRLEN + 1 + sizeof(*req)) { in fst_session_handle_setup_request()
373 IEEE80211_HDRLEN + 1 + sizeof(*req)); in fst_session_handle_setup_request()
376 plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_request()
378 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_setup_request()
506 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_response()
535 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_setup_response()
610 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_tear_down()
624 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_tear_down()
645 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_ack_request()
675 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_ack_request()
[all …]
/external/wpa_supplicant_8/src/ap/
Dieee802_11.c287 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply()
1642 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth()
1664 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth()
1946 len - IEEE80211_HDRLEN - in handle_auth()
1977 len - IEEE80211_HDRLEN - sizeof(mgmt->u.auth), in handle_auth()
2619 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()
2730 send_len = IEEE80211_HDRLEN; in send_assoc_resp()
3001 if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : in handle_assoc()
3041 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in handle_assoc()
3052 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in handle_assoc()
[all …]
Dieee802_11_ht.c238 const u8 *data = start + IEEE80211_HDRLEN + 2; in hostapd_2040_coex_action()
247 if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie)) in hostapd_2040_coex_action()
257 if (len < IEEE80211_HDRLEN + 2 + 2 + bc_ie->length) in hostapd_2040_coex_action()
Dwmm.c257 int left = len - IEEE80211_HDRLEN - 4; in hostapd_wmm_action()
258 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action()
Dwnm_ap.c399 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap()
402 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap()
404 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
Dctrl_iface_ap.c410 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate()
473 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
Dbeacon.c795 if (len < IEEE80211_HDRLEN) in handle_probe_req()
797 ie = ((const u8 *) mgmt) + IEEE80211_HDRLEN; in handle_probe_req()
800 ie_len = len - IEEE80211_HDRLEN; in handle_probe_req()
Dgas_serv.c1735 if (len < IEEE80211_HDRLEN + 2) in gas_serv_rx_public_action()
1753 len -= IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()
1754 data = buf + IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()
Drrm.c346 if (len < IEEE80211_HDRLEN + 3) in hostapd_handle_radio_measurement()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c870 if (len < IEEE80211_HDRLEN) in atheros_raw_receive()
886 if (len < IEEE80211_HDRLEN) in atheros_raw_receive()
893 event.rx_probe_req.ie = buf + IEEE80211_HDRLEN; in atheros_raw_receive()
894 event.rx_probe_req.ie_len = len - IEEE80211_HDRLEN; in atheros_raw_receive()
917 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)) in atheros_raw_receive()
919 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive()
924 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)) in atheros_raw_receive()
926 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive()
931 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) in atheros_raw_receive()
942 event.auth.ies_len = len - IEEE80211_HDRLEN - in atheros_raw_receive()
Ddriver_hostap.c1046 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth()
1084 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_disassoc()
Ddriver_nl80211.c6226 IEEE80211_HDRLEN + in i802_sta_deauth()
6253 IEEE80211_HDRLEN + in i802_sta_disassoc()
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c530 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx()
536 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx()
537 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx()
595 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx()
599 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx()
600 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
Devents.c3581 if (len < IEEE80211_HDRLEN + 2) in wpas_event_rx_mgmt_action()
3585 payload = frame + IEEE80211_HDRLEN; in wpas_event_rx_mgmt_action()
3587 plen = len - IEEE80211_HDRLEN - 1; in wpas_event_rx_mgmt_action()
4194 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event()
4199 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event()
4201 IEEE80211_HDRLEN; in wpa_supplicant_event()
4241 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event()
4245 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event()
4246 ie_len = data->rx_mgmt.frame_len - IEEE80211_HDRLEN; in wpa_supplicant_event()
Dibss_rsn.c484 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth()
905 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
Dwnm_sta.c791 IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN) { in wnm_add_nei_rep()
1700 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action()
1703 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
Drrm.c401 #define MPDU_REPORT_LEN (int) (IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN - 3) in wpas_rrm_send_msr_report()
/external/wpa_supplicant_8/src/common/
Dieee802_11_defs.h769 #define IEEE80211_HDRLEN (sizeof(struct ieee80211_hdr)) macro
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c4036 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_resp)) in fils_process_assoc_resp()