/linux-3.4.99/drivers/net/wireless/ipw2x00/ |
D | libipw_wx.c | 66 struct iw_event iwe; in libipw_translate_scan() local 72 iwe.cmd = SIOCGIWAP; in libipw_translate_scan() 73 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in libipw_translate_scan() 74 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in libipw_translate_scan() 75 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in libipw_translate_scan() 80 iwe.cmd = SIOCGIWESSID; in libipw_translate_scan() 81 iwe.u.data.flags = 1; in libipw_translate_scan() 82 iwe.u.data.length = min(network->ssid_len, (u8) 32); in libipw_translate_scan() 84 &iwe, network->ssid); in libipw_translate_scan() 87 iwe.cmd = SIOCGIWNAME; in libipw_translate_scan() [all …]
|
/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_wx.c | 50 struct iw_event iwe; in rtl818x_translate_scan() local 55 iwe.cmd = SIOCGIWAP; in rtl818x_translate_scan() 56 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl818x_translate_scan() 57 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in rtl818x_translate_scan() 58 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in rtl818x_translate_scan() 63 iwe.cmd = SIOCGIWESSID; in rtl818x_translate_scan() 64 iwe.u.data.flags = 1; in rtl818x_translate_scan() 69 iwe.u.data.length = sizeof("<hidden>"); in rtl818x_translate_scan() 70 start = iwe_stream_add_point(info, start, stop, &iwe, "<hidden>"); in rtl818x_translate_scan() 72 iwe.u.data.length = min(network->ssid_len, (u8)32); in rtl818x_translate_scan() [all …]
|
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 63 struct iw_event iwe; in rtl819x_translate_scan() local 69 iwe.cmd = SIOCGIWAP; in rtl819x_translate_scan() 70 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan() 71 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in rtl819x_translate_scan() 72 start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_ADDR_LEN); in rtl819x_translate_scan() 76 iwe.cmd = SIOCGIWESSID; in rtl819x_translate_scan() 77 iwe.u.data.flags = 1; in rtl819x_translate_scan() 80 iwe.u.data.length = sizeof("<hidden>"); in rtl819x_translate_scan() 81 start = iwe_stream_add_point(info, start, stop, &iwe, "<hidden>"); in rtl819x_translate_scan() 83 iwe.u.data.length = min(network->ssid_len, (u8)32); in rtl819x_translate_scan() [all …]
|
/linux-3.4.99/net/wireless/ |
D | scan.c | 1045 struct iw_event iwe; in ieee80211_scan_add_ies() local 1063 memset(&iwe, 0, sizeof(iwe)); in ieee80211_scan_add_ies() 1064 iwe.cmd = IWEVGENIE; in ieee80211_scan_add_ies() 1065 iwe.u.data.length = next - pos; in ieee80211_scan_add_ies() 1067 end_buf, &iwe, pos); in ieee80211_scan_add_ies() 1073 memset(&iwe, 0, sizeof(iwe)); in ieee80211_scan_add_ies() 1074 iwe.cmd = IWEVGENIE; in ieee80211_scan_add_ies() 1075 iwe.u.data.length = end - pos; in ieee80211_scan_add_ies() 1077 end_buf, &iwe, pos); in ieee80211_scan_add_ies() 1096 struct iw_event iwe; in ieee80211_bss() local [all …]
|
/linux-3.4.99/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 60 struct iw_event iwe; in rtl819x_translate_scan() local 66 iwe.cmd = SIOCGIWAP; in rtl819x_translate_scan() 67 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan() 68 memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); in rtl819x_translate_scan() 70 &iwe, IW_EV_ADDR_LEN); in rtl819x_translate_scan() 74 iwe.cmd = SIOCGIWESSID; in rtl819x_translate_scan() 75 iwe.u.data.flags = 1; in rtl819x_translate_scan() 77 iwe.u.data.length = min(network->ssid_len, (u8)32); in rtl819x_translate_scan() 78 start = iwe_stream_add_point_rsl(info, start, stop, &iwe, in rtl819x_translate_scan() 81 iwe.u.data.length = sizeof("<hidden>"); in rtl819x_translate_scan() [all …]
|
D | rtllib.h | 98 #define iwe_stream_add_event_rsl(info, start, stop, iwe, len) \ argument 99 iwe_stream_add_event(info, start, stop, iwe, len) 101 #define iwe_stream_add_point_rsl(info, start, stop, iwe, p) \ argument 102 iwe_stream_add_point(info, start, stop, iwe, p)
|
/linux-3.4.99/include/net/ |
D | iw_handler.h | 516 struct iw_event *iwe, int event_len) in iwe_stream_add_event() argument 524 iwe->len = event_len; in iwe_stream_add_event() 526 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_event() 527 memcpy(stream + lcp_len, &iwe->u, in iwe_stream_add_event() 541 struct iw_event *iwe, char *extra) in iwe_stream_add_point() argument 543 int event_len = iwe_stream_point_len(info) + iwe->u.data.length; in iwe_stream_add_point() 549 iwe->len = event_len; in iwe_stream_add_point() 550 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_point() 552 ((char *) &iwe->u) + IW_EV_POINT_OFF, in iwe_stream_add_point() 554 memcpy(stream + point_len, extra, iwe->u.data.length); in iwe_stream_add_point() [all …]
|
/linux-3.4.99/drivers/staging/vt6656/ |
D | iwctl.c | 194 struct iw_event iwe; in iwctl_giwscan() local 211 memset(&iwe, 0, sizeof(iwe)); in iwctl_giwscan() 212 iwe.cmd = SIOCGIWAP; in iwctl_giwscan() 213 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in iwctl_giwscan() 214 memcpy(iwe.u.ap_addr.sa_data, pBSS->abyBSSID, WLAN_BSSID_LEN); in iwctl_giwscan() 215 … current_ev = iwe_stream_add_event(info,current_ev,end_buf, &iwe, IW_EV_ADDR_LEN); in iwctl_giwscan() 217 memset(&iwe, 0, sizeof(iwe)); in iwctl_giwscan() 218 iwe.cmd = SIOCGIWESSID; in iwctl_giwscan() 220 iwe.u.data.length = pItemSSID->len; in iwctl_giwscan() 221 iwe.u.data.flags = 1; in iwctl_giwscan() [all …]
|
/linux-3.4.99/drivers/staging/vt6655/ |
D | iwctl.c | 239 struct iw_event iwe; in iwctl_giwscan() local 257 memset(&iwe, 0, sizeof(iwe)); in iwctl_giwscan() 258 iwe.cmd = SIOCGIWAP; in iwctl_giwscan() 259 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in iwctl_giwscan() 260 memcpy(iwe.u.ap_addr.sa_data, pBSS->abyBSSID, WLAN_BSSID_LEN); in iwctl_giwscan() 261 … current_ev = iwe_stream_add_event(info,current_ev,end_buf, &iwe, IW_EV_ADDR_LEN); in iwctl_giwscan() 263 memset(&iwe, 0, sizeof(iwe)); in iwctl_giwscan() 264 iwe.cmd = SIOCGIWESSID; in iwctl_giwscan() 266 iwe.u.data.length = pItemSSID->len; in iwctl_giwscan() 267 iwe.u.data.flags = 1; in iwctl_giwscan() [all …]
|
/linux-3.4.99/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 169 struct iw_event iwe; in translate_scan() local 185 iwe.cmd = SIOCGIWAP; in translate_scan() 186 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in translate_scan() 187 memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); in translate_scan() 188 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in translate_scan() 190 iwe.cmd = SIOCGIWESSID; in translate_scan() 191 iwe.u.data.flags = 1; in translate_scan() 192 iwe.u.data.length = (u16)min((u16)pnetwork->network.Ssid.SsidLength, in translate_scan() 194 start = iwe_stream_add_point(info, start, stop, &iwe, in translate_scan() 209 iwe.cmd = SIOCGIWNAME; in translate_scan() [all …]
|
/linux-3.4.99/drivers/staging/wlags49_h2/ |
D | wl_wext.c | 2733 struct iw_event iwe; in wireless_get_scan() local 2771 memset( &iwe, 0, sizeof( iwe )); in wireless_get_scan() 2773 iwe.cmd = SIOCGIWAP; in wireless_get_scan() 2774 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in wireless_get_scan() 2775 memcpy( iwe.u.ap_addr.sa_data, probe_resp->BSSID, ETH_ALEN); in wireless_get_scan() 2776 iwe.len = IW_EV_ADDR_LEN; in wireless_get_scan() 2779 &iwe, IW_EV_ADDR_LEN); in wireless_get_scan() 2783 memset( &iwe, 0, sizeof( iwe )); in wireless_get_scan() 2785 iwe.cmd = SIOCGIWMODE; in wireless_get_scan() 2788 iwe.u.mode = IW_MODE_INFRA; in wireless_get_scan() [all …]
|
/linux-3.4.99/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 580 struct iw_event iwe; in gelic_wl_translate_scan() local 590 iwe.cmd = SIOCGIWAP; in gelic_wl_translate_scan() 591 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in gelic_wl_translate_scan() 592 memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); in gelic_wl_translate_scan() 593 ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_ADDR_LEN); in gelic_wl_translate_scan() 596 iwe.cmd = SIOCGIWESSID; in gelic_wl_translate_scan() 597 iwe.u.data.flags = 1; in gelic_wl_translate_scan() 598 iwe.u.data.length = strnlen(scan->essid, 32); in gelic_wl_translate_scan() 599 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan() 602 iwe.cmd = SIOCGIWFREQ; in gelic_wl_translate_scan() [all …]
|
/linux-3.4.99/drivers/net/wireless/hostap/ |
D | hostap_ioctl.c | 1780 struct iw_event iwe; in __prism2_translate_scan() local 1801 memset(&iwe, 0, sizeof(iwe)); in __prism2_translate_scan() 1802 iwe.cmd = SIOCGIWAP; in __prism2_translate_scan() 1803 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in __prism2_translate_scan() 1804 memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); in __prism2_translate_scan() 1805 current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, in __prism2_translate_scan() 1810 memset(&iwe, 0, sizeof(iwe)); in __prism2_translate_scan() 1811 iwe.cmd = SIOCGIWESSID; in __prism2_translate_scan() 1812 iwe.u.data.length = ssid_len; in __prism2_translate_scan() 1813 iwe.u.data.flags = 1; in __prism2_translate_scan() [all …]
|
D | hostap_ap.c | 2373 struct iw_event iwe; in prism2_ap_translate_scan() local 2391 memset(&iwe, 0, sizeof(iwe)); in prism2_ap_translate_scan() 2392 iwe.cmd = SIOCGIWAP; in prism2_ap_translate_scan() 2393 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in prism2_ap_translate_scan() 2394 memcpy(iwe.u.ap_addr.sa_data, sta->addr, ETH_ALEN); in prism2_ap_translate_scan() 2395 iwe.len = IW_EV_ADDR_LEN; in prism2_ap_translate_scan() 2397 &iwe, IW_EV_ADDR_LEN); in prism2_ap_translate_scan() 2401 memset(&iwe, 0, sizeof(iwe)); in prism2_ap_translate_scan() 2402 iwe.cmd = SIOCGIWMODE; in prism2_ap_translate_scan() 2404 iwe.u.mode = IW_MODE_MASTER; in prism2_ap_translate_scan() [all …]
|
/linux-3.4.99/drivers/net/wireless/ |
D | zd1201.c | 1118 struct iw_event iwe; in zd1201_get_scan() local 1144 iwe.cmd = SIOCGIWAP; in zd1201_get_scan() 1145 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in zd1201_get_scan() 1146 memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); in zd1201_get_scan() 1148 &iwe, IW_EV_ADDR_LEN); in zd1201_get_scan() 1150 iwe.cmd = SIOCGIWESSID; in zd1201_get_scan() 1151 iwe.u.data.length = zd->rxdata[i+16]; in zd1201_get_scan() 1152 iwe.u.data.flags = 1; in zd1201_get_scan() 1154 &iwe, zd->rxdata+i+18); in zd1201_get_scan() 1156 iwe.cmd = SIOCGIWMODE; in zd1201_get_scan() [all …]
|
D | wl3501_cs.c | 1564 struct iw_event iwe; in wl3501_get_scan() local 1567 iwe.cmd = SIOCGIWAP; in wl3501_get_scan() 1568 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in wl3501_get_scan() 1569 memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].bssid, ETH_ALEN); in wl3501_get_scan() 1572 &iwe, IW_EV_ADDR_LEN); in wl3501_get_scan() 1573 iwe.cmd = SIOCGIWESSID; in wl3501_get_scan() 1574 iwe.u.data.flags = 1; in wl3501_get_scan() 1575 iwe.u.data.length = this->bss_set[i].ssid.el.len; in wl3501_get_scan() 1578 &iwe, in wl3501_get_scan() 1580 iwe.cmd = SIOCGIWMODE; in wl3501_get_scan() [all …]
|
D | airo.c | 7301 struct iw_event iwe; /* Temporary buffer */ in airo_translate_scan() local 7309 iwe.cmd = SIOCGIWAP; in airo_translate_scan() 7310 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in airo_translate_scan() 7311 memcpy(iwe.u.ap_addr.sa_data, bss->bssid, ETH_ALEN); in airo_translate_scan() 7313 &iwe, IW_EV_ADDR_LEN); in airo_translate_scan() 7318 iwe.u.data.length = bss->ssidLen; in airo_translate_scan() 7319 if(iwe.u.data.length > 32) in airo_translate_scan() 7320 iwe.u.data.length = 32; in airo_translate_scan() 7321 iwe.cmd = SIOCGIWESSID; in airo_translate_scan() 7322 iwe.u.data.flags = 1; in airo_translate_scan() [all …]
|
D | atmel.c | 2358 struct iw_event iwe; in atmel_get_scan() local 2364 iwe.cmd = SIOCGIWAP; in atmel_get_scan() 2365 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in atmel_get_scan() 2366 memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, 6); in atmel_get_scan() 2369 &iwe, IW_EV_ADDR_LEN); in atmel_get_scan() 2371 iwe.u.data.length = priv->BSSinfo[i].SSIDsize; in atmel_get_scan() 2372 if (iwe.u.data.length > 32) in atmel_get_scan() 2373 iwe.u.data.length = 32; in atmel_get_scan() 2374 iwe.cmd = SIOCGIWESSID; in atmel_get_scan() 2375 iwe.u.data.flags = 1; in atmel_get_scan() [all …]
|
/linux-3.4.99/drivers/net/wireless/prism54/ |
D | isl_ioctl.c | 578 struct iw_event iwe; /* Temporary buffer */ in prism54_translate_bss() local 585 memcpy(iwe.u.ap_addr.sa_data, bss->address, 6); in prism54_translate_bss() 586 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in prism54_translate_bss() 587 iwe.cmd = SIOCGIWAP; in prism54_translate_bss() 589 &iwe, IW_EV_ADDR_LEN); in prism54_translate_bss() 594 iwe.u.data.length = bss->ssid.length; in prism54_translate_bss() 595 iwe.u.data.flags = 1; in prism54_translate_bss() 596 iwe.cmd = SIOCGIWESSID; in prism54_translate_bss() 598 &iwe, bss->ssid.octets); in prism54_translate_bss() 607 iwe.u.mode = 0; in prism54_translate_bss() [all …]
|