Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/staging/wlan-ng/
Dp80211hdr.h69 #define WLAN_HDR_A3_LEN 24 macro
192 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen()
195 hdrlen = WLAN_HDR_A3_LEN; in p80211_headerlen()
204 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()
/Linux-v6.1/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c530 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, WLAN_EID_SSID, (int *)&ielen, in OnProbeReq()
531 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
659 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon()
706 prxattrib->hdrlen = WLAN_HDR_A3_LEN; in OnAuth()
720 algorithm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); in OnAuth()
721 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuth()
810 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, WLAN_EID_CHALLENGE, (int *)&ie_len, in OnAuth()
811 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
880 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient()
881 status = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 4)); in OnAuthClient()
[all …]
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()
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()
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()
Drtw_wlan_util.c1336 len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN); in update_beacon_info()
1339 pIE = (struct ndis_80211_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_p2p.c736 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SUPPORTEDRATES_IE_, (int *)&rate_… in process_probe_req_p2p_ie()
737 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in process_probe_req_p2p_ie()
769 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ssid_len, in process_probe_req_p2p_ie()
770 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in process_probe_req_p2p_ie()
774 …p2pie = rtw_get_p2p_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, len - WLAN_HDR_A3_LEN - _P… in process_probe_req_p2p_ie()
816 ies = pframe + WLAN_HDR_A3_LEN + ie_offset; in process_assoc_req_p2p_ie()
817 ies_len = len - WLAN_HDR_A3_LEN - ie_offset; in process_assoc_req_p2p_ie()
Drtw_mlme_ext.c555 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, in OnProbeReq()
556 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
678 process_p2p_ps_ie(padapter, (pframe + WLAN_HDR_A3_LEN), (len - WLAN_HDR_A3_LEN)); in OnBeacon()
694 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon()
735 seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + 2)); in OnAuth()
736 algorithm = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN)); in OnAuth()
815 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, (int *)&ie_len, in OnAuth()
816 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
881 seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient()
882 status = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 4)); in OnAuthClient()
[all …]
Drtw_security.c986 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_cipher()
1193 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_decipher()
Drtw_wlan_util.c1044 len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN); in update_beacon_info()
1047 pIE = (struct ndis_802_11_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
Drtw_xmit.c606 pattrib->hdrlen = WLAN_HDR_A3_LEN; in update_attrib()
/Linux-v6.1/drivers/staging/rtl8712/
Dwifi.h20 #define WLAN_HDR_A3_LEN 24 macro
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()
Drtl871x_xmit.c295 pattrib->hdrlen = WLAN_HDR_A3_LEN; in r8712_update_attrib()
/Linux-v6.1/drivers/staging/r8188eu/include/
Dwifi.h11 #define WLAN_HDR_A3_LEN 24 macro
/Linux-v6.1/drivers/staging/rtl8723bs/include/
Dwifi.h17 #define WLAN_HDR_A3_LEN 24 macro
/Linux-v6.1/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1965 sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset; in rtw_cfg80211_indicate_sta_assoc()
1966 sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset; in rtw_cfg80211_indicate_sta_assoc()