/drivers/staging/rtl8192u/ |
D | r8192U_wx.c | 911 struct iw_statistics *wstats = &priv->wstats; in r8192_get_wireless_stats() local 917 wstats->qual.qual = 0; in r8192_get_wireless_stats() 918 wstats->qual.level = 0; in r8192_get_wireless_stats() 919 wstats->qual.noise = 0; in r8192_get_wireless_stats() 920 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() 921 return wstats; in r8192_get_wireless_stats() 928 wstats->qual.level = tmp_level; in r8192_get_wireless_stats() 929 wstats->qual.qual = tmp_qual; in r8192_get_wireless_stats() 930 wstats->qual.noise = tmp_noise; in r8192_get_wireless_stats() 931 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() [all …]
|
/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 93 struct iw_statistics *wstats = &priv->wstats; in orinoco_get_wireless_stats() local 106 return wstats; in orinoco_get_wireless_stats() 120 memset(&wstats->qual, 0, sizeof(wstats->qual)); in orinoco_get_wireless_stats() 124 wstats->qual.qual = priv->spy_data.spy_stat[0].qual; in orinoco_get_wireless_stats() 125 wstats->qual.level = priv->spy_data.spy_stat[0].level; in orinoco_get_wireless_stats() 126 wstats->qual.noise = priv->spy_data.spy_stat[0].noise; in orinoco_get_wireless_stats() 127 wstats->qual.updated = in orinoco_get_wireless_stats() 139 wstats->qual.qual = (int)le16_to_cpu(cq.qual); in orinoco_get_wireless_stats() 140 wstats->qual.level = (int)le16_to_cpu(cq.signal) - 0x95; in orinoco_get_wireless_stats() 141 wstats->qual.noise = (int)le16_to_cpu(cq.noise) - 0x95; in orinoco_get_wireless_stats() [all …]
|
D | main.c | 689 struct iw_quality wstats; in orinoco_spy_gather() local 690 wstats.level = level - 0x95; in orinoco_spy_gather() 691 wstats.noise = noise - 0x95; in orinoco_spy_gather() 692 wstats.qual = (level > noise) ? (level - noise) : 0; in orinoco_spy_gather() 693 wstats.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in orinoco_spy_gather() 695 wireless_spy_update(dev, mac, &wstats); in orinoco_spy_gather() 832 struct iw_statistics *wstats = &priv->wstats; in __orinoco_ev_rx() local 872 wstats->discard.code++; in __orinoco_ev_rx() 1421 struct iw_statistics *wstats = &priv->wstats; in __orinoco_ev_info() local 1436 wstats->discard.code += in __orinoco_ev_info() [all …]
|
D | orinoco.h | 87 struct iw_statistics wstats; member
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 1177 struct iw_statistics *wstats = &priv->wstats; in _rtl92e_get_wireless_stats() local 1183 wstats->qual.qual = 10; in _rtl92e_get_wireless_stats() 1184 wstats->qual.level = 0; in _rtl92e_get_wireless_stats() 1185 wstats->qual.noise = 0x100 - 100; /* -100 dBm */ in _rtl92e_get_wireless_stats() 1186 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in _rtl92e_get_wireless_stats() 1187 return wstats; in _rtl92e_get_wireless_stats() 1194 wstats->qual.level = tmp_level; in _rtl92e_get_wireless_stats() 1195 wstats->qual.qual = tmp_qual; in _rtl92e_get_wireless_stats() 1196 wstats->qual.noise = tmp_noise; in _rtl92e_get_wireless_stats() 1197 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in _rtl92e_get_wireless_stats() [all …]
|
D | rtl_core.h | 369 struct iw_statistics wstats; member
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 377 struct iw_quality wstats; in libipw_rx() local 379 wstats.updated = 0; in libipw_rx() 381 wstats.level = rx_stats->signal; in libipw_rx() 382 wstats.updated |= IW_QUAL_LEVEL_UPDATED; in libipw_rx() 384 wstats.updated |= IW_QUAL_LEVEL_INVALID; in libipw_rx() 387 wstats.noise = rx_stats->noise; in libipw_rx() 388 wstats.updated |= IW_QUAL_NOISE_UPDATED; in libipw_rx() 390 wstats.updated |= IW_QUAL_NOISE_INVALID; in libipw_rx() 393 wstats.qual = rx_stats->signal; in libipw_rx() 394 wstats.updated |= IW_QUAL_QUAL_UPDATED; in libipw_rx() [all …]
|
D | ipw2100.c | 2250 priv->wstats.status = status; in isr_status_change() 2470 priv->wstats.discard.misc++; in isr_rx() 2478 priv->wstats.discard.misc++; in isr_rx() 2553 priv->wstats.discard.misc++; in isr_rx_monitor() 8107 struct iw_statistics *wstats; in ipw2100_wx_wireless_stats() local 8114 wstats = &priv->wstats; in ipw2100_wx_wireless_stats() 8122 wstats->miss.beacon = 0; in ipw2100_wx_wireless_stats() 8123 wstats->discard.retries = 0; in ipw2100_wx_wireless_stats() 8124 wstats->qual.qual = 0; in ipw2100_wx_wireless_stats() 8125 wstats->qual.level = 0; in ipw2100_wx_wireless_stats() [all …]
|
D | ipw2200.c | 7684 priv->wstats.discard.misc++; in ipw_handle_data_packet() 7689 priv->wstats.discard.misc++; in ipw_handle_data_packet() 7747 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 7752 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 7762 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 8357 priv->wstats.discard.misc++; in ipw_rx() 10000 struct iw_statistics *wstats; in ipw_get_wireless_stats() local 10002 wstats = &priv->wstats; in ipw_get_wireless_stats() 10010 wstats->miss.beacon = 0; in ipw_get_wireless_stats() 10011 wstats->discard.retries = 0; in ipw_get_wireless_stats() [all …]
|
D | ipw2100.h | 555 struct iw_statistics wstats; member
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 1383 struct iw_statistics *wstats = &this->wstats; in wl3501_get_wireless_stats() local 1386 memset(wstats, 0, sizeof(*wstats)); in wl3501_get_wireless_stats() 1387 wstats->status = netif_running(dev); in wl3501_get_wireless_stats() 1390 wstats->discard.code += value; in wl3501_get_wireless_stats() 1393 wstats->discard.code += value; in wl3501_get_wireless_stats() 1396 wstats->discard.code += value; in wl3501_get_wireless_stats() 1399 wstats->discard.retries = value; in wl3501_get_wireless_stats() 1402 wstats->discard.misc += value; in wl3501_get_wireless_stats() 1405 wstats->discard.misc += value; in wl3501_get_wireless_stats() 1408 wstats->discard.misc += value; in wl3501_get_wireless_stats() [all …]
|
D | ray_cs.c | 1404 local->wstats.status = local->card_status; in ray_get_wireless_stats() 1409 local->wstats.qual.qual = local->spy_data.spy_stat[0].qual; in ray_get_wireless_stats() 1410 local->wstats.qual.level = local->spy_data.spy_stat[0].level; in ray_get_wireless_stats() 1411 local->wstats.qual.noise = local->spy_data.spy_stat[0].noise; in ray_get_wireless_stats() 1412 local->wstats.qual.updated = in ray_get_wireless_stats() 1418 local->wstats.qual.noise = readb(&p->rxnoise); in ray_get_wireless_stats() 1419 local->wstats.qual.updated |= 4; in ray_get_wireless_stats() 1422 return &local->wstats; in ray_get_wireless_stats() 2258 local->wstats.qual.level = siglev; in rx_data() 2260 local->wstats.qual.updated = 0x2; in rx_data() [all …]
|
D | ray_cs.h | 65 iw_stats wstats; /* Wireless specific stats */ member
|
D | wl3501.h | 610 struct iw_statistics wstats; member
|
/drivers/net/wireless/atmel/ |
D | atmel.c | 449 struct iw_statistics wstats; member 1047 priv->wstats.discard.fragment++; in frag_rx_path() 1066 priv->wstats.discard.nwid++; in rx_done_irq() 1228 priv->wstats.discard.misc++; in service_interrupt() 1269 priv->wstats.status = priv->station_state; in atmel_get_wireless_stats() 1273 priv->wstats.qual.qual = 0; in atmel_get_wireless_stats() 1274 priv->wstats.qual.level = 0; in atmel_get_wireless_stats() 1275 priv->wstats.qual.updated = (IW_QUAL_QUAL_INVALID in atmel_get_wireless_stats() 1278 priv->wstats.qual.noise = 0; in atmel_get_wireless_stats() 1279 priv->wstats.qual.updated |= IW_QUAL_NOISE_INVALID; in atmel_get_wireless_stats() [all …]
|
/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 62 struct iw_statistics *wstats = &priv->wstats; in ks_wlan_update_phy_information() local 73 wstats->status = priv->reg.operation_mode; /* Operation mode */ in ks_wlan_update_phy_information() 1079 vwrq->qual.level = priv->wstats.qual.level; in ks_wlan_get_iwstats() 1748 struct iw_statistics *wstats = &priv->wstats; in ks_get_wireless_stats() local 1751 return (priv->dev_state < DEVICE_STATE_READY) ? NULL : wstats; in ks_get_wireless_stats() 1757 wstats->discard.nwid = 0; /* Rx invalid nwid */ in ks_get_wireless_stats() 1758 wstats->discard.code = 0; /* Rx invalid crypt */ in ks_get_wireless_stats() 1759 wstats->discard.fragment = 0; /* Rx invalid frag */ in ks_get_wireless_stats() 1760 wstats->discard.retries = 0; /* Tx excessive retries */ in ks_get_wireless_stats() 1761 wstats->discard.misc = 0; /* Invalid misc */ in ks_get_wireless_stats() [all …]
|
D | ks_hostif.c | 920 struct iw_statistics *wstats = &priv->wstats; in hostif_phy_information_confirm() local 938 wstats->qual.qual = signal; in hostif_phy_information_confirm() 939 wstats->qual.level = 256 - rssi; in hostif_phy_information_confirm() 940 wstats->qual.noise = 0; /* invalid noise value */ in hostif_phy_information_confirm() 941 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in hostif_phy_information_confirm()
|
D | ks_wlan.h | 442 struct iw_statistics wstats; member
|
D | ks7010_sdio.c | 939 memset(&priv->wstats, 0, sizeof(priv->wstats)); in ks7010_private_init()
|
/drivers/net/wireless/cisco/ |
D | airo.c | 1220 struct iw_statistics wstats; // wireless stats member 3399 struct iw_quality wstats; in airo_handle_rx() local 3408 wstats.qual = hdr.rssi[0]; in airo_handle_rx() 3410 wstats.level = 0x100 - ai->rssi[hdr.rssi[1]].rssidBm; in airo_handle_rx() 3412 wstats.level = (hdr.rssi[1] + 321) / 2; in airo_handle_rx() 3413 wstats.noise = ai->wstats.qual.noise; in airo_handle_rx() 3414 wstats.updated = IW_QUAL_LEVEL_UPDATED in airo_handle_rx() 3418 wireless_spy_update(ai->dev, sa, &wstats); in airo_handle_rx() 3700 struct iw_quality wstats; in mpi_receive_802_3() local 3703 wstats.qual = 0; /* XXX Where do I get that info from ??? */ in mpi_receive_802_3() [all …]
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 21 struct iw_statistics *wstats; in hostap_get_wireless_stats() local 30 wstats = &local->wstats; in hostap_get_wireless_stats() 32 wstats->status = 0; in hostap_get_wireless_stats() 33 wstats->discard.code = in hostap_get_wireless_stats() 35 wstats->discard.misc = in hostap_get_wireless_stats() 40 wstats->discard.retries = in hostap_get_wireless_stats() 42 wstats->discard.fragment = in hostap_get_wireless_stats() 49 wstats->qual.updated = IW_QUAL_ALL_UPDATED | in hostap_get_wireless_stats() 52 wstats->qual.qual = local->comms_qual; in hostap_get_wireless_stats() 53 wstats->qual.level = local->avg_signal; in hostap_get_wireless_stats() [all …]
|
D | hostap_80211_rx.c | 764 struct iw_quality wstats; in hostap_80211_rx() local 765 wstats.level = rx_stats->signal; in hostap_80211_rx() 766 wstats.noise = rx_stats->noise; in hostap_80211_rx() 767 wstats.updated = IW_QUAL_LEVEL_UPDATED | IW_QUAL_NOISE_UPDATED in hostap_80211_rx() 770 wireless_spy_update(dev, hdr->addr2, &wstats); in hostap_80211_rx()
|
D | hostap_wlan.h | 750 struct iw_statistics wstats; member
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.h | 215 struct iw_statistics wstats; member
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 942 struct iw_quality wstats; in ieee80211_rx() local 943 wstats.level = rx_stats->rssi; in ieee80211_rx() 944 wstats.noise = rx_stats->noise; in ieee80211_rx() 945 wstats.updated = 6; /* No qual value */ in ieee80211_rx() 947 wireless_spy_update(dev, hdr->addr2, &wstats); in ieee80211_rx()
|