/freebsd/contrib/wpa/src/fst/ |
H A D | fst_session.c | 367 if (frame_len < IEEE80211_HDRLEN + 1 + sizeof(*req)) { in fst_session_handle_setup_request() 371 IEEE80211_HDRLEN + 1 + sizeof(*req)); in fst_session_handle_setup_request() 374 plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_request() 376 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_setup_request() 504 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_response() 533 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_setup_response() 608 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_tear_down() 622 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_tear_down() 643 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_ack_request() 673 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_ack_request() [all …]
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_responder.c | 515 frame = wpabuf_head_u8(buf) + IEEE80211_HDRLEN; in handle_auth_pasn_resp() 516 frame_len = wpabuf_len(buf) - IEEE80211_HDRLEN; in handle_auth_pasn_resp() 811 ((const u8 *) mgmt) + IEEE80211_HDRLEN, in handle_auth_pasn_1() 812 len - IEEE80211_HDRLEN, pasn->hash); in handle_auth_pasn_1() 887 ((const u8 *) mgmt) + IEEE80211_HDRLEN, in handle_auth_pasn_1() 888 len - IEEE80211_HDRLEN, pasn->hash); in handle_auth_pasn_1()
|
H A D | pasn_initiator.c | 595 wpabuf_head_u8(buf) + IEEE80211_HDRLEN, in wpas_pasn_build_auth_1() 596 wpabuf_len(buf) - IEEE80211_HDRLEN, in wpas_pasn_build_auth_1() 665 data = wpabuf_head_u8(buf) + IEEE80211_HDRLEN; in wpas_pasn_build_auth_3() 666 data_len = wpabuf_len(buf) - IEEE80211_HDRLEN; in wpas_pasn_build_auth_3()
|
/freebsd/contrib/wpa/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 | wmm.c | 318 int left = len - IEEE80211_HDRLEN - 4; in hostapd_wmm_action() 319 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action()
|
H A D | ieee802_11.c | 426 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply() 2889 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth() 2925 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth() 3273 len - IEEE80211_HDRLEN - in handle_auth() 3304 len - IEEE80211_HDRLEN - sizeof(mgmt->u.auth), in handle_auth() 4709 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth() 4889 send_len = IEEE80211_HDRLEN; in send_assoc_resp() 5298 len -= IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req); in handle_mlo_translate() 5301 len -= IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req); in handle_mlo_translate() 5343 if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : in handle_assoc() [all …]
|
H A D | wnm_ap.c | 804 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap() 807 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap() 809 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
|
H A D | gas_serv.c | 1852 if (len < IEEE80211_HDRLEN + 2) in gas_serv_rx_public_action() 1870 len -= IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action() 1871 data = buf + IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()
|
H A D | rrm.c | 393 if (len < IEEE80211_HDRLEN + 3) in hostapd_handle_radio_measurement()
|
H A D | ctrl_iface_ap.c | 649 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate() 711 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
|
H A D | beacon.c | 1365 if (len < IEEE80211_HDRLEN) in handle_probe_req() 1367 ie = ((const u8 *) mgmt) + IEEE80211_HDRLEN; in handle_probe_req() 1370 ie_len = len - IEEE80211_HDRLEN; in handle_probe_req()
|
H A D | drv_callbacks.c | 1650 if (drv_mgmt->frame_len < IEEE80211_HDRLEN + 2 + 1) in hostapd_action_rx() 1653 plen = drv_mgmt->frame_len - IEEE80211_HDRLEN; in hostapd_action_rx()
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_atheros.c | 865 if (len < IEEE80211_HDRLEN) in atheros_raw_receive() 881 if (len < IEEE80211_HDRLEN) in atheros_raw_receive() 888 event.rx_probe_req.ie = buf + IEEE80211_HDRLEN; in atheros_raw_receive() 889 event.rx_probe_req.ie_len = len - IEEE80211_HDRLEN; in atheros_raw_receive() 912 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)) in atheros_raw_receive() 914 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() 928 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) in atheros_raw_receive() 945 event.auth.ies_len = len - IEEE80211_HDRLEN - in atheros_raw_receive()
|
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()
|
H A D | driver_nl80211.c | 4328 if (data_len >= IEEE80211_HDRLEN + 2 && in wpa_driver_nl80211_send_mlme() 4329 WPA_GET_LE16(data + IEEE80211_HDRLEN) == WLAN_AUTH_PASN && in wpa_driver_nl80211_send_mlme() 8274 IEEE80211_HDRLEN + in i802_sta_deauth() 8301 IEEE80211_HDRLEN + in i802_sta_disassoc()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | ap.c | 837 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx() 843 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx() 844 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx() 903 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx() 907 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx() 908 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
|
H A D | wnm_sta.c | 913 IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN) { in wnm_add_nei_rep() 1645 IEEE80211_HDRLEN + sizeof(frame->u.action.u.bss_tm_resp) || in wnm_btm_resp_tx_status() 1950 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action() 1953 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
|
H A D | ibss_rsn.c | 506 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth() 926 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
|
H A D | events.c | 5296 if (len < IEEE80211_HDRLEN + 2) in wpas_event_rx_mgmt_action() 5300 payload = frame + IEEE80211_HDRLEN; in wpas_event_rx_mgmt_action() 5302 plen = len - IEEE80211_HDRLEN - 1; in wpas_event_rx_mgmt_action() 6447 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event() 6452 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event() 6454 IEEE80211_HDRLEN; in wpa_supplicant_event() 6510 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event() 6514 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event() 6515 ie_len = data->rx_mgmt.frame_len - IEEE80211_HDRLEN; in wpa_supplicant_event()
|
H A D | rrm.c | 454 #define MPDU_REPORT_LEN (int) (IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN - 3) in wpas_rrm_send_msr_report()
|
H A D | sme.c | 1947 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in sme_external_auth_mgmt_rx()
|
/freebsd/contrib/wpa/src/common/ |
H A D | ieee802_11_defs.h | 968 #define IEEE80211_HDRLEN (sizeof(struct ieee80211_hdr)) macro
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa.c | 6215 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_resp)) in fils_process_assoc_resp()
|