Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/wlan-ng/
H A Dp80211hdr.h48 #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 Dp80211conv.c270 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 Drtw_mlme_ext.c529 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
704 prxattrib->hdrlen = WLAN_HDR_A3_LEN; in OnAuth()
809 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
898 pkt_len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_); in OnAuthClient()
976 capab_info = get_unaligned_le16(pframe + WLAN_HDR_A3_LEN); in OnAssocReq()
1009 pkt_len - WLAN_HDR_A3_LEN - ie_offset); in OnAssocReq()
1028 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + ie_offset, WLAN_EID_SUPP_RATES, &ie_len, pkt_len - WLAN_… in OnAssocReq()
1041 pkt_len - WLAN_HDR_A3_LEN - ie_offset); in OnAssocReq()
1185 p = pframe + WLAN_HDR_A3_LEN + ie_offset; ie_len = 0; in OnAssocReq()
1416 for (i = (6 + WLAN_HDR_A3_LEN); i < pkt_len;) { in OnAssocRsp()
[all …]
H A Drtw_security.c895 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 Drtw_recv.c1399 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 Drtw_xmit.c736 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 Drtw_wlan_util.c1332 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 Dwifi.h20 #define WLAN_HDR_A3_LEN 24 macro
H A Drtl871x_security.c1042 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 Drtl871x_xmit.c320 pattrib->hdrlen = WLAN_HDR_A3_LEN; in r8712_update_attrib()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dwifi.h17 #define WLAN_HDR_A3_LEN 24 macro
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c1937 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()