/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 | 735 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, 737 int r8712_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
|
/drivers/net/wireless/intersil/prism54/ |
D | isl_ioctl.c | 45 u8 *wpa_ie, size_t wpa_ie_len); 582 size_t wpa_ie_len; in prism54_translate_bss() local 644 wpa_ie_len = prism54_wpa_bss_ie_get(priv, bss->address, wpa_ie); in prism54_translate_bss() 645 if (wpa_ie_len > 0) { in prism54_translate_bss() 647 iwe.u.data.length = min_t(size_t, wpa_ie_len, MAX_WPA_IE_LEN); in prism54_translate_bss() 1263 priv->wpa_ie_len = data->length; in prism54_set_genie() 1265 alen = sizeof(*attach) + priv->wpa_ie_len; in prism54_set_genie() 1278 attach->size = priv->wpa_ie_len; in prism54_set_genie() 1279 memcpy(attach->data, extra, priv->wpa_ie_len); in prism54_set_genie() 1282 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
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_ieee80211.c | 273 unsigned char *rtw_get_wpa_ie(unsigned char *pie, uint *wpa_ie_len, int limit) in rtw_get_wpa_ie() argument 296 *wpa_ie_len = *(pbuf + 1); in rtw_get_wpa_ie() 299 *wpa_ie_len = 0; in rtw_get_wpa_ie() 309 *wpa_ie_len = 0; in rtw_get_wpa_ie() 350 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 357 if (wpa_ie_len <= 0) { in rtw_parse_wpa_ie() 362 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) || in rtw_parse_wpa_ie() 369 left = wpa_ie_len - 8; in rtw_parse_wpa_ie() 712 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
|
D | rtw_mlme_ext.c | 2899 int i, wpa_ie_len, left; in OnAssocReq() local 3032 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq() 3034 …if (rtw_parse_wpa2_ie(wpa_ie-2, wpa_ie_len+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in OnAssocReq() 3053 wpa_ie_len = elems.wpa_ie_len; in OnAssocReq() 3055 if (rtw_parse_wpa_ie(wpa_ie-2, wpa_ie_len+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in OnAssocReq() 3072 wpa_ie_len = 0; in OnAssocReq() 3131 copy_len = min_t(int, wpa_ie_len + 2, sizeof(pstat->wpa_ie)); in OnAssocReq()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 378 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in rtw_get_wpa_ie() argument 403 *wpa_ie_len = *(pbuf + 1); in rtw_get_wpa_ie() 408 *wpa_ie_len = 0; in rtw_get_wpa_ie() 422 *wpa_ie_len = 0; in rtw_get_wpa_ie() 464 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 471 if (wpa_ie_len <= 0) { in rtw_parse_wpa_ie() 476 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie+1) != (u8)(wpa_ie_len - 2)) || in rtw_parse_wpa_ie() 484 left = wpa_ie_len - 8; in rtw_parse_wpa_ie() 887 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
|
/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() 803 ieee->wpa_ie_len = len; in ieee80211_wx_set_gen_ie() 807 ieee->wpa_ie_len = 0; in ieee80211_wx_set_gen_ie()
|
D | ieee80211_rx.c | 1747 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param() 1750 network->wpa_ie_len); in ieee80211_parse_info_param() 2117 network->wpa_ie_len = 0; in ieee80211_network_init() 2227 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network() 2228 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
|
/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()
|
/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 685 u8 wpa_ie_len; member 736 unsigned char *rtw_get_wpa_ie(unsigned char *pie, uint *wpa_ie_len, int limit); 741 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, 743 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
|
/drivers/staging/rtl8723bs/include/ |
D | ieee80211.h | 1079 u8 wpa_ie_len; member 1133 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit); 1138 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_8… 1139 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, int *pairwise_cipher, int *is_…
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 1255 network->wpa_ie_len = min(info_element->len + 2, in libipw_parse_info_param() 1258 network->wpa_ie_len); in libipw_parse_info_param() 1353 network->wpa_ie_len = 0; in libipw_handle_assoc_resp() 1413 network->wpa_ie_len = 0; in libipw_network_init() 1490 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network() 1491 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 | 640 size_t wpa_ie_len; member 763 size_t wpa_ie_len; member
|
D | ipw2100.c | 5891 char *wpa_ie, int wpa_ie_len) in ipw2100_wpa_assoc_frame() argument 5899 memcpy(frame.var_ie, wpa_ie, wpa_ie_len); in ipw2100_wpa_assoc_frame() 5900 frame.var_ie_len = wpa_ie_len; in ipw2100_wpa_assoc_frame() 7570 ieee->wpa_ie_len = wrqu->data.length; in ipw2100_wx_set_genie() 7574 ieee->wpa_ie_len = 0; in ipw2100_wx_set_genie() 7577 ipw2100_wpa_assoc_frame(priv, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_set_genie() 7590 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in ipw2100_wx_get_genie() 7595 if (wrqu->data.length < ieee->wpa_ie_len) in ipw2100_wx_get_genie() 7598 wrqu->data.length = ieee->wpa_ie_len; in ipw2100_wx_get_genie() 7599 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_get_genie()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 796 priv->wpa_ie_len = ie_len; in mwifiex_set_wpa_ie() 799 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie() 811 priv->wpa_ie_len = 0; in mwifiex_set_wpa_ie() 814 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie() 1433 gen_ie->len = priv->wpa_ie_len; in mwifiex_misc_ioctl_gen_ie()
|
/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
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 1003 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in _rtl92e_wx_get_gen_ie() 1008 if (data->data.length < ieee->wpa_ie_len) in _rtl92e_wx_get_gen_ie() 1011 data->data.length = ieee->wpa_ie_len; in _rtl92e_wx_get_gen_ie() 1012 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in _rtl92e_wx_get_gen_ie()
|
/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()
|