/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
H A D | fst_session.c | 369 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 in fst_session_handle_ack_request() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
H A D | fst_session.c | 369 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 in fst_session_handle_ack_request() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_atheros.c | 870 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() 948 event.auth.ies_len = len - IEEE80211_HDRLEN in atheros_raw_receive() [all...] |
H A D | driver_hostap.c | 1053 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth() 1091 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_disassoc()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_atheros.c | 866 if (len < IEEE80211_HDRLEN) in atheros_raw_receive() 882 if (len < IEEE80211_HDRLEN) in atheros_raw_receive() 889 event.rx_probe_req.ie = buf + IEEE80211_HDRLEN; in atheros_raw_receive() 890 event.rx_probe_req.ie_len = len - IEEE80211_HDRLEN; in atheros_raw_receive() 913 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)) in atheros_raw_receive() 915 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive() 920 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)) in atheros_raw_receive() 922 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive() 927 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) in atheros_raw_receive() 944 event.auth.ies_len = len - IEEE80211_HDRLEN in atheros_raw_receive() [all...] |
H A D | driver_hostap.c | 1057 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth() 1095 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_disassoc()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ieee802_11_ht.c | 216 const u8 *data = start + IEEE80211_HDRLEN + 2; in hostapd_2040_coex_action() 233 if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie)) { in hostapd_2040_coex_action() 247 if (len < IEEE80211_HDRLEN + 2 + 2 + bc_ie->length) { in hostapd_2040_coex_action()
|
H A D | ieee802_11.c | 378 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply() 3053 frame = wpabuf_head_u8(buf) + IEEE80211_HDRLEN; in handle_auth_pasn_resp() 3054 frame_len = wpabuf_len(buf) - IEEE80211_HDRLEN; in handle_auth_pasn_resp() 3317 ((const u8 *) mgmt) + IEEE80211_HDRLEN, in handle_auth_pasn_1() 3318 len - IEEE80211_HDRLEN, sta->pasn->hash); in handle_auth_pasn_1() 3378 ((const u8 *) mgmt) + IEEE80211_HDRLEN, in handle_auth_pasn_1() 3379 len - IEEE80211_HDRLEN, sta->pasn->hash); in handle_auth_pasn_1() 3586 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth() 3608 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth() 3922 len - IEEE80211_HDRLEN in handle_auth() [all...] |
H A D | wmm.c | 325 int left = len - IEEE80211_HDRLEN - 4; in hostapd_wmm_action() 326 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action()
|
H A D | wnm_ap.c | 645 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap() 648 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap() 650 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
|
H A D | rrm.c | 346 if (len < IEEE80211_HDRLEN + 3) in hostapd_handle_radio_measurement()
|
H A D | ctrl_iface_ap.c | 550 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate() 612 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ieee802_11_ht.c | 238 const u8 *data = start + IEEE80211_HDRLEN + 2; in hostapd_2040_coex_action() 255 if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie)) { in hostapd_2040_coex_action() 269 if (len < IEEE80211_HDRLEN + 2 + 2 + bc_ie->length) { in hostapd_2040_coex_action()
|
H A D | ieee802_11.c | 309 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply() 2047 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth() 2069 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth() 2387 len - IEEE80211_HDRLEN - in handle_auth() 2418 len - IEEE80211_HDRLEN - sizeof(mgmt->u.auth), in handle_auth() 3348 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth() 3496 send_len = IEEE80211_HDRLEN; in send_assoc_resp() 3875 if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : in handle_assoc() 3915 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in handle_assoc() 3926 left = len - (IEEE80211_HDRLEN in handle_assoc() [all...] |
H A D | wmm.c | 321 int left = len - IEEE80211_HDRLEN - 4; in hostapd_wmm_action() 322 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action()
|
H A D | wnm_ap.c | 585 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap() 588 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap() 590 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
|
H A D | ap_rrm.c | 346 if (len < IEEE80211_HDRLEN + 3) in hostapd_handle_radio_measurement()
|
H A D | ctrl_iface_ap.c | 514 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate() 577 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ap.c | 591 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx() 597 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx() 598 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx() 656 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx() 660 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx() 661 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
|
H A D | ibss_rsn.c | 486 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth() 907 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
|
H A D | events.c | 3772 if (len < IEEE80211_HDRLEN + 2) in wpas_event_rx_mgmt_action() 3776 payload = frame + IEEE80211_HDRLEN; in wpas_event_rx_mgmt_action() 3778 plen = len - IEEE80211_HDRLEN - 1; in wpas_event_rx_mgmt_action() 4596 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event() 4601 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event() 4603 IEEE80211_HDRLEN; in wpa_supplicant_event() 4653 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event() 4657 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event() 4658 ie_len = data->rx_mgmt.frame_len - IEEE80211_HDRLEN; in wpa_supplicant_event()
|
H A D | wnm_sta.c | 874 IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN) { in wnm_add_nei_rep() 1855 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action() 1858 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | ap.c | 816 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx() 822 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx() 823 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx() 881 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx() 885 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx() 886 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
|
H A D | ibss_rsn.c | 517 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth() 938 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
|
H A D | pasn_supplicant.c | 756 wpabuf_head_u8(buf) + IEEE80211_HDRLEN, in wpas_pasn_build_auth_1() 757 wpabuf_len(buf) - IEEE80211_HDRLEN, in wpas_pasn_build_auth_1() 827 data = wpabuf_head_u8(buf) + IEEE80211_HDRLEN; in wpas_pasn_build_auth_3() 828 data_len = wpabuf_len(buf) - IEEE80211_HDRLEN; in wpas_pasn_build_auth_3()
|