/linux/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_softmac_wx.c | 204 wrqu->essid.length = len; in ieee80211_wx_get_essid() 206 wrqu->essid.flags = 1; in ieee80211_wx_get_essid() 247 if (wrqu->rts.disabled || !wrqu->rts.fixed) { in ieee80211_wx_set_rts() 263 wrqu->rts.value = ieee->rts; in ieee80211_wx_get_rts() 265 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in ieee80211_wx_get_rts() 287 ieee->iw_mode = wrqu->mode; in ieee80211_wx_set_mode() 290 ieee->iw_mode = wrqu->mode; in ieee80211_wx_set_mode() 416 if (wrqu->essid.flags && wrqu->essid.length) { in ieee80211_wx_set_essid() 441 wrqu->mode = ieee->iw_mode; in ieee80211_wx_get_mode() 569 wrqu->power.disabled = 1; in ieee80211_wx_get_power() [all …]
|
A D | ieee80211.h | 2195 union iwreq_data *wrqu, char *key); 2204 union iwreq_data *wrqu, char *extra); 2207 union iwreq_data *wrqu, char *extra); 2274 union iwreq_data *wrqu, char *ext); 2283 union iwreq_data *wrqu, char *b); 2295 union iwreq_data *wrqu, char *b); 2299 union iwreq_data *wrqu, char *b); 2307 union iwreq_data *wrqu, char *b); 2311 union iwreq_data *wrqu, char *b); 2315 union iwreq_data *wrqu, char *b); [all …]
|
/linux/drivers/staging/rtl8192u/ |
A D | r8192U_wx.c | 39 union iwreq_data *wrqu, char *b) in r8192_wx_get_freq() argument 47 union iwreq_data *wrqu, char *b) in r8192_wx_get_mode() argument 230 wrqu->data.length = sizeof(*range); in rtl8180_wx_get_range() 432 if (wrqu->frag.disabled) { in r8192_wx_set_frag() 453 wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FRAG_THRESHOLD); in r8192_wx_get_frag() 520 if (wrqu->encoding.length != 0) { in r8192_wx_set_enc() 555 if (wrqu->encoding.length == 0x5) { in r8192_wx_set_enc() 607 wrqu->retry.disabled){ in r8192_wx_set_retry() 673 wrqu->sens.value = priv->sens; in r8192_wx_get_sens() 690 priv->sens = wrqu->sens.value; in r8192_wx_set_sens() [all …]
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_softmac_wx.c | 215 wrqu->essid.length = len; in rtllib_wx_get_essid() 217 wrqu->essid.flags = 1; in rtllib_wx_get_essid() 258 if (wrqu->rts.disabled || !wrqu->rts.fixed) in rtllib_wx_set_rts() 274 wrqu->rts.value = ieee->rts; in rtllib_wx_get_rts() 276 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in rtllib_wx_get_rts() 288 switch (wrqu->mode) { in rtllib_wx_set_mode() 477 if (wrqu->essid.flags && wrqu->essid.length) { in rtllib_wx_set_essid() 500 wrqu->mode = ieee->iw_mode; in rtllib_wx_get_mode() 549 scnprintf(wrqu->name, sizeof(wrqu->name), "802.11%s%s%s", b, g, n); in rtllib_wx_get_name() 621 wrqu->power.disabled = 1; in rtllib_wx_get_power() [all …]
|
A D | rtllib.h | 1957 union iwreq_data *wrqu, char *key); 1960 union iwreq_data *wrqu, char *key); 2026 union iwreq_data *wrqu, char *b); 2035 union iwreq_data *wrqu, char *b); 2038 union iwreq_data *wrqu, char *b); 2041 union iwreq_data *wrqu, char *extra); 2044 union iwreq_data *wrqu, char *b); 2047 union iwreq_data *wrqu, char *b); 2055 union iwreq_data *wrqu, char *extra); 2062 union iwreq_data *wrqu, char *extra); [all …]
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
A D | rtl_wx.c | 23 union iwreq_data *wrqu, char *b) in _rtl92e_wx_get_freq() argument 191 union iwreq_data *wrqu, in _rtl92e_wx_set_lps_awake_interval() argument 257 if (wrqu->mode == IW_MODE_ADHOC || wrqu->mode == IW_MODE_MONITOR || in _rtl92e_wx_set_mode() 314 wrqu->data.length = sizeof(*range); in _rtl92e_wx_get_range() 534 wrqu->data.length = min_t(size_t, wrqu->data.length, in _rtl92e_wx_set_nick() 592 if (wrqu->frag.disabled) in _rtl92e_wx_set_frag() 613 wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FRAG_THRESHOLD); in _rtl92e_wx_get_frag() 695 if (wrqu->encoding.length != 0) { in _rtl92e_wx_set_enc() 779 wrqu->retry.disabled) { in _rtl92e_wx_set_retry() 834 wrqu->sens.value = priv->sens; in _rtl92e_wx_get_sens() [all …]
|
/linux/drivers/staging/r8188eu/os_dep/ |
A D | ioctl_linux.c | 46 union iwreq_data wrqu; in indicate_wx_scan_complete_event() local 54 union iwreq_data wrqu; in rtw_indicate_wx_assoc_event() local 69 union iwreq_data wrqu; in rtw_indicate_wx_disassoc_event() local 702 wrqu->freq.e = 1; in rtw_wx_get_freq() 706 wrqu->freq.e = 1; in rtw_wx_get_freq() 732 switch (wrqu->mode) { in rtw_wx_set_mode() 855 wrqu->sens.value = 0; in rtw_wx_get_sens() 1281 wrqu->data.flags = 0; in rtw_wx_get_scan() 1328 if (wrqu->essid.flags && wrqu->essid.length) { in rtw_wx_set_essid() 1402 wrqu->essid.flags = 1; in rtw_wx_get_essid() [all …]
|
A D | mlme_linux.c | 111 union iwreq_data wrqu; in rtw_report_sec_ie() local 125 memset(&wrqu, 0, sizeof(wrqu)); in rtw_report_sec_ie() 126 wrqu.data.length = p - buff; in rtw_report_sec_ie() 127 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? in rtw_report_sec_ie() 128 wrqu.data.length : IW_CUSTOM_MAX; in rtw_report_sec_ie() 168 union iwreq_data wrqu; in rtw_indicate_sta_assoc_event() local 180 wrqu.addr.sa_family = ARPHRD_ETHER; in rtw_indicate_sta_assoc_event() 182 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event() 191 union iwreq_data wrqu; in rtw_indicate_sta_disassoc_event() local 203 wrqu.addr.sa_family = ARPHRD_ETHER; in rtw_indicate_sta_disassoc_event() [all …]
|
A D | recv_linux.c | 69 union iwreq_data wrqu; in rtw_handle_tkip_mic_err() local 97 memset(&wrqu, 0x00, sizeof(wrqu)); in rtw_handle_tkip_mic_err() 98 wrqu.data.length = sizeof(ev); in rtw_handle_tkip_mic_err() 100 &wrqu, (char *)&ev); in rtw_handle_tkip_mic_err()
|
/linux/drivers/staging/rtl8712/ |
A D | rtl871x_ioctl_linux.c | 58 union iwreq_data wrqu; in r8712_indicate_wx_assoc_event() local 69 union iwreq_data wrqu; in r8712_indicate_wx_disassoc_event() local 701 wrqu->freq.e = 1; in r8711_wx_get_freq() 714 switch (wrqu->mode) { in r8711_wx_set_mode() 847 wrqu->sens.value = 0; in r8711_wx_get_sens() 1215 wrqu->data.flags = 0; in r8711_wx_get_scan() 1252 if (wrqu->essid.flags && wrqu->essid.length) { in r8711_wx_set_essid() 1483 wrqu->retry.value = 7; in r8711_wx_get_retry() 1653 wrqu->power.value = 0; in r8711_wx_get_power() 1808 wrqu->data.flags = 1; in r871x_wx_get_nick() [all …]
|
A 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()
|
A 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()
|
/linux/net/wireless/ |
A D | wext-spy.c | 28 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 …]
|
A D | sme.c | 685 union iwreq_data wrqu; in __cfg80211_connect_result() local 703 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 710 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 716 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 903 union iwreq_data wrqu; in __cfg80211_roamed() local 930 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_roamed() 933 &wrqu, info->req_ie); in __cfg80211_roamed() 937 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_roamed() 943 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_roamed() 1083 union iwreq_data wrqu; in __cfg80211_disconnected() local [all …]
|
A D | wext-priv.c | 18 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/drivers/net/wireless/ |
A D | wl3501_cs.c | 1444 strlcpy(wrqu->name, "IEEE 802.11-DS", sizeof(wrqu->name)); in wl3501_get_name() 1467 wrqu->freq.m = 100000 * in wl3501_get_freq() 1469 wrqu->freq.e = 1; in wl3501_get_freq() 1504 wrqu->sens.disabled = !wrqu->sens.value; in wl3501_get_sens() 1505 wrqu->sens.fixed = 1; in wl3501_get_sens() 1622 if (wrqu->data.flags) { in wl3501_set_essid() 1641 wrqu->essid.flags = 1; in wl3501_get_essid() 1678 wrqu->bitrate.fixed = 1; in wl3501_get_rate() 1693 wrqu->rts.fixed = 1; in wl3501_get_rts_threshold() 1709 wrqu->frag.fixed = 1; in wl3501_get_frag_threshold() [all …]
|
A D | ray_cs.c | 1038 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq() 1056 wrqu->freq.e = 0; in ray_get_freq() 1074 if (wrqu->essid.flags == 0) in ray_set_essid() 1140 if ((wrqu->bitrate.value != 1000000) && (wrqu->bitrate.value != 2000000)) in ray_set_rate() 1186 if (wrqu->rts.disabled) in ray_set_rts() 1209 wrqu->rts.disabled = (wrqu->rts.value == 32767); in ray_get_rts() 1210 wrqu->rts.fixed = 1; in ray_get_rts() 1230 if (wrqu->frag.disabled) in ray_set_frag() 1253 wrqu->frag.disabled = (wrqu->frag.value == 32767); in ray_get_frag() 1254 wrqu->frag.fixed = 1; in ray_get_frag() [all …]
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A D | ipw2100.c | 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() 6655 wrqu->freq.e = 0; in ipw2100_wx_get_freq() 6663 wrqu->freq.m = 0; in ipw2100_wx_get_freq() 6688 switch (wrqu->mode) { in ipw2100_wx_set_mode() 6944 if (wrqu->essid.flags && wrqu->essid.length) { in ipw2100_wx_set_essid() 7018 wrqu->data.length = min_t(size_t, wrqu->data.length, sizeof(priv->nick)); in ipw2100_wx_set_nick() 7158 if (wrqu->rts.value < 1 || wrqu->rts.value > 2304) { in ipw2100_wx_set_rts() 7317 if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu->retry.disabled) in ipw2100_wx_set_retry() [all …]
|
A D | ipw2200.c | 8694 wrqu->freq.e = 0; in ipw_wx_get_freq() 8705 wrqu->freq.e = 1; in ipw_wx_get_freq() 8720 wrqu->freq.m = 0; in ipw_wx_get_freq() 9109 wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); in ipw_wx_get_sens() 9246 if (wrqu->rts.disabled || !wrqu->rts.fixed) in ipw_wx_set_rts() 9271 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in ipw_wx_get_rts() 9324 wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); in ipw_wx_get_txpow() 9335 if (wrqu->frag.disabled || !wrqu->frag.fixed) in ipw_wx_set_frag() 9361 wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FTS); in ipw_wx_get_frag() 9374 if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu->retry.disabled) in ipw_wx_set_retry() [all …]
|
/linux/drivers/staging/rtl8723bs/os_dep/ |
A 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()
|
/linux/include/net/ |
A D | iw_handler.h | 316 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/drivers/net/wireless/intersil/orinoco/ |
A D | wext.c | 721 union iwreq_data *wrqu, in orinoco_ioctl_set_encodeext() argument 1010 if (wrqu->data.length) { in orinoco_ioctl_set_genie() 1050 wrqu->data.length = 0; in orinoco_ioctl_get_genie() 1100 void *wrqu, in orinoco_ioctl_reset() argument 1124 void *wrqu, in orinoco_ioctl_setibssport() argument 1146 void *wrqu, in orinoco_ioctl_getibssport() argument 1158 void *wrqu, in orinoco_ioctl_setport3() argument 1204 void *wrqu, in orinoco_ioctl_getport3() argument 1216 void *wrqu, in orinoco_ioctl_setpreamble() argument 1248 void *wrqu, in orinoco_ioctl_getpreamble() argument [all …]
|
A D | main.c | 630 union iwreq_data wrqu; in __orinoco_ev_txexc() local 990 union iwreq_data wrqu; in orinoco_rx() local 1011 memset(&wrqu, 0, sizeof(wrqu)); in orinoco_rx() 1221 union iwreq_data wrqu; in orinoco_send_bssid_wevent() local 1239 union iwreq_data wrqu; in orinoco_send_assocreqie_wevent() local 1256 if (wrqu.data.length > rem) in orinoco_send_assocreqie_wevent() 1257 wrqu.data.length = rem; in orinoco_send_assocreqie_wevent() 1259 if (wrqu.data.length) in orinoco_send_assocreqie_wevent() 1269 union iwreq_data wrqu; in orinoco_send_assocrespie_wevent() local 1288 wrqu.data.length = rem; in orinoco_send_assocrespie_wevent() [all …]
|
/linux/drivers/net/wireless/intersil/hostap/ |
A 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()
|
/linux/drivers/staging/ks7010/ |
A D | ks_hostif.c | 105 union iwreq_data wrqu; in get_current_ap() local 153 wrqu.data.length = 0; in get_current_ap() 154 wrqu.data.flags = 0; in get_current_ap() 344 union iwreq_data wrqu; in hostif_data_indication_wpa() local 405 memset(&wrqu, 0, sizeof(wrqu)); in hostif_data_indication_wpa() 700 union iwreq_data wrqu; in hostif_start_confirm() local 702 wrqu.data.length = 0; in hostif_start_confirm() 703 wrqu.data.flags = 0; in hostif_start_confirm() 877 memset(&wrqu, 0, sizeof(wrqu)); in hostif_associate_indication() 915 wrqu.data.length = 0; in hostif_bss_scan_confirm() [all …]
|