Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Dieee80211.c207 unsigned char *r8712_get_wpa_ie(unsigned char *ie, uint *wpa_ie_len, int limit) in r8712_get_wpa_ie() argument
226 *wpa_ie_len = *(buf + 1); in r8712_get_wpa_ie()
229 *wpa_ie_len = 0; in r8712_get_wpa_ie()
237 *wpa_ie_len = 0; in r8712_get_wpa_ie()
277 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, in r8712_parse_wpa_ie() argument
284 if (wpa_ie_len <= 0) { in r8712_parse_wpa_ie()
289 (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) || in r8712_parse_wpa_ie()
294 left = wpa_ie_len - 8; in r8712_parse_wpa_ie()
Dieee80211.h153 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
155 int r8712_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Disl_ioctl.c45 u8 *wpa_ie, size_t wpa_ie_len);
581 size_t wpa_ie_len; in prism54_translate_bss() local
643 wpa_ie_len = prism54_wpa_bss_ie_get(priv, bss->address, wpa_ie); in prism54_translate_bss()
644 if (wpa_ie_len > 0) { in prism54_translate_bss()
646 iwe.u.data.length = min_t(size_t, wpa_ie_len, MAX_WPA_IE_LEN); in prism54_translate_bss()
1262 priv->wpa_ie_len = data->length; in prism54_set_genie()
1264 alen = sizeof(*attach) + priv->wpa_ie_len; in prism54_set_genie()
1277 attach->size = priv->wpa_ie_len; in prism54_set_genie()
1278 memcpy(attach->data, extra, priv->wpa_ie_len); in prism54_set_genie()
1281 priv->wpa_ie_len); in prism54_set_genie()
[all …]
Dislpci_dev.h62 size_t wpa_ie_len; member
168 size_t wpa_ie_len; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c270 unsigned char *rtw_get_wpa_ie(unsigned char *pie, uint *wpa_ie_len, int limit) in rtw_get_wpa_ie() argument
293 *wpa_ie_len = *(pbuf + 1); in rtw_get_wpa_ie()
296 *wpa_ie_len = 0; in rtw_get_wpa_ie()
305 *wpa_ie_len = 0; in rtw_get_wpa_ie()
346 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8… in rtw_parse_wpa_ie() argument
353 if (wpa_ie_len <= 0) { in rtw_parse_wpa_ie()
358 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) || in rtw_parse_wpa_ie()
365 left = wpa_ie_len - 8; in rtw_parse_wpa_ie()
711 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
Drtw_mlme_ext.c2892 int i, wpa_ie_len, left; in OnAssocReq() local
3026 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
3028 …if (rtw_parse_wpa2_ie(wpa_ie - 2, wpa_ie_len + 2, &group_cipher, &pairwise_cipher, NULL) == _SUCCE… in OnAssocReq()
3047 wpa_ie_len = elems.wpa_ie_len; in OnAssocReq()
3049 …if (rtw_parse_wpa_ie(wpa_ie - 2, wpa_ie_len + 2, &group_cipher, &pairwise_cipher, NULL) == _SUCCES… in OnAssocReq()
3066 wpa_ie_len = 0; in OnAssocReq()
3125 copy_len = min_t(int, wpa_ie_len + 2, sizeof(pstat->wpa_ie)); in OnAssocReq()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c379 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in rtw_get_wpa_ie() argument
404 *wpa_ie_len = *(pbuf + 1); in rtw_get_wpa_ie()
409 *wpa_ie_len = 0; in rtw_get_wpa_ie()
423 *wpa_ie_len = 0; in rtw_get_wpa_ie()
465 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8… in rtw_parse_wpa_ie() argument
472 if (wpa_ie_len <= 0) { in rtw_parse_wpa_ie()
477 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie+1) != (u8)(wpa_ie_len - 2)) || in rtw_parse_wpa_ie()
485 left = wpa_ie_len - 8; in rtw_parse_wpa_ie()
888 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dieee80211.h665 u8 wpa_ie_len; member
716 unsigned char *rtw_get_wpa_ie(unsigned char *pie, uint *wpa_ie_len, int limit);
721 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
723 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c671 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_probe_resp() local
698 ((0 == strcmp(crypt->ops->name, "WEP") || wpa_ie_len)); in ieee80211_probe_resp()
720 + wpa_ie_len in ieee80211_probe_resp()
789 if (wpa_ie_len) { in ieee80211_probe_resp()
794 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in ieee80211_probe_resp()
795 tag += wpa_ie_len; in ieee80211_probe_resp()
953 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_association_req() local
969 …eee->host_encrypt && crypt && crypt->ops && ((0 == strcmp(crypt->ops->name, "WEP") || wpa_ie_len)); in ieee80211_association_req()
998 + wpa_ie_len in ieee80211_association_req()
1011 + wpa_ie_len in ieee80211_association_req()
[all …]
Dieee80211_wx.c182 if (ieee->wpa_enabled && network->wpa_ie_len) { in rtl819x_translate_scan()
187 for (i = 0; i < network->wpa_ie_len; i++) { in rtl819x_translate_scan()
802 ieee->wpa_ie_len = len; in ieee80211_wx_set_gen_ie()
806 ieee->wpa_ie_len = 0; in ieee80211_wx_set_gen_ie()
Dieee80211_rx.c1719 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param()
1722 network->wpa_ie_len); in ieee80211_parse_info_param()
2089 network->wpa_ie_len = 0; in ieee80211_network_init()
2199 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
2200 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
Drtllib_softmac.c827 int wpa_ie_len = ieee->wpa_ie_len; in rtllib_probe_resp() local
858 ((strcmp(crypt->ops->name, "R-WEP") == 0 || wpa_ie_len)); in rtllib_probe_resp()
880 + wpa_ie_len + ieee->tx_headroom; in rtllib_probe_resp()
952 if (wpa_ie_len) { in rtllib_probe_resp()
955 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in rtllib_probe_resp()
956 tag += ieee->wpa_ie_len; in rtllib_probe_resp()
1154 int wpa_ie_len = ieee->wpa_ie_len; in rtllib_association_req() local
1177 wpa_ie_len)); in rtllib_association_req()
1211 wpa_ie_len += 18; in rtllib_association_req()
1213 wpa_ie_len); in rtllib_association_req()
[all …]
Drtllib_wx.c195 if (network->wpa_ie_len) { in rtl819x_translate_scan()
198 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in rtl819x_translate_scan()
200 iwe.u.data.length = network->wpa_ie_len; in rtl819x_translate_scan()
798 ieee->wpa_ie_len = len; in rtllib_wx_set_gen_ie()
802 ieee->wpa_ie_len = 0; in rtllib_wx_set_gen_ie()
Drtllib_rx.c1832 network->wpa_ie_len = min(info_element->len + 2, in rtllib_parse_mife_generic()
1834 memcpy(network->wpa_ie, info_element, network->wpa_ie_len); in rtllib_parse_mife_generic()
2356 network->wpa_ie_len = 0; in rtllib_network_init()
2478 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
2479 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Dieee80211.h1078 u8 wpa_ie_len; member
1132 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit);
1137 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8…
1138 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_…
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1253 network->wpa_ie_len = min(info_element->len + 2, in libipw_parse_info_param()
1256 network->wpa_ie_len); in libipw_parse_info_param()
1351 network->wpa_ie_len = 0; in libipw_handle_assoc_resp()
1411 network->wpa_ie_len = 0; in libipw_network_init()
1488 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
1489 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
Dlibipw_wx.c195 if (network->wpa_ie_len) { in libipw_translate_scan()
197 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in libipw_translate_scan()
199 iwe.u.data.length = network->wpa_ie_len; in libipw_translate_scan()
Dlibipw.h639 size_t wpa_ie_len; member
762 size_t wpa_ie_len; member
Dipw2100.c5888 char *wpa_ie, int wpa_ie_len) in ipw2100_wpa_assoc_frame() argument
5896 memcpy(frame.var_ie, wpa_ie, wpa_ie_len); in ipw2100_wpa_assoc_frame()
5897 frame.var_ie_len = wpa_ie_len; in ipw2100_wpa_assoc_frame()
7548 ieee->wpa_ie_len = wrqu->data.length; in ipw2100_wx_set_genie()
7552 ieee->wpa_ie_len = 0; in ipw2100_wx_set_genie()
7555 ipw2100_wpa_assoc_frame(priv, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_set_genie()
7568 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in ipw2100_wx_get_genie()
7573 if (wrqu->data.length < ieee->wpa_ie_len) in ipw2100_wx_get_genie()
7576 wrqu->data.length = ieee->wpa_ie_len; in ipw2100_wx_get_genie()
7577 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_get_genie()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c797 priv->wpa_ie_len = ie_len; in mwifiex_set_wpa_ie()
800 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie()
812 priv->wpa_ie_len = 0; in mwifiex_set_wpa_ie()
815 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie()
1434 gen_ie->len = priv->wpa_ie_len; in mwifiex_misc_ioctl_gen_ie()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dwext.c1024 priv->wpa_ie_len = wrqu->data.length; in orinoco_ioctl_set_genie()
1049 if ((priv->wpa_ie_len == 0) || (priv->wpa_ie == NULL)) { in orinoco_ioctl_get_genie()
1054 if (wrqu->data.length < priv->wpa_ie_len) { in orinoco_ioctl_get_genie()
1059 wrqu->data.length = priv->wpa_ie_len; in orinoco_ioctl_get_genie()
1060 memcpy(extra, priv->wpa_ie, priv->wpa_ie_len); in orinoco_ioctl_get_genie()
Dorinoco.h152 int wpa_ie_len; member
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c1004 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in _rtl92e_wx_get_gen_ie()
1009 if (data->data.length < ieee->wpa_ie_len) in _rtl92e_wx_get_gen_ie()
1012 data->data.length = ieee->wpa_ie_len; in _rtl92e_wx_get_gen_ie()
1013 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in _rtl92e_wx_get_gen_ie()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_proc.c146 seq_printf(m, "%*phN", (int)bss->wpa_ie_len, bss->wpa_ie); in prism2_bss_list_proc_show()
Dhostap_80211_rx.c455 bss->wpa_ie_len = wpa_len; in hostap_rx_sta_beacon()
457 bss->wpa_ie_len = 0; in hostap_rx_sta_beacon()

12