Home
last modified time | relevance | path

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

12

/drivers/staging/rtl8712/
Dieee80211.c212 unsigned char *r8712_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in r8712_get_wpa_ie() argument
230 *wpa_ie_len = *(pbuf + 1); in r8712_get_wpa_ie()
233 *wpa_ie_len = 0; in r8712_get_wpa_ie()
241 *wpa_ie_len = 0; in r8712_get_wpa_ie()
280 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher, in r8712_parse_wpa_ie() argument
287 if (wpa_ie_len <= 0) { in r8712_parse_wpa_ie()
291 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) in r8712_parse_wpa_ie()
296 left = wpa_ie_len - 8; in r8712_parse_wpa_ie()
Dieee80211.h745 int r8712_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
747 int r8712_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
/drivers/net/wireless/intersil/prism54/
Disl_ioctl.c45 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 …]
Dislpci_dev.h74 size_t wpa_ie_len; member
180 size_t wpa_ie_len; member
/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c292 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in rtw_get_wpa_ie() argument
315 *wpa_ie_len = *(pbuf + 1); in rtw_get_wpa_ie()
318 *wpa_ie_len = 0; in rtw_get_wpa_ie()
328 *wpa_ie_len = 0; in rtw_get_wpa_ie()
371 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
378 if (wpa_ie_len <= 0) { in rtw_parse_wpa_ie()
384 if ((*wpa_ie != _WPA_IE_ID_) || (*(wpa_ie + 1) != (u8)(wpa_ie_len - 2)) || in rtw_parse_wpa_ie()
391 left = wpa_ie_len - 8; in rtw_parse_wpa_ie()
740 elems->wpa_ie_len = elen; in rtw_ieee802_11_parse_vendor_specific()
Drtw_mlme_ext.c2943 int i, ie_len, wpa_ie_len, left; in OnAssocReq() local
3079 wpa_ie_len = elems.rsn_ie_len; in OnAssocReq()
3081 …if (rtw_parse_wpa2_ie(wpa_ie-2, wpa_ie_len+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in OnAssocReq()
3100 wpa_ie_len = elems.wpa_ie_len; in OnAssocReq()
3102 if (rtw_parse_wpa_ie(wpa_ie-2, wpa_ie_len+2, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in OnAssocReq()
3119 wpa_ie_len = 0; in OnAssocReq()
3179 copy_len = min_t(int, wpa_ie_len + 2, sizeof(pstat->wpa_ie)); in OnAssocReq()
/drivers/staging/rtl8192e/
Drtllib_softmac.c832 int wpa_ie_len = ieee->wpa_ie_len; in rtllib_probe_resp() local
863 ((strcmp(crypt->ops->name, "R-WEP") == 0 || wpa_ie_len)); in rtllib_probe_resp()
885 + wpa_ie_len + ieee->tx_headroom; in rtllib_probe_resp()
958 if (wpa_ie_len) { in rtllib_probe_resp()
961 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in rtllib_probe_resp()
962 tag += ieee->wpa_ie_len; in rtllib_probe_resp()
1164 int wpa_ie_len = ieee->wpa_ie_len; in rtllib_association_req() local
1187 wpa_ie_len)); in rtllib_association_req()
1221 wpa_ie_len += 18; in rtllib_association_req()
1223 wpa_ie_len); in rtllib_association_req()
[all …]
Drtllib_wx.c208 if (network->wpa_ie_len) { in rtl819x_translate_scan()
211 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in rtl819x_translate_scan()
213 iwe.u.data.length = network->wpa_ie_len; in rtl819x_translate_scan()
813 ieee->wpa_ie_len = len; in rtllib_wx_set_gen_ie()
817 ieee->wpa_ie_len = 0; in rtllib_wx_set_gen_ie()
Drtllib_rx.c1850 network->wpa_ie_len = min(info_element->len + 2, in rtllib_parse_mife_generic()
1852 memcpy(network->wpa_ie, info_element, network->wpa_ie_len); in rtllib_parse_mife_generic()
2374 network->wpa_ie_len = 0; in rtllib_network_init()
2496 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
2497 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
Drtllib.h1185 size_t wpa_ie_len; member
1564 size_t wpa_ie_len; member
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac.c704 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_probe_resp() local
732 ((0 == strcmp(crypt->ops->name, "WEP") || wpa_ie_len)); in ieee80211_probe_resp()
756 +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()
1002 int wpa_ie_len= ieee->wpa_ie_len; in ieee80211_association_req() local
1018 …ieee->host_encrypt && crypt && crypt->ops && ((0 == strcmp(crypt->ops->name,"WEP") || wpa_ie_len)); in ieee80211_association_req()
1054 + wpa_ie_len in ieee80211_association_req()
1067 + wpa_ie_len in ieee80211_association_req()
[all …]
Dieee80211_wx.c198 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()
834 ieee->wpa_ie_len = len; in ieee80211_wx_set_gen_ie()
839 ieee->wpa_ie_len = 0; in ieee80211_wx_set_gen_ie()
Dieee80211_rx.c1794 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param()
1797 network->wpa_ie_len); in ieee80211_parse_info_param()
2212 network->wpa_ie_len = 0; in ieee80211_network_init()
2324 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
2325 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
/drivers/staging/rtl8188eu/include/
Dieee80211.h813 u8 wpa_ie_len; member
864 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit);
869 int rtw_parse_wpa_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
871 int rtw_parse_wpa2_ie(u8 *wpa_ie, int wpa_ie_len, int *group_cipher,
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1259 network->wpa_ie_len = min(info_element->len + 2, in libipw_parse_info_param()
1262 network->wpa_ie_len); in libipw_parse_info_param()
1357 network->wpa_ie_len = 0; in libipw_handle_assoc_resp()
1417 network->wpa_ie_len = 0; in libipw_network_init()
1494 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
1495 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
Dlibipw_wx.c209 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()
Dlibipw.h644 size_t wpa_ie_len; member
767 size_t wpa_ie_len; member
Dipw2100.c5913 char *wpa_ie, int wpa_ie_len) in ipw2100_wpa_assoc_frame() argument
5921 memcpy(frame.var_ie, wpa_ie, wpa_ie_len); in ipw2100_wpa_assoc_frame()
5922 frame.var_ie_len = wpa_ie_len; in ipw2100_wpa_assoc_frame()
7591 ieee->wpa_ie_len = wrqu->data.length; in ipw2100_wx_set_genie()
7595 ieee->wpa_ie_len = 0; in ipw2100_wx_set_genie()
7598 ipw2100_wpa_assoc_frame(priv, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_set_genie()
7611 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in ipw2100_wx_get_genie()
7616 if (wrqu->data.length < ieee->wpa_ie_len) in ipw2100_wx_get_genie()
7619 wrqu->data.length = ieee->wpa_ie_len; in ipw2100_wx_get_genie()
7620 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_get_genie()
/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c824 priv->wpa_ie_len = ie_len; in mwifiex_set_wpa_ie_helper()
827 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie_helper()
839 priv->wpa_ie_len = 0; in mwifiex_set_wpa_ie_helper()
842 priv->wpa_ie_len, priv->wpa_ie[0]); in mwifiex_set_wpa_ie_helper()
1466 gen_ie->len = priv->wpa_ie_len; in mwifiex_misc_ioctl_gen_ie()
Dinit.c129 priv->wpa_ie_len = 0; in mwifiex_init_priv()
/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.h153 int wpa_ie_len; member
/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c1037 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in _rtl92e_wx_get_gen_ie()
1042 if (data->data.length < ieee->wpa_ie_len) in _rtl92e_wx_get_gen_ie()
1045 data->data.length = ieee->wpa_ie_len; in _rtl92e_wx_get_gen_ie()
1046 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in _rtl92e_wx_get_gen_ie()
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c456 bss->wpa_ie_len = wpa_len; in hostap_rx_sta_beacon()
458 bss->wpa_ie_len = 0; in hostap_rx_sta_beacon()
Dhostap_proc.c188 seq_printf(m, "%*phN", (int)bss->wpa_ie_len, bss->wpa_ie); in prism2_bss_list_proc_show()

12