Home
last modified time | relevance | path

Searched refs:rsn_ie_len (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/staging/rtl8712/
Dieee80211.c241 unsigned char *r8712_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len, in r8712_get_wpa2_ie() argument
244 return r8712_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit); in r8712_get_wpa2_ie()
321 int r8712_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, in r8712_parse_wpa2_ie() argument
328 if (rsn_ie_len <= 0) { in r8712_parse_wpa2_ie()
333 (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in r8712_parse_wpa2_ie()
337 left = rsn_ie_len - 4; in r8712_parse_wpa2_ie()
Dieee80211.h149 unsigned char *r8712_get_wpa_ie(unsigned char *pie, uint *rsn_ie_len,
151 unsigned char *r8712_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len,
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Djoin.c322 int rsn_ie_len; in mwifiex_append_rsn_ie_wpa_wpa2() local
340 rsn_ie_len = sizeof(rsn_ie_tlv->header) + in mwifiex_append_rsn_ie_wpa_wpa2()
342 *buffer += rsn_ie_len; in mwifiex_append_rsn_ie_wpa_wpa2()
344 return rsn_ie_len; in mwifiex_append_rsn_ie_wpa_wpa2()
390 int rsn_ie_len = 0; in mwifiex_cmd_802_11_associate() local
496 rsn_ie_len = mwifiex_append_rsn_ie_wpa_wpa2(priv, &pos); in mwifiex_cmd_802_11_associate()
498 if (rsn_ie_len == -1) in mwifiex_cmd_802_11_associate()
832 int rsn_ie_len = 0; in mwifiex_cmd_802_11_ad_hoc_start() local
1025 rsn_ie_len = mwifiex_append_rsn_ie_wpa_wpa2(priv, &pos); in mwifiex_cmd_802_11_ad_hoc_start()
1026 if (rsn_ie_len == -1) in mwifiex_cmd_802_11_ad_hoc_start()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c402 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) in rtw_get_wpa2_ie() argument
404 return rtw_get_ie(pie, WLAN_EID_RSN, rsn_ie_len, limit); in rtw_get_wpa2_ie()
502 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
509 if (rsn_ie_len <= 0) { in rtw_parse_wpa2_ie()
514 if ((*rsn_ie != WLAN_EID_RSN) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
519 left = rsn_ie_len - 4; in rtw_parse_wpa2_ie()
912 elems->rsn_ie_len = elen; in rtw_ieee802_11_parse_elems()
Drtw_mlme_ext.c1072 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1241 network->rsn_ie_len = min(info_element->len + 2, in libipw_parse_info_param()
1244 network->rsn_ie_len); in libipw_parse_info_param()
1330 network->rsn_ie_len = 0; in libipw_handle_assoc_resp()
1390 network->rsn_ie_len = 0; in libipw_network_init()
1468 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
1469 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Dlibipw_wx.c204 if (network->rsn_ie_len) { in libipw_translate_scan()
206 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in libipw_translate_scan()
208 iwe.u.data.length = network->rsn_ie_len; in libipw_translate_scan()
Dlibipw.h640 size_t rsn_ie_len; member
Dipw2200.c5846 network->rsn_ie_len = 0; in ipw_adhoc_create()
/linux-6.6.21/drivers/staging/rtl8192u/
Dr8192U_debugfs.c21 if (target->wpa_ie_len > 0 || target->rsn_ie_len > 0) in rtl8192_usb_stats_ap_show()
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_wx.c184 if (network->rsn_ie_len) { in rtl819x_translate_scan()
187 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
189 iwe.u.data.length = network->rsn_ie_len; in rtl819x_translate_scan()
Drtllib_rx.c2148 network->rsn_ie_len = min(info_element->len + 2, in rtllib_parse_info_param()
2151 network->rsn_ie_len); in rtllib_parse_info_param()
2284 network->rsn_ie_len = 0; in rtllib_network_init()
2401 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2402 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Drtllib.h1087 size_t rsn_ie_len; member
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Dieee80211.h696 u8 rsn_ie_len; member
743 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit);
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c2713 size_t rsn_ie_len; in ath6kl_get_rsn_capab() local
2723 rsn_ie_len = *(rsn_ie + 1); in ath6kl_get_rsn_capab()
2728 if (rsn_ie_len < 2) in ath6kl_get_rsn_capab()
2731 rsn_ie_len -= 2; in ath6kl_get_rsn_capab()
2734 if (rsn_ie_len < 4) in ath6kl_get_rsn_capab()
2737 rsn_ie_len -= 4; in ath6kl_get_rsn_capab()
2740 if (rsn_ie_len < 2) in ath6kl_get_rsn_capab()
2744 rsn_ie_len -= (2 + cnt * 4); in ath6kl_get_rsn_capab()
2747 if (rsn_ie_len < 2) in ath6kl_get_rsn_capab()
2751 rsn_ie_len -= (2 + cnt * 4); in ath6kl_get_rsn_capab()
[all …]
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1871 network->rsn_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param()
1874 network->rsn_ie_len); in ieee80211_parse_info_param()
2028 network->rsn_ie_len = 0; in ieee80211_network_init()
2138 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2139 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Dieee80211_wx.c196 if (ieee->wpa_enabled && network->rsn_ie_len) { in rtl819x_translate_scan()
201 for (i = 0; i < network->rsn_ie_len; i++) in rtl819x_translate_scan()
Dieee80211.h1304 size_t rsn_ie_len; member
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dhif.c485 int rsn_ie_len = sizeof(struct element) + rsn_ie[1]; in wilc_parse_join_bss_param() local
492 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
496 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
500 if (offset + 1 < rsn_ie_len) in wilc_parse_join_bss_param()
/linux-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c460 bss->rsn_ie_len = rsn_len; in hostap_rx_sta_beacon()
462 bss->rsn_ie_len = 0; in hostap_rx_sta_beacon()
Dhostap_wlan.h638 size_t rsn_ie_len; member
Dhostap_ioctl.c1957 if (bss && bss->rsn_ie_len > 0 && bss->rsn_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan()
1960 iwe.u.data.length = bss->rsn_ie_len; in __prism2_translate_scan()