/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac_wx.c | 31 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 …]
|
D | ieee80211.h | 2195 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 …]
|
D | ieee80211_wx.c | 226 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 …]
|
/drivers/staging/rtl8192u/ |
D | r8192U_wx.c | 39 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 …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac_wx.c | 30 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 …]
|
D | rtllib.h | 1954 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 …]
|
D | rtllib_wx.c | 231 union iwreq_data *wrqu, char *extra) in rtllib_wx_get_scan() argument 237 char *stop = ev + wrqu->data.length; in rtllib_wx_get_scan() 267 wrqu->data.length = ev - extra; in rtllib_wx_get_scan() 268 wrqu->data.flags = 0; in rtllib_wx_get_scan() 278 union iwreq_data *wrqu, char *keybuf) in rtllib_wx_set_encode() argument 280 struct iw_point *erq = &wrqu->encoding; in rtllib_wx_set_encode() 451 union iwreq_data *wrqu, char *keybuf) in rtllib_wx_get_encode() argument 453 struct iw_point *erq = &wrqu->encoding; in rtllib_wx_get_encode() 494 union iwreq_data *wrqu, char *extra) in rtllib_wx_set_encode_ext() argument 498 struct iw_point *encoding = &wrqu->encoding; in rtllib_wx_set_encode_ext() [all …]
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 23 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 …]
|
/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 43 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 …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 58 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 …]
|
D | mlme_linux.c | 139 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()
|
D | recv_linux.c | 75 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()
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 1442 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 …]
|
D | ray_cs.c | 1029 union iwreq_data *wrqu, char *extra) in ray_get_name() argument 1031 strcpy(wrqu->name, "IEEE 802.11-FH"); in ray_get_name() 1040 union iwreq_data *wrqu, char *extra) in ray_set_freq() argument 1050 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq() 1053 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq() 1063 union iwreq_data *wrqu, char *extra) in ray_get_freq() argument 1067 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq() 1068 wrqu->freq.e = 0; in ray_get_freq() 1077 union iwreq_data *wrqu, char *extra) in ray_set_essid() argument 1086 if (wrqu->essid.flags == 0) in ray_set_essid() [all …]
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 1838 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 …]
|
D | ipw2200.c | 1936 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 …]
|
D | libipw_wx.c | 252 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 …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | mlme_linux.c | 138 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()
|
D | recv_linux.c | 144 union iwreq_data wrqu; in rtw_handle_tkip_mic_err() local 183 memset(&wrqu, 0x00, sizeof(wrqu)); in rtw_handle_tkip_mic_err() 184 wrqu.data.length = sizeof(ev); in rtw_handle_tkip_mic_err()
|
/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 721 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 …]
|
D | main.c | 630 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 …]
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_info.c | 238 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()
|
/drivers/staging/ks7010/ |
D | ks_hostif.c | 101 union iwreq_data wrqu; in get_current_ap() local 149 wrqu.data.length = 0; in get_current_ap() 150 wrqu.data.flags = 0; in get_current_ap() 151 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in get_current_ap() 153 ether_addr_copy(wrqu.ap_addr.sa_data, priv->current_ap.bssid); in get_current_ap() 156 wrqu.ap_addr.sa_data); in get_current_ap() 157 wireless_send_event(netdev, SIOCGIWAP, &wrqu, NULL); in get_current_ap() 340 union iwreq_data wrqu; in hostif_data_indication_wpa() local 401 memset(&wrqu, 0, sizeof(wrqu)); in hostif_data_indication_wpa() 402 wrqu.data.length = strlen(buf); in hostif_data_indication_wpa() [all …]
|
/drivers/net/wireless/atmel/ |
D | atmel.c | 1366 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() 1828 union iwreq_data *wrqu, in atmel_set_encodeext() argument 1832 struct iw_point *encoding = &wrqu->encoding; in atmel_set_encodeext() 1888 union iwreq_data *wrqu, in atmel_get_encodeext() argument 1892 struct iw_point *encoding = &wrqu->encoding; in atmel_get_encodeext() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_ap.c | 940 union iwreq_data wrqu; in rtw_indicate_sta_assoc_event() local 952 wrqu.addr.sa_family = ARPHRD_ETHER; in rtw_indicate_sta_assoc_event() 954 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event() 956 wireless_send_event(padapter->pnetdev, IWEVREGISTERED, &wrqu, NULL); in rtw_indicate_sta_assoc_event() 961 union iwreq_data wrqu; in rtw_indicate_sta_disassoc_event() local 973 wrqu.addr.sa_family = ARPHRD_ETHER; in rtw_indicate_sta_disassoc_event() 975 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_disassoc_event() 977 wireless_send_event(padapter->pnetdev, IWEVEXPIRED, &wrqu, NULL); in rtw_indicate_sta_disassoc_event()
|