/drivers/staging/rtl8712/ |
D | ieee80211.c | 219 unsigned char *r8712_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in r8712_get_wpa_ie() argument 238 *wpa_ie_len = *(pbuf + 1); in r8712_get_wpa_ie() 241 *wpa_ie_len = 0; in r8712_get_wpa_ie() 250 *wpa_ie_len = 0; in r8712_get_wpa_ie() 289 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, in r8712_parse_wpa_ie() argument 296 if (wpa_ie_len <= 0) { in r8712_parse_wpa_ie() 300 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) in r8712_parse_wpa_ie() 305 left = wpa_ie_len - 8; in r8712_parse_wpa_ie()
|
D | ieee80211.h | 784 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, 786 int r8712_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
|
/drivers/net/wireless/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(wpa_ie_len, (size_t)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 | 75 size_t wpa_ie_len; member 181 size_t wpa_ie_len; member
|
/drivers/staging/vt6656/ |
D | iowpa.h | 89 u16 wpa_ie_len; member 122 u16 wpa_ie_len; member
|
D | wpactl.c | 637 scan_buf->wpa_ie_len = pBSS->wWPALen; in wpa_get_scan() 690 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "wpa_ie_len = %d\n", param->u.wpa_associate.wpa_ie_len); in wpa_set_associate() 694 if (param->u.wpa_associate.wpa_ie_len > sizeof(abyWPAIE)) in wpa_set_associate() 698 param->u.wpa_associate.wpa_ie_len)) in wpa_set_associate() 717 if (param->u.wpa_associate.wpa_ie_len == 0) { in wpa_set_associate()
|
/drivers/staging/vt6655/ |
D | iowpa.h | 95 u16 wpa_ie_len; member 134 u16 wpa_ie_len; member
|
D | wpactl.c | 711 scan_buf->wpa_ie_len = pBSS->wWPALen; in wpa_get_scan() 768 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "wpa_ie_len = %d\n", param->u.wpa_associate.wpa_ie_len); in wpa_set_associate() 771 if (param->u.wpa_associate.wpa_ie_len) { in wpa_set_associate() 774 if (param->u.wpa_associate.wpa_ie_len > sizeof(abyWPAIE)) in wpa_set_associate() 776 …if (copy_from_user(&abyWPAIE[0], param->u.wpa_associate.wpa_ie, param->u.wpa_associate.wpa_ie_len)) in wpa_set_associate() 798 if (param->u.wpa_associate.wpa_ie_len == 0) { in wpa_set_associate()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 198 if (ieee->wpa_enabled && network->wpa_ie_len){ in rtl819x_translate_scan() 203 for (i = 0; i < network->wpa_ie_len; i++) { in rtl819x_translate_scan() 229 if (network->wpa_ie_len) in rtl819x_translate_scan() 232 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in rtl819x_translate_scan() 234 iwe.u.data.length = network->wpa_ie_len; in rtl819x_translate_scan() 855 ieee->wpa_ie_len = len; in ieee80211_wx_set_gen_ie() 860 ieee->wpa_ie_len = 0; in ieee80211_wx_set_gen_ie()
|
D | ieee80211_softmac.c | 703 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_probe_resp() local 731 ((0 == strcmp(crypt->ops->name, "WEP") || wpa_ie_len)); in ieee80211_probe_resp() 755 +wpa_ie_len in ieee80211_probe_resp() 827 if (wpa_ie_len) in ieee80211_probe_resp() 833 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in ieee80211_probe_resp() 834 tag += wpa_ie_len; in ieee80211_probe_resp() 996 int wpa_ie_len= ieee->wpa_ie_len; in ieee80211_association_req() local 1012 …ieee->host_encrypt && crypt && crypt->ops && ((0 == strcmp(crypt->ops->name,"WEP") || wpa_ie_len)); in ieee80211_association_req() 1049 + wpa_ie_len in ieee80211_association_req() 1062 + wpa_ie_len in ieee80211_association_req() [all …]
|
D | ieee80211_rx.c | 1815 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param() 1818 network->wpa_ie_len); in ieee80211_parse_info_param() 2233 network->wpa_ie_len = 0; in ieee80211_network_init() 2345 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network() 2346 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac.c | 845 int wpa_ie_len = ieee->wpa_ie_len; in rtllib_probe_resp() local 876 ((0 == strcmp(crypt->ops->name, "R-WEP") || wpa_ie_len)); in rtllib_probe_resp() 898 + wpa_ie_len + ieee->tx_headroom; in rtllib_probe_resp() 971 if (wpa_ie_len) { in rtllib_probe_resp() 974 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in rtllib_probe_resp() 975 tag += ieee->wpa_ie_len; in rtllib_probe_resp() 1176 int wpa_ie_len = ieee->wpa_ie_len; in rtllib_association_req() local 1198 wpa_ie_len)); in rtllib_association_req() 1232 wpa_ie_len += 18; in rtllib_association_req() 1234 wpa_ie_len); in rtllib_association_req() [all …]
|
D | rtllib_wx.c | 213 if (network->wpa_ie_len) { in rtl819x_translate_scan() 215 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in rtl819x_translate_scan() 217 iwe.u.data.length = network->wpa_ie_len; in rtl819x_translate_scan() 871 ieee->wpa_ie_len = len; in rtllib_wx_set_gen_ie() 875 ieee->wpa_ie_len = 0; in rtllib_wx_set_gen_ie()
|
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_wx.c | 172 if (network->wpa_ie_len) { in rtl818x_translate_scan() 175 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in rtl818x_translate_scan() 177 iwe.u.data.length = network->wpa_ie_len; in rtl818x_translate_scan() 735 ieee->wpa_ie_len = len; in ieee80211_wx_set_gen_ie() 740 ieee->wpa_ie_len = 0; in ieee80211_wx_set_gen_ie()
|
D | ieee80211_softmac.c | 784 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_probe_resp() local 803 +wpa_ie_len in ieee80211_probe_resp() 829 ((0 == strcmp(crypt->ops->name, "WEP")) || wpa_ie_len); in ieee80211_probe_resp() 875 if (wpa_ie_len) in ieee80211_probe_resp() 882 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in ieee80211_probe_resp() 1040 unsigned int wpa_len = beacon->wpa_ie_len; in ieee80211_association_req() 1120 tag = skb_put(skb,ieee->wpa_ie_len); in ieee80211_association_req() 1121 memcpy(tag,ieee->wpa_ie,ieee->wpa_ie_len); in ieee80211_association_req() 2625 void ieee80211_wpa_assoc_frame(struct ieee80211_device *ieee, char *wpa_ie, int wpa_ie_len) in ieee80211_wpa_assoc_frame() argument 2674 ieee->wpa_ie_len = param->u.wpa_ie.len; in ieee80211_wpa_set_wpa_ie() [all …]
|
D | ieee80211_rx.c | 956 network->wpa_ie_len = 0; in ieee80211_network_init() 1114 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_network_init() 1117 network->wpa_ie_len); in ieee80211_network_init() 1293 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network() 1294 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
|
/drivers/staging/wlags49_h2/ |
D | wl_util.c | 1061 hcf_16 wpa_ie_len = 0; in wl_process_probe_response() local 1170 wpa_ie = wl_parse_wpa_ie( probe_rsp, &wpa_ie_len ); in wl_process_probe_response() 1173 lp->dev->name, wl_print_wpa_ie( wpa_ie, wpa_ie_len )); in wl_process_probe_response()
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 1263 network->wpa_ie_len = min(info_element->len + 2, in libipw_parse_info_param() 1266 network->wpa_ie_len); in libipw_parse_info_param() 1370 network->wpa_ie_len = 0; in libipw_handle_assoc_resp() 1432 network->wpa_ie_len = 0; in libipw_network_init() 1514 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network() 1515 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
|
D | libipw_wx.c | 209 if (network->wpa_ie_len) { in libipw_translate_scan() 211 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in libipw_translate_scan() 213 iwe.u.data.length = network->wpa_ie_len; in libipw_translate_scan()
|
D | libipw.h | 699 size_t wpa_ie_len; member 826 size_t wpa_ie_len; member
|
/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 930 priv->wpa_ie_len = (u8) ie_len; in mwifiex_set_wpa_ie_helper() 932 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie_helper() 944 priv->wpa_ie_len = 0; in mwifiex_set_wpa_ie_helper() 946 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie_helper() 1468 gen_ie->len = priv->wpa_ie_len; in mwifiex_misc_ioctl_gen_ie()
|
D | sta_event.c | 73 priv->wpa_ie_len = 0; in mwifiex_reset_connect_state()
|
/drivers/net/wireless/orinoco/ |
D | wext.c | 1025 priv->wpa_ie_len = wrqu->data.length; in orinoco_ioctl_set_genie() 1050 if ((priv->wpa_ie_len == 0) || (priv->wpa_ie == NULL)) { in orinoco_ioctl_get_genie() 1055 if (wrqu->data.length < priv->wpa_ie_len) { in orinoco_ioctl_get_genie() 1060 wrqu->data.length = priv->wpa_ie_len; in orinoco_ioctl_get_genie() 1061 memcpy(extra, priv->wpa_ie, priv->wpa_ie_len); in orinoco_ioctl_get_genie()
|
D | orinoco.h | 153 int wpa_ie_len; member
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 1111 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in r8192_wx_get_gen_ie() 1116 if (data->data.length < ieee->wpa_ie_len) in r8192_wx_get_gen_ie() 1119 data->data.length = ieee->wpa_ie_len; in r8192_wx_get_gen_ie() 1120 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in r8192_wx_get_gen_ie()
|