Home
last modified time | relevance | path

Searched refs:WLAN_HDR_A3_LEN (Results 1 – 16 of 16) sorted by relevance

/drivers/staging/wlan-ng/
Dp80211hdr.h69 #define WLAN_HDR_A3_LEN 24 macro
206 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen()
209 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen()
218 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen()
Dp80211conv.c291 payload_length = skb->len - WLAN_HDR_A3_LEN - WLAN_CRC_LEN; in skb_p80211_to_ether()
292 payload_offset = WLAN_HDR_A3_LEN; in skb_p80211_to_ether()
311 if (payload_length < WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN) { in skb_p80211_to_ether()
315 payload_length -= (WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN); in skb_p80211_to_ether()
/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c631 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _VENDOR_SPECIFIC_IE_, (int *)&iele… in OnProbeReq()
632 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
731 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, in OnProbeReq()
732 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
865 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon()
914 prxattrib->hdrlen = WLAN_HDR_A3_LEN; in OnAuth()
928 algorithm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); in OnAuth()
929 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuth()
1031 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, (int *)&ie_len, in OnAuth()
1032 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
[all …]
Drtw_security.c1326 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_cipher()
1582 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_decipher()
1912 ori_len = pattrib->pkt_len-WLAN_HDR_A3_LEN+BIP_AAD_SIZE; in rtw_BIP_verify()
1924 memcpy(BIP_AAD+BIP_AAD_SIZE, pframe+WLAN_HDR_A3_LEN, pattrib->pkt_len-WLAN_HDR_A3_LEN); in rtw_BIP_verify()
1926 p = rtw_get_ie(BIP_AAD+BIP_AAD_SIZE, _MME_IE_, &len, pattrib->pkt_len-WLAN_HDR_A3_LEN); in rtw_BIP_verify()
Drtw_recv.c1457 if (ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_PUBLIC && in validate_80211w_mgmt()
1458 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_HT && in validate_80211w_mgmt()
1459 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_UNPROTECTED_WNM && in validate_80211w_mgmt()
1460 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_SELF_PROTECTED && in validate_80211w_mgmt()
1461 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_P2P) { in validate_80211w_mgmt()
1462 DBG_871X("action frame category =%d should robust\n", ptr[WLAN_HDR_A3_LEN]); in validate_80211w_mgmt()
Drtw_xmit.c791 pattrib->hdrlen = WLAN_HDR_A3_LEN; in update_attrib()
1336 (pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_PUBLIC || in rtw_mgmt_xmitframe_coalesce()
1337 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_HT || in rtw_mgmt_xmitframe_coalesce()
1338 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_UNPROTECTED_WNM || in rtw_mgmt_xmitframe_coalesce()
1339 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_SELF_PROTECTED || in rtw_mgmt_xmitframe_coalesce()
1340 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_P2P)) in rtw_mgmt_xmitframe_coalesce()
Drtw_wlan_util.c1454 len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN); in update_beacon_info()
1457 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c2518 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, &ielen, in OnProbeReq()
2519 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
2619 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon()
2664 seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + 2)); in OnAuth()
2665 algorithm = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN)); in OnAuth()
2755 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, &ie_len, in OnAuth()
2756 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
2830 seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient()
2831 status = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 4)); in OnAuthClient()
2849 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, &len, in OnAuthClient()
[all …]
Drtw_wlan_util.c991 len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN); in update_beacon_info()
994 pIE = (struct ndis_802_11_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
Drtw_xmit.c492 pattrib->hdrlen = WLAN_HDR_A3_LEN; in update_attrib()
/drivers/staging/rtl8712/
Dwifi.h23 #define WLAN_HDR_A3_LEN 24 macro
Drtl871x_security.c1043 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_cipher()
1224 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_decipher()
Drtl871x_xmit.c321 pattrib->hdrlen = WLAN_HDR_A3_LEN; in r8712_update_attrib()
/drivers/staging/rtl8188eu/include/
Dwifi.h14 #define WLAN_HDR_A3_LEN 24 macro
/drivers/staging/rtl8723bs/include/
Dwifi.h25 #define WLAN_HDR_A3_LEN 24 macro
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2395 sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset; in rtw_cfg80211_indicate_sta_assoc()
2396 sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset; in rtw_cfg80211_indicate_sta_assoc()