Searched refs:WLAN_HDR_A3_LEN (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/staging/wlan-ng/ |
H A D | p80211hdr.h | 48 #define WLAN_HDR_A3_LEN 24 macro 171 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen() 174 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen() 183 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen()
|
H A D | p80211conv.c | 270 payload_length = skb->len - WLAN_HDR_A3_LEN - WLAN_CRC_LEN; in skb_p80211_to_ether() 271 payload_offset = WLAN_HDR_A3_LEN; in skb_p80211_to_ether() 290 if (payload_length < WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN) { in skb_p80211_to_ether() 294 payload_length -= (WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN); in skb_p80211_to_ether()
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme_ext.c | 528 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, WLAN_EID_SSID, (int *)&ielen, in OnProbeReq() 529 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq() 657 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon() 704 prxattrib->hdrlen = WLAN_HDR_A3_LEN; in OnAuth() 718 algorithm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); in OnAuth() 719 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuth() 808 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, WLAN_EID_CHALLENGE, (int *)&ie_len, in OnAuth() 809 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth() 878 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient() 879 status = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 4)); in OnAuthClient() [all …]
|
H A D | rtw_security.c | 895 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_cipher() 1121 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_decipher() 1385 ori_len = pattrib->pkt_len-WLAN_HDR_A3_LEN+BIP_AAD_SIZE; in rtw_BIP_verify() 1396 memcpy(BIP_AAD+BIP_AAD_SIZE, pframe+WLAN_HDR_A3_LEN, pattrib->pkt_len-WLAN_HDR_A3_LEN); in rtw_BIP_verify() 1398 p = rtw_get_ie(BIP_AAD+BIP_AAD_SIZE, WLAN_EID_MMIE, &len, pattrib->pkt_len-WLAN_HDR_A3_LEN); in rtw_BIP_verify()
|
H A D | rtw_recv.c | 1399 if (ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_PUBLIC && in validate_80211w_mgmt() 1400 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_HT && in validate_80211w_mgmt() 1401 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_UNPROTECTED_WNM && in validate_80211w_mgmt() 1402 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_SELF_PROTECTED && in validate_80211w_mgmt() 1403 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_P2P) { in validate_80211w_mgmt()
|
H A D | rtw_xmit.c | 736 pattrib->hdrlen = WLAN_HDR_A3_LEN; in update_attrib() 1237 (pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_PUBLIC || in rtw_mgmt_xmitframe_coalesce() 1238 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_HT || in rtw_mgmt_xmitframe_coalesce() 1239 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_UNPROTECTED_WNM || in rtw_mgmt_xmitframe_coalesce() 1240 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_SELF_PROTECTED || in rtw_mgmt_xmitframe_coalesce() 1241 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_P2P)) in rtw_mgmt_xmitframe_coalesce()
|
H A D | rtw_wlan_util.c | 1332 len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN); in update_beacon_info() 1335 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | wifi.h | 20 #define WLAN_HDR_A3_LEN 24 macro
|
H A D | rtl871x_security.c | 1042 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_cipher() 1223 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_decipher()
|
H A D | rtl871x_xmit.c | 320 pattrib->hdrlen = WLAN_HDR_A3_LEN; in r8712_update_attrib()
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | wifi.h | 17 #define WLAN_HDR_A3_LEN 24 macro
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_cfg80211.c | 1937 sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset; in rtw_cfg80211_indicate_sta_assoc() 1938 sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset; in rtw_cfg80211_indicate_sta_assoc()
|