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 …]
287 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 …]
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()
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()
406 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap()409 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap()411 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
410 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate()473 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
795 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()
1735 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()
346 if (len < IEEE80211_HDRLEN + 3) in hostapd_handle_radio_measurement()
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()942 event.auth.ies_len = len - IEEE80211_HDRLEN - in atheros_raw_receive()
1046 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()
6226 IEEE80211_HDRLEN + in i802_sta_deauth()6253 IEEE80211_HDRLEN + in i802_sta_disassoc()
530 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()
3581 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()
484 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()
795 IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN) { in wnm_add_nei_rep()1704 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action()1707 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
401 #define MPDU_REPORT_LEN (int) (IEEE80211_MAX_MMPDU_SIZE - IEEE80211_HDRLEN - 3) in wpas_rrm_send_msr_report()
769 #define IEEE80211_HDRLEN (sizeof(struct ieee80211_hdr)) macro
4036 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_resp)) in fils_process_assoc_resp()