Home
last modified time | relevance | path

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

/linux-6.12.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-6.12.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()
392 int rsn_ie_len = 0; in mwifiex_cmd_802_11_associate() local
526 rsn_ie_len = mwifiex_append_rsn_ie_wpa_wpa2(priv, &pos); in mwifiex_cmd_802_11_associate()
528 if (rsn_ie_len == -1) in mwifiex_cmd_802_11_associate()
880 int rsn_ie_len = 0; in mwifiex_cmd_802_11_ad_hoc_start() local
1073 rsn_ie_len = mwifiex_append_rsn_ie_wpa_wpa2(priv, &pos); in mwifiex_cmd_802_11_ad_hoc_start()
1074 if (rsn_ie_len == -1) in mwifiex_cmd_802_11_ad_hoc_start()
[all …]
/linux-6.12.1/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c403 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) in rtw_get_wpa2_ie() argument
405 return rtw_get_ie(pie, WLAN_EID_RSN, rsn_ie_len, limit); in rtw_get_wpa2_ie()
503 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
510 if (rsn_ie_len <= 0) { in rtw_parse_wpa2_ie()
515 if ((*rsn_ie != WLAN_EID_RSN) || (*(rsn_ie+1) != (u8)(rsn_ie_len - 2))) in rtw_parse_wpa2_ie()
520 left = rsn_ie_len - 4; in rtw_parse_wpa2_ie()
913 elems->rsn_ie_len = elen; in rtw_ieee802_11_parse_elems()
Drtw_mlme_ext.c1071 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
/linux-6.12.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.h630 size_t rsn_ie_len; member
Dipw2200.c5846 network->rsn_ie_len = 0; in ipw_adhoc_create()
/linux-6.12.1/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.c2054 network->rsn_ie_len = min(info_element->len + 2, in rtllib_parse_info_param()
2057 network->rsn_ie_len); in rtllib_parse_info_param()
2188 network->rsn_ie_len = 0; in rtllib_network_init()
2305 memcpy(dst->rsn_ie, src->rsn_ie, src->rsn_ie_len); in update_network()
2306 dst->rsn_ie_len = src->rsn_ie_len; in update_network()
Drtllib.h929 size_t rsn_ie_len; member
/linux-6.12.1/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.12.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-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dhif.c502 int rsn_ie_len = sizeof(struct element) + rsn_ie[1]; in wilc_parse_join_bss_param() local
509 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
513 if (offset < rsn_ie_len) { in wilc_parse_join_bss_param()
517 if (offset + 1 < rsn_ie_len) in wilc_parse_join_bss_param()