Home
last modified time | relevance | path

Searched refs:iwe (Results 1 – 14 of 14) sorted by relevance

/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c66 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 …]
/drivers/staging/rtl8192e/
Drtllib_wx.c56 struct iw_event iwe; in rtl819x_translate_scan() local
62 iwe.cmd = SIOCGIWAP; in rtl819x_translate_scan()
63 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in rtl819x_translate_scan()
64 ether_addr_copy(iwe.u.ap_addr.sa_data, network->bssid); in rtl819x_translate_scan()
66 &iwe, IW_EV_ADDR_LEN); in rtl819x_translate_scan()
70 iwe.cmd = SIOCGIWESSID; in rtl819x_translate_scan()
71 iwe.u.data.flags = 1; in rtl819x_translate_scan()
73 iwe.u.data.length = min_t(u8, network->ssid_len, 32); in rtl819x_translate_scan()
74 start = iwe_stream_add_point_rsl(info, start, stop, &iwe, in rtl819x_translate_scan()
77 iwe.u.data.length = sizeof("<hidden>"); in rtl819x_translate_scan()
[all …]
Drtllib.h81 #define iwe_stream_add_event_rsl(info, start, stop, iwe, len) \ argument
82 iwe_stream_add_event(info, start, stop, iwe, len)
84 #define iwe_stream_add_point_rsl(info, start, stop, iwe, p) \ argument
85 iwe_stream_add_point(info, start, stop, iwe, p)
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c63 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 …]
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c145 struct iw_event iwe; in translate_scan() local
161 iwe.cmd = SIOCGIWAP; in translate_scan()
162 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in translate_scan()
163 ether_addr_copy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress); in translate_scan()
164 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in translate_scan()
166 iwe.cmd = SIOCGIWESSID; in translate_scan()
167 iwe.u.data.flags = 1; in translate_scan()
168 iwe.u.data.length = min_t(u32, pnetwork->network.Ssid.SsidLength, 32); in translate_scan()
169 start = iwe_stream_add_point(info, start, stop, &iwe, in translate_scan()
180 iwe.cmd = SIOCGIWNAME; in translate_scan()
[all …]
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c111 struct iw_event iwe; in translate_scan() local
124 iwe.cmd = SIOCGIWAP; in translate_scan()
125 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in translate_scan()
127 memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); in translate_scan()
128 start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); in translate_scan()
131 iwe.cmd = SIOCGIWESSID; in translate_scan()
132 iwe.u.data.flags = 1; in translate_scan()
133 iwe.u.data.length = min_t(u16, pnetwork->network.Ssid.SsidLength, 32); in translate_scan()
134 start = iwe_stream_add_point(info, start, stop, &iwe, pnetwork->network.Ssid.Ssid); in translate_scan()
149 iwe.cmd = SIOCGIWNAME; in translate_scan()
[all …]
/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c580 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 …]
/drivers/net/wireless/hostap/
Dhostap_ioctl.c1781 struct iw_event iwe; in __prism2_translate_scan() local
1802 memset(&iwe, 0, sizeof(iwe)); in __prism2_translate_scan()
1803 iwe.cmd = SIOCGIWAP; in __prism2_translate_scan()
1804 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in __prism2_translate_scan()
1805 memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); in __prism2_translate_scan()
1806 current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, in __prism2_translate_scan()
1811 memset(&iwe, 0, sizeof(iwe)); in __prism2_translate_scan()
1812 iwe.cmd = SIOCGIWESSID; in __prism2_translate_scan()
1813 iwe.u.data.length = ssid_len; in __prism2_translate_scan()
1814 iwe.u.data.flags = 1; in __prism2_translate_scan()
[all …]
Dhostap_ap.c2436 struct iw_event iwe; in prism2_ap_translate_scan() local
2454 memset(&iwe, 0, sizeof(iwe)); in prism2_ap_translate_scan()
2455 iwe.cmd = SIOCGIWAP; in prism2_ap_translate_scan()
2456 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in prism2_ap_translate_scan()
2457 memcpy(iwe.u.ap_addr.sa_data, sta->addr, ETH_ALEN); in prism2_ap_translate_scan()
2458 iwe.len = IW_EV_ADDR_LEN; in prism2_ap_translate_scan()
2460 &iwe, IW_EV_ADDR_LEN); in prism2_ap_translate_scan()
2464 memset(&iwe, 0, sizeof(iwe)); in prism2_ap_translate_scan()
2465 iwe.cmd = SIOCGIWMODE; in prism2_ap_translate_scan()
2467 iwe.u.mode = IW_MODE_MASTER; in prism2_ap_translate_scan()
[all …]
/drivers/net/wireless/
Dzd1201.c1116 struct iw_event iwe; in zd1201_get_scan() local
1142 iwe.cmd = SIOCGIWAP; in zd1201_get_scan()
1143 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in zd1201_get_scan()
1144 memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); in zd1201_get_scan()
1146 &iwe, IW_EV_ADDR_LEN); in zd1201_get_scan()
1148 iwe.cmd = SIOCGIWESSID; in zd1201_get_scan()
1149 iwe.u.data.length = zd->rxdata[i+16]; in zd1201_get_scan()
1150 iwe.u.data.flags = 1; in zd1201_get_scan()
1152 &iwe, zd->rxdata+i+18); in zd1201_get_scan()
1154 iwe.cmd = SIOCGIWMODE; in zd1201_get_scan()
[all …]
Dwl3501_cs.c1566 struct iw_event iwe; in wl3501_get_scan() local
1569 iwe.cmd = SIOCGIWAP; in wl3501_get_scan()
1570 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in wl3501_get_scan()
1571 memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].req.bssid, ETH_ALEN); in wl3501_get_scan()
1574 &iwe, IW_EV_ADDR_LEN); in wl3501_get_scan()
1575 iwe.cmd = SIOCGIWESSID; in wl3501_get_scan()
1576 iwe.u.data.flags = 1; in wl3501_get_scan()
1577 iwe.u.data.length = this->bss_set[i].req.ssid.el.len; in wl3501_get_scan()
1580 &iwe, in wl3501_get_scan()
1582 iwe.cmd = SIOCGIWMODE; in wl3501_get_scan()
[all …]
Dairo.c7276 struct iw_event iwe; /* Temporary buffer */ in airo_translate_scan() local
7284 iwe.cmd = SIOCGIWAP; in airo_translate_scan()
7285 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in airo_translate_scan()
7286 memcpy(iwe.u.ap_addr.sa_data, bss->bssid, ETH_ALEN); in airo_translate_scan()
7288 &iwe, IW_EV_ADDR_LEN); in airo_translate_scan()
7293 iwe.u.data.length = bss->ssidLen; in airo_translate_scan()
7294 if(iwe.u.data.length > 32) in airo_translate_scan()
7295 iwe.u.data.length = 32; in airo_translate_scan()
7296 iwe.cmd = SIOCGIWESSID; in airo_translate_scan()
7297 iwe.u.data.flags = 1; in airo_translate_scan()
[all …]
Datmel.c2349 struct iw_event iwe; in atmel_get_scan() local
2355 iwe.cmd = SIOCGIWAP; in atmel_get_scan()
2356 iwe.u.ap_addr.sa_family = ARPHRD_ETHER; in atmel_get_scan()
2357 memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, ETH_ALEN); in atmel_get_scan()
2360 &iwe, IW_EV_ADDR_LEN); in atmel_get_scan()
2362 iwe.u.data.length = priv->BSSinfo[i].SSIDsize; in atmel_get_scan()
2363 if (iwe.u.data.length > 32) in atmel_get_scan()
2364 iwe.u.data.length = 32; in atmel_get_scan()
2365 iwe.cmd = SIOCGIWESSID; in atmel_get_scan()
2366 iwe.u.data.flags = 1; in atmel_get_scan()
[all …]
/drivers/net/wireless/prism54/
Disl_ioctl.c578 struct iw_event iwe; /* Temporary buffer */ in prism54_translate_bss() local
585 memcpy(iwe.u.ap_addr.sa_data, bss->address, ETH_ALEN); 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 …]