Searched refs:IEEE80211_HDRLEN (Results 1 – 15 of 15) sorted by relevance
258 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply()892 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth()914 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth()1102 len - IEEE80211_HDRLEN - in handle_auth()1555 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()1583 send_len = IEEE80211_HDRLEN; in send_assoc_resp()1694 if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : in handle_assoc()1734 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in handle_assoc()1745 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in handle_assoc()1892 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.disassoc)) { in handle_disassoc()[all …]
215 const u8 *data = start + IEEE80211_HDRLEN + 2; in hostapd_2040_coex_action()224 if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie)) in hostapd_2040_coex_action()234 if (len < IEEE80211_HDRLEN + 2 + 2 + bc_ie->length) in hostapd_2040_coex_action()
260 int left = len - IEEE80211_HDRLEN - 4; in hostapd_wmm_action()261 const u8 *pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 4; in hostapd_wmm_action()
386 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap()389 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap()391 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
322 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate()382 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
1244 if (len < IEEE80211_HDRLEN + 2) in gas_serv_rx_public_action()1256 len -= IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()1257 data = buf + IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()
555 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in handle_probe_req()557 ie_len = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in handle_probe_req()
837 if (len < IEEE80211_HDRLEN) in atheros_raw_receive()853 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)) in atheros_raw_receive()862 len - (IEEE80211_HDRLEN + sizeof(mgmt->u.probe_req)); in atheros_raw_receive()875 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)) in atheros_raw_receive()877 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive()882 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)) in atheros_raw_receive()884 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive()895 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) in atheros_raw_receive()906 event.auth.ies_len = len - IEEE80211_HDRLEN - in atheros_raw_receive()
1055 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_deauth()1093 return hostap_send_mlme(drv, (u8 *) &mgmt, IEEE80211_HDRLEN + in hostap_sta_disassoc()
5425 IEEE80211_HDRLEN + in i802_sta_deauth()5452 IEEE80211_HDRLEN + in i802_sta_disassoc()
407 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx()413 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx()414 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx()472 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx()476 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx()477 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
479 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth()887 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
1117 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action()1120 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
3034 if (len < IEEE80211_HDRLEN + 2)3038 payload = frame + IEEE80211_HDRLEN;3040 plen = len - IEEE80211_HDRLEN - 1;
458 #define IEEE80211_HDRLEN (sizeof(struct ieee80211_hdr)) macro