/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 413 int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwise_cipher, int *is_… in rtw_parse_wpa2_ie() argument 425 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie() 428 pos = rsn_ie; in rtw_parse_wpa2_ie() 481 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument 520 if (rsn_ie) { in rtw_get_sec_ie() 521 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie() 526 rsn_ie[i], rsn_ie[i + 1], rsn_ie[i + 2], rsn_ie[i + 3], rsn_ie[i + 4], in rtw_get_sec_ie() 527 rsn_ie[i + 5], rsn_ie[i + 6], rsn_ie[i + 7])); in rtw_get_sec_ie() 846 elems->rsn_ie = pos; in rtw_ieee802_11_parse_elems()
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 538 int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwise_cipher, int *is_… in rtw_parse_wpa2_ie() argument 550 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) { in rtw_parse_wpa2_ie() 554 pos = rsn_ie; in rtw_parse_wpa2_ie() 658 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument 692 if (rsn_ie) { in rtw_get_sec_ie() 693 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_sec_ie() 697 rsn_ie[i], rsn_ie[i+1], rsn_ie[i+2], rsn_ie[i+3], rsn_ie[i+4], in rtw_get_sec_ie() 698 rsn_ie[i+5], rsn_ie[i+6], rsn_ie[i+7])); in rtw_get_sec_ie() 1039 elems->rsn_ie = pos; in rtw_ieee802_11_parse_elems()
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | ieee80211.c | 321 int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, in r8712_parse_wpa2_ie() argument 332 if ((*rsn_ie != _WPA2_IE_ID_) || in r8712_parse_wpa2_ie() 333 (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in r8712_parse_wpa2_ie() 335 pos = rsn_ie; in r8712_parse_wpa2_ie() 364 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument 382 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie()
|
D | ieee80211.h | 157 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
|
D | rtl871x_ioctl_linux.c | 134 u8 wpa_ie[255], rsn_ie[255]; in translate_scan_wpa() local 139 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan_wpa() 166 "%02x", rsn_ie[i]); in translate_scan_wpa() 179 rsn_ie); in translate_scan_wpa()
|
/Linux-v5.10/drivers/staging/ks7010/ |
D | ks_wlan.h | 186 struct rsn_ie { struct 219 struct rsn_ie wpa_ie; 220 struct rsn_ie rsn_ie; member
|
D | ks_hostif.c | 138 ap->rsn_ie.id = RSN_INFO_ELEM_ID; in get_current_ap() 139 ap->rsn_ie.size = size; in get_current_ap() 140 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap() 147 ap->rsn_ie.id = 0; in get_current_ap() 148 ap->rsn_ie.size = 0; in get_current_ap() 299 ap->rsn_ie.id = *bp; in get_ap_information() 300 ap->rsn_ie.size = read_ie(bp, RSN_IE_BODY_MAX, in get_ap_information() 301 ap->rsn_ie.body); in get_ap_information()
|
D | ks_wlan_net.c | 1147 char *current_ev, struct rsn_ie *rsn, in ks_wlan_add_leader_event() 1271 if (ap->rsn_ie.id == RSN_INFO_ELEM_ID && ap->rsn_ie.size != 0) in ks_wlan_translate_scan() 1273 current_ev, &ap->rsn_ie, in ks_wlan_translate_scan()
|
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 2712 const u8 *rsn_ie; in ath6kl_get_rsn_capab() local 2719 rsn_ie = cfg80211_find_ie(WLAN_EID_RSN, beacon->tail, beacon->tail_len); in ath6kl_get_rsn_capab() 2720 if (!rsn_ie) in ath6kl_get_rsn_capab() 2723 rsn_ie_len = *(rsn_ie + 1); in ath6kl_get_rsn_capab() 2725 rsn_ie += 2; in ath6kl_get_rsn_capab() 2730 rsn_ie += 2; in ath6kl_get_rsn_capab() 2736 rsn_ie += 4; in ath6kl_get_rsn_capab() 2742 cnt = get_unaligned_le16(rsn_ie); in ath6kl_get_rsn_capab() 2743 rsn_ie += (2 + cnt * 4); in ath6kl_get_rsn_capab() 2749 cnt = get_unaligned_le16(rsn_ie); in ath6kl_get_rsn_capab() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 666 u8 *rsn_ie; member 726 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
|
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/ |
D | hif.c | 366 const u8 *ht_ie, *wpa_ie, *wmm_ie, *rsn_ie; in wilc_parse_join_bss_param() local 468 rsn_ie = cfg80211_find_ie(WLAN_EID_RSN, ies->data, ies->len); in wilc_parse_join_bss_param() 469 if (rsn_ie) { in wilc_parse_join_bss_param() 475 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param() 476 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param() 477 memcpy(param->rsn_cap, &rsn_ie[offset], 2); in wilc_parse_join_bss_param()
|
/Linux-v5.10/drivers/staging/rtl8723bs/include/ |
D | ieee80211.h | 1079 u8 *rsn_ie; member 1140 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
|
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 1265 memcpy(network->rsn_ie, info_element, in libipw_parse_info_param() 1490 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
|
D | libipw.h | 640 u8 rsn_ie[MAX_WPA_IE_LEN]; member
|
D | libipw_wx.c | 206 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in libipw_translate_scan()
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 1756 const struct brcmf_tlv *rsn_ie; in brcmf_set_key_mgmt() local 1847 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, sme->ie_len, in brcmf_set_key_mgmt() 1849 if (!rsn_ie) in brcmf_set_key_mgmt() 1851 ie = (const u8 *)rsn_ie; in brcmf_set_key_mgmt() 1852 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_set_key_mgmt() 2023 const struct brcmf_tlv *rsn_ie; in brcmf_cfg80211_connect() local 2052 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, in brcmf_cfg80211_connect() 2055 if (rsn_ie) { in brcmf_cfg80211_connect() 2056 ie = rsn_ie; in brcmf_cfg80211_connect() 2057 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_cfg80211_connect() [all …]
|
/Linux-v5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_wlan.h | 635 u8 rsn_ie[MAX_WPA_IE_LEN]; member
|
D | hostap_80211_rx.c | 459 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
|
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 1896 memcpy(network->rsn_ie, info_element, in ieee80211_parse_info_param() 2199 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
|
D | ieee80211_wx.c | 203 p += sprintf(p, "%02x", network->rsn_ie[i]); in rtl819x_translate_scan()
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 227 u8 wpa_ie[255], rsn_ie[255]; in translate_scan() local 235 …rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, rsn_ie, &rsn_len, wpa_ie, &wpa_… in translate_scan() 259 p += sprintf(p, "%02x", rsn_ie[i]); in translate_scan() 268 start = iwe_stream_add_point(info, start, stop, &iwe, rsn_ie); in translate_scan()
|
/Linux-v5.10/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 2217 memcpy(network->rsn_ie, info_element, in rtllib_parse_info_param() 2480 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
|
D | rtllib_wx.c | 207 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
|
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 231 u8 wpa_ie[255], rsn_ie[255]; in translate_scan() local 234 …rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_l… in translate_scan() 270 p += sprintf(p, "%02x", rsn_ie[i]); in translate_scan() 279 start = iwe_stream_add_point(info, start, stop, &iwe, rsn_ie); in translate_scan()
|
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/ |
D | join.c | 347 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()
|