Searched refs:IEEE80211_HDRLEN (Results 1 – 16 of 16) sorted by relevance
370 if (frame_len < IEEE80211_HDRLEN + 1 + sizeof(*req)) { in fst_session_handle_setup_request()374 IEEE80211_HDRLEN + 1 + sizeof(*req)); in fst_session_handle_setup_request()377 plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_request()379 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_setup_request()525 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_setup_response()554 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_setup_response()629 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_tear_down()643 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_tear_down()664 size_t plen = frame_len - IEEE80211_HDRLEN - 1; in fst_session_handle_ack_request()694 (((const u8 *) mgmt) + IEEE80211_HDRLEN + 1); in fst_session_handle_ack_request()[all …]
265 rlen = IEEE80211_HDRLEN + sizeof(reply->u.auth) + ies_len; in send_auth_reply()945 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) { in handle_auth()967 if (len >= IEEE80211_HDRLEN + sizeof(mgmt->u.auth) + in handle_auth()1275 len - IEEE80211_HDRLEN - in handle_auth()1763 send_len = IEEE80211_HDRLEN + sizeof(reply.u.deauth); in send_deauth()1847 send_len = IEEE80211_HDRLEN; in send_assoc_resp()1972 if (len < IEEE80211_HDRLEN + (reassoc ? sizeof(mgmt->u.reassoc_req) : in handle_assoc()2012 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in handle_assoc()2023 left = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in handle_assoc()2215 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.disassoc)) { in handle_disassoc()[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()
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()
411 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action_ap()414 payload = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action_ap()416 plen = len - IEEE80211_HDRLEN - 2; in ieee802_11_rx_wnm_action_ap()
340 IEEE80211_HDRLEN + in hostapd_ctrl_iface_deauthenticate()400 IEEE80211_HDRLEN + in hostapd_ctrl_iface_disassociate()
688 if (len < IEEE80211_HDRLEN) in handle_probe_req()690 ie = ((const u8 *) mgmt) + IEEE80211_HDRLEN; in handle_probe_req()693 ie_len = len - IEEE80211_HDRLEN; in handle_probe_req()
1438 if (len < IEEE80211_HDRLEN + 2) in gas_serv_rx_public_action()1450 len -= IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()1451 data = buf + IEEE80211_HDRLEN + 1; in gas_serv_rx_public_action()
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()879 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)) in atheros_raw_receive()881 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.assoc_req)); in atheros_raw_receive()886 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)) in atheros_raw_receive()888 ielen = len - (IEEE80211_HDRLEN + sizeof(mgmt->u.reassoc_req)); in atheros_raw_receive()899 if (len < IEEE80211_HDRLEN + sizeof(mgmt->u.auth)) in atheros_raw_receive()910 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()
5627 IEEE80211_HDRLEN + in i802_sta_deauth()5654 IEEE80211_HDRLEN + in i802_sta_disassoc()
469 if (len < IEEE80211_HDRLEN + 1) in ap_public_action_rx()475 buf + IEEE80211_HDRLEN + 1, in ap_public_action_rx()476 len - IEEE80211_HDRLEN - 1, freq); in ap_public_action_rx()534 if (len < IEEE80211_HDRLEN + 1) in ap_vendor_action_rx()538 buf + IEEE80211_HDRLEN + 1, in ap_vendor_action_rx()539 len - IEEE80211_HDRLEN - 1, freq); in ap_vendor_action_rx()
3206 if (len < IEEE80211_HDRLEN + 2)3210 payload = frame + IEEE80211_HDRLEN;3212 plen = len - IEEE80211_HDRLEN - 1;3713 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) {3718 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN;3720 IEEE80211_HDRLEN;3760 data->rx_mgmt.frame_len > IEEE80211_HDRLEN) {3764 ie = data->rx_mgmt.frame + IEEE80211_HDRLEN;3765 ie_len = data->rx_mgmt.frame_len - IEEE80211_HDRLEN;
479 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth()888 auth_length = IEEE80211_HDRLEN + sizeof(header->u.auth); in ibss_rsn_handle_auth()
1389 if (len < IEEE80211_HDRLEN + 2) in ieee802_11_rx_wnm_action()1392 pos = ((const u8 *) mgmt) + IEEE80211_HDRLEN + 1; in ieee802_11_rx_wnm_action()
475 #define IEEE80211_HDRLEN (sizeof(struct ieee80211_hdr)) macro