/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | ieee80211.c | 207 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()
|
D | ieee80211.h | 153 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/ |
D | isl_ioctl.c | 45 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 …]
|
D | islpci_dev.h | 62 size_t wpa_ie_len; member 168 size_t wpa_ie_len; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 270 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()
|
D | rtw_mlme_ext.c | 2892 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/ |
D | rtw_ieee80211.c | 379 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/ |
D | ieee80211.h | 665 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/ |
D | ieee80211_softmac.c | 671 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 …]
|
D | ieee80211_wx.c | 182 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()
|
D | ieee80211_rx.c | 1719 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/ |
D | rtllib_softmac.c | 827 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 …]
|
D | rtllib_wx.c | 195 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()
|
D | rtllib_rx.c | 1832 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/ |
D | ieee80211.h | 1078 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/ |
D | libipw_rx.c | 1253 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()
|
D | libipw_wx.c | 195 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()
|
D | libipw.h | 639 size_t wpa_ie_len; member 762 size_t wpa_ie_len; member
|
D | ipw2100.c | 5888 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/ |
D | sta_ioctl.c | 797 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/ |
D | wext.c | 1024 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()
|
D | orinoco.h | 152 int wpa_ie_len; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 1004 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/ |
D | hostap_proc.c | 146 seq_printf(m, "%*phN", (int)bss->wpa_ie_len, bss->wpa_ie); in prism2_bss_list_proc_show()
|
D | hostap_80211_rx.c | 455 bss->wpa_ie_len = wpa_len; in hostap_rx_sta_beacon() 457 bss->wpa_ie_len = 0; in hostap_rx_sta_beacon()
|