/openbmc/linux/drivers/staging/rtl8192u/ieee80211/ |
H 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 …]
|
H A D | ieee80211.h | 2132 union iwreq_data *wrqu, char *key); 2141 union iwreq_data *wrqu, char *extra); 2144 union iwreq_data *wrqu, char *extra); 2210 union iwreq_data *wrqu, char *ext); 2219 union iwreq_data *wrqu, char *b); 2231 union iwreq_data *wrqu, char *b); 2235 union iwreq_data *wrqu, char *b); 2243 union iwreq_data *wrqu, char *b); 2247 union iwreq_data *wrqu, char *b); 2251 union iwreq_data *wrqu, char *b); [all …]
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac_wx.c | 189 wrqu->essid.length = len; in rtllib_wx_get_essid() 191 wrqu->essid.flags = 1; in rtllib_wx_get_essid() 229 if (wrqu->rts.disabled || !wrqu->rts.fixed) { in rtllib_wx_set_rts() 245 wrqu->rts.value = ieee->rts; in rtllib_wx_get_rts() 247 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in rtllib_wx_get_rts() 259 switch (wrqu->mode) { in rtllib_wx_set_mode() 422 if (wrqu->essid.flags && wrqu->essid.length) { in rtllib_wx_set_essid() 445 wrqu->mode = ieee->iw_mode; in rtllib_wx_get_mode() 487 scnprintf(wrqu->name, sizeof(wrqu->name), "802.11bg%s", n); in rtllib_wx_get_name() 552 wrqu->power.disabled = 1; in rtllib_wx_get_power() [all …]
|
H A D | rtllib.h | 1854 union iwreq_data *wrqu, char *key); 1857 union iwreq_data *wrqu, char *key); 1923 union iwreq_data *wrqu, char *b); 1932 union iwreq_data *wrqu, char *b); 1935 union iwreq_data *wrqu, char *b); 1938 union iwreq_data *wrqu, char *extra); 1941 union iwreq_data *wrqu, char *b); 1944 union iwreq_data *wrqu, char *b); 1952 union iwreq_data *wrqu, char *extra); 1959 union iwreq_data *wrqu, char *extra); [all …]
|
/openbmc/linux/drivers/staging/rtl8192u/ |
H 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 …]
|
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_wx.c | 23 union iwreq_data *wrqu, char *b) in _rtl92e_wx_get_freq() argument 32 union iwreq_data *wrqu, char *b) in _rtl92e_wx_get_mode() argument 187 union iwreq_data *wrqu, in _rtl92e_wx_set_lps_awake_interval() argument 253 if (wrqu->mode == IW_MODE_ADHOC || wrqu->mode == IW_MODE_MONITOR || in _rtl92e_wx_set_mode() 308 wrqu->data.length = sizeof(*range); in _rtl92e_wx_get_range() 469 union iwreq_data *wrqu, char *b) in _rtl92e_wx_set_essid() argument 513 wrqu->data.length = min_t(size_t, wrqu->data.length, in _rtl92e_wx_set_nick() 571 if (wrqu->frag.disabled) { in _rtl92e_wx_set_frag() 592 wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FRAG_THRESHOLD); in _rtl92e_wx_get_frag() 673 if (wrqu->encoding.length != 0) { in _rtl92e_wx_set_enc() [all …]
|
/openbmc/linux/include/net/ |
H A D | cfg80211-wext.h | 22 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 …]
|
H A D | iw_handler.h | 316 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);
|
/openbmc/linux/drivers/staging/rtl8712/ |
H 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 …]
|
H 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()
|
H 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()
|
/openbmc/linux/net/wireless/ |
H 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 …]
|
H A D | wext-compat.c | 28 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() 77 __u32 *mode = &wrqu->mode; in cfg80211_wext_giwmode() 115 struct iw_point *data = &wrqu->data; in cfg80211_wext_giwrange() 259 struct iw_param *rts = &wrqu->rts; in cfg80211_wext_siwrts() 290 struct iw_param *rts = &wrqu->rts; in cfg80211_wext_giwrts() 305 struct iw_param *frag = &wrqu->frag; in cfg80211_wext_siwfrag() 336 struct iw_param *frag = &wrqu->frag; in cfg80211_wext_giwfrag() [all …]
|
H A D | sme.c | 759 union iwreq_data wrqu; in __cfg80211_connect_result() local 792 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 799 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 805 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 1093 union iwreq_data wrqu; in __cfg80211_roamed() local 1148 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_roamed() 1151 &wrqu, info->req_ie); in __cfg80211_roamed() 1155 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_roamed() 1161 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_roamed() 1355 union iwreq_data wrqu; in __cfg80211_disconnected() local [all …]
|
H 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()
|
/openbmc/linux/drivers/net/wireless/intersil/orinoco/ |
H A D | wext.c | 157 union iwreq_data *wrqu, in orinoco_ioctl_setwap() argument 217 union iwreq_data *wrqu, in orinoco_ioctl_getwap() argument 429 union iwreq_data *wrqu, in orinoco_ioctl_setfreq() argument 479 union iwreq_data *wrqu, in orinoco_ioctl_getfreq() argument 499 union iwreq_data *wrqu, in orinoco_ioctl_getsens() argument 529 union iwreq_data *wrqu, in orinoco_ioctl_setsens() argument 553 union iwreq_data *wrqu, in orinoco_ioctl_setrate() argument 588 union iwreq_data *wrqu, in orinoco_ioctl_getrate() argument 1024 if (wrqu->data.length) { in orinoco_ioctl_set_genie() 1064 wrqu->data.length = 0; in orinoco_ioctl_get_genie() [all …]
|
/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | wl3501_cs.c | 1444 strscpy(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 …]
|
H A D | ray_cs.c | 1049 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq() 1067 wrqu->freq.e = 0; in ray_get_freq() 1085 if (wrqu->essid.flags == 0) in ray_set_essid() 1151 if ((wrqu->bitrate.value != 1000000) && (wrqu->bitrate.value != 2000000)) in ray_set_rate() 1197 if (wrqu->rts.disabled) in ray_set_rts() 1220 wrqu->rts.disabled = (wrqu->rts.value == 32767); in ray_get_rts() 1221 wrqu->rts.fixed = 1; in ray_get_rts() 1241 if (wrqu->frag.disabled) in ray_set_frag() 1264 wrqu->frag.disabled = (wrqu->frag.value == 32767); in ray_get_frag() 1265 wrqu->frag.fixed = 1; in ray_get_frag() [all …]
|
/openbmc/linux/drivers/net/wireless/zydas/ |
H A D | zd1201.c | 258 union iwreq_data wrqu; in zd1201_usbrx() local 272 wrqu.addr.sa_family = ARPHRD_ETHER; in zd1201_usbrx() 280 union iwreq_data wrqu; in zd1201_usbrx() local 283 wrqu.addr.sa_family = ARPHRD_ETHER; in zd1201_usbrx() 899 strcpy(wrqu->name, "IEEE 802.11b"); in zd1201_get_name() 906 struct iw_freq *freq = &wrqu->freq; in zd1201_set_freq() 928 struct iw_freq *freq = &wrqu->freq; in zd1201_get_freq() 945 __u32 *mode = &wrqu->mode; in zd1201_set_mode() 1009 __u32 *mode = &wrqu->mode; in zd1201_get_mode() 1316 struct iw_param *rts = &wrqu->rts; in zd1201_set_rts() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/ |
H 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()
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2100.c | 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() 6644 wrqu->freq.e = 0; in ipw2100_wx_get_freq() 6652 wrqu->freq.m = 0; in ipw2100_wx_get_freq() 6677 switch (wrqu->mode) { in ipw2100_wx_set_mode() 6933 if (wrqu->essid.flags && wrqu->essid.length) { in ipw2100_wx_set_essid() 7007 wrqu->data.length = min_t(size_t, wrqu->data.length, sizeof(priv->nick)); in ipw2100_wx_set_nick() 7147 if (wrqu->rts.value < 1 || wrqu->rts.value > 2304) { in ipw2100_wx_set_rts() 7306 if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu->retry.disabled) in ipw2100_wx_set_retry() [all …]
|
H A D | ipw2200.c | 8648 wrqu->freq.e = 0; in ipw_wx_get_freq() 8659 wrqu->freq.e = 1; in ipw_wx_get_freq() 8674 wrqu->freq.m = 0; in ipw_wx_get_freq() 9063 wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); in ipw_wx_get_sens() 9200 if (wrqu->rts.disabled || !wrqu->rts.fixed) in ipw_wx_set_rts() 9225 wrqu->rts.disabled = (wrqu->rts.value == DEFAULT_RTS_THRESHOLD); in ipw_wx_get_rts() 9278 wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); in ipw_wx_get_txpow() 9289 if (wrqu->frag.disabled || !wrqu->frag.fixed) in ipw_wx_set_frag() 9315 wrqu->frag.disabled = (wrqu->frag.value == DEFAULT_FTS); in ipw_wx_get_frag() 9328 if (wrqu->retry.flags & IW_RETRY_LIFETIME || wrqu->retry.disabled) in ipw_wx_set_retry() [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_ioctl.c | 449 struct iw_param *sens = &wrqu->sens; in prism2_ioctl_siwsens() 538 struct iw_param *rts = &wrqu->rts; in prism2_ioctl_siwrts() 566 struct iw_param *rts = &wrqu->rts; in prism2_ioctl_giwrts() 590 struct iw_param *rts = &wrqu->rts; in prism2_ioctl_siwfrag() 618 struct iw_param *rts = &wrqu->rts; in prism2_ioctl_giwfrag() 813 struct iw_freq *freq = &wrqu->freq; in prism2_ioctl_siwfreq() 1146 __u32 *mode = &wrqu->mode; in prism2_ioctl_siwmode() 1223 __u32 *mode = &wrqu->mode; in prism2_ioctl_giwmode() 2918 union iwreq_data wrqu; in prism2_ioctl_priv_monitor() local 2932 wrqu.mode = IW_MODE_MASTER; in prism2_ioctl_priv_monitor() [all …]
|
H 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()
|
/openbmc/linux/drivers/net/wireless/atmel/ |
H A 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() 3119 union iwreq_data wrqu; in associate() local 3153 wrqu.data.length = 0; in associate() 3154 wrqu.data.flags = 0; in associate() 3484 union iwreq_data wrqu; in atmel_command_irq() local 3522 wrqu.data.flags = 0; in atmel_command_irq() 3538 wrqu.data.flags = 0; in atmel_command_irq() 4024 wrqu.data.length = 0; in reset_atmel_card() [all …]
|