/drivers/net/wireless/prism54/ |
D | islpci_eth.c | 382 struct iw_quality wstats; in islpci_eth_receive() local 385 wstats.level = annex->rfmon.rssi; in islpci_eth_receive() 388 wstats.noise = priv->local_iwstatistics.qual.noise; in islpci_eth_receive() 389 wstats.qual = wstats.level - wstats.noise; in islpci_eth_receive() 390 wstats.updated = 0x07; in islpci_eth_receive() 392 wireless_spy_update(ndev, annex->addr2, &wstats); in islpci_eth_receive()
|
/drivers/staging/rtl8192u/ |
D | r8192U_wx.c | 968 struct iw_statistics *wstats = &priv->wstats; in r8192_get_wireless_stats() local 974 wstats->qual.qual = 0; in r8192_get_wireless_stats() 975 wstats->qual.level = 0; in r8192_get_wireless_stats() 976 wstats->qual.noise = 0; in r8192_get_wireless_stats() 977 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() 978 return wstats; in r8192_get_wireless_stats() 985 wstats->qual.level = tmp_level; in r8192_get_wireless_stats() 986 wstats->qual.qual = tmp_qual; in r8192_get_wireless_stats() 987 wstats->qual.noise = tmp_noise; in r8192_get_wireless_stats() 988 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() [all …]
|
D | r8192U.h | 930 struct iw_statistics wstats; member
|
/drivers/net/wireless/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 | 704 struct iw_quality wstats; in orinoco_spy_gather() local 705 wstats.level = level - 0x95; in orinoco_spy_gather() 706 wstats.noise = noise - 0x95; in orinoco_spy_gather() 707 wstats.qual = (level > noise) ? (level - noise) : 0; in orinoco_spy_gather() 708 wstats.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in orinoco_spy_gather() 710 wireless_spy_update(dev, mac, &wstats); in orinoco_spy_gather() 847 struct iw_statistics *wstats = &priv->wstats; in __orinoco_ev_rx() local 887 wstats->discard.code++; in __orinoco_ev_rx() 1437 struct iw_statistics *wstats = &priv->wstats; in __orinoco_ev_info() local 1452 wstats->discard.code += in __orinoco_ev_info() [all …]
|
D | orinoco.h | 88 struct iw_statistics wstats; member
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 1315 struct iw_statistics *wstats = &priv->wstats; in r8192_get_wireless_stats() local 1321 wstats->qual.qual = 10; in r8192_get_wireless_stats() 1322 wstats->qual.level = 0; in r8192_get_wireless_stats() 1323 wstats->qual.noise = -100; in r8192_get_wireless_stats() 1324 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() 1325 return wstats; in r8192_get_wireless_stats() 1332 wstats->qual.level = tmp_level; in r8192_get_wireless_stats() 1333 wstats->qual.qual = tmp_qual; in r8192_get_wireless_stats() 1334 wstats->qual.noise = tmp_noise; in r8192_get_wireless_stats() 1335 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() [all …]
|
D | rtl_core.h | 612 struct iw_statistics wstats; member
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_rx.c | 381 struct iw_quality wstats; in libipw_rx() local 383 wstats.updated = 0; in libipw_rx() 385 wstats.level = rx_stats->signal; in libipw_rx() 386 wstats.updated |= IW_QUAL_LEVEL_UPDATED; in libipw_rx() 388 wstats.updated |= IW_QUAL_LEVEL_INVALID; in libipw_rx() 391 wstats.noise = rx_stats->noise; in libipw_rx() 392 wstats.updated |= IW_QUAL_NOISE_UPDATED; in libipw_rx() 394 wstats.updated |= IW_QUAL_NOISE_INVALID; in libipw_rx() 397 wstats.qual = rx_stats->signal; in libipw_rx() 398 wstats.updated |= IW_QUAL_QUAL_UPDATED; in libipw_rx() [all …]
|
D | ipw2100.c | 2264 priv->wstats.status = status; in isr_status_change() 2481 priv->wstats.discard.misc++; in isr_rx() 2489 priv->wstats.discard.misc++; in isr_rx() 2565 priv->wstats.discard.misc++; in isr_rx_monitor() 8148 struct iw_statistics *wstats; in ipw2100_wx_wireless_stats() local 8155 wstats = &priv->wstats; in ipw2100_wx_wireless_stats() 8163 wstats->miss.beacon = 0; in ipw2100_wx_wireless_stats() 8164 wstats->discard.retries = 0; in ipw2100_wx_wireless_stats() 8165 wstats->qual.qual = 0; in ipw2100_wx_wireless_stats() 8166 wstats->qual.level = 0; in ipw2100_wx_wireless_stats() [all …]
|
D | ipw2200.c | 7717 priv->wstats.discard.misc++; in ipw_handle_data_packet() 7722 priv->wstats.discard.misc++; in ipw_handle_data_packet() 7780 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 7785 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 7795 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 8391 priv->wstats.discard.misc++; in ipw_rx() 10034 struct iw_statistics *wstats; in ipw_get_wireless_stats() local 10036 wstats = &priv->wstats; in ipw_get_wireless_stats() 10044 wstats->miss.beacon = 0; in ipw_get_wireless_stats() 10045 wstats->discard.retries = 0; in ipw_get_wireless_stats() [all …]
|
D | ipw2100.h | 569 struct iw_statistics wstats; member
|
/drivers/staging/vt6655/ |
D | iwctl.c | 79 pDevice->wstats.status = pDevice->op_mode; in iwctl_get_wireless_stats() 83 pDevice->wstats.qual.qual = (unsigned char)pDevice->scStatistic.LinkQuality; in iwctl_get_wireless_stats() 85 pDevice->wstats.qual.qual = pDevice->byCurrSQ; in iwctl_get_wireless_stats() 88 pDevice->wstats.qual.level = ldBm; in iwctl_get_wireless_stats() 89 pDevice->wstats.qual.noise = 0; in iwctl_get_wireless_stats() 90 pDevice->wstats.qual.updated = 1; in iwctl_get_wireless_stats() 91 pDevice->wstats.discard.nwid = 0; in iwctl_get_wireless_stats() 92 pDevice->wstats.discard.code = 0; in iwctl_get_wireless_stats() 93 pDevice->wstats.discard.fragment = 0; in iwctl_get_wireless_stats() 94 pDevice->wstats.discard.retries = (unsigned long)pDevice->scStatistic.dwTsrErr; in iwctl_get_wireless_stats() [all …]
|
D | device.h | 718 struct iw_statistics wstats; // wireless stats member
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 1370 struct iw_statistics *wstats = &this->wstats; in wl3501_get_wireless_stats() local 1373 memset(wstats, 0, sizeof(*wstats)); in wl3501_get_wireless_stats() 1374 wstats->status = netif_running(dev); in wl3501_get_wireless_stats() 1377 wstats->discard.code += value; in wl3501_get_wireless_stats() 1380 wstats->discard.code += value; in wl3501_get_wireless_stats() 1383 wstats->discard.code += value; in wl3501_get_wireless_stats() 1386 wstats->discard.retries = value; in wl3501_get_wireless_stats() 1389 wstats->discard.misc += value; in wl3501_get_wireless_stats() 1392 wstats->discard.misc += value; in wl3501_get_wireless_stats() 1395 wstats->discard.misc += value; in wl3501_get_wireless_stats() [all …]
|
D | atmel.c | 451 struct iw_statistics wstats; member 1051 priv->wstats.discard.fragment++; in frag_rx_path() 1070 priv->wstats.discard.nwid++; in rx_done_irq() 1232 priv->wstats.discard.misc++; in service_interrupt() 1273 priv->wstats.status = priv->station_state; in atmel_get_wireless_stats() 1277 priv->wstats.qual.qual = 0; in atmel_get_wireless_stats() 1278 priv->wstats.qual.level = 0; in atmel_get_wireless_stats() 1279 priv->wstats.qual.updated = (IW_QUAL_QUAL_INVALID in atmel_get_wireless_stats() 1282 priv->wstats.qual.noise = 0; in atmel_get_wireless_stats() 1283 priv->wstats.qual.updated |= IW_QUAL_NOISE_INVALID; in atmel_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() 2263 local->wstats.qual.level = siglev; in rx_data() 2265 local->wstats.qual.updated = 0x2; in rx_data() [all …]
|
D | airo.c | 1214 struct iw_statistics wstats; // wireless stats member 3383 struct iw_quality wstats; in airo_handle_rx() local 3392 wstats.qual = hdr.rssi[0]; in airo_handle_rx() 3394 wstats.level = 0x100 - ai->rssi[hdr.rssi[1]].rssidBm; in airo_handle_rx() 3396 wstats.level = (hdr.rssi[1] + 321) / 2; in airo_handle_rx() 3397 wstats.noise = ai->wstats.qual.noise; in airo_handle_rx() 3398 wstats.updated = IW_QUAL_LEVEL_UPDATED in airo_handle_rx() 3402 wireless_spy_update(ai->dev, sa, &wstats); in airo_handle_rx() 3679 struct iw_quality wstats; in mpi_receive_802_3() local 3682 wstats.qual = 0; /* XXX Where do I get that info from ??? */ in mpi_receive_802_3() [all …]
|
D | ray_cs.h | 64 iw_stats wstats; /* Wireless specific stats */ member
|
D | wl3501.h | 610 struct iw_statistics wstats; member
|
/drivers/net/wireless/hostap/ |
D | hostap_ioctl.c | 20 struct iw_statistics *wstats; in hostap_get_wireless_stats() local 29 wstats = &local->wstats; in hostap_get_wireless_stats() 31 wstats->status = 0; in hostap_get_wireless_stats() 32 wstats->discard.code = in hostap_get_wireless_stats() 34 wstats->discard.misc = in hostap_get_wireless_stats() 39 wstats->discard.retries = in hostap_get_wireless_stats() 41 wstats->discard.fragment = in hostap_get_wireless_stats() 59 wstats->qual.updated = IW_QUAL_ALL_UPDATED | in hostap_get_wireless_stats() 62 wstats->qual.qual = local->comms_qual; in hostap_get_wireless_stats() 63 wstats->qual.level = local->avg_signal; in hostap_get_wireless_stats() [all …]
|
D | hostap_80211_rx.c | 765 struct iw_quality wstats; in hostap_80211_rx() local 766 wstats.level = rx_stats->signal; in hostap_80211_rx() 767 wstats.noise = rx_stats->noise; in hostap_80211_rx() 768 wstats.updated = IW_QUAL_LEVEL_UPDATED | IW_QUAL_NOISE_UPDATED in hostap_80211_rx() 771 wireless_spy_update(dev, hdr->addr2, &wstats); in hostap_80211_rx()
|
D | hostap_wlan.h | 745 struct iw_statistics wstats; member
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.h | 221 struct iw_statistics wstats; member
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 958 struct iw_quality wstats; in ieee80211_rx() local 959 wstats.level = rx_stats->rssi; in ieee80211_rx() 960 wstats.noise = rx_stats->noise; in ieee80211_rx() 961 wstats.updated = 6; /* No qual value */ in ieee80211_rx() 963 wireless_spy_update(dev, hdr->addr2, &wstats); in ieee80211_rx()
|