Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c132 u8 wpa_ie[255], rsn_ie[255]; in translate_scan_wpa() local
137 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan_wpa()
164 "%02x", rsn_ie[i]); in translate_scan_wpa()
177 rsn_ie); in translate_scan_wpa()
/linux-6.1.9/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.c134 ap->rsn_ie.id = RSN_INFO_ELEM_ID; in get_current_ap()
135 ap->rsn_ie.size = size; in get_current_ap()
136 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap()
143 ap->rsn_ie.id = 0; in get_current_ap()
144 ap->rsn_ie.size = 0; in get_current_ap()
295 ap->rsn_ie.id = *bp; in get_ap_information()
296 ap->rsn_ie.size = read_ie(bp, RSN_IE_BODY_MAX, in get_ap_information()
297 ap->rsn_ie.body); in get_ap_information()
Dks_wlan_net.c1149 char *current_ev, struct rsn_ie *rsn, in ks_wlan_add_leader_event()
1273 if (ap->rsn_ie.id == RSN_INFO_ELEM_ID && ap->rsn_ie.size != 0) in ks_wlan_translate_scan()
1275 current_ev, &ap->rsn_ie, in ks_wlan_translate_scan()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_ieee80211.c408 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
420 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
423 pos = rsn_ie; in rtw_parse_wpa2_ie()
468 int 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
489 if (rsn_ie) in rtw_get_sec_ie()
490 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie()
783 elems->rsn_ie = pos; in rtw_ieee802_11_parse_elems()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c502 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
514 if ((*rsn_ie != WLAN_EID_RSN) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
517 pos = rsn_ie; in rtw_parse_wpa2_ie()
604 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
625 if (rsn_ie) in rtw_get_sec_ie()
626 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie()
911 elems->rsn_ie = pos; in rtw_ieee802_11_parse_elems()
/linux-6.1.9/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-6.1.9/drivers/staging/r8188eu/include/
Dieee80211.h716 u8 *rsn_ie; member
769 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dieee80211.h692 u8 *rsn_ie; member
747 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dhif.c381 const u8 *ht_ie, *wpa_ie, *wmm_ie, *rsn_ie; in wilc_parse_join_bss_param() local
483 rsn_ie = cfg80211_find_ie(WLAN_EID_RSN, ies->data, ies->len); in wilc_parse_join_bss_param()
484 if (rsn_ie) { in wilc_parse_join_bss_param()
485 int rsn_ie_len = sizeof(struct element) + rsn_ie[1]; in wilc_parse_join_bss_param()
491 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param()
495 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param()
500 memcpy(param->rsn_cap, &rsn_ie[offset], 2); in wilc_parse_join_bss_param()
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1243 memcpy(network->rsn_ie, info_element, in libipw_parse_info_param()
1468 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Dlibipw.h639 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-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c1757 const struct brcmf_tlv *rsn_ie; in brcmf_set_key_mgmt() local
1856 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, sme->ie_len, in brcmf_set_key_mgmt()
1858 if (!rsn_ie) in brcmf_set_key_mgmt()
1860 ie = (const u8 *)rsn_ie; in brcmf_set_key_mgmt()
1861 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_set_key_mgmt()
2032 const struct brcmf_tlv *rsn_ie; in brcmf_cfg80211_connect() local
2061 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, in brcmf_cfg80211_connect()
2064 if (rsn_ie) { in brcmf_cfg80211_connect()
2065 ie = rsn_ie; in brcmf_cfg80211_connect()
2066 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_cfg80211_connect()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c239 u8 *wpa_ie, *rsn_ie; in translate_scan() local
251 rsn_ie = kzalloc(255, GFP_ATOMIC); in translate_scan()
252 if (!rsn_ie) { in translate_scan()
257 …rtw_get_sec_ie(pnetwork->network.IEs, pnetwork->network.IELength, rsn_ie, &rsn_len, wpa_ie, &wpa_l… in translate_scan()
281 p += sprintf(p, "%02x", rsn_ie[i]); in translate_scan()
290 start = iwe_stream_add_point(info, start, stop, &iwe, rsn_ie); in translate_scan()
294 kfree(rsn_ie); in translate_scan()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_wlan.h637 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-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1871 memcpy(network->rsn_ie, info_element, in ieee80211_parse_info_param()
2174 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Dieee80211_wx.c202 p += sprintf(p, "%02x", network->rsn_ie[i]); in rtl819x_translate_scan()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_rx.c2195 memcpy(network->rsn_ie, info_element, in rtllib_parse_info_param()
2457 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Drtllib_wx.c196 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Djoin.c335 memcpy(rsn_ie_tlv->rsn_ie, &priv->wpa_ie[2], in mwifiex_append_rsn_ie_wpa_wpa2()
Dtdls.c1011 memcpy((u8 *)&sta_ptr->tdls_cap.rsn_ie, pos, in mwifiex_process_tdls_action_frame()

12