Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Djoin.c334 int rsn_ie_len; in mwifiex_append_rsn_ie_wpa_wpa2() local
352 rsn_ie_len = sizeof(rsn_ie_tlv->header) + in mwifiex_append_rsn_ie_wpa_wpa2()
354 *buffer += rsn_ie_len; in mwifiex_append_rsn_ie_wpa_wpa2()
356 return rsn_ie_len; in mwifiex_append_rsn_ie_wpa_wpa2()
402 int rsn_ie_len = 0; in mwifiex_cmd_802_11_associate() local
508 rsn_ie_len = mwifiex_append_rsn_ie_wpa_wpa2(priv, &pos); in mwifiex_cmd_802_11_associate()
510 if (rsn_ie_len == -1) in mwifiex_cmd_802_11_associate()
844 int rsn_ie_len = 0; in mwifiex_cmd_802_11_ad_hoc_start() local
1037 rsn_ie_len = mwifiex_append_rsn_ie_wpa_wpa2(priv, &pos); in mwifiex_cmd_802_11_ad_hoc_start()
1038 if (rsn_ie_len == -1) in mwifiex_cmd_802_11_ad_hoc_start()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c309 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len, int limit) in rtw_get_wpa2_ie() argument
311 return rtw_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit); in rtw_get_wpa2_ie()
413 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_len <= 0) { in rtw_parse_wpa2_ie()
425 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie + 1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
430 left = rsn_ie_len - 4; in rtw_parse_wpa2_ie()
847 elems->rsn_ie_len = elen; in rtw_ieee802_11_parse_elems()
Drtw_mlme_ext.c3026 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c428 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) in rtw_get_wpa2_ie() argument
430 return rtw_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit); in rtw_get_wpa2_ie()
538 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
545 if (rsn_ie_len <= 0) { in rtw_parse_wpa2_ie()
550 if ((*rsn_ie != _WPA2_IE_ID_) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) { in rtw_parse_wpa2_ie()
556 left = rsn_ie_len - 4; in rtw_parse_wpa2_ie()
1040 elems->rsn_ie_len = elen; in rtw_ieee802_11_parse_elems()
Drtw_mlme_ext.c1319 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1263 network->rsn_ie_len = min(info_element->len + 2, in libipw_parse_info_param()
1266 network->rsn_ie_len); in libipw_parse_info_param()
1352 network->rsn_ie_len = 0; in libipw_handle_assoc_resp()
1412 network->rsn_ie_len = 0; in libipw_network_init()
1490 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
1491 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.h641 size_t rsn_ie_len; member
Dipw2200.c5892 network->rsn_ie_len = 0; in ipw_adhoc_create()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dieee80211.h667 u8 rsn_ie_len; member
717 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, uint *rsn_ie_len, int limit);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_wx.c204 if (network->rsn_ie_len) { in rtl819x_translate_scan()
207 memcpy(buf, network->rsn_ie, network->rsn_ie_len); in rtl819x_translate_scan()
209 iwe.u.data.length = network->rsn_ie_len; in rtl819x_translate_scan()
Drtllib_rx.c2215 network->rsn_ie_len = min(info_element->len + 2, in rtllib_parse_info_param()
2218 network->rsn_ie_len); in rtllib_parse_info_param()
2357 network->rsn_ie_len = 0; in rtllib_network_init()
2480 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2481 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Drtllib.h1132 size_t rsn_ie_len; member
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1896 network->rsn_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param()
1899 network->rsn_ie_len); in ieee80211_parse_info_param()
2090 network->rsn_ie_len = 0; in ieee80211_network_init()
2201 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2202 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Dieee80211_wx.c197 if (ieee->wpa_enabled && network->rsn_ie_len) { in rtl819x_translate_scan()
202 for (i = 0; i < network->rsn_ie_len; i++) { in rtl819x_translate_scan()
Dieee80211.h1367 size_t rsn_ie_len; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dieee80211.h1080 u8 rsn_ie_len; member
1133 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit);
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dhif.c470 int rsn_ie_len = sizeof(struct element) + rsn_ie[1]; in wilc_parse_join_bss_param() local
477 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
481 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
485 if (offset + 1 < rsn_ie_len) in wilc_parse_join_bss_param()
/kernel/linux/linux-5.10/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.h636 size_t rsn_ie_len; member
Dhostap_ioctl.c1939 if (bss && bss->rsn_ie_len > 0 && bss->rsn_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan()
1942 iwe.u.data.length = bss->rsn_ie_len; in __prism2_translate_scan()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr8192U_core.c474 if (target->wpa_ie_len > 0 || target->rsn_ie_len > 0) in proc_get_stats_ap()