Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/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.c133 ap->rsn_ie.id = RSN_INFO_ELEM_ID; in get_current_ap()
134 ap->rsn_ie.size = size; in get_current_ap()
135 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap()
142 ap->rsn_ie.id = 0; in get_current_ap()
143 ap->rsn_ie.size = 0; in get_current_ap()
294 ap->rsn_ie.id = *bp; in get_ap_information()
295 ap->rsn_ie.size = read_ie(bp, RSN_IE_BODY_MAX, in get_ap_information()
296 ap->rsn_ie.body); in get_ap_information()
Dks_wlan_net.c1148 char *current_ev, struct rsn_ie *rsn, in ks_wlan_add_leader_event()
1272 if (ap->rsn_ie.id == RSN_INFO_ELEM_ID && ap->rsn_ie.size != 0) in ks_wlan_translate_scan()
1274 current_ev, &ap->rsn_ie, in ks_wlan_translate_scan()
/linux-6.6.21/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.6.21/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.6.21/drivers/staging/rtl8723bs/include/
Dieee80211.h695 u8 *rsn_ie; member
750 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.6.21/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()
494 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param()
498 offset += (rsn_ie[offset] * 4) + 2; in wilc_parse_join_bss_param()
501 memcpy(param->rsn_cap, &rsn_ie[offset], 2); in wilc_parse_join_bss_param()
/linux-6.6.21/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.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2103 const struct brcmf_tlv *rsn_ie; in brcmf_set_key_mgmt() local
2202 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, sme->ie_len, in brcmf_set_key_mgmt()
2204 if (!rsn_ie) in brcmf_set_key_mgmt()
2206 ie = (const u8 *)rsn_ie; in brcmf_set_key_mgmt()
2207 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_set_key_mgmt()
2378 const struct brcmf_tlv *rsn_ie; in brcmf_cfg80211_connect() local
2413 rsn_ie = brcmf_parse_tlvs((const u8 *)sme->ie, in brcmf_cfg80211_connect()
2416 if (rsn_ie) { in brcmf_cfg80211_connect()
2417 ie = rsn_ie; in brcmf_cfg80211_connect()
2418 ie_len = rsn_ie->len + TLV_HDR_LEN; in brcmf_cfg80211_connect()
[all …]
/linux-6.6.21/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.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1873 memcpy(network->rsn_ie, info_element, in ieee80211_parse_info_param()
2138 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()
Dieee80211.h1303 u8 rsn_ie[MAX_WPA_IE_LEN]; member
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_rx.c2150 memcpy(network->rsn_ie, info_element, in rtllib_parse_info_param()
2401 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
Drtllib_wx.c187 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
Drtllib.h1086 u8 rsn_ie[MAX_WPA_IE_LEN]; member
/linux-6.6.21/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.c1014 memcpy((u8 *)&sta_ptr->tdls_cap.rsn_ie, pos, in mwifiex_process_tdls_action_frame()
Dmain.h758 struct ieee_types_generic rsn_ie; member

12