Home
last modified time | relevance | path

Searched refs:rsn_ie (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c413 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/
Drtw_ieee80211.c538 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/
Dieee80211.c321 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()
Dieee80211.h157 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
Drtl871x_ioctl_linux.c134 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/
Dks_wlan.h186 struct rsn_ie { struct
219 struct rsn_ie wpa_ie;
220 struct rsn_ie rsn_ie; member
Dks_hostif.c138 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()
Dks_wlan_net.c1147 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/
Dcfg80211.c2712 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/
Dieee80211.h666 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/
Dhif.c366 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/
Dieee80211.h1079 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/
Dlibipw_rx.c1265 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()
Dlibipw.h640 u8 rsn_ie[MAX_WPA_IE_LEN]; member
Dlibipw_wx.c206 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in libipw_translate_scan()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c1756 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/
Dhostap_wlan.h635 u8 rsn_ie[MAX_WPA_IE_LEN]; member
Dhostap_80211_rx.c459 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
/Linux-v5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1896 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()
Dieee80211_wx.c203 p += sprintf(p, "%02x", network->rsn_ie[i]); in rtl819x_translate_scan()
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c227 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/
Drtllib_rx.c2217 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()
Drtllib_wx.c207 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c231 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/
Djoin.c347 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()

12