iwe 568 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct iw_event iwe; iwe 578 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = SIOCGIWAP; iwe 579 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 580 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); iwe 581 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_ADDR_LEN); iwe 584 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = SIOCGIWESSID; iwe 585 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.flags = 1; iwe 586 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = strnlen(scan->essid, 32); iwe 587 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); iwe 590 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = SIOCGIWFREQ; iwe 591 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.m = be16_to_cpu(scan->channel); iwe 592 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.e = 0; /* table value in MHz */ iwe 593 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.i = 0; iwe 594 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_FREQ_LEN); iwe 597 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = SIOCGIWRATE; iwe 598 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 612 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.value = rate * 500000; /* 500kbps unit */ iwe 613 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = iwe_stream_add_value(info, ev, tmp, stop, &iwe, iwe 617 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.value = (scan->ext_rate[j++] & 0x7f) * 500000; iwe 618 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = iwe_stream_add_value(info, ev, tmp, stop, &iwe, iwe 626 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = SIOCGIWENCODE; iwe 628 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 630 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 631 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = 0; iwe 632 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); iwe 635 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = SIOCGIWMODE; iwe 639 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.mode = IW_MODE_MASTER; iwe 641 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.mode = IW_MODE_ADHOC; iwe 642 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_UINT_LEN); iwe 646 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = IWEVQUAL; iwe 647 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.updated = IW_QUAL_ALL_UPDATED | iwe 649 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.level = be16_to_cpu(scan->rssi); iwe 650 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.qual = be16_to_cpu(scan->rssi); iwe 651 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.noise = 0; iwe 652 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_QUAL_LEN); iwe 655 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c memset(&iwe, 0, sizeof(iwe)); iwe 660 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = IWEVGENIE; iwe 661 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = len; iwe 662 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); iwe 675 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = IWEVGENIE; iwe 676 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = ie_info.wpa.len; iwe 677 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); iwe 681 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c memset(&iwe, 0, sizeof(iwe)); iwe 683 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.cmd = IWEVGENIE; iwe 684 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = ie_info.rsn.len; iwe 685 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); iwe 2331 drivers/net/wireless/atmel/atmel.c struct iw_event iwe; iwe 2337 drivers/net/wireless/atmel/atmel.c iwe.cmd = SIOCGIWAP; iwe 2338 drivers/net/wireless/atmel/atmel.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 2339 drivers/net/wireless/atmel/atmel.c memcpy(iwe.u.ap_addr.sa_data, priv->BSSinfo[i].BSSID, ETH_ALEN); iwe 2342 drivers/net/wireless/atmel/atmel.c &iwe, IW_EV_ADDR_LEN); iwe 2344 drivers/net/wireless/atmel/atmel.c iwe.u.data.length = priv->BSSinfo[i].SSIDsize; iwe 2345 drivers/net/wireless/atmel/atmel.c if (iwe.u.data.length > 32) iwe 2346 drivers/net/wireless/atmel/atmel.c iwe.u.data.length = 32; iwe 2347 drivers/net/wireless/atmel/atmel.c iwe.cmd = SIOCGIWESSID; iwe 2348 drivers/net/wireless/atmel/atmel.c iwe.u.data.flags = 1; iwe 2351 drivers/net/wireless/atmel/atmel.c &iwe, priv->BSSinfo[i].SSID); iwe 2353 drivers/net/wireless/atmel/atmel.c iwe.cmd = SIOCGIWMODE; iwe 2354 drivers/net/wireless/atmel/atmel.c iwe.u.mode = priv->BSSinfo[i].BSStype; iwe 2357 drivers/net/wireless/atmel/atmel.c &iwe, IW_EV_UINT_LEN); iwe 2359 drivers/net/wireless/atmel/atmel.c iwe.cmd = SIOCGIWFREQ; iwe 2360 drivers/net/wireless/atmel/atmel.c iwe.u.freq.m = priv->BSSinfo[i].channel; iwe 2361 drivers/net/wireless/atmel/atmel.c iwe.u.freq.e = 0; iwe 2364 drivers/net/wireless/atmel/atmel.c &iwe, IW_EV_FREQ_LEN); iwe 2367 drivers/net/wireless/atmel/atmel.c iwe.cmd = IWEVQUAL; iwe 2368 drivers/net/wireless/atmel/atmel.c iwe.u.qual.level = priv->BSSinfo[i].RSSI; iwe 2369 drivers/net/wireless/atmel/atmel.c iwe.u.qual.qual = iwe.u.qual.level; iwe 2373 drivers/net/wireless/atmel/atmel.c &iwe, IW_EV_QUAL_LEN); iwe 2376 drivers/net/wireless/atmel/atmel.c iwe.cmd = SIOCGIWENCODE; iwe 2378 drivers/net/wireless/atmel/atmel.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 2380 drivers/net/wireless/atmel/atmel.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 2381 drivers/net/wireless/atmel/atmel.c iwe.u.data.length = 0; iwe 2384 drivers/net/wireless/atmel/atmel.c &iwe, NULL); iwe 7270 drivers/net/wireless/cisco/airo.c struct iw_event iwe; /* Temporary buffer */ iwe 7278 drivers/net/wireless/cisco/airo.c iwe.cmd = SIOCGIWAP; iwe 7279 drivers/net/wireless/cisco/airo.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 7280 drivers/net/wireless/cisco/airo.c memcpy(iwe.u.ap_addr.sa_data, bss->bssid, ETH_ALEN); iwe 7282 drivers/net/wireless/cisco/airo.c &iwe, IW_EV_ADDR_LEN); iwe 7287 drivers/net/wireless/cisco/airo.c iwe.u.data.length = bss->ssidLen; iwe 7288 drivers/net/wireless/cisco/airo.c if(iwe.u.data.length > 32) iwe 7289 drivers/net/wireless/cisco/airo.c iwe.u.data.length = 32; iwe 7290 drivers/net/wireless/cisco/airo.c iwe.cmd = SIOCGIWESSID; iwe 7291 drivers/net/wireless/cisco/airo.c iwe.u.data.flags = 1; iwe 7293 drivers/net/wireless/cisco/airo.c &iwe, bss->ssid); iwe 7296 drivers/net/wireless/cisco/airo.c iwe.cmd = SIOCGIWMODE; iwe 7300 drivers/net/wireless/cisco/airo.c iwe.u.mode = IW_MODE_MASTER; iwe 7302 drivers/net/wireless/cisco/airo.c iwe.u.mode = IW_MODE_ADHOC; iwe 7304 drivers/net/wireless/cisco/airo.c &iwe, IW_EV_UINT_LEN); iwe 7308 drivers/net/wireless/cisco/airo.c iwe.cmd = SIOCGIWFREQ; iwe 7309 drivers/net/wireless/cisco/airo.c iwe.u.freq.m = le16_to_cpu(bss->dsChannel); iwe 7310 drivers/net/wireless/cisco/airo.c iwe.u.freq.m = 100000 * iwe 7311 drivers/net/wireless/cisco/airo.c ieee80211_channel_to_frequency(iwe.u.freq.m, NL80211_BAND_2GHZ); iwe 7312 drivers/net/wireless/cisco/airo.c iwe.u.freq.e = 1; iwe 7314 drivers/net/wireless/cisco/airo.c &iwe, IW_EV_FREQ_LEN); iwe 7319 drivers/net/wireless/cisco/airo.c iwe.cmd = IWEVQUAL; iwe 7321 drivers/net/wireless/cisco/airo.c iwe.u.qual.level = 0x100 - dBm; iwe 7322 drivers/net/wireless/cisco/airo.c iwe.u.qual.qual = airo_dbm_to_pct(ai->rssi, dBm); iwe 7323 drivers/net/wireless/cisco/airo.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED iwe 7327 drivers/net/wireless/cisco/airo.c iwe.u.qual.level = (dBm + 321) / 2; iwe 7328 drivers/net/wireless/cisco/airo.c iwe.u.qual.qual = 0; iwe 7329 drivers/net/wireless/cisco/airo.c iwe.u.qual.updated = IW_QUAL_QUAL_INVALID iwe 7333 drivers/net/wireless/cisco/airo.c iwe.u.qual.noise = ai->wstats.qual.noise; iwe 7335 drivers/net/wireless/cisco/airo.c &iwe, IW_EV_QUAL_LEN); iwe 7338 drivers/net/wireless/cisco/airo.c iwe.cmd = SIOCGIWENCODE; iwe 7340 drivers/net/wireless/cisco/airo.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 7342 drivers/net/wireless/cisco/airo.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 7343 drivers/net/wireless/cisco/airo.c iwe.u.data.length = 0; iwe 7345 drivers/net/wireless/cisco/airo.c &iwe, bss->ssid); iwe 7351 drivers/net/wireless/cisco/airo.c iwe.cmd = SIOCGIWRATE; iwe 7353 drivers/net/wireless/cisco/airo.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 7360 drivers/net/wireless/cisco/airo.c iwe.u.bitrate.value = ((bss->rates[i] & 0x7f) * 500000); iwe 7364 drivers/net/wireless/cisco/airo.c &iwe, IW_EV_PARAM_LEN); iwe 7373 drivers/net/wireless/cisco/airo.c iwe.cmd = IWEVCUSTOM; iwe 7375 drivers/net/wireless/cisco/airo.c iwe.u.data.length = strlen(buf); iwe 7377 drivers/net/wireless/cisco/airo.c &iwe, buf); iwe 7407 drivers/net/wireless/cisco/airo.c iwe.cmd = IWEVGENIE; iwe 7409 drivers/net/wireless/cisco/airo.c iwe.u.data.length = min(ie[1] + 2, iwe 7413 drivers/net/wireless/cisco/airo.c end_buf, &iwe, ie); iwe 7418 drivers/net/wireless/cisco/airo.c iwe.cmd = IWEVGENIE; iwe 7420 drivers/net/wireless/cisco/airo.c iwe.u.data.length = min(ie[1] + 2, 64); iwe 7423 drivers/net/wireless/cisco/airo.c &iwe, ie); iwe 52 drivers/net/wireless/intel/ipw2x00/libipw_wx.c struct iw_event iwe; iwe 58 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWAP; iwe 59 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 60 drivers/net/wireless/intel/ipw2x00/libipw_wx.c memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); iwe 61 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); iwe 66 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWESSID; iwe 67 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.flags = 1; iwe 68 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = min(network->ssid_len, (u8) 32); iwe 70 drivers/net/wireless/intel/ipw2x00/libipw_wx.c &iwe, network->ssid); iwe 73 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWNAME; iwe 74 drivers/net/wireless/intel/ipw2x00/libipw_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11%s", iwe 76 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_CHAR_LEN); iwe 79 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWMODE; iwe 82 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.mode = IW_MODE_MASTER; iwe 84 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.mode = IW_MODE_ADHOC; iwe 87 drivers/net/wireless/intel/ipw2x00/libipw_wx.c &iwe, IW_EV_UINT_LEN); iwe 92 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWFREQ; iwe 93 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.freq.m = libipw_channel_to_freq(ieee, network->channel); iwe 94 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.freq.e = 6; iwe 95 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.freq.i = 0; iwe 96 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_FREQ_LEN); iwe 99 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWENCODE; iwe 101 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 103 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 104 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = 0; iwe 106 drivers/net/wireless/intel/ipw2x00/libipw_wx.c &iwe, network->ssid); iwe 112 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = SIOCGIWRATE; iwe 114 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 124 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.bitrate.value = ((rate & 0x7f) * 500000); iwe 127 drivers/net/wireless/intel/ipw2x00/libipw_wx.c stop, &iwe, IW_EV_PARAM_LEN); iwe 132 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.bitrate.value = ((rate & 0x7f) * 500000); iwe 135 drivers/net/wireless/intel/ipw2x00/libipw_wx.c stop, &iwe, IW_EV_PARAM_LEN); iwe 142 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVQUAL; iwe 143 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED | iwe 147 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID | iwe 149 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 0; iwe 152 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 100; iwe 154 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = iwe 165 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.u.qual.qual > 100) iwe 166 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 100; iwe 167 drivers/net/wireless/intel/ipw2x00/libipw_wx.c else if (iwe.u.qual.qual < 1) iwe 168 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.qual = 0; iwe 172 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; iwe 173 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.noise = 0; iwe 175 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.noise = network->stats.noise; iwe 179 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; iwe 180 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.level = 0; iwe 182 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.qual.level = network->stats.signal; iwe 185 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_QUAL_LEN); iwe 187 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVCUSTOM; iwe 190 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = p - custom; iwe 191 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.u.data.length) iwe 192 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, custom); iwe 194 drivers/net/wireless/intel/ipw2x00/libipw_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 198 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVGENIE; iwe 199 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = network->wpa_ie_len; iwe 200 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 203 drivers/net/wireless/intel/ipw2x00/libipw_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 207 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVGENIE; iwe 208 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = network->rsn_ie_len; iwe 209 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 214 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVCUSTOM; iwe 219 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = p - custom; iwe 220 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.u.data.length) iwe 221 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, custom); iwe 224 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = -1; iwe 230 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVCUSTOM; iwe 236 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.cmd = IWEVCUSTOM; iwe 240 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (iwe.cmd == IWEVCUSTOM) { iwe 241 drivers/net/wireless/intel/ipw2x00/libipw_wx.c iwe.u.data.length = p - custom; iwe 242 drivers/net/wireless/intel/ipw2x00/libipw_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, custom); iwe 2374 drivers/net/wireless/intersil/hostap/hostap_ap.c struct iw_event iwe; iwe 2392 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2393 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = SIOCGIWAP; iwe 2394 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 2395 drivers/net/wireless/intersil/hostap/hostap_ap.c memcpy(iwe.u.ap_addr.sa_data, sta->addr, ETH_ALEN); iwe 2396 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.len = IW_EV_ADDR_LEN; iwe 2398 drivers/net/wireless/intersil/hostap/hostap_ap.c &iwe, IW_EV_ADDR_LEN); iwe 2402 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2403 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = SIOCGIWMODE; iwe 2405 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.mode = IW_MODE_MASTER; iwe 2407 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.mode = IW_MODE_INFRA; iwe 2408 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.len = IW_EV_UINT_LEN; iwe 2410 drivers/net/wireless/intersil/hostap/hostap_ap.c &iwe, IW_EV_UINT_LEN); iwe 2413 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2414 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = IWEVQUAL; iwe 2416 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.qual = sta->last_rx_signal < 27 ? iwe 2419 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.qual = sta->last_rx_signal - iwe 2421 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.level = HFA384X_LEVEL_TO_dBm(sta->last_rx_signal); iwe 2422 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.noise = HFA384X_LEVEL_TO_dBm(sta->last_rx_silence); iwe 2423 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.qual.updated = sta->last_rx_updated; iwe 2424 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.len = IW_EV_QUAL_LEN; iwe 2426 drivers/net/wireless/intersil/hostap/hostap_ap.c &iwe, IW_EV_QUAL_LEN); iwe 2430 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2431 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = SIOCGIWESSID; iwe 2432 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.length = sta->u.ap.ssid_len; iwe 2433 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.flags = 1; iwe 2435 drivers/net/wireless/intersil/hostap/hostap_ap.c end_buf, &iwe, iwe 2438 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2439 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = SIOCGIWENCODE; iwe 2441 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.flags = iwe 2444 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 2446 drivers/net/wireless/intersil/hostap/hostap_ap.c end_buf, &iwe, iwe 2451 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2452 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = SIOCGIWFREQ; iwe 2453 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.freq.m = freq_list[sta->u.ap.channel - 1] iwe 2455 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.freq.e = 1; iwe 2457 drivers/net/wireless/intersil/hostap/hostap_ap.c info, current_ev, end_buf, &iwe, iwe 2461 drivers/net/wireless/intersil/hostap/hostap_ap.c memset(&iwe, 0, sizeof(iwe)); iwe 2462 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.cmd = IWEVCUSTOM; iwe 2465 drivers/net/wireless/intersil/hostap/hostap_ap.c iwe.u.data.length = strlen(buf); iwe 2467 drivers/net/wireless/intersil/hostap/hostap_ap.c end_buf, &iwe, buf); iwe 1782 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct iw_event iwe; iwe 1803 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1804 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = SIOCGIWAP; iwe 1805 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 1806 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memcpy(iwe.u.ap_addr.sa_data, bssid, ETH_ALEN); iwe 1807 drivers/net/wireless/intersil/hostap/hostap_ioctl.c current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, iwe 1812 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1813 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = SIOCGIWESSID; iwe 1814 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = ssid_len; iwe 1815 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.flags = 1; iwe 1817 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, ssid); iwe 1819 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1820 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = SIOCGIWMODE; iwe 1829 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.mode = IW_MODE_MASTER; iwe 1831 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.mode = IW_MODE_ADHOC; iwe 1833 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, IW_EV_UINT_LEN); iwe 1836 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1837 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = SIOCGIWFREQ; iwe 1847 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.freq.m = freq_list[chan - 1] * 100000; iwe 1848 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.freq.e = 1; iwe 1850 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, IW_EV_FREQ_LEN); iwe 1854 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1855 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = IWEVQUAL; iwe 1857 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = le16_to_cpu(scan->sl); iwe 1858 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.noise = le16_to_cpu(scan->anl); iwe 1860 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = iwe 1862 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.noise = iwe 1865 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.updated = IW_QUAL_LEVEL_UPDATED iwe 1870 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, IW_EV_QUAL_LEN); iwe 1873 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1874 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = SIOCGIWENCODE; iwe 1876 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 1878 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 1879 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = 0; iwe 1880 drivers/net/wireless/intersil/hostap/hostap_ioctl.c current_ev = iwe_stream_add_point(info, current_ev, end_buf, &iwe, ""); iwe 1884 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1885 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = SIOCGIWRATE; iwe 1892 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.bitrate.value = ((pos[i] & 0x7f) * 500000); iwe 1894 drivers/net/wireless/intersil/hostap/hostap_ioctl.c info, current_ev, current_val, end_buf, &iwe, iwe 1905 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1906 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = IWEVCUSTOM; iwe 1908 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = strlen(buf); iwe 1910 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, buf); iwe 1912 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1913 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = IWEVCUSTOM; iwe 1915 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = strlen(buf); iwe 1917 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, buf); iwe 1921 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1922 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = IWEVCUSTOM; iwe 1924 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = strlen(buf); iwe 1926 drivers/net/wireless/intersil/hostap/hostap_ioctl.c end_buf, &iwe, buf); iwe 1932 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1933 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = IWEVGENIE; iwe 1934 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = bss->wpa_ie_len; iwe 1936 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, bss->wpa_ie); iwe 1940 drivers/net/wireless/intersil/hostap/hostap_ioctl.c memset(&iwe, 0, sizeof(iwe)); iwe 1941 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.cmd = IWEVGENIE; iwe 1942 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.data.length = bss->rsn_ie_len; iwe 1944 drivers/net/wireless/intersil/hostap/hostap_ioctl.c &iwe, bss->rsn_ie); iwe 578 drivers/net/wireless/intersil/prism54/isl_ioctl.c struct iw_event iwe; /* Temporary buffer */ iwe 585 drivers/net/wireless/intersil/prism54/isl_ioctl.c memcpy(iwe.u.ap_addr.sa_data, bss->address, ETH_ALEN); iwe 586 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 587 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = SIOCGIWAP; iwe 589 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, IW_EV_ADDR_LEN); iwe 594 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.length = bss->ssid.length; iwe 595 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.flags = 1; iwe 596 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = SIOCGIWESSID; iwe 598 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, bss->ssid.octets); iwe 607 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.mode = 0; iwe 609 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.mode = IW_MODE_MASTER; iwe 611 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.mode = IW_MODE_ADHOC; iwe 612 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = SIOCGIWMODE; iwe 613 drivers/net/wireless/intersil/prism54/isl_ioctl.c if (iwe.u.mode) iwe 615 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, IW_EV_UINT_LEN); iwe 619 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 621 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 622 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.length = 0; iwe 623 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = SIOCGIWENCODE; iwe 625 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, NULL); iwe 628 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.freq.m = bss->channel; iwe 629 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.freq.e = 6; iwe 630 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = SIOCGIWFREQ; iwe 632 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, IW_EV_FREQ_LEN); iwe 635 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.level = bss->rssi; iwe 636 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.noise = noise; iwe 638 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.qual.qual = bss->rssi - noise; iwe 639 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = IWEVQUAL; iwe 641 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, IW_EV_QUAL_LEN); iwe 646 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = IWEVGENIE; iwe 647 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.data.length = min_t(size_t, wpa_ie_len, MAX_WPA_IE_LEN); iwe 649 drivers/net/wireless/intersil/prism54/isl_ioctl.c &iwe, wpa_ie); iwe 657 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.cmd = SIOCGIWRATE; iwe 659 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 665 drivers/net/wireless/intersil/prism54/isl_ioctl.c iwe.u.bitrate.value = (scan_rate_list[i] * 500000); iwe 668 drivers/net/wireless/intersil/prism54/isl_ioctl.c end_buf, &iwe, IW_EV_PARAM_LEN); iwe 1571 drivers/net/wireless/wl3501_cs.c struct iw_event iwe; iwe 1574 drivers/net/wireless/wl3501_cs.c iwe.cmd = SIOCGIWAP; iwe 1575 drivers/net/wireless/wl3501_cs.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 1576 drivers/net/wireless/wl3501_cs.c memcpy(iwe.u.ap_addr.sa_data, this->bss_set[i].bssid, ETH_ALEN); iwe 1579 drivers/net/wireless/wl3501_cs.c &iwe, IW_EV_ADDR_LEN); iwe 1580 drivers/net/wireless/wl3501_cs.c iwe.cmd = SIOCGIWESSID; iwe 1581 drivers/net/wireless/wl3501_cs.c iwe.u.data.flags = 1; iwe 1582 drivers/net/wireless/wl3501_cs.c iwe.u.data.length = this->bss_set[i].ssid.el.len; iwe 1585 drivers/net/wireless/wl3501_cs.c &iwe, iwe 1587 drivers/net/wireless/wl3501_cs.c iwe.cmd = SIOCGIWMODE; iwe 1588 drivers/net/wireless/wl3501_cs.c iwe.u.mode = this->bss_set[i].bss_type; iwe 1591 drivers/net/wireless/wl3501_cs.c &iwe, IW_EV_UINT_LEN); iwe 1592 drivers/net/wireless/wl3501_cs.c iwe.cmd = SIOCGIWFREQ; iwe 1593 drivers/net/wireless/wl3501_cs.c iwe.u.freq.m = this->bss_set[i].ds_pset.chan; iwe 1594 drivers/net/wireless/wl3501_cs.c iwe.u.freq.e = 0; iwe 1597 drivers/net/wireless/wl3501_cs.c &iwe, IW_EV_FREQ_LEN); iwe 1598 drivers/net/wireless/wl3501_cs.c iwe.cmd = SIOCGIWENCODE; iwe 1600 drivers/net/wireless/wl3501_cs.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 1602 drivers/net/wireless/wl3501_cs.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 1603 drivers/net/wireless/wl3501_cs.c iwe.u.data.length = 0; iwe 1606 drivers/net/wireless/wl3501_cs.c &iwe, NULL); iwe 1113 drivers/net/wireless/zydas/zd1201.c struct iw_event iwe; iwe 1139 drivers/net/wireless/zydas/zd1201.c iwe.cmd = SIOCGIWAP; iwe 1140 drivers/net/wireless/zydas/zd1201.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 1141 drivers/net/wireless/zydas/zd1201.c memcpy(iwe.u.ap_addr.sa_data, zd->rxdata+i+6, 6); iwe 1143 drivers/net/wireless/zydas/zd1201.c &iwe, IW_EV_ADDR_LEN); iwe 1145 drivers/net/wireless/zydas/zd1201.c iwe.cmd = SIOCGIWESSID; iwe 1146 drivers/net/wireless/zydas/zd1201.c iwe.u.data.length = zd->rxdata[i+16]; iwe 1147 drivers/net/wireless/zydas/zd1201.c iwe.u.data.flags = 1; iwe 1149 drivers/net/wireless/zydas/zd1201.c &iwe, zd->rxdata+i+18); iwe 1151 drivers/net/wireless/zydas/zd1201.c iwe.cmd = SIOCGIWMODE; iwe 1153 drivers/net/wireless/zydas/zd1201.c iwe.u.mode = IW_MODE_MASTER; iwe 1155 drivers/net/wireless/zydas/zd1201.c iwe.u.mode = IW_MODE_ADHOC; iwe 1157 drivers/net/wireless/zydas/zd1201.c &iwe, IW_EV_UINT_LEN); iwe 1159 drivers/net/wireless/zydas/zd1201.c iwe.cmd = SIOCGIWFREQ; iwe 1160 drivers/net/wireless/zydas/zd1201.c iwe.u.freq.m = zd->rxdata[i+0]; iwe 1161 drivers/net/wireless/zydas/zd1201.c iwe.u.freq.e = 0; iwe 1163 drivers/net/wireless/zydas/zd1201.c &iwe, IW_EV_FREQ_LEN); iwe 1165 drivers/net/wireless/zydas/zd1201.c iwe.cmd = SIOCGIWRATE; iwe 1166 drivers/net/wireless/zydas/zd1201.c iwe.u.bitrate.fixed = 0; iwe 1167 drivers/net/wireless/zydas/zd1201.c iwe.u.bitrate.disabled = 0; iwe 1169 drivers/net/wireless/zydas/zd1201.c iwe.u.bitrate.value = (zd->rxdata[i+50+j]&0x7f)*500000; iwe 1171 drivers/net/wireless/zydas/zd1201.c &iwe, IW_EV_PARAM_LEN); iwe 1174 drivers/net/wireless/zydas/zd1201.c iwe.cmd = SIOCGIWENCODE; iwe 1175 drivers/net/wireless/zydas/zd1201.c iwe.u.data.length = 0; iwe 1177 drivers/net/wireless/zydas/zd1201.c iwe.u.data.flags = IW_ENCODE_ENABLED; iwe 1179 drivers/net/wireless/zydas/zd1201.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 1180 drivers/net/wireless/zydas/zd1201.c cev = iwe_stream_add_point(info, cev, end_buf, &iwe, NULL); iwe 1182 drivers/net/wireless/zydas/zd1201.c iwe.cmd = IWEVQUAL; iwe 1183 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.qual = zd->rxdata[i+4]; iwe 1184 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.noise= zd->rxdata[i+2]/10-100; iwe 1185 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.level = (256+zd->rxdata[i+4]*100)/255-100; iwe 1186 drivers/net/wireless/zydas/zd1201.c iwe.u.qual.updated = 7; iwe 1188 drivers/net/wireless/zydas/zd1201.c &iwe, IW_EV_QUAL_LEN); iwe 1148 drivers/staging/ks7010/ks_wlan_net.c struct iw_event *iwe, iwe 1156 drivers/staging/ks7010/ks_wlan_net.c memset(iwe, 0, sizeof(*iwe)); iwe 1157 drivers/staging/ks7010/ks_wlan_net.c iwe->cmd = IWEVCUSTOM; iwe 1159 drivers/staging/ks7010/ks_wlan_net.c iwe->u.data.length += sizeof(rsn_leader) - 1; iwe 1163 drivers/staging/ks7010/ks_wlan_net.c iwe->u.data.length += 4; iwe 1168 drivers/staging/ks7010/ks_wlan_net.c iwe->u.data.length += rsn->size * 2; iwe 1170 drivers/staging/ks7010/ks_wlan_net.c return iwe_stream_add_point(info, current_ev, end_buf, iwe, &buffer[0]); iwe 1185 drivers/staging/ks7010/ks_wlan_net.c struct iw_event iwe; /* Temporary buffer */ iwe 1191 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = SIOCGIWAP; iwe 1192 drivers/staging/ks7010/ks_wlan_net.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 1193 drivers/staging/ks7010/ks_wlan_net.c ether_addr_copy(iwe.u.ap_addr.sa_data, ap->bssid); iwe 1195 drivers/staging/ks7010/ks_wlan_net.c end_buf, &iwe, IW_EV_ADDR_LEN); iwe 1200 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.length = ap->ssid.size; iwe 1201 drivers/staging/ks7010/ks_wlan_net.c if (iwe.u.data.length > 32) iwe 1202 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.length = 32; iwe 1203 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = SIOCGIWESSID; iwe 1204 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.flags = 1; iwe 1206 drivers/staging/ks7010/ks_wlan_net.c end_buf, &iwe, ap->ssid.body); iwe 1209 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = SIOCGIWMODE; iwe 1212 drivers/staging/ks7010/ks_wlan_net.c iwe.u.mode = (capabilities & WLAN_CAPABILITY_ESS) ? iwe 1215 drivers/staging/ks7010/ks_wlan_net.c end_buf, &iwe, IW_EV_UINT_LEN); iwe 1219 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = SIOCGIWFREQ; iwe 1220 drivers/staging/ks7010/ks_wlan_net.c iwe.u.freq.m = ap->channel; iwe 1221 drivers/staging/ks7010/ks_wlan_net.c iwe.u.freq.m = frequency_list[iwe.u.freq.m - 1] * 100000; iwe 1222 drivers/staging/ks7010/ks_wlan_net.c iwe.u.freq.e = 1; iwe 1224 drivers/staging/ks7010/ks_wlan_net.c end_buf, &iwe, IW_EV_FREQ_LEN); iwe 1227 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = IWEVQUAL; iwe 1228 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.level = 256 - ap->rssi; iwe 1229 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.qual = ap->sq; iwe 1230 drivers/staging/ks7010/ks_wlan_net.c iwe.u.qual.noise = 0; /* invalid noise value */ iwe 1232 drivers/staging/ks7010/ks_wlan_net.c &iwe, IW_EV_QUAL_LEN); iwe 1235 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = SIOCGIWENCODE; iwe 1236 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.flags = (capabilities & WLAN_CAPABILITY_PRIVACY) ? iwe 1239 drivers/staging/ks7010/ks_wlan_net.c iwe.u.data.length = 0; iwe 1241 drivers/staging/ks7010/ks_wlan_net.c &iwe, ap->ssid.body); iwe 1249 drivers/staging/ks7010/ks_wlan_net.c iwe.cmd = SIOCGIWRATE; iwe 1252 drivers/staging/ks7010/ks_wlan_net.c iwe.u.bitrate.fixed = 0; iwe 1253 drivers/staging/ks7010/ks_wlan_net.c iwe.u.bitrate.disabled = 0; iwe 1261 drivers/staging/ks7010/ks_wlan_net.c iwe.u.bitrate.value = ((ap->rate_set.body[i] & 0x7f) * 500000); iwe 1264 drivers/staging/ks7010/ks_wlan_net.c current_val, end_buf, &iwe, iwe 1274 drivers/staging/ks7010/ks_wlan_net.c &iwe, info); iwe 1279 drivers/staging/ks7010/ks_wlan_net.c &iwe, info); iwe 97 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct iw_event iwe; iwe 110 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWAP; iwe 111 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 113 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); iwe 114 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); iwe 117 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWESSID; iwe 118 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.flags = 1; iwe 119 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = min_t(u16, pnetwork->network.ssid.ssid_length, 32); iwe 120 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, pnetwork->network.ssid.ssid); iwe 139 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWNAME; iwe 142 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); iwe 144 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); iwe 147 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); iwe 149 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bg"); iwe 153 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11an"); iwe 155 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11a"); iwe 158 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11gn"); iwe 160 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11g"); iwe 164 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_CHAR_LEN); iwe 167 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWMODE; iwe 174 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_MASTER; iwe 176 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_ADHOC; iwe 178 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_UINT_LEN); iwe 185 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWFREQ; iwe 186 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.freq.m = rtw_ch2freq(pnetwork->network.Configuration.DSConfig) * 100000; iwe 187 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.freq.e = 1; iwe 188 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.freq.i = pnetwork->network.Configuration.DSConfig; iwe 189 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_FREQ_LEN); iwe 192 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWENCODE; iwe 194 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 196 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 197 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = 0; iwe 198 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, pnetwork->network.ssid.ssid); iwe 224 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWRATE; iwe 225 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.bitrate.fixed = 0; iwe 226 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.bitrate.disabled = 0; iwe 227 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.bitrate.value = max_rate * 500000; iwe 228 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_PARAM_LEN); iwe 251 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 252 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = IWEVCUSTOM; iwe 253 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); iwe 254 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 256 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 257 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = IWEVGENIE; iwe 258 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = wpa_len; iwe 259 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, wpa_ie); iwe 266 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 267 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = IWEVCUSTOM; iwe 268 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); iwe 269 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 271 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 272 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = IWEVGENIE; iwe 273 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = rsn_len; iwe 274 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, rsn_ie); iwe 290 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = IWEVGENIE; iwe 291 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.data.length = (u16)wps_ielen; iwe 292 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, wpsie_ptr); iwe 299 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.cmd = IWEVQUAL; iwe 300 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED | IW_QUAL_NOISE_INVALID; iwe 311 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)ss; iwe 312 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.qual = (u8)sq; /* signal quality */ iwe 313 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c iwe.u.qual.noise = 0; /* noise level */ iwe 314 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_QUAL_LEN); iwe 77 drivers/staging/rtl8192e/rtllib.h #define iwe_stream_add_event_rsl(info, start, stop, iwe, len) \ iwe 78 drivers/staging/rtl8192e/rtllib.h iwe_stream_add_event(info, start, stop, iwe, len) iwe 80 drivers/staging/rtl8192e/rtllib.h #define iwe_stream_add_point_rsl(info, start, stop, iwe, p) \ iwe 81 drivers/staging/rtl8192e/rtllib.h iwe_stream_add_point(info, start, stop, iwe, p) iwe 43 drivers/staging/rtl8192e/rtllib_wx.c struct iw_event iwe; iwe 49 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWAP; iwe 50 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 51 drivers/staging/rtl8192e/rtllib_wx.c ether_addr_copy(iwe.u.ap_addr.sa_data, network->bssid); iwe 53 drivers/staging/rtl8192e/rtllib_wx.c &iwe, IW_EV_ADDR_LEN); iwe 57 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWESSID; iwe 58 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.flags = 1; iwe 60 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = min_t(u8, network->ssid_len, 32); iwe 61 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_point_rsl(info, start, stop, &iwe, iwe 64 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = sizeof("<hidden>"); iwe 66 drivers/staging/rtl8192e/rtllib_wx.c &iwe, "<hidden>"); iwe 68 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = min_t(u8, network->hidden_ssid_len, 32); iwe 69 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_point_rsl(info, start, stop, &iwe, iwe 73 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWNAME; iwe 82 drivers/staging/rtl8192e/rtllib_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE802.11%s", proto_name); iwe 84 drivers/staging/rtl8192e/rtllib_wx.c &iwe, IW_EV_CHAR_LEN); iwe 86 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWMODE; iwe 90 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.mode = IW_MODE_MASTER; iwe 92 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.mode = IW_MODE_ADHOC; iwe 94 drivers/staging/rtl8192e/rtllib_wx.c &iwe, IW_EV_UINT_LEN); iwe 98 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWFREQ; iwe 99 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.freq.m = network->channel; iwe 100 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.freq.e = 0; iwe 101 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.freq.i = 0; iwe 102 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, iwe 106 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWENCODE; iwe 108 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 110 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 111 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = 0; iwe 113 drivers/staging/rtl8192e/rtllib_wx.c &iwe, network->ssid); iwe 160 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = SIOCGIWRATE; iwe 161 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 162 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.bitrate.value = max_rate * 500000; iwe 163 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, iwe 165 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVCUSTOM; iwe 166 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = p - custom; iwe 167 drivers/staging/rtl8192e/rtllib_wx.c if (iwe.u.data.length) iwe 169 drivers/staging/rtl8192e/rtllib_wx.c &iwe, custom); iwe 172 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVQUAL; iwe 173 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.qual = network->stats.signal; iwe 174 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.level = network->stats.rssi; iwe 175 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.noise = network->stats.noise; iwe 176 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated = network->stats.mask & RTLLIB_STATMASK_WEMASK; iwe 178 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; iwe 180 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; iwe 182 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID; iwe 183 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.qual.updated = 7; iwe 184 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, iwe 187 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVCUSTOM; iwe 189 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = p - custom; iwe 190 drivers/staging/rtl8192e/rtllib_wx.c if (iwe.u.data.length) iwe 192 drivers/staging/rtl8192e/rtllib_wx.c &iwe, custom); iwe 194 drivers/staging/rtl8192e/rtllib_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 199 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVGENIE; iwe 200 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = network->wpa_ie_len; iwe 201 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_point_rsl(info, start, stop, &iwe, buf); iwe 203 drivers/staging/rtl8192e/rtllib_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 208 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVGENIE; iwe 209 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = network->rsn_ie_len; iwe 210 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_point_rsl(info, start, stop, &iwe, buf); iwe 214 drivers/staging/rtl8192e/rtllib_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 219 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVGENIE; iwe 220 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = network->wzc_ie_len; iwe 221 drivers/staging/rtl8192e/rtllib_wx.c start = iwe_stream_add_point_rsl(info, start, stop, &iwe, buf); iwe 227 drivers/staging/rtl8192e/rtllib_wx.c iwe.cmd = IWEVCUSTOM; iwe 232 drivers/staging/rtl8192e/rtllib_wx.c iwe.u.data.length = p - custom; iwe 233 drivers/staging/rtl8192e/rtllib_wx.c if (iwe.u.data.length) iwe 235 drivers/staging/rtl8192e/rtllib_wx.c &iwe, custom); iwe 48 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c struct iw_event iwe; iwe 54 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWAP; iwe 55 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 56 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c memcpy(iwe.u.ap_addr.sa_data, network->bssid, ETH_ALEN); iwe 57 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_ADDR_LEN); iwe 61 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWESSID; iwe 62 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.flags = 1; iwe 65 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = sizeof("<hidden>"); iwe 66 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, "<hidden>"); iwe 68 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = min(network->ssid_len, (u8)32); iwe 69 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, network->ssid); iwe 72 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWNAME; iwe 80 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE802.11%s", proto_name); iwe 81 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_CHAR_LEN); iwe 83 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWMODE; iwe 87 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.mode = IW_MODE_MASTER; iwe 89 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.mode = IW_MODE_ADHOC; iwe 90 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_UINT_LEN); iwe 94 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWFREQ; iwe 97 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.freq.m = network->channel; iwe 98 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.freq.e = 0; iwe 99 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.freq.i = 0; iwe 100 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_FREQ_LEN); iwe 102 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWENCODE; iwe 104 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 106 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 107 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = 0; iwe 108 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, network->ssid); iwe 151 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = SIOCGIWRATE; iwe 152 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 153 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.bitrate.value = max_rate * 500000; iwe 154 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, iwe 156 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = IWEVCUSTOM; iwe 157 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = p - custom; iwe 158 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if (iwe.u.data.length) iwe 159 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, custom); iwe 162 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = IWEVQUAL; iwe 163 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.qual = network->stats.signal; iwe 164 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.level = network->stats.rssi; iwe 165 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.noise = network->stats.noise; iwe 166 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated = network->stats.mask & IEEE80211_STATMASK_WEMASK; iwe 168 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated |= IW_QUAL_LEVEL_INVALID; iwe 170 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated |= IW_QUAL_NOISE_INVALID; iwe 172 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated |= IW_QUAL_QUAL_INVALID; iwe 173 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.qual.updated = 7; iwe 174 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_event_rsl(info, start, stop, &iwe, IW_EV_QUAL_LEN); iwe 175 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = IWEVCUSTOM; iwe 178 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = p - custom; iwe 179 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if (iwe.u.data.length) iwe 180 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, custom); iwe 191 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 192 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = IWEVCUSTOM; iwe 193 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = strlen(buf); iwe 194 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 206 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c memset(&iwe, 0, sizeof(iwe)); iwe 207 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = IWEVCUSTOM; iwe 208 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = strlen(buf); iwe 209 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 215 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.cmd = IWEVCUSTOM; iwe 219 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c iwe.u.data.length = p - custom; iwe 220 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if (iwe.u.data.length) iwe 221 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c start = iwe_stream_add_point(info, start, stop, &iwe, custom); iwe 129 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_event *iwe, iwe 150 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memset(iwe, 0, sizeof(*iwe)); iwe 151 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->cmd = IWEVCUSTOM; iwe 152 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = (u16)strlen(buf); iwe 154 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe, buf); iwe 155 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memset(iwe, 0, sizeof(*iwe)); iwe 156 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->cmd = IWEVGENIE; iwe 157 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = (u16)wpa_len; iwe 159 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe, wpa_ie); iwe 170 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memset(iwe, 0, sizeof(*iwe)); iwe 171 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->cmd = IWEVCUSTOM; iwe 172 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = strlen(buf); iwe 174 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe, buf); iwe 175 drivers/staging/rtl8712/rtl871x_ioctl_linux.c memset(iwe, 0, sizeof(*iwe)); iwe 176 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->cmd = IWEVGENIE; iwe 177 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = rsn_len; iwe 178 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_point(info, start, stop, iwe, iwe 187 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_event *iwe, iwe 198 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->cmd = IWEVGENIE; iwe 199 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe->u.data.length = (u16)wps_ielen; iwe 201 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe, wps_ie); iwe 213 drivers/staging/rtl8712/rtl871x_ioctl_linux.c struct iw_event iwe; iwe 229 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWAP; iwe 230 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 231 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ether_addr_copy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress); iwe 232 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); iwe 234 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWESSID; iwe 235 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.flags = 1; iwe 236 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.length = min_t(u32, pnetwork->network.Ssid.SsidLength, 32); iwe 237 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, iwe 248 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWNAME; iwe 251 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); iwe 253 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); iwe 256 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); iwe 258 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bg"); iwe 261 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11gn"); iwe 263 drivers/staging/rtl8712/rtl871x_ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11g"); iwe 265 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_CHAR_LEN); iwe 267 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWMODE; iwe 273 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.mode = (u32)IW_MODE_MASTER; iwe 275 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.mode = (u32)IW_MODE_ADHOC; iwe 276 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, iwe 280 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWFREQ; iwe 287 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.m = iwe 291 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.m = 0; iwe 293 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.e = (s16)1; iwe 294 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.freq.i = (u8)pnetwork->network.Configuration.DSConfig; iwe 295 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, iwe 298 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWENCODE; iwe 300 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.flags = (u16)(IW_ENCODE_ENABLED | iwe 303 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.flags = (u16)(IW_ENCODE_DISABLED); iwe 304 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.data.length = (u16)0; iwe 305 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, iwe 309 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = SIOCGIWRATE; iwe 310 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.fixed = 0; iwe 311 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.disabled = 0; iwe 312 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.value = 0; iwe 316 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.bitrate.value = (pnetwork->network.rates[i++] & iwe 319 drivers/staging/rtl8712/rtl871x_ioctl_linux.c stop, &iwe, IW_EV_PARAM_LEN); iwe 325 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = translate_scan_wpa(info, pnetwork, &iwe, start, stop); iwe 327 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = translate_scan_wps(info, pnetwork, &iwe, start, stop); iwe 330 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.cmd = IWEVQUAL; iwe 333 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.updated = (u8)(IW_QUAL_QUAL_INVALID | IW_QUAL_LEVEL_UPDATED | iwe 335 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.level = rssi; /* signal strength */ iwe 336 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.qual = 0; /* signal quality */ iwe 337 drivers/staging/rtl8712/rtl871x_ioctl_linux.c iwe.u.qual.noise = 0; /* noise level */ iwe 338 drivers/staging/rtl8712/rtl871x_ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_QUAL_LEN); iwe 84 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c struct iw_event iwe; iwe 98 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWAP; iwe 99 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 101 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(iwe.u.ap_addr.sa_data, pnetwork->network.MacAddress, ETH_ALEN); iwe 102 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_ADDR_LEN); iwe 105 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWESSID; iwe 106 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.flags = 1; iwe 107 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = min((u16)pnetwork->network.Ssid.SsidLength, (u16)32); iwe 108 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, pnetwork->network.Ssid.Ssid); iwe 126 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWNAME; iwe 129 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bn"); iwe 131 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11b"); iwe 134 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bgn"); iwe 136 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11bg"); iwe 140 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11AC"); iwe 142 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11an"); iwe 144 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11a"); iwe 147 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11gn"); iwe 149 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11g"); iwe 153 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_CHAR_LEN); iwe 161 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWMODE; iwe 168 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_MASTER; iwe 170 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.mode = IW_MODE_ADHOC; iwe 172 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_UINT_LEN); iwe 179 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWFREQ; iwe 180 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.freq.m = rtw_ch2freq(pnetwork->network.Configuration.DSConfig) * 100000; iwe 181 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.freq.e = 1; iwe 182 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.freq.i = pnetwork->network.Configuration.DSConfig; iwe 183 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_FREQ_LEN); iwe 186 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWENCODE; iwe 188 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 190 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 191 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = 0; iwe 192 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, pnetwork->network.Ssid.Ssid); iwe 223 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = SIOCGIWRATE; iwe 224 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 225 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.bitrate.value = max_rate * 500000; iwe 226 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_PARAM_LEN); iwe 255 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 256 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = IWEVCUSTOM; iwe 257 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); iwe 258 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 260 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 261 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd =IWEVGENIE; iwe 262 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = wpa_len; iwe 263 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, wpa_ie); iwe 271 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 272 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = IWEVCUSTOM; iwe 273 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); iwe 274 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 276 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 277 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd =IWEVGENIE; iwe 278 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = rsn_len; iwe 279 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, rsn_ie); iwe 303 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd =IWEVGENIE; iwe 304 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = (u16)wps_ielen; iwe 305 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, wpsie_ptr); iwe 312 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = IWEVQUAL; iwe 313 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.updated = IW_QUAL_QUAL_UPDATED | IW_QUAL_LEVEL_UPDATED iwe 335 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)translate_percentage_to_dbm(ss);/* dbm */ iwe 343 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)odm_SignalScaleMapping(&pHal->odmpriv, ss); iwe 346 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.level = (u8)ss;/* */ iwe 350 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.qual = (u8)sq; /* signal quality */ iwe 356 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.noise = tmp_noise ; iwe 359 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.qual.noise = 0; /* noise level */ iwe 364 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_event(info, start, stop, &iwe, IW_EV_QUAL_LEN); iwe 376 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memset(&iwe, 0, sizeof(iwe)); iwe 377 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.cmd = IWEVCUSTOM; iwe 378 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c iwe.u.data.length = strlen(buf); iwe 379 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c start = iwe_stream_add_point(info, start, stop, &iwe, buf); iwe 510 include/net/iw_handler.h char *ends, struct iw_event *iwe, int event_len); iwe 514 include/net/iw_handler.h char *ends, struct iw_event *iwe, int event_len) iwe 516 include/net/iw_handler.h char *res = iwe_stream_add_event(info, stream, ends, iwe, event_len); iwe 529 include/net/iw_handler.h char *ends, struct iw_event *iwe, char *extra); iwe 533 include/net/iw_handler.h char *ends, struct iw_event *iwe, char *extra) iwe 535 include/net/iw_handler.h char *res = iwe_stream_add_point(info, stream, ends, iwe, extra); iwe 549 include/net/iw_handler.h char *value, char *ends, struct iw_event *iwe, iwe 2256 net/wireless/scan.c struct iw_event iwe; iwe 2273 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2274 net/wireless/scan.c iwe.cmd = IWEVGENIE; iwe 2275 net/wireless/scan.c iwe.u.data.length = next - pos; iwe 2277 net/wireless/scan.c end_buf, &iwe, iwe 2285 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2286 net/wireless/scan.c iwe.cmd = IWEVGENIE; iwe 2287 net/wireless/scan.c iwe.u.data.length = end - pos; iwe 2289 net/wireless/scan.c end_buf, &iwe, iwe 2304 net/wireless/scan.c struct iw_event iwe; iwe 2311 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2312 net/wireless/scan.c iwe.cmd = SIOCGIWAP; iwe 2313 net/wireless/scan.c iwe.u.ap_addr.sa_family = ARPHRD_ETHER; iwe 2314 net/wireless/scan.c memcpy(iwe.u.ap_addr.sa_data, bss->pub.bssid, ETH_ALEN); iwe 2315 net/wireless/scan.c current_ev = iwe_stream_add_event_check(info, current_ev, end_buf, &iwe, iwe 2320 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2321 net/wireless/scan.c iwe.cmd = SIOCGIWFREQ; iwe 2322 net/wireless/scan.c iwe.u.freq.m = ieee80211_frequency_to_channel(bss->pub.channel->center_freq); iwe 2323 net/wireless/scan.c iwe.u.freq.e = 0; iwe 2324 net/wireless/scan.c current_ev = iwe_stream_add_event_check(info, current_ev, end_buf, &iwe, iwe 2329 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2330 net/wireless/scan.c iwe.cmd = SIOCGIWFREQ; iwe 2331 net/wireless/scan.c iwe.u.freq.m = bss->pub.channel->center_freq; iwe 2332 net/wireless/scan.c iwe.u.freq.e = 6; iwe 2333 net/wireless/scan.c current_ev = iwe_stream_add_event_check(info, current_ev, end_buf, &iwe, iwe 2339 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2340 net/wireless/scan.c iwe.cmd = IWEVQUAL; iwe 2341 net/wireless/scan.c iwe.u.qual.updated = IW_QUAL_LEVEL_UPDATED | iwe 2347 net/wireless/scan.c iwe.u.qual.level = sig; iwe 2348 net/wireless/scan.c iwe.u.qual.updated |= IW_QUAL_DBM; iwe 2354 net/wireless/scan.c iwe.u.qual.qual = sig + 110; iwe 2357 net/wireless/scan.c iwe.u.qual.level = bss->pub.signal; iwe 2359 net/wireless/scan.c iwe.u.qual.qual = bss->pub.signal; iwe 2366 net/wireless/scan.c end_buf, &iwe, iwe 2372 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2373 net/wireless/scan.c iwe.cmd = SIOCGIWENCODE; iwe 2375 net/wireless/scan.c iwe.u.data.flags = IW_ENCODE_ENABLED | IW_ENCODE_NOKEY; iwe 2377 net/wireless/scan.c iwe.u.data.flags = IW_ENCODE_DISABLED; iwe 2378 net/wireless/scan.c iwe.u.data.length = 0; iwe 2380 net/wireless/scan.c &iwe, ""); iwe 2396 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2397 net/wireless/scan.c iwe.cmd = SIOCGIWESSID; iwe 2398 net/wireless/scan.c iwe.u.data.length = ie[1]; iwe 2399 net/wireless/scan.c iwe.u.data.flags = 1; iwe 2402 net/wireless/scan.c end_buf, &iwe, iwe 2408 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2409 net/wireless/scan.c iwe.cmd = SIOCGIWESSID; iwe 2410 net/wireless/scan.c iwe.u.data.length = ie[1]; iwe 2411 net/wireless/scan.c iwe.u.data.flags = 1; iwe 2414 net/wireless/scan.c end_buf, &iwe, iwe 2424 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2425 net/wireless/scan.c iwe.cmd = IWEVCUSTOM; iwe 2428 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2432 net/wireless/scan.c &iwe, buf); iwe 2437 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2441 net/wireless/scan.c &iwe, buf); iwe 2446 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2450 net/wireless/scan.c &iwe, buf); iwe 2454 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2458 net/wireless/scan.c &iwe, buf); iwe 2462 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2466 net/wireless/scan.c &iwe, buf); iwe 2470 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2474 net/wireless/scan.c &iwe, buf); iwe 2478 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2482 net/wireless/scan.c &iwe, buf); iwe 2491 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2492 net/wireless/scan.c iwe.cmd = SIOCGIWRATE; iwe 2494 net/wireless/scan.c iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; iwe 2497 net/wireless/scan.c iwe.u.bitrate.value = iwe 2501 net/wireless/scan.c end_buf, &iwe, iwe 2517 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2518 net/wireless/scan.c iwe.cmd = SIOCGIWMODE; iwe 2520 net/wireless/scan.c iwe.u.mode = IW_MODE_MESH; iwe 2522 net/wireless/scan.c iwe.u.mode = IW_MODE_MASTER; iwe 2524 net/wireless/scan.c iwe.u.mode = IW_MODE_ADHOC; iwe 2526 net/wireless/scan.c end_buf, &iwe, iwe 2532 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2533 net/wireless/scan.c iwe.cmd = IWEVCUSTOM; iwe 2535 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2537 net/wireless/scan.c &iwe, buf); iwe 2540 net/wireless/scan.c memset(&iwe, 0, sizeof(iwe)); iwe 2541 net/wireless/scan.c iwe.cmd = IWEVCUSTOM; iwe 2544 net/wireless/scan.c iwe.u.data.length = strlen(buf); iwe 2546 net/wireless/scan.c end_buf, &iwe, buf); iwe 1124 net/wireless/wext-core.c char *ends, struct iw_event *iwe, int event_len) iwe 1132 net/wireless/wext-core.c iwe->len = event_len; iwe 1134 net/wireless/wext-core.c memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); iwe 1135 net/wireless/wext-core.c memcpy(stream + lcp_len, &iwe->u, iwe 1145 net/wireless/wext-core.c char *ends, struct iw_event *iwe, char *extra) iwe 1147 net/wireless/wext-core.c int event_len = iwe_stream_point_len(info) + iwe->u.data.length; iwe 1153 net/wireless/wext-core.c iwe->len = event_len; iwe 1154 net/wireless/wext-core.c memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); iwe 1156 net/wireless/wext-core.c ((char *) &iwe->u) + IW_EV_POINT_OFF, iwe 1158 net/wireless/wext-core.c if (iwe->u.data.length && extra) iwe 1159 net/wireless/wext-core.c memcpy(stream + point_len, extra, iwe->u.data.length); iwe 1168 net/wireless/wext-core.c char *value, char *ends, struct iw_event *iwe, iwe 1179 net/wireless/wext-core.c memcpy(value, &iwe->u, event_len); iwe 1182 net/wireless/wext-core.c iwe->len = value - event; iwe 1183 net/wireless/wext-core.c memcpy(event, (char *) iwe, lcp_len);