Home
last modified time | relevance | path

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

/drivers/net/wireless/prism54/
Disl_ioctl.c43 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 …]
Dislpci_dev.h74 size_t wpa_ie_len; member
183 size_t wpa_ie_len; member
/drivers/net/wireless/libertas/
Ddev.h288 u8 wpa_ie_len; member
357 size_t wpa_ie_len; member
404 u8 wpa_ie_len; member
Dscan.c688 bss->wpa_ie_len = min(pos[1] + 2, MAX_WPA_IE_LEN); in lbs_process_bss()
689 memcpy(bss->wpa_ie, pos, bss->wpa_ie_len); in lbs_process_bss()
692 bss->wpa_ie_len); in lbs_process_bss()
899 if (bss->wpa_ie_len) { in lbs_translate_scan()
901 memcpy(buf, bss->wpa_ie, bss->wpa_ie_len); in lbs_translate_scan()
903 iwe.u.data.length = bss->wpa_ie_len; in lbs_translate_scan()
Dassoc.c1031 memcpy(&priv->wpa_ie, &assoc_req->wpa_ie, assoc_req->wpa_ie_len); in assoc_helper_wpa_ie()
1032 priv->wpa_ie_len = assoc_req->wpa_ie_len; in assoc_helper_wpa_ie()
1035 priv->wpa_ie_len = 0; in assoc_helper_wpa_ie()
1461 assoc_req->wpa_ie_len = priv->wpa_ie_len; in lbs_get_association_request()
Dwext.c1663 assoc_req->wpa_ie_len = dwrq->length; in lbs_set_genie()
1666 assoc_req->wpa_ie_len = 0; in lbs_set_genie()
1692 if (priv->wpa_ie_len == 0) { in lbs_get_genie()
1697 if (dwrq->length < priv->wpa_ie_len) { in lbs_get_genie()
1702 dwrq->length = priv->wpa_ie_len; in lbs_get_genie()
1703 memcpy(extra, &priv->wpa_ie[0], priv->wpa_ie_len); in lbs_get_genie()
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_wx.c222 if (ieee->wpa_enabled && network->wpa_ie_len){
227 for (i = 0; i < network->wpa_ie_len; i++) {
253 if (network->wpa_ie_len) {
256 memcpy(buf, network->wpa_ie, network->wpa_ie_len);
258 iwe.u.data.length = network->wpa_ie_len;
861 ieee->wpa_ie_len = len;
867 ieee->wpa_ie_len = 0;
Dieee80211_softmac.c1009 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_probe_resp() local
1028 +wpa_ie_len in ieee80211_probe_resp()
1054 ((0 == strcmp(crypt->ops->name, "WEP")) || wpa_ie_len); in ieee80211_probe_resp()
1100 if (wpa_ie_len) in ieee80211_probe_resp()
1107 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in ieee80211_probe_resp()
1124 int wpa_ie_len = ieee->wpa_ie_len; in ieee80211_ext_probe_resp_by_net() local
1185 ((0 == strcmp(crypt->ops->name, "WEP"))||wpa_ie_len); in ieee80211_ext_probe_resp_by_net()
1238 if (wpa_ie_len) in ieee80211_ext_probe_resp_by_net()
1239 memcpy(tag, ieee->wpa_ie, ieee->wpa_ie_len); in ieee80211_ext_probe_resp_by_net()
1402 unsigned int wpa_len = beacon->wpa_ie_len; in ieee80211_association_req()
[all …]
Dieee80211_rx.c1319 network->wpa_ie_len = 0; in ieee80211_network_init()
1480 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_network_init()
1483 network->wpa_ie_len); in ieee80211_network_init()
1665 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
1666 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
Dieee80211.h1032 size_t wpa_ie_len; member
1165 size_t wpa_ie_len; member
/drivers/net/wireless/ipw2x00/
Dlibipw_rx.c1265 network->wpa_ie_len = min(info_element->len + 2, in ieee80211_parse_info_param()
1268 network->wpa_ie_len); in ieee80211_parse_info_param()
1372 network->wpa_ie_len = 0; in ieee80211_handle_assoc_resp()
1434 network->wpa_ie_len = 0; in ieee80211_network_init()
1516 memcpy(dst->wpa_ie, src->wpa_ie, src->wpa_ie_len); in update_network()
1517 dst->wpa_ie_len = src->wpa_ie_len; in update_network()
Dlibipw_wx.c196 if (network->wpa_ie_len) { in ieee80211_translate_scan()
198 memcpy(buf, network->wpa_ie, network->wpa_ie_len); in ieee80211_translate_scan()
200 iwe.u.data.length = network->wpa_ie_len; in ieee80211_translate_scan()
Dipw2100.c5882 char *wpa_ie, int wpa_ie_len) in ipw2100_wpa_assoc_frame() argument
5890 memcpy(frame.var_ie, wpa_ie, wpa_ie_len); in ipw2100_wpa_assoc_frame()
5891 frame.var_ie_len = wpa_ie_len; in ipw2100_wpa_assoc_frame()
7581 ieee->wpa_ie_len = wrqu->data.length; in ipw2100_wx_set_genie()
7585 ieee->wpa_ie_len = 0; in ipw2100_wx_set_genie()
7588 ipw2100_wpa_assoc_frame(priv, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_set_genie()
7601 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in ipw2100_wx_get_genie()
7606 if (wrqu->data.length < ieee->wpa_ie_len) in ipw2100_wx_get_genie()
7609 wrqu->data.length = ieee->wpa_ie_len; in ipw2100_wx_get_genie()
7610 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in ipw2100_wx_get_genie()
Dipw2200.c5911 network->wpa_ie_len = 0; in ipw_adhoc_create()
6514 int wpa_ie_len) in ipw_wpa_assoc_frame() argument
6557 ieee->wpa_ie_len = wrqu->data.length; in ipw_wx_set_genie()
6561 ieee->wpa_ie_len = 0; in ipw_wx_set_genie()
6564 ipw_wpa_assoc_frame(priv, ieee->wpa_ie, ieee->wpa_ie_len); in ipw_wx_set_genie()
6578 if (ieee->wpa_ie_len == 0 || ieee->wpa_ie == NULL) { in ipw_wx_get_genie()
6583 if (wrqu->data.length < ieee->wpa_ie_len) { in ipw_wx_get_genie()
6588 wrqu->data.length = ieee->wpa_ie_len; in ipw_wx_get_genie()
6589 memcpy(extra, ieee->wpa_ie, ieee->wpa_ie_len); in ipw_wx_get_genie()
7339 if (priv->ieee->wpa_ie_len) { in ipw_associate_network()
[all …]
/drivers/net/wireless/
Drndis_wlan.c363 int wpa_ie_len; member
1835 if (priv->wpa_ie_len) { in rndis_iw_set_genie()
1837 priv->wpa_ie_len = 0; in rndis_iw_set_genie()
1843 priv->wpa_ie_len = wrqu->data.length; in rndis_iw_set_genie()
1844 memcpy(priv->wpa_ie, extra, priv->wpa_ie_len); in rndis_iw_set_genie()
1859 if (priv->wpa_ie_len == 0 || priv->wpa_ie == NULL) { in rndis_iw_get_genie()
1864 if (wrqu->data.length < priv->wpa_ie_len) in rndis_iw_get_genie()
1867 wrqu->data.length = priv->wpa_ie_len; in rndis_iw_get_genie()
1868 memcpy(extra, priv->wpa_ie, priv->wpa_ie_len); in rndis_iw_get_genie()
2624 if (priv && priv->wpa_ie_len) in rndis_wext_unbind()
/drivers/net/wireless/orinoco/
Dorinoco.h161 int wpa_ie_len; member
Dorinoco.c3582 priv->wpa_ie_len = 0; in orinoco_init()
3690 priv->wpa_ie_len = 0; in free_orinocodev()
5104 priv->wpa_ie_len = wrqu->data.length; in orinoco_ioctl_set_genie()
5129 if ((priv->wpa_ie_len == 0) || (priv->wpa_ie == NULL)) { in orinoco_ioctl_get_genie()
5134 if (wrqu->data.length < priv->wpa_ie_len) { in orinoco_ioctl_get_genie()
5139 wrqu->data.length = priv->wpa_ie_len; in orinoco_ioctl_get_genie()
5140 memcpy(extra, priv->wpa_ie, priv->wpa_ie_len); in orinoco_ioctl_get_genie()
/drivers/staging/rtl8187se/
Dieee80211.h1032 size_t wpa_ie_len; member
1165 size_t wpa_ie_len; member
/drivers/net/wireless/hostap/
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()
Dhostap_proc.c175 for (i = 0; i < bss->wpa_ie_len; i++) { in prism2_bss_list_proc_read()
Dhostap_wlan.h631 size_t wpa_ie_len; member
Dhostap_ioctl.c1925 if (bss && bss->wpa_ie_len > 0 && bss->wpa_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan()
1928 iwe.u.data.length = bss->wpa_ie_len; in __prism2_translate_scan()