Home
last modified time | relevance | path

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

123

/drivers/staging/rtl8192u/ieee80211/
Dieee80211_softmac_wx.c30 union iwreq_data *wrqu, char *b) in ieee80211_wx_set_freq() argument
33 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()
105 union iwreq_data *wrqu, char *extra) in ieee80211_wx_get_wap() argument
109 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ieee80211_wx_get_wap()
121 memset(wrqu->ap_addr.sa_data, 0, ETH_ALEN); in ieee80211_wx_get_wap()
123 memcpy(wrqu->ap_addr.sa_data, in ieee80211_wx_get_wap()
179 …_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b) in ieee80211_wx_get_essid() argument
203 wrqu->essid.length = len; in ieee80211_wx_get_essid()
[all …]
Dieee80211_wx.c264 union iwreq_data *wrqu, char *extra) in ieee80211_wx_get_scan() argument
271 char *stop = ev + wrqu->data.length;//IW_SCAN_MAX_DATA; in ieee80211_wx_get_scan()
301 wrqu->data.length = ev - extra; in ieee80211_wx_get_scan()
302 wrqu->data.flags = 0; in ieee80211_wx_get_scan()
311 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument
313 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode()
485 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument
487 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_get_encode()
527 union iwreq_data *wrqu, char *extra) in ieee80211_wx_set_encode_ext() argument
531 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_set_encode_ext()
[all …]
Dieee80211.h2395 union iwreq_data *wrqu, char *key);
2398 union iwreq_data *wrqu, char *key);
2401 union iwreq_data *wrqu, char *key);
2405 union iwreq_data* wrqu, char *extra);
2408 union iwreq_data* wrqu, char *extra);
2414 union iwreq_data *wrqu, char *extra);
2467 union iwreq_data *wrqu, char *ext);
2474 …get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b);
2478 union iwreq_data *wrqu, char *extra);
2482 union iwreq_data *wrqu, char *extra);
[all …]
/drivers/staging/rtl8192u/
Dr8192U_wx.c37 union iwreq_data *wrqu, char *b) in r8192_wx_get_freq() argument
41 return ieee80211_wx_get_freq(priv->ieee80211,a,wrqu,b); in r8192_wx_get_freq()
46 union iwreq_data *wrqu, char *b) in r8192_wx_get_mode() argument
50 return ieee80211_wx_get_mode(priv->ieee80211,a,wrqu,b); in r8192_wx_get_mode()
57 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()
67 union iwreq_data *wrqu, char *extra) in r8192_wx_set_rate() argument
74 ret = ieee80211_wx_set_rate(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_rate()
84 union iwreq_data *wrqu, char *extra) in r8192_wx_set_rts() argument
91 ret = ieee80211_wx_set_rts(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_rts()
[all …]
/drivers/staging/rtl8187se/
Dr8180_wx.c45 union iwreq_data *wrqu, char *b) in r8180_wx_get_freq() argument
49 return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); in r8180_wx_get_freq()
54 union iwreq_data *wrqu, char *key) in r8180_wx_set_key() argument
57 struct iw_point *erq = &(wrqu->encoding); in r8180_wx_set_key()
79 union iwreq_data *wrqu, char *b) in r8180_wx_set_beaconinterval() argument
102 union iwreq_data *wrqu, char *b) in r8180_wx_get_mode() argument
105 return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); in r8180_wx_get_mode()
112 union iwreq_data *wrqu, char *extra) in r8180_wx_get_rate() argument
115 return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); in r8180_wx_get_rate()
122 union iwreq_data *wrqu, char *extra) in r8180_wx_set_rate() argument
[all …]
/drivers/staging/rtl8187se/ieee80211/
Dieee80211_softmac_wx.c30 union iwreq_data *wrqu, char *b) in ieee80211_wx_set_freq() argument
33 struct iw_freq *fwrq = & wrqu->freq; in ieee80211_wx_set_freq()
85 union iwreq_data *wrqu, char *b) in ieee80211_wx_get_freq() argument
87 struct iw_freq *fwrq = & wrqu->freq; in ieee80211_wx_get_freq()
100 union iwreq_data *wrqu, char *extra) in ieee80211_wx_get_wap() argument
104 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in ieee80211_wx_get_wap()
116 memset(wrqu->ap_addr.sa_data, 0, ETH_ALEN); in ieee80211_wx_get_wap()
118 memcpy(wrqu->ap_addr.sa_data, in ieee80211_wx_get_wap()
177 …_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b) in ieee80211_wx_get_essid() argument
201 wrqu->essid.length = len; in ieee80211_wx_get_essid()
[all …]
Dieee80211.h1323 union iwreq_data *wrqu, char *key);
1326 union iwreq_data *wrqu, char *key);
1329 union iwreq_data *wrqu, char *key);
1332 union iwreq_data* wrqu, char *extra);
1338 union iwreq_data *wrqu, char *extra);
1390 union iwreq_data *wrqu, char *ext);
1397 …get_essid(struct ieee80211_device *ieee, struct iw_request_info *a,union iwreq_data *wrqu,char *b);
1401 union iwreq_data *wrqu, char *extra);
1405 union iwreq_data *wrqu, char *extra);
1408 union iwreq_data *wrqu, char *b);
[all …]
Dieee80211_wx.c206 union iwreq_data *wrqu, char *extra) in ieee80211_wx_get_scan() argument
212 char *stop = ev + wrqu->data.length;//IW_SCAN_MAX_DATA; in ieee80211_wx_get_scan()
247 wrqu->data.length = ev - extra; in ieee80211_wx_get_scan()
248 wrqu->data.flags = 0; in ieee80211_wx_get_scan()
256 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument
258 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_set_encode()
425 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument
427 struct iw_point *erq = &(wrqu->encoding); in ieee80211_wx_get_encode()
476 union iwreq_data *wrqu, char *extra) in ieee80211_wx_set_encode_ext() argument
479 struct iw_point *encoding = &wrqu->encoding; in ieee80211_wx_set_encode_ext()
[all …]
/drivers/staging/rtl8192e/
Drtllib_softmac_wx.c31 union iwreq_data *wrqu, char *b) in rtllib_wx_set_freq() argument
34 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_set_freq()
90 union iwreq_data *wrqu, char *b) in rtllib_wx_get_freq() argument
92 struct iw_freq *fwrq = &wrqu->freq; in rtllib_wx_get_freq()
105 union iwreq_data *wrqu, char *extra) in rtllib_wx_get_wap() argument
109 wrqu->ap_addr.sa_family = ARPHRD_ETHER; in rtllib_wx_get_wap()
121 memset(wrqu->ap_addr.sa_data, 0, ETH_ALEN); in rtllib_wx_get_wap()
123 memcpy(wrqu->ap_addr.sa_data, in rtllib_wx_get_wap()
193 union iwreq_data *wrqu, char *b) in rtllib_wx_get_essid() argument
217 wrqu->essid.length = len; in rtllib_wx_get_essid()
[all …]
Drtllib_wx.c256 union iwreq_data *wrqu, char *extra) in rtllib_wx_get_scan() argument
262 char *stop = ev + wrqu->data.length; in rtllib_wx_get_scan()
290 wrqu->data.length = ev - extra; in rtllib_wx_get_scan()
291 wrqu->data.flags = 0; in rtllib_wx_get_scan()
301 union iwreq_data *wrqu, char *keybuf) in rtllib_wx_set_encode() argument
303 struct iw_point *erq = &(wrqu->encoding); in rtllib_wx_set_encode()
476 union iwreq_data *wrqu, char *keybuf) in rtllib_wx_get_encode() argument
478 struct iw_point *erq = &(wrqu->encoding); in rtllib_wx_get_encode()
520 union iwreq_data *wrqu, char *extra) in rtllib_wx_set_encode_ext() argument
524 struct iw_point *encoding = &wrqu->encoding; in rtllib_wx_set_encode_ext()
[all …]
/drivers/staging/rtl8192e/rtl8192e/
Drtl_wx.c35 union iwreq_data *wrqu, char *b) in r8192_wx_get_freq() argument
39 return rtllib_wx_get_freq(priv->rtllib, a, wrqu, b); in r8192_wx_get_freq()
44 union iwreq_data *wrqu, char *b) in r8192_wx_get_mode() argument
48 return rtllib_wx_get_mode(priv->rtllib, a, wrqu, b); in r8192_wx_get_mode()
53 union iwreq_data *wrqu, char *extra) in r8192_wx_get_rate() argument
56 return rtllib_wx_get_rate(priv->rtllib, info, wrqu, extra); in r8192_wx_get_rate()
63 union iwreq_data *wrqu, char *extra) in r8192_wx_set_rate() argument
73 ret = rtllib_wx_set_rate(priv->rtllib, info, wrqu, extra); in r8192_wx_set_rate()
83 union iwreq_data *wrqu, char *extra) in r8192_wx_set_rts() argument
93 ret = rtllib_wx_set_rts(priv->rtllib, info, wrqu, extra); in r8192_wx_set_rts()
[all …]
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c103 union iwreq_data wrqu; in r8712_indicate_wx_assoc_event() local
106 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_assoc_event()
107 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event()
109 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in r8712_indicate_wx_assoc_event()
114 union iwreq_data wrqu; in r8712_indicate_wx_disassoc_event() local
116 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_disassoc_event()
117 memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN); in r8712_indicate_wx_disassoc_event()
118 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in r8712_indicate_wx_disassoc_event()
642 union iwreq_data *wrqu, char *extra) in r8711_wx_get_name() argument
662 snprintf(wrqu->name, IFNAMSIZ, in r8711_wx_get_name()
[all …]
Dmlme_linux.c148 union iwreq_data wrqu; in r8712_report_sec_ie() local
163 memset(&wrqu, 0, sizeof(wrqu)); in r8712_report_sec_ie()
164 wrqu.data.length = p-buff; in r8712_report_sec_ie()
165 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? in r8712_report_sec_ie()
166 wrqu.data.length : IW_CUSTOM_MAX; in r8712_report_sec_ie()
167 wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); in r8712_report_sec_ie()
Drecv_linux.c89 union iwreq_data wrqu; in r8712_handle_tkip_mic_err() local
100 memset(&wrqu, 0x00, sizeof(wrqu)); in r8712_handle_tkip_mic_err()
101 wrqu.data.length = sizeof(ev); in r8712_handle_tkip_mic_err()
102 wireless_send_event(padapter->pnetdev, IWEVMICHAELMICFAILURE, &wrqu, in r8712_handle_tkip_mic_err()
/drivers/net/wireless/
Dwl3501_cs.c1433 union iwreq_data *wrqu, char *extra) in wl3501_get_name() argument
1435 strlcpy(wrqu->name, "IEEE 802.11-DS", sizeof(wrqu->name)); in wl3501_get_name()
1440 union iwreq_data *wrqu, char *extra) in wl3501_set_freq() argument
1443 int channel = wrqu->freq.m; in wl3501_set_freq()
1454 union iwreq_data *wrqu, char *extra) in wl3501_get_freq() argument
1458 wrqu->freq.m = ieee80211_dsss_chan_to_freq(this->chan) * 100000; in wl3501_get_freq()
1459 wrqu->freq.e = 1; in wl3501_get_freq()
1464 union iwreq_data *wrqu, char *extra) in wl3501_set_mode() argument
1468 if (wrqu->mode == IW_MODE_INFRA || in wl3501_set_mode()
1469 wrqu->mode == IW_MODE_ADHOC || in wl3501_set_mode()
[all …]
Dray_cs.c1030 union iwreq_data *wrqu, char *extra) in ray_get_name() argument
1032 strcpy(wrqu->name, "IEEE 802.11-FH"); in ray_get_name()
1041 union iwreq_data *wrqu, char *extra) in ray_set_freq() argument
1051 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq()
1054 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq()
1064 union iwreq_data *wrqu, char *extra) in ray_get_freq() argument
1068 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq()
1069 wrqu->freq.e = 0; in ray_get_freq()
1078 union iwreq_data *wrqu, char *extra) in ray_set_essid() argument
1087 if (wrqu->essid.flags == 0) in ray_set_essid()
[all …]
/drivers/staging/wlags49_h2/
Dwl_wext.c3449 union iwreq_data wrqu; in wl_wext_event_freq() local
3454 memset( &wrqu, 0, sizeof( wrqu )); in wl_wext_event_freq()
3456 wrqu.freq.m = lp->Channel; in wl_wext_event_freq()
3457 wrqu.freq.e = 0; in wl_wext_event_freq()
3459 wireless_send_event( dev, SIOCSIWFREQ, &wrqu, NULL ); in wl_wext_event_freq()
3489 union iwreq_data wrqu; in wl_wext_event_mode() local
3494 memset( &wrqu, 0, sizeof( wrqu )); in wl_wext_event_mode()
3497 wrqu.mode = IW_MODE_INFRA; in wl_wext_event_mode()
3499 wrqu.mode = IW_MODE_MASTER; in wl_wext_event_mode()
3502 wireless_send_event( dev, SIOCSIWMODE, &wrqu, NULL ); in wl_wext_event_mode()
[all …]
/drivers/net/wireless/ipw2x00/
Dipw2100.c1844 union iwreq_data wrqu = { in ipw2100_down() local
1887 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in ipw2100_down()
1966 union iwreq_data wrqu = { in ipw2100_reset_adapter() local
1991 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in ipw2100_reset_adapter()
2188 union iwreq_data wrqu; in send_scan_event() local
2190 wrqu.data.length = 0; in send_scan_event()
2191 wrqu.data.flags = 0; in send_scan_event()
2192 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in send_scan_event()
6686 union iwreq_data *wrqu, char *extra) in ipw2100_wx_get_name() argument
6694 strcpy(wrqu->name, "unassociated"); in ipw2100_wx_get_name()
[all …]
Dipw2200.c1962 union iwreq_data wrqu; in notify_wx_assoc_event() local
1963 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in notify_wx_assoc_event()
1965 memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN); in notify_wx_assoc_event()
1967 memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN); in notify_wx_assoc_event()
1968 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in notify_wx_assoc_event()
4459 union iwreq_data wrqu; in ipw_scan_event() local
4464 wrqu.data.length = 0; in ipw_scan_event()
4465 wrqu.data.flags = 0; in ipw_scan_event()
4466 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in ipw_scan_event()
4477 union iwreq_data wrqu; in handle_scan_event() local
[all …]
Dlibipw_wx.c266 union iwreq_data *wrqu, char *extra) in libipw_wx_get_scan() argument
273 char *stop = ev + wrqu->data.length; in libipw_wx_get_scan()
305 wrqu->data.length = ev - extra; in libipw_wx_get_scan()
306 wrqu->data.flags = 0; in libipw_wx_get_scan()
315 union iwreq_data *wrqu, char *keybuf) in libipw_wx_set_encode() argument
317 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_set_encode()
482 union iwreq_data *wrqu, char *keybuf) in libipw_wx_get_encode() argument
484 struct iw_point *erq = &(wrqu->encoding); in libipw_wx_get_encode()
524 union iwreq_data *wrqu, char *extra) in libipw_wx_set_encodeext() argument
527 struct iw_point *encoding = &wrqu->encoding; in libipw_wx_set_encodeext()
[all …]
/drivers/net/wireless/orinoco/
Dwext.c722 union iwreq_data *wrqu, in orinoco_ioctl_set_encodeext() argument
726 struct iw_point *encoding = &wrqu->encoding; in orinoco_ioctl_set_encodeext()
816 union iwreq_data *wrqu, in orinoco_ioctl_get_encodeext() argument
820 struct iw_point *encoding = &wrqu->encoding; in orinoco_ioctl_get_encodeext()
874 union iwreq_data *wrqu, char *extra) in orinoco_ioctl_set_auth() argument
878 struct iw_param *param = &wrqu->param; in orinoco_ioctl_set_auth()
960 union iwreq_data *wrqu, char *extra) in orinoco_ioctl_get_auth() argument
963 struct iw_param *param = &wrqu->param; in orinoco_ioctl_get_auth()
1000 union iwreq_data *wrqu, char *extra) in orinoco_ioctl_set_genie() argument
1007 if ((wrqu->data.length > IEEE80211_MAX_DATA_LEN) || in orinoco_ioctl_set_genie()
[all …]
Dmain.c645 union iwreq_data wrqu; in __orinoco_ev_txexc() local
655 memcpy(wrqu.addr.sa_data, hdr.addr1, ETH_ALEN); in __orinoco_ev_txexc()
656 wrqu.addr.sa_family = ARPHRD_ETHER; in __orinoco_ev_txexc()
659 wireless_send_event(dev, IWEVTXDROP, &wrqu, NULL); in __orinoco_ev_txexc()
1009 union iwreq_data wrqu; in orinoco_rx() local
1030 memset(&wrqu, 0, sizeof(wrqu)); in orinoco_rx()
1031 wrqu.data.length = sizeof(wxmic); in orinoco_rx()
1032 wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, in orinoco_rx()
1241 union iwreq_data wrqu; in orinoco_send_bssid_wevent() local
1245 ETH_ALEN, NULL, wrqu.ap_addr.sa_data); in orinoco_send_bssid_wevent()
[all …]
/drivers/staging/vt6655/
Dwcmd.c487 union iwreq_data wrqu; in vCommandTimer() local
488 memset(&wrqu, 0, sizeof(wrqu)); in vCommandTimer()
489 wireless_send_event(pDevice->dev, SIOCGIWSCAN, &wrqu, NULL); in vCommandTimer()
646 union iwreq_data wrqu; in vCommandTimer() local
647 memset(&wrqu, 0, sizeof (wrqu)); in vCommandTimer()
648 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in vCommandTimer()
650 wireless_send_event(pDevice->dev, SIOCGIWAP, &wrqu, NULL); in vCommandTimer()
691 union iwreq_data wrqu; in vCommandTimer()
692 memset(&wrqu, 0, sizeof (wrqu)); in vCommandTimer()
693 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in vCommandTimer()
[all …]
/drivers/net/wireless/hostap/
Dhostap_info.c236 union iwreq_data wrqu; in hostap_report_scan_complete() local
240 wrqu.data.length = 0; in hostap_report_scan_complete()
241 wrqu.data.flags = 0; in hostap_report_scan_complete()
242 wireless_send_event(local->dev, SIOCGIWSCAN, &wrqu, NULL); in hostap_report_scan_complete()
417 union iwreq_data wrqu; in handle_info_queue_linkstatus() local
440 memcpy(wrqu.ap_addr.sa_data, local->bssid, ETH_ALEN); in handle_info_queue_linkstatus()
444 memset(wrqu.ap_addr.sa_data, 0, ETH_ALEN); in handle_info_queue_linkstatus()
446 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in handle_info_queue_linkstatus()
455 wireless_send_event(local->dev, SIOCGIWAP, &wrqu, NULL); in handle_info_queue_linkstatus()
/drivers/net/wireless/bcmdhd/
Dwl_iw.c384 void *wrqu, char *extra);
392 union iwreq_data *wrqu, in wl_iw_set_leddc() argument
407 union iwreq_data *wrqu, in wl_iw_set_vlanmode() argument
423 union iwreq_data *wrqu, in wl_iw_set_pm() argument
445 union iwreq_data wrqu; in wl_iw_send_priv_event() local
450 memset(&wrqu, 0, sizeof(wrqu)); in wl_iw_send_priv_event()
455 wrqu.data.length = strlen(extra); in wl_iw_send_priv_event()
456 wireless_send_event(dev, cmd, &wrqu, extra); in wl_iw_send_priv_event()
1194 union iwreq_data *wrqu, in wl_iw_set_scan() argument
1207 if (wrqu->data.length == sizeof(struct iw_scan_req)) { in wl_iw_set_scan()
[all …]

123