/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 52 struct iw_event iwe; in libipw_translate_scan() local 58 iwe.cmd = SIOCGIWAP; in libipw_translate_scan() 59 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in libipw_translate_scan() 60 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in libipw_translate_scan() 61 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in libipw_translate_scan() 66 iwe.cmd = SIOCGIWESSID; in libipw_translate_scan() 67 iwe.u.data.flags = 1; in libipw_translate_scan() 68 iwe.u.data.length = min(network->ssid_len, (u8) 32); in libipw_translate_scan() 70 &iwe, network->ssid); in libipw_translate_scan() 73 iwe.cmd = SIOCGIWNAME; in libipw_translate_scan() [all …]
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 35 struct iw_event iwe; in rtl819x_translate_scan() local 41 iwe.cmd = SIOCGIWAP; in rtl819x_translate_scan() 42 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan() 43 ether_addr_copy(iwe.u.ap_addr.sa_data, network->bssid); in rtl819x_translate_scan() 45 &iwe, IW_EV_ADDR_LEN); in rtl819x_translate_scan() 49 iwe.cmd = SIOCGIWESSID; in rtl819x_translate_scan() 50 iwe.u.data.flags = 1; in rtl819x_translate_scan() 52 iwe.u.data.length = min_t(u8, network->ssid_len, 32); in rtl819x_translate_scan() 53 start = iwe_stream_add_point_rsl(info, start, stop, &iwe, in rtl819x_translate_scan() 56 iwe.u.data.length = sizeof("<hidden>"); in rtl819x_translate_scan() [all …]
|
D | rtllib.h | 77 #define iwe_stream_add_event_rsl(info, start, stop, iwe, len) \ argument 78 iwe_stream_add_event(info, start, stop, iwe, len) 80 #define iwe_stream_add_point_rsl(info, start, stop, iwe, p) \ argument 81 iwe_stream_add_point(info, start, stop, iwe, p)
|
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 48 struct iw_event iwe; in rtl819x_translate_scan() local 54 iwe.cmd = SIOCGIWAP; in rtl819x_translate_scan() 55 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan() 56 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in rtl819x_translate_scan() 57 start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_ADDR_LEN); in rtl819x_translate_scan() 61 iwe.cmd = SIOCGIWESSID; in rtl819x_translate_scan() 62 iwe.u.data.flags = 1; in rtl819x_translate_scan() 65 iwe.u.data.length = sizeof("<hidden>"); in rtl819x_translate_scan() 66 start = iwe_stream_add_point(info, start, stop, &iwe, "<hidden>"); in rtl819x_translate_scan() 68 iwe.u.data.length = min(network->ssid_len, (u8)32); in rtl819x_translate_scan() [all …]
|
/linux-6.1.9/net/wireless/ |
D | scan.c | 2904 struct iw_event iwe; in ieee80211_scan_add_ies() local 2921 memset(&iwe, 0, sizeof(iwe)); in ieee80211_scan_add_ies() 2922 iwe.cmd = IWEVGENIE; in ieee80211_scan_add_ies() 2923 iwe.u.data.length = next - pos; in ieee80211_scan_add_ies() 2925 end_buf, &iwe, in ieee80211_scan_add_ies() 2933 memset(&iwe, 0, sizeof(iwe)); in ieee80211_scan_add_ies() 2934 iwe.cmd = IWEVGENIE; in ieee80211_scan_add_ies() 2935 iwe.u.data.length = end - pos; in ieee80211_scan_add_ies() 2937 end_buf, &iwe, in ieee80211_scan_add_ies() 2952 struct iw_event iwe; in ieee80211_bss() local [all …]
|
D | wext-core.c | 1128 char *ends, struct iw_event *iwe, int event_len) in iwe_stream_add_event() argument 1136 iwe->len = event_len; in iwe_stream_add_event() 1138 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_event() 1139 memcpy(stream + lcp_len, &iwe->u, in iwe_stream_add_event() 1149 char *ends, struct iw_event *iwe, char *extra) in iwe_stream_add_point() argument 1151 int event_len = iwe_stream_point_len(info) + iwe->u.data.length; in iwe_stream_add_point() 1157 iwe->len = event_len; in iwe_stream_add_point() 1158 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_point() 1160 ((char *) &iwe->u) + IW_EV_POINT_OFF, in iwe_stream_add_point() 1162 if (iwe->u.data.length && extra) in iwe_stream_add_point() [all …]
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 127 struct iw_event *iwe, in translate_scan_wpa() argument 148 memset(iwe, 0, sizeof(*iwe)); in translate_scan_wpa() 149 iwe->cmd = IWEVCUSTOM; in translate_scan_wpa() 150 iwe->u.data.length = (u16)strlen(buf); in translate_scan_wpa() 152 iwe, buf); in translate_scan_wpa() 153 memset(iwe, 0, sizeof(*iwe)); in translate_scan_wpa() 154 iwe->cmd = IWEVGENIE; in translate_scan_wpa() 155 iwe->u.data.length = (u16)wpa_len; in translate_scan_wpa() 157 iwe, wpa_ie); in translate_scan_wpa() 168 memset(iwe, 0, sizeof(*iwe)); in translate_scan_wpa() [all …]
|
/linux-6.1.9/include/net/ |
D | iw_handler.h | 510 char *ends, struct iw_event *iwe, int event_len); 514 char *ends, struct iw_event *iwe, int event_len) in iwe_stream_add_event_check() argument 516 char *res = iwe_stream_add_event(info, stream, ends, iwe, event_len); in iwe_stream_add_event_check() 529 char *ends, struct iw_event *iwe, char *extra); 533 char *ends, struct iw_event *iwe, char *extra) in iwe_stream_add_point_check() argument 535 char *res = iwe_stream_add_point(info, stream, ends, iwe, extra); in iwe_stream_add_point_check() 549 char *value, char *ends, struct iw_event *iwe,
|
/linux-6.1.9/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 568 struct iw_event iwe; in gelic_wl_translate_scan() local 578 iwe.cmd = SIOCGIWAP; in gelic_wl_translate_scan() 579 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in gelic_wl_translate_scan() 580 memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); in gelic_wl_translate_scan() 581 ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_ADDR_LEN); in gelic_wl_translate_scan() 584 iwe.cmd = SIOCGIWESSID; in gelic_wl_translate_scan() 585 iwe.u.data.flags = 1; in gelic_wl_translate_scan() 586 iwe.u.data.length = strnlen(scan->essid, 32); in gelic_wl_translate_scan() 587 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan() 590 iwe.cmd = SIOCGIWFREQ; in gelic_wl_translate_scan() [all …]
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 1771 struct iw_event iwe; in __prism2_translate_scan() local 1792 memset(&iwe, 0, sizeof(iwe)); in __prism2_translate_scan() 1793 iwe.cmd = SIOCGIWAP; in __prism2_translate_scan() 1794 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in __prism2_translate_scan() 1795 memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); in __prism2_translate_scan() 1796 current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, in __prism2_translate_scan() 1801 memset(&iwe, 0, sizeof(iwe)); in __prism2_translate_scan() 1802 iwe.cmd = SIOCGIWESSID; in __prism2_translate_scan() 1803 iwe.u.data.length = ssid_len; in __prism2_translate_scan() 1804 iwe.u.data.flags = 1; in __prism2_translate_scan() [all …]
|
D | hostap_ap.c | 2374 struct iw_event iwe; in prism2_ap_translate_scan() local 2392 memset(&iwe, 0, sizeof(iwe)); in prism2_ap_translate_scan() 2393 iwe.cmd = SIOCGIWAP; in prism2_ap_translate_scan() 2394 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in prism2_ap_translate_scan() 2395 memcpy(iwe.u.ap_addr.sa_data, sta->addr, ETH_ALEN); in prism2_ap_translate_scan() 2396 iwe.len = IW_EV_ADDR_LEN; in prism2_ap_translate_scan() 2398 &iwe, IW_EV_ADDR_LEN); in prism2_ap_translate_scan() 2402 memset(&iwe, 0, sizeof(iwe)); in prism2_ap_translate_scan() 2403 iwe.cmd = SIOCGIWMODE; in prism2_ap_translate_scan() 2405 iwe.u.mode = IW_MODE_MASTER; in prism2_ap_translate_scan() [all …]
|
/linux-6.1.9/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 1150 struct iw_event *iwe, in ks_wlan_add_leader_event() argument 1158 memset(iwe, 0, sizeof(*iwe)); in ks_wlan_add_leader_event() 1159 iwe->cmd = IWEVCUSTOM; in ks_wlan_add_leader_event() 1161 iwe->u.data.length += sizeof(rsn_leader) - 1; in ks_wlan_add_leader_event() 1165 iwe->u.data.length += 4; in ks_wlan_add_leader_event() 1170 iwe->u.data.length += rsn->size * 2; in ks_wlan_add_leader_event() 1172 return iwe_stream_add_point(info, current_ev, end_buf, iwe, &buffer[0]); in ks_wlan_add_leader_event() 1187 struct iw_event iwe; /* Temporary buffer */ in ks_wlan_translate_scan() local 1193 iwe.cmd = SIOCGIWAP; in ks_wlan_translate_scan() 1194 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in ks_wlan_translate_scan() [all …]
|
/linux-6.1.9/drivers/net/wireless/zydas/ |
D | zd1201.c | 1112 struct iw_event iwe; in zd1201_get_scan() local 1138 iwe.cmd = SIOCGIWAP; in zd1201_get_scan() 1139 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in zd1201_get_scan() 1140 memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); in zd1201_get_scan() 1142 &iwe, IW_EV_ADDR_LEN); in zd1201_get_scan() 1144 iwe.cmd = SIOCGIWESSID; in zd1201_get_scan() 1145 iwe.u.data.length = zd->rxdata[i+16]; in zd1201_get_scan() 1146 iwe.u.data.flags = 1; in zd1201_get_scan() 1148 &iwe, zd->rxdata+i+18); in zd1201_get_scan() 1150 iwe.cmd = SIOCGIWMODE; in zd1201_get_scan() [all …]
|
/linux-6.1.9/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 81 struct iw_event iwe; in translate_scan() local 121 iwe.cmd = SIOCGIWAP; in translate_scan() 122 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in translate_scan() 124 memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); in translate_scan() 125 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in translate_scan() 128 iwe.cmd = SIOCGIWESSID; in translate_scan() 129 iwe.u.data.flags = 1; in translate_scan() 130 iwe.u.data.length = min_t(u16, pnetwork->network.Ssid.SsidLength, 32); in translate_scan() 131 start = iwe_stream_add_point(info, start, stop, &iwe, pnetwork->network.Ssid.Ssid); in translate_scan() 149 iwe.cmd = SIOCGIWNAME; in translate_scan() [all …]
|
/linux-6.1.9/drivers/net/wireless/ |
D | wl3501_cs.c | 1573 struct iw_event iwe; in wl3501_get_scan() local 1576 iwe.cmd = SIOCGIWAP; in wl3501_get_scan() 1577 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in wl3501_get_scan() 1578 memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].req.bssid, ETH_ALEN); in wl3501_get_scan() 1581 &iwe, IW_EV_ADDR_LEN); in wl3501_get_scan() 1582 iwe.cmd = SIOCGIWESSID; in wl3501_get_scan() 1583 iwe.u.data.flags = 1; in wl3501_get_scan() 1584 iwe.u.data.length = this->bss_set[i].req.ssid.el.len; in wl3501_get_scan() 1587 &iwe, in wl3501_get_scan() 1589 iwe.cmd = SIOCGIWMODE; in wl3501_get_scan() [all …]
|
/linux-6.1.9/drivers/net/wireless/cisco/ |
D | airo.c | 7313 struct iw_event iwe; /* Temporary buffer */ in airo_translate_scan() local 7321 iwe.cmd = SIOCGIWAP; in airo_translate_scan() 7322 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in airo_translate_scan() 7323 memcpy(iwe.u.ap_addr.sa_data, bss->bssid, ETH_ALEN); in airo_translate_scan() 7325 &iwe, IW_EV_ADDR_LEN); in airo_translate_scan() 7330 iwe.u.data.length = bss->ssidLen; in airo_translate_scan() 7331 if (iwe.u.data.length > 32) in airo_translate_scan() 7332 iwe.u.data.length = 32; in airo_translate_scan() 7333 iwe.cmd = SIOCGIWESSID; in airo_translate_scan() 7334 iwe.u.data.flags = 1; in airo_translate_scan() [all …]
|
/linux-6.1.9/drivers/net/wireless/atmel/ |
D | atmel.c | 2329 struct iw_event iwe; in atmel_get_scan() local 2335 iwe.cmd = SIOCGIWAP; in atmel_get_scan() 2336 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in atmel_get_scan() 2337 memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, ETH_ALEN); in atmel_get_scan() 2340 &iwe, IW_EV_ADDR_LEN); in atmel_get_scan() 2342 iwe.u.data.length = priv->BSSinfo[i].SSIDsize; in atmel_get_scan() 2343 if (iwe.u.data.length > 32) in atmel_get_scan() 2344 iwe.u.data.length = 32; in atmel_get_scan() 2345 iwe.cmd = SIOCGIWESSID; in atmel_get_scan() 2346 iwe.u.data.flags = 1; in atmel_get_scan() [all …]
|