Home
last modified time | relevance | path

Searched refs:wrqu (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v6.1/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c31 union iwreq_data *wrqu, char *b) in ieee80211_wx_set_freq() argument
34 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_set_freq()
88 union iwreq_data *wrqu, char *b) in ieee80211_wx_get_freq() argument
90 struct iw_freq *fwrq = &wrqu->freq; in ieee80211_wx_get_freq()
106 union iwreq_data *wrqu, char *extra) in ieee80211_wx_get_wap() argument
110 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ieee80211_wx_get_wap()
122 eth_zero_addr(wrqu->ap_addr.sa_data); in ieee80211_wx_get_wap()
124 memcpy(wrqu->ap_addr.sa_data, in ieee80211_wx_get_wap()
180 …et_essid(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) in ieee80211_wx_get_essid() argument
204 wrqu->essid.length = len; in ieee80211_wx_get_essid()
[all …]
Dieee80211_wx.c226 union iwreq_data *wrqu, char *extra) in ieee80211_wx_get_scan() argument
233 char *stop = ev + wrqu->data.length;//IW_SCAN_MAX_DATA; in ieee80211_wx_get_scan()
262 wrqu->data.length = ev - extra; in ieee80211_wx_get_scan()
263 wrqu->data.flags = 0; in ieee80211_wx_get_scan()
273 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument
275 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode()
445 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument
447 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_get_encode()
490 union iwreq_data *wrqu, char *extra) in ieee80211_wx_set_encode_ext() argument
494 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_set_encode_ext()
[all …]
Dieee80211.h2195 union iwreq_data *wrqu, char *key);
2198 union iwreq_data *wrqu, char *key);
2201 union iwreq_data *wrqu, char *key);
2204 union iwreq_data *wrqu, char *extra);
2207 union iwreq_data *wrqu, char *extra);
2213 union iwreq_data *wrqu, char *extra);
2274 union iwreq_data *wrqu, char *ext);
2283 union iwreq_data *wrqu, char *b);
2287 union iwreq_data *wrqu, char *extra);
2291 union iwreq_data *wrqu, char *extra);
[all …]
/Linux-v6.1/drivers/staging/rtl8192u/
Dr8192U_wx.c39 union iwreq_data *wrqu, char *b) in r8192_wx_get_freq() argument
43 return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); in r8192_wx_get_freq()
47 union iwreq_data *wrqu, char *b) in r8192_wx_get_mode() argument
51 return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); in r8192_wx_get_mode()
56 union iwreq_data *wrqu, char *extra) in r8192_wx_get_rate() argument
60 return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); in r8192_wx_get_rate()
65 union iwreq_data *wrqu, char *extra) in r8192_wx_set_rate() argument
72 ret = ieee80211_wx_set_rate(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rate()
81 union iwreq_data *wrqu, char *extra) in r8192_wx_set_rts() argument
88 ret = ieee80211_wx_set_rts(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rts()
[all …]
/Linux-v6.1/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c30 union iwreq_data *wrqu, char *b) in rtllib_wx_set_freq() argument
33 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_set_freq()
89 union iwreq_data *wrqu, char *b) in rtllib_wx_get_freq() argument
91 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_get_freq()
104 union iwreq_data *wrqu, char *extra) in rtllib_wx_get_wap() argument
108 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in rtllib_wx_get_wap()
120 eth_zero_addr(wrqu->ap_addr.sa_data); in rtllib_wx_get_wap()
122 memcpy(wrqu->ap_addr.sa_data, in rtllib_wx_get_wap()
191 union iwreq_data *wrqu, char *b) in rtllib_wx_get_essid() argument
215 wrqu->essid.length = len; in rtllib_wx_get_essid()
[all …]
Drtllib.h1954 union iwreq_data *wrqu, char *key);
1957 union iwreq_data *wrqu, char *key);
1960 union iwreq_data *wrqu, char *key);
1963 union iwreq_data *wrqu, char *extra);
1969 union iwreq_data *wrqu, char *extra);
2020 union iwreq_data *wrqu, char *ext);
2026 union iwreq_data *wrqu, char *b);
2029 union iwreq_data *wrqu, char *extra);
2032 union iwreq_data *wrqu, char *extra);
2035 union iwreq_data *wrqu, char *b);
[all …]
/Linux-v6.1/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c23 union iwreq_data *wrqu, char *b) in _rtl92e_wx_get_freq() argument
27 return rtllib_wx_get_freq(priv->rtllib, a, wrqu, b); in _rtl92e_wx_get_freq()
32 union iwreq_data *wrqu, char *b) in _rtl92e_wx_get_mode() argument
36 return rtllib_wx_get_mode(priv->rtllib, a, wrqu, b); in _rtl92e_wx_get_mode()
41 union iwreq_data *wrqu, char *extra) in _rtl92e_wx_get_rate() argument
45 return rtllib_wx_get_rate(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_get_rate()
50 union iwreq_data *wrqu, char *extra) in _rtl92e_wx_set_rate() argument
60 ret = rtllib_wx_set_rate(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_rate()
69 union iwreq_data *wrqu, char *extra) in _rtl92e_wx_set_rts() argument
79 ret = rtllib_wx_set_rts(priv->rtllib, info, wrqu, extra); in _rtl92e_wx_set_rts()
[all …]
/Linux-v6.1/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c43 union iwreq_data wrqu; in indicate_wx_scan_complete_event() local
45 memset(&wrqu, 0, sizeof(union iwreq_data)); in indicate_wx_scan_complete_event()
46 wireless_send_event(padapter->pnetdev, SIOCGIWSCAN, &wrqu, NULL); in indicate_wx_scan_complete_event()
51 union iwreq_data wrqu; in rtw_indicate_wx_assoc_event() local
54 memset(&wrqu, 0, sizeof(union iwreq_data)); in rtw_indicate_wx_assoc_event()
56 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in rtw_indicate_wx_assoc_event()
58 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event()
60 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in rtw_indicate_wx_assoc_event()
65 union iwreq_data wrqu; in rtw_indicate_wx_disassoc_event() local
67 memset(&wrqu, 0, sizeof(union iwreq_data)); in rtw_indicate_wx_disassoc_event()
[all …]
/Linux-v6.1/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c58 union iwreq_data wrqu; in r8712_indicate_wx_assoc_event() local
61 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_assoc_event()
62 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event()
64 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in r8712_indicate_wx_assoc_event()
69 union iwreq_data wrqu; in r8712_indicate_wx_disassoc_event() local
71 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_disassoc_event()
72 eth_zero_addr(wrqu.ap_addr.sa_data); in r8712_indicate_wx_disassoc_event()
73 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in r8712_indicate_wx_disassoc_event()
597 union iwreq_data *wrqu, char *extra) in r8711_wx_get_name() argument
617 snprintf(wrqu->name, IFNAMSIZ, in r8711_wx_get_name()
[all …]
Dmlme_linux.c139 union iwreq_data wrqu; in r8712_report_sec_ie() local
153 memset(&wrqu, 0, sizeof(wrqu)); in r8712_report_sec_ie()
154 wrqu.data.length = p - buff; in r8712_report_sec_ie()
155 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? in r8712_report_sec_ie()
156 wrqu.data.length : IW_CUSTOM_MAX; in r8712_report_sec_ie()
157 wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); in r8712_report_sec_ie()
Drecv_linux.c75 union iwreq_data wrqu; in r8712_handle_tkip_mic_err() local
86 memset(&wrqu, 0x00, sizeof(wrqu)); in r8712_handle_tkip_mic_err()
87 wrqu.data.length = sizeof(ev); in r8712_handle_tkip_mic_err()
88 wireless_send_event(adapter->pnetdev, IWEVMICHAELMICFAILURE, &wrqu, in r8712_handle_tkip_mic_err()
/Linux-v6.1/net/wireless/
Dwext-spy.c28 union iwreq_data * wrqu, in iw_handler_set_spy() argument
52 if (wrqu->data.length > 0) { in iw_handler_set_spy()
56 for (i = 0; i < wrqu->data.length; i++) in iw_handler_set_spy()
68 spydata->spy_number = wrqu->data.length; in iw_handler_set_spy()
76 union iwreq_data * wrqu, in iw_handler_get_spy() argument
87 wrqu->data.length = spydata->spy_number; in iw_handler_get_spy()
112 union iwreq_data * wrqu, in iw_handler_set_thrspy() argument
139 union iwreq_data * wrqu, in iw_handler_get_thrspy() argument
166 union iwreq_data wrqu; in iw_send_thrspy_event() local
170 wrqu.data.length = 1; in iw_send_thrspy_event()
[all …]
Dsme.c730 union iwreq_data wrqu; in __cfg80211_connect_result() local
763 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
764 wrqu.data.length = cr->req_ie_len; in __cfg80211_connect_result()
765 wireless_send_event(dev, IWEVASSOCREQIE, &wrqu, in __cfg80211_connect_result()
770 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
771 wrqu.data.length = cr->resp_ie_len; in __cfg80211_connect_result()
772 wireless_send_event(dev, IWEVASSOCRESPIE, &wrqu, in __cfg80211_connect_result()
776 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
777 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_connect_result()
779 memcpy(wrqu.ap_addr.sa_data, connected_addr, ETH_ALEN); in __cfg80211_connect_result()
[all …]
Dwext-priv.c18 union iwreq_data * wrqu, in iw_handler_get_private() argument
27 if (wrqu->data.length < dev->wireless_handlers->num_private_args) { in iw_handler_get_private()
31 wrqu->data.length = dev->wireless_handlers->num_private_args; in iw_handler_get_private()
36 wrqu->data.length = dev->wireless_handlers->num_private_args; in iw_handler_get_private()
40 sizeof(struct iw_priv_args) * wrqu->data.length); in iw_handler_get_private()
Dwext-core.c453 union iwreq_data * wrqu, in wireless_send_event() argument
512 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event()
514 cmd, wrqu->data.length); in wireless_send_event()
517 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event()
519 cmd, wrqu->data.length); in wireless_send_event()
524 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event()
579 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); in wireless_send_event()
617 compat_wrqu.length = wrqu->data.length; in wireless_send_event()
618 compat_wrqu.flags = wrqu->data.flags; in wireless_send_event()
627 memcpy(compat_event->ptr_bytes, wrqu, ptr_len); in wireless_send_event()
[all …]
/Linux-v6.1/drivers/net/wireless/
Dwl3501_cs.c1442 union iwreq_data *wrqu, char *extra) in wl3501_get_name() argument
1444 strscpy(wrqu->name, "IEEE 802.11-DS", sizeof(wrqu->name)); in wl3501_get_name()
1449 union iwreq_data *wrqu, char *extra) in wl3501_set_freq() argument
1452 int channel = wrqu->freq.m; in wl3501_set_freq()
1463 union iwreq_data *wrqu, char *extra) in wl3501_get_freq() argument
1467 wrqu->freq.m = 100000 * in wl3501_get_freq()
1469 wrqu->freq.e = 1; in wl3501_get_freq()
1474 union iwreq_data *wrqu, char *extra) in wl3501_set_mode() argument
1478 if (wrqu->mode == IW_MODE_INFRA || in wl3501_set_mode()
1479 wrqu->mode == IW_MODE_ADHOC || in wl3501_set_mode()
[all …]
Dray_cs.c1023 union iwreq_data *wrqu, char *extra) in ray_get_name() argument
1025 strcpy(wrqu->name, "IEEE 802.11-FH"); in ray_get_name()
1034 union iwreq_data *wrqu, char *extra) in ray_set_freq() argument
1044 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq()
1047 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq()
1057 union iwreq_data *wrqu, char *extra) in ray_get_freq() argument
1061 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq()
1062 wrqu->freq.e = 0; in ray_get_freq()
1071 union iwreq_data *wrqu, char *extra) in ray_set_essid() argument
1080 if (wrqu->essid.flags == 0) in ray_set_essid()
[all …]
/Linux-v6.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c1838 union iwreq_data wrqu = { in ipw2100_down() local
1882 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in ipw2100_down()
1951 union iwreq_data wrqu = { in ipw2100_reset_adapter() local
1976 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in ipw2100_reset_adapter()
2169 union iwreq_data wrqu; in ipw2100_scan_event() local
2171 wrqu.data.length = 0; in ipw2100_scan_event()
2172 wrqu.data.flags = 0; in ipw2100_scan_event()
2173 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in ipw2100_scan_event()
6583 union iwreq_data *wrqu, char *extra) in ipw2100_wx_get_name() argument
6591 strcpy(wrqu->name, "unassociated"); in ipw2100_wx_get_name()
[all …]
Dipw2200.c1936 union iwreq_data wrqu; in notify_wx_assoc_event() local
1937 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in notify_wx_assoc_event()
1939 memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN); in notify_wx_assoc_event()
1941 eth_zero_addr(wrqu.ap_addr.sa_data); in notify_wx_assoc_event()
1942 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in notify_wx_assoc_event()
4443 union iwreq_data wrqu; in ipw_scan_event() local
4448 wrqu.data.length = 0; in ipw_scan_event()
4449 wrqu.data.flags = 0; in ipw_scan_event()
4450 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in ipw_scan_event()
6512 union iwreq_data *wrqu, char *extra) in ipw_wx_set_genie() argument
[all …]
Dlibipw_wx.c252 union iwreq_data *wrqu, char *extra) in libipw_wx_get_scan() argument
259 char *stop = ev + wrqu->data.length; in libipw_wx_get_scan()
288 wrqu->data.length = ev - extra; in libipw_wx_get_scan()
289 wrqu->data.flags = 0; in libipw_wx_get_scan()
298 union iwreq_data *wrqu, char *keybuf) in libipw_wx_set_encode() argument
300 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode()
464 union iwreq_data *wrqu, char *keybuf) in libipw_wx_get_encode() argument
466 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_get_encode()
504 union iwreq_data *wrqu, char *extra) in libipw_wx_set_encodeext() argument
507 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_set_encodeext()
[all …]
/Linux-v6.1/drivers/staging/rtl8723bs/os_dep/
Dmlme_linux.c138 union iwreq_data wrqu; in rtw_report_sec_ie() local
158 memset(&wrqu, 0, sizeof(wrqu)); in rtw_report_sec_ie()
160 wrqu.data.length = p - buff; in rtw_report_sec_ie()
162 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? wrqu.data.length : IW_CUSTOM_MAX; in rtw_report_sec_ie()
/Linux-v6.1/include/net/
Diw_handler.h316 union iwreq_data *wrqu, char *extra);
442 union iwreq_data *wrqu, const char *extra);
455 union iwreq_data *wrqu, char *extra);
458 union iwreq_data *wrqu, char *extra);
461 union iwreq_data *wrqu, char *extra);
464 union iwreq_data *wrqu, char *extra);
/Linux-v6.1/drivers/net/wireless/intersil/orinoco/
Dwext.c721 union iwreq_data *wrqu, in orinoco_ioctl_set_encodeext() argument
725 struct iw_point *encoding = &wrqu->encoding; in orinoco_ioctl_set_encodeext()
815 union iwreq_data *wrqu, in orinoco_ioctl_get_encodeext() argument
819 struct iw_point *encoding = &wrqu->encoding; in orinoco_ioctl_get_encodeext()
873 union iwreq_data *wrqu, char *extra) in orinoco_ioctl_set_auth() argument
877 struct iw_param *param = &wrqu->param; in orinoco_ioctl_set_auth()
959 union iwreq_data *wrqu, char *extra) in orinoco_ioctl_get_auth() argument
962 struct iw_param *param = &wrqu->param; in orinoco_ioctl_get_auth()
999 union iwreq_data *wrqu, char *extra) in orinoco_ioctl_set_genie() argument
1006 if ((wrqu->data.length > IEEE80211_MAX_DATA_LEN) || in orinoco_ioctl_set_genie()
[all …]
Dmain.c630 union iwreq_data wrqu; in __orinoco_ev_txexc() local
640 memcpy(wrqu.addr.sa_data, hdr.addr1, ETH_ALEN); in __orinoco_ev_txexc()
641 wrqu.addr.sa_family = ARPHRD_ETHER; in __orinoco_ev_txexc()
644 wireless_send_event(dev, IWEVTXDROP, &wrqu, NULL); in __orinoco_ev_txexc()
990 union iwreq_data wrqu; in orinoco_rx() local
1011 memset(&wrqu, 0, sizeof(wrqu)); in orinoco_rx()
1012 wrqu.data.length = sizeof(wxmic); in orinoco_rx()
1013 wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, in orinoco_rx()
1221 union iwreq_data wrqu; in orinoco_send_bssid_wevent() local
1225 ETH_ALEN, NULL, wrqu.ap_addr.sa_data); in orinoco_send_bssid_wevent()
[all …]
/Linux-v6.1/drivers/net/wireless/intersil/hostap/
Dhostap_info.c238 union iwreq_data wrqu; in hostap_report_scan_complete() local
242 wrqu.data.length = 0; in hostap_report_scan_complete()
243 wrqu.data.flags = 0; in hostap_report_scan_complete()
244 wireless_send_event(local->dev, SIOCGIWSCAN, &wrqu, NULL); in hostap_report_scan_complete()
420 union iwreq_data wrqu; in handle_info_queue_linkstatus() local
443 memcpy(wrqu.ap_addr.sa_data, local->bssid, ETH_ALEN); in handle_info_queue_linkstatus()
447 eth_zero_addr(wrqu.ap_addr.sa_data); in handle_info_queue_linkstatus()
449 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in handle_info_queue_linkstatus()
458 wireless_send_event(local->dev, SIOCGIWAP, &wrqu, NULL); in handle_info_queue_linkstatus()

123