Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/drivers/staging/r8188eu/core/
Drtw_ieee80211.c310 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) in rtw_get_wpa2_ie() argument
313 return rtw_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit); in rtw_get_wpa2_ie()
408 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
415 if (rsn_ie_len <= 0) { in rtw_parse_wpa2_ie()
420 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
425 left = rsn_ie_len - 4; in rtw_parse_wpa2_ie()
784 elems->rsn_ie_len = elen; in rtw_ieee802_11_parse_elems()
Drtw_mlme_ext.c1106 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
/Linux-v6.1/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.c1074 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
/Linux-v6.1/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.c5889 network->rsn_ie_len = 0; in ipw_adhoc_create()
/Linux-v6.1/drivers/staging/rtl8192u/
Dr8192U_debugfs.c21 if (target->wpa_ie_len > 0 || target->rsn_ie_len > 0) in rtl8192_usb_stats_ap_show()
/Linux-v6.1/drivers/staging/r8188eu/include/
Dieee80211.h717 u8 rsn_ie_len; member
760 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit);
/Linux-v6.1/drivers/staging/rtl8723bs/include/
Dieee80211.h693 u8 rsn_ie_len; member
740 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit);
/Linux-v6.1/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-v6.1/drivers/staging/rtl8192e/
Drtllib_wx.c193 if (network->rsn_ie_len) { in rtl819x_translate_scan()
196 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
198 iwe.u.data.length = network->rsn_ie_len; in rtl819x_translate_scan()
Drtllib_rx.c2193 network->rsn_ie_len = min(info_element->len + 2, in rtllib_parse_info_param()
2196 network->rsn_ie_len); in rtllib_parse_info_param()
2334 network->rsn_ie_len = 0; in rtllib_network_init()
2457 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2458 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Drtllib.h1132 size_t rsn_ie_len; member
/Linux-v6.1/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1867 network->rsn_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param()
1870 network->rsn_ie_len); in ieee80211_parse_info_param()
2061 network->rsn_ie_len = 0; in ieee80211_network_init()
2172 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2173 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.h1367 size_t rsn_ie_len; member
/Linux-v6.1/drivers/net/wireless/microchip/wilc1000/
Dhif.c485 int rsn_ie_len = sizeof(struct element) + rsn_ie[1]; in wilc_parse_join_bss_param() local
489 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
493 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
497 if (offset + 1 < rsn_ie_len) { in wilc_parse_join_bss_param()
/Linux-v6.1/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.c1928 if (bss && bss->rsn_ie_len > 0 && bss->rsn_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan()
1931 iwe.u.data.length = bss->rsn_ie_len; in __prism2_translate_scan()