Searched refs:IEEE80211_HDRLEN (Results 1 – 19 of 19) sorted by relevance
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 + 1); in fst_session_handle_ack_request()[all …]
238 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()
273 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply()1406 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth()1428 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth()1707 len - IEEE80211_HDRLEN - in handle_auth()2198 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()2294 send_len = IEEE80211_HDRLEN; in send_assoc_resp()2534 if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : in handle_assoc()2574 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in handle_assoc()2585 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in handle_assoc()2898 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.disassoc)) { in handle_disassoc()[all …]
257 int left = len - IEEE80211_HDRLEN - 4; in hostapd_wmm_action()258 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action()
399 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()
341 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate()404 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
732 if (len < IEEE80211_HDRLEN) in handle_probe_req()734 ie = ((const u8 *) mgmt) + IEEE80211_HDRLEN; in handle_probe_req()737 ie_len = len - IEEE80211_HDRLEN; in handle_probe_req()
1521 if (len < IEEE80211_HDRLEN + 2) in gas_serv_rx_public_action()1539 len -= IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()1540 data = buf + IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()
346 if (len < IEEE80211_HDRLEN + 3) in hostapd_handle_radio_measurement()
842 if (len < IEEE80211_HDRLEN) in atheros_raw_receive()858 if (len < IEEE80211_HDRLEN) in atheros_raw_receive()865 event.rx_probe_req.ie = buf + IEEE80211_HDRLEN; in atheros_raw_receive()866 event.rx_probe_req.ie_len = len - IEEE80211_HDRLEN; in atheros_raw_receive()889 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)) in atheros_raw_receive()891 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive()896 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)) in atheros_raw_receive()898 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive()903 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) in atheros_raw_receive()914 event.auth.ies_len = len - IEEE80211_HDRLEN - in atheros_raw_receive()
1048 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth()1086 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_disassoc()
6062 IEEE80211_HDRLEN + in i802_sta_deauth()6089 IEEE80211_HDRLEN + in i802_sta_disassoc()
487 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx()493 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx()494 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx()552 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx()556 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx()557 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
3454 if (len < IEEE80211_HDRLEN + 2) in wpas_event_rx_mgmt_action()3458 payload = frame + IEEE80211_HDRLEN; in wpas_event_rx_mgmt_action()3460 plen = len - IEEE80211_HDRLEN - 1; in wpas_event_rx_mgmt_action()4006 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event()4011 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event()4013 IEEE80211_HDRLEN; in wpa_supplicant_event()4053 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) { in wpa_supplicant_event()4057 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN; in wpa_supplicant_event()4058 ie_len = data->rx_mgmt.frame_len - IEEE80211_HDRLEN; in wpa_supplicant_event()
480 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth()902 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
1522 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action()1525 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
400 #define MPDU_REPORT_LEN (int) (IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN - 3) in wpas_rrm_send_msr_report()
766 #define IEEE80211_HDRLEN (sizeof(struct ieee80211_hdr)) macro
3660 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_resp)) in fils_process_assoc_resp()