Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.h2132 union iwreq_data *wrqu, char *key);
2135 union iwreq_data *wrqu, char *key);
2138 union iwreq_data *wrqu, char *key);
2141 union iwreq_data *wrqu, char *extra);
2144 union iwreq_data *wrqu, char *extra);
2150 union iwreq_data *wrqu, char *extra);
2210 union iwreq_data *wrqu, char *ext);
2219 union iwreq_data *wrqu, char *b);
2223 union iwreq_data *wrqu, char *extra);
2227 union iwreq_data *wrqu, char *extra);
[all …]
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c20 union iwreq_data *wrqu, char *b) in rtllib_wx_set_freq() argument
23 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_set_freq()
70 union iwreq_data *wrqu, char *b) in rtllib_wx_get_freq() argument
72 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_get_freq()
85 union iwreq_data *wrqu, char *extra) in rtllib_wx_get_wap() argument
89 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in rtllib_wx_get_wap()
101 eth_zero_addr(wrqu->ap_addr.sa_data); in rtllib_wx_get_wap()
103 memcpy(wrqu->ap_addr.sa_data, in rtllib_wx_get_wap()
165 union iwreq_data *wrqu, char *b) in rtllib_wx_get_essid() argument
189 wrqu->essid.length = len; in rtllib_wx_get_essid()
[all …]
Drtllib.h1851 union iwreq_data *wrqu, char *key);
1854 union iwreq_data *wrqu, char *key);
1857 union iwreq_data *wrqu, char *key);
1860 union iwreq_data *wrqu, char *extra);
1866 union iwreq_data *wrqu, char *extra);
1917 union iwreq_data *wrqu, char *ext);
1923 union iwreq_data *wrqu, char *b);
1926 union iwreq_data *wrqu, char *extra);
1929 union iwreq_data *wrqu, char *extra);
1932 union iwreq_data *wrqu, char *b);
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/include/net/
Dcfg80211-wext.h22 union iwreq_data *wrqu, char *extra);
24 union iwreq_data *wrqu, char *extra);
26 union iwreq_data *wrqu, char *extra);
29 union iwreq_data *wrqu, char *extra);
32 union iwreq_data *wrqu, char *extra);
35 union iwreq_data *wrqu, char *extra);
38 union iwreq_data *wrqu, char *extra);
41 union iwreq_data *wrqu, char *extra);
44 union iwreq_data *wrqu, char *extra);
47 union iwreq_data *wrqu, char *extra);
[all …]
Diw_handler.h316 union iwreq_data *wrqu, char *extra);
435 union iwreq_data *wrqu, const char *extra);
448 union iwreq_data *wrqu, char *extra);
451 union iwreq_data *wrqu, char *extra);
454 union iwreq_data *wrqu, char *extra);
457 union iwreq_data *wrqu, char *extra);
/linux-6.6.21/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-6.6.21/drivers/net/wireless/intersil/orinoco/
Dwext.c157 union iwreq_data *wrqu, in orinoco_ioctl_setwap() argument
160 struct sockaddr *ap_addr = &wrqu->ap_addr; in orinoco_ioctl_setwap()
217 union iwreq_data *wrqu, in orinoco_ioctl_getwap() argument
220 struct sockaddr *ap_addr = &wrqu->ap_addr; in orinoco_ioctl_getwap()
239 union iwreq_data *wrqu, in orinoco_ioctl_setiwencode() argument
242 struct iw_point *erq = &wrqu->encoding; in orinoco_ioctl_setiwencode()
331 union iwreq_data *wrqu, in orinoco_ioctl_getiwencode() argument
334 struct iw_point *erq = &wrqu->encoding; in orinoco_ioctl_getiwencode()
368 union iwreq_data *wrqu, in orinoco_ioctl_setessid() argument
371 struct iw_point *erq = &wrqu->essid; in orinoco_ioctl_setessid()
[all …]
/linux-6.6.21/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 …]
Dwext-compat.c28 union iwreq_data *wrqu, char *extra) in cfg80211_wext_giwname() argument
30 strcpy(wrqu->name, "IEEE 802.11"); in cfg80211_wext_giwname()
36 union iwreq_data *wrqu, char *extra) in cfg80211_wext_siwmode() argument
38 __u32 *mode = &wrqu->mode; in cfg80211_wext_siwmode()
75 union iwreq_data *wrqu, char *extra) in cfg80211_wext_giwmode() argument
77 __u32 *mode = &wrqu->mode; in cfg80211_wext_giwmode()
113 union iwreq_data *wrqu, char *extra) in cfg80211_wext_giwrange() argument
115 struct iw_point *data = &wrqu->data; in cfg80211_wext_giwrange()
257 union iwreq_data *wrqu, char *extra) in cfg80211_wext_siwrts() argument
259 struct iw_param *rts = &wrqu->rts; in cfg80211_wext_siwrts()
[all …]
Dsme.c758 union iwreq_data wrqu; in __cfg80211_connect_result() local
791 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
792 wrqu.data.length = cr->req_ie_len; in __cfg80211_connect_result()
793 wireless_send_event(dev, IWEVASSOCREQIE, &wrqu, in __cfg80211_connect_result()
798 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
799 wrqu.data.length = cr->resp_ie_len; in __cfg80211_connect_result()
800 wireless_send_event(dev, IWEVASSOCRESPIE, &wrqu, in __cfg80211_connect_result()
804 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result()
805 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_connect_result()
807 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()
/linux-6.6.21/drivers/net/wireless/legacy/
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.c1028 union iwreq_data *wrqu, char *extra) in ray_get_name() argument
1030 strcpy(wrqu->name, "IEEE 802.11-FH"); in ray_get_name()
1039 union iwreq_data *wrqu, char *extra) in ray_set_freq() argument
1049 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq()
1052 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq()
1062 union iwreq_data *wrqu, char *extra) in ray_get_freq() argument
1066 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq()
1067 wrqu->freq.e = 0; in ray_get_freq()
1076 union iwreq_data *wrqu, char *extra) in ray_set_essid() argument
1085 if (wrqu->essid.flags == 0) in ray_set_essid()
[all …]
/linux-6.6.21/drivers/net/wireless/zydas/
Dzd1201.c258 union iwreq_data wrqu; in zd1201_usbrx() local
271 memcpy(wrqu.addr.sa_data, data+10, ETH_ALEN); in zd1201_usbrx()
272 wrqu.addr.sa_family = ARPHRD_ETHER; in zd1201_usbrx()
275 wireless_send_event(zd->dev, event, &wrqu, NULL); in zd1201_usbrx()
280 union iwreq_data wrqu; in zd1201_usbrx() local
282 memcpy(wrqu.addr.sa_data, data+8, ETH_ALEN); in zd1201_usbrx()
283 wrqu.addr.sa_family = ARPHRD_ETHER; in zd1201_usbrx()
288 wireless_send_event(zd->dev, IWEVEXPIRED, &wrqu, NULL); in zd1201_usbrx()
889 struct iw_request_info *info, union iwreq_data *wrqu, char *essid) in zd1201_config_commit() argument
897 struct iw_request_info *info, union iwreq_data *wrqu, char *extra) in zd1201_get_name() argument
[all …]
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c1827 union iwreq_data wrqu = { in ipw2100_down() local
1871 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in ipw2100_down()
1940 union iwreq_data wrqu = { in ipw2100_reset_adapter() local
1965 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in ipw2100_reset_adapter()
2158 union iwreq_data wrqu; in ipw2100_scan_event() local
2160 wrqu.data.length = 0; in ipw2100_scan_event()
2161 wrqu.data.flags = 0; in ipw2100_scan_event()
2162 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in ipw2100_scan_event()
6572 union iwreq_data *wrqu, char *extra) in ipw2100_wx_get_name() argument
6580 strcpy(wrqu->name, "unassociated"); in ipw2100_wx_get_name()
[all …]
Dipw2200.c1907 union iwreq_data wrqu; in notify_wx_assoc_event() local
1908 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in notify_wx_assoc_event()
1910 memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN); in notify_wx_assoc_event()
1912 eth_zero_addr(wrqu.ap_addr.sa_data); in notify_wx_assoc_event()
1913 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in notify_wx_assoc_event()
4400 union iwreq_data wrqu; in ipw_scan_event() local
4405 wrqu.data.length = 0; in ipw_scan_event()
4406 wrqu.data.flags = 0; in ipw_scan_event()
4407 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in ipw_scan_event()
6469 union iwreq_data *wrqu, char *extra) in ipw_wx_set_genie() argument
[all …]
/linux-6.6.21/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-6.6.21/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c94 union iwreq_data *wrqu, char *extra) in prism2_get_name() argument
108 strcpy(wrqu->name, over2 ? "IEEE 802.11b" : "IEEE 802.11-DS"); in prism2_get_name()
116 union iwreq_data *wrqu, char *keybuf) in prism2_ioctl_siwencode() argument
118 struct iw_point *erq = &wrqu->encoding; in prism2_ioctl_siwencode()
219 union iwreq_data *wrqu, char *key) in prism2_ioctl_giwencode() argument
221 struct iw_point *erq = &wrqu->encoding; in prism2_ioctl_giwencode()
326 union iwreq_data *wrqu, char *extra) in prism2_ioctl_siwrate() argument
328 struct iw_param *rrq = &wrqu->bitrate; in prism2_ioctl_siwrate()
387 union iwreq_data *wrqu, char *extra) in prism2_ioctl_giwrate() argument
389 struct iw_param *rrq = &wrqu->bitrate; in prism2_ioctl_giwrate()
[all …]
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()
/linux-6.6.21/drivers/net/wireless/atmel/
Datmel.c1366 union iwreq_data wrqu; in atmel_close() local
1368 wrqu.data.length = 0; in atmel_close()
1369 wrqu.data.flags = 0; in atmel_close()
1370 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in atmel_close()
1371 eth_zero_addr(wrqu.ap_addr.sa_data); in atmel_close()
1372 wireless_send_event(priv->dev, SIOCGIWAP, &wrqu, NULL); in atmel_close()
1646 union iwreq_data *wrqu, in atmel_set_essid() argument
1649 struct iw_point *dwrq = &wrqu->essid; in atmel_set_essid()
1675 union iwreq_data *wrqu, in atmel_get_essid() argument
1678 struct iw_point *dwrq = &wrqu->essid; in atmel_get_essid()
[all …]

12