/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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); 2022 union iwreq_data *wrqu, char *ext); 2028 union iwreq_data *wrqu, char *b); 2031 union iwreq_data *wrqu, char *extra); 2034 union iwreq_data *wrqu, char *extra); 2037 union iwreq_data *wrqu, char *b); [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 60 union iwreq_data wrqu; in r8712_indicate_wx_assoc_event() local 63 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_assoc_event() 64 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event() 66 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in r8712_indicate_wx_assoc_event() 71 union iwreq_data wrqu; in r8712_indicate_wx_disassoc_event() local 73 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in r8712_indicate_wx_disassoc_event() 74 eth_zero_addr(wrqu.ap_addr.sa_data); in r8712_indicate_wx_disassoc_event() 75 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in r8712_indicate_wx_disassoc_event() 599 union iwreq_data *wrqu, char *extra) in r8711_wx_get_name() argument 619 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | mlme_linux.c | 88 union iwreq_data wrqu; in rtw_report_sec_ie() local 107 memset(&wrqu, 0, sizeof(wrqu)); in rtw_report_sec_ie() 108 wrqu.data.length = min_t(__u16, p - buff, IW_CUSTOM_MAX); in rtw_report_sec_ie() 109 wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); in rtw_report_sec_ie() 131 union iwreq_data wrqu; in rtw_indicate_sta_assoc_event() local 143 wrqu.addr.sa_family = ARPHRD_ETHER; in rtw_indicate_sta_assoc_event() 145 memcpy(wrqu.addr.sa_data, psta->hwaddr, ETH_ALEN); in rtw_indicate_sta_assoc_event() 149 wireless_send_event(padapter->pnetdev, IWEVREGISTERED, &wrqu, NULL); in rtw_indicate_sta_assoc_event() 154 union iwreq_data wrqu; in rtw_indicate_sta_disassoc_event() local 166 wrqu.addr.sa_family = ARPHRD_ETHER; in rtw_indicate_sta_disassoc_event() [all …]
|
D | ioctl_linux.c | 57 union iwreq_data wrqu; in indicate_wx_scan_complete_event() local 59 memset(&wrqu, 0, sizeof(union iwreq_data)); in indicate_wx_scan_complete_event() 60 wireless_send_event(padapter->pnetdev, SIOCGIWSCAN, &wrqu, NULL); in indicate_wx_scan_complete_event() 65 union iwreq_data wrqu; in rtw_indicate_wx_assoc_event() local 68 memset(&wrqu, 0, sizeof(union iwreq_data)); in rtw_indicate_wx_assoc_event() 70 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in rtw_indicate_wx_assoc_event() 72 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event() 75 wireless_send_event(padapter->pnetdev, SIOCGIWAP, &wrqu, NULL); in rtw_indicate_wx_assoc_event() 80 union iwreq_data wrqu; in rtw_indicate_wx_disassoc_event() local 82 memset(&wrqu, 0, sizeof(union iwreq_data)); in rtw_indicate_wx_disassoc_event() [all …]
|
D | recv_linux.c | 30 union iwreq_data wrqu; in rtw_handle_tkip_mic_err() local 58 memset(&wrqu, 0x00, sizeof(wrqu)); in rtw_handle_tkip_mic_err() 59 wrqu.data.length = sizeof(ev); in rtw_handle_tkip_mic_err() 61 &wrqu, (char *)&ev); in rtw_handle_tkip_mic_err()
|
/kernel/linux/linux-5.10/net/wireless/ |
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 …]
|
D | sme.c | 686 union iwreq_data wrqu; in __cfg80211_connect_result() local 704 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 705 wrqu.data.length = cr->req_ie_len; in __cfg80211_connect_result() 706 wireless_send_event(dev, IWEVASSOCREQIE, &wrqu, in __cfg80211_connect_result() 711 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 712 wrqu.data.length = cr->resp_ie_len; in __cfg80211_connect_result() 713 wireless_send_event(dev, IWEVASSOCRESPIE, &wrqu, in __cfg80211_connect_result() 717 memset(&wrqu, 0, sizeof(wrqu)); in __cfg80211_connect_result() 718 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in __cfg80211_connect_result() 720 memcpy(wrqu.ap_addr.sa_data, cr->bssid, ETH_ALEN); in __cfg80211_connect_result() [all …]
|
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()
|
D | wext-core.c | 453 union iwreq_data * wrqu, in wireless_send_event() argument 511 if (wrqu->data.length > descr->max_tokens) { in wireless_send_event() 513 cmd, wrqu->data.length); in wireless_send_event() 516 if (wrqu->data.length < descr->min_tokens) { in wireless_send_event() 518 cmd, wrqu->data.length); in wireless_send_event() 523 extra_len = wrqu->data.length * descr->token_size; in wireless_send_event() 578 memcpy(&event->u, ((char *) wrqu) + wrqu_off, hdr_len - IW_EV_LCP_LEN); in wireless_send_event() 613 compat_wrqu.length = wrqu->data.length; in wireless_send_event() 614 compat_wrqu.flags = wrqu->data.flags; in wireless_send_event() 623 memcpy(&compat_event->pointer, wrqu, in wireless_send_event() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | wl3501_cs.c | 1444 union iwreq_data *wrqu, char *extra) in wl3501_get_name() argument 1446 strlcpy(wrqu->name, "IEEE 802.11-DS", sizeof(wrqu->name)); in wl3501_get_name() 1451 union iwreq_data *wrqu, char *extra) in wl3501_set_freq() argument 1454 int channel = wrqu->freq.m; in wl3501_set_freq() 1465 union iwreq_data *wrqu, char *extra) in wl3501_get_freq() argument 1469 wrqu->freq.m = 100000 * in wl3501_get_freq() 1471 wrqu->freq.e = 1; in wl3501_get_freq() 1476 union iwreq_data *wrqu, char *extra) in wl3501_set_mode() argument 1480 if (wrqu->mode == IW_MODE_INFRA || in wl3501_set_mode() 1481 wrqu->mode == IW_MODE_ADHOC || in wl3501_set_mode() [all …]
|
D | ray_cs.c | 1021 union iwreq_data *wrqu, char *extra) in ray_get_name() argument 1023 strcpy(wrqu->name, "IEEE 802.11-FH"); in ray_get_name() 1032 union iwreq_data *wrqu, char *extra) in ray_set_freq() argument 1042 if ((wrqu->freq.m > USA_HOP_MOD) || (wrqu->freq.e > 0)) in ray_set_freq() 1045 local->sparm.b5.a_hop_pattern = wrqu->freq.m; in ray_set_freq() 1055 union iwreq_data *wrqu, char *extra) in ray_get_freq() argument 1059 wrqu->freq.m = local->sparm.b5.a_hop_pattern; in ray_get_freq() 1060 wrqu->freq.e = 0; in ray_get_freq() 1069 union iwreq_data *wrqu, char *extra) in ray_set_essid() argument 1078 if (wrqu->essid.flags == 0) in ray_set_essid() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 42 union iwreq_data wrqu; in indicate_wx_scan_complete_event() local 44 memset(&wrqu, 0, sizeof(union iwreq_data)); in indicate_wx_scan_complete_event() 52 union iwreq_data wrqu; in rtw_indicate_wx_assoc_event() local 58 memset(&wrqu, 0, sizeof(union iwreq_data)); in rtw_indicate_wx_assoc_event() 60 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in rtw_indicate_wx_assoc_event() 63 memcpy(wrqu.ap_addr.sa_data, pnetwork->MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event() 65 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event() 72 union iwreq_data wrqu; in rtw_indicate_wx_disassoc_event() local 74 memset(&wrqu, 0, sizeof(union iwreq_data)); in rtw_indicate_wx_disassoc_event() 76 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in rtw_indicate_wx_disassoc_event() [all …]
|
D | mlme_linux.c | 145 union iwreq_data wrqu; in rtw_report_sec_ie() local 172 memset(&wrqu, 0, sizeof(wrqu)); in rtw_report_sec_ie() 174 wrqu.data.length = p - buff; in rtw_report_sec_ie() 176 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ? wrqu.data.length : IW_CUSTOM_MAX; in rtw_report_sec_ie()
|
/kernel/linux/linux-5.10/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 | 1939 union iwreq_data wrqu; in notify_wx_assoc_event() local 1940 wrqu.ap_addr.sa_family = ARPHRD_ETHER; in notify_wx_assoc_event() 1942 memcpy(wrqu.ap_addr.sa_data, priv->bssid, ETH_ALEN); in notify_wx_assoc_event() 1944 eth_zero_addr(wrqu.ap_addr.sa_data); in notify_wx_assoc_event() 1945 wireless_send_event(priv->net_dev, SIOCGIWAP, &wrqu, NULL); in notify_wx_assoc_event() 4446 union iwreq_data wrqu; in ipw_scan_event() local 4451 wrqu.data.length = 0; in ipw_scan_event() 4452 wrqu.data.flags = 0; in ipw_scan_event() 4453 wireless_send_event(priv->net_dev, SIOCGIWSCAN, &wrqu, NULL); in ipw_scan_event() 6515 union iwreq_data *wrqu, char *extra) in ipw_wx_set_genie() argument [all …]
|
/kernel/linux/linux-5.10/include/net/ |
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);
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|