Home
last modified time | relevance | path

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

/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()
/drivers/staging/rtl8723bs/core/
Drtw_mlme_ext.c532 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, WLAN_EID_SSID, (int *)&ielen, in OnProbeReq()
533 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
662 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon()
709 prxattrib->hdrlen = WLAN_HDR_A3_LEN; in OnAuth()
723 algorithm = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset)); in OnAuth()
724 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuth()
814 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, WLAN_EID_CHALLENGE, (int *)&ie_len, in OnAuth()
815 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
884 seq = le16_to_cpu(*(__le16 *)((SIZE_PTR)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient()
885 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.c1402 if (ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_PUBLIC && in validate_80211w_mgmt()
1403 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_HT && in validate_80211w_mgmt()
1404 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_UNPROTECTED_WNM && in validate_80211w_mgmt()
1405 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_SELF_PROTECTED && in validate_80211w_mgmt()
1406 ptr[WLAN_HDR_A3_LEN] != RTW_WLAN_CATEGORY_P2P) { in validate_80211w_mgmt()
Drtw_xmit.c728 pattrib->hdrlen = WLAN_HDR_A3_LEN; in update_attrib()
1229 (pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_PUBLIC || in rtw_mgmt_xmitframe_coalesce()
1230 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_HT || in rtw_mgmt_xmitframe_coalesce()
1231 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_UNPROTECTED_WNM || in rtw_mgmt_xmitframe_coalesce()
1232 pframe[WLAN_HDR_A3_LEN] == RTW_WLAN_CATEGORY_SELF_PROTECTED || in rtw_mgmt_xmitframe_coalesce()
1233 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()
/drivers/staging/r8188eu/core/
Drtw_p2p.c753 …p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SUPPORTEDRATES_IE_, (int *)&rate_… in process_probe_req_p2p_ie()
754 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in process_probe_req_p2p_ie()
786 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ssid_len, in process_probe_req_p2p_ie()
787 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in process_probe_req_p2p_ie()
791 …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()
833 ies = pframe + WLAN_HDR_A3_LEN + ie_offset; in process_assoc_req_p2p_ie()
834 ies_len = len - WLAN_HDR_A3_LEN - ie_offset; in process_assoc_req_p2p_ie()
Drtw_mlme_ext.c561 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, in OnProbeReq()
562 len - WLAN_HDR_A3_LEN - _PROBEREQ_IE_OFFSET_); in OnProbeReq()
691 process_p2p_ps_ie(padapter, (pframe + WLAN_HDR_A3_LEN), (len - WLAN_HDR_A3_LEN)); in OnBeacon()
707 … (update_sta_support_rate(padapter, (pframe + WLAN_HDR_A3_LEN + _BEACON_IE_OFFSET_), (len - WLAN_H… in OnBeacon()
751 seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + 2)); in OnAuth()
752 algorithm = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN)); in OnAuth()
842 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + 4 + _AUTH_IE_OFFSET_, _CHLGETXT_IE_, (int *)&ie_len, in OnAuth()
843 len - WLAN_HDR_A3_LEN - _AUTH_IE_OFFSET_ - 4); in OnAuth()
920 seq = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 2)); in OnAuthClient()
921 status = le16_to_cpu(*(__le16 *)((size_t)pframe + WLAN_HDR_A3_LEN + offset + 4)); in OnAuthClient()
[all …]
Drtw_wlan_util.c1071 len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN); in update_beacon_info()
1074 pIE = (struct ndis_802_11_var_ie *)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i); in update_beacon_info()
Drtw_security.c1053 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_cipher()
1262 if ((hdrlen == WLAN_HDR_A3_LEN) || (hdrlen == WLAN_HDR_A3_QOS_LEN)) in aes_decipher()
Drtw_mp.c92 pattrib->hdrlen = WLAN_HDR_A3_LEN; in mp_init_xmit_attrib()
Drtw_xmit.c508 pattrib->hdrlen = WLAN_HDR_A3_LEN; in update_attrib()
/drivers/staging/rtl8712/
Dwifi.h20 #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.c320 pattrib->hdrlen = WLAN_HDR_A3_LEN; in r8712_update_attrib()
/drivers/staging/rtl8723bs/include/
Dwifi.h17 #define WLAN_HDR_A3_LEN 24 macro
/drivers/staging/r8188eu/include/
Dwifi.h22 #define WLAN_HDR_A3_LEN 24 macro
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1967 sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset; in rtw_cfg80211_indicate_sta_assoc()
1968 sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset; in rtw_cfg80211_indicate_sta_assoc()