/kernel/linux/linux-5.10/net/wireless/ |
D | wext-spy.c | 164 struct iw_quality * wstats) in iw_send_thrspy_event() argument 176 threshold.qual = *wstats; in iw_send_thrspy_event() 194 struct iw_quality * wstats) in wireless_spy_update() argument 207 memcpy(&(spydata->spy_stat[i]), wstats, in wireless_spy_update() 218 if (wstats->level > spydata->spy_thr_high.level) { in wireless_spy_update() 221 address, wstats); in wireless_spy_update() 224 if (wstats->level < spydata->spy_thr_low.level) { in wireless_spy_update() 227 address, wstats); in wireless_spy_update()
|
D | wext-compat.c | 1296 static struct iw_statistics wstats; in cfg80211_wireless_stats() local 1320 memset(&wstats, 0, sizeof(wstats)); in cfg80211_wireless_stats() 1326 wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED; in cfg80211_wireless_stats() 1327 wstats.qual.updated |= IW_QUAL_QUAL_UPDATED; in cfg80211_wireless_stats() 1328 wstats.qual.updated |= IW_QUAL_DBM; in cfg80211_wireless_stats() 1329 wstats.qual.level = sig; in cfg80211_wireless_stats() 1334 wstats.qual.qual = sig + 110; in cfg80211_wireless_stats() 1340 wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED; in cfg80211_wireless_stats() 1341 wstats.qual.updated |= IW_QUAL_QUAL_UPDATED; in cfg80211_wireless_stats() 1342 wstats.qual.level = sinfo.signal; in cfg80211_wireless_stats() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/ |
D | islpci_eth.c | 366 struct iw_quality wstats; in islpci_eth_receive() local 369 wstats.level = annex->rfmon.rssi; in islpci_eth_receive() 372 wstats.noise = priv->local_iwstatistics.qual.noise; in islpci_eth_receive() 373 wstats.qual = wstats.level - wstats.noise; in islpci_eth_receive() 374 wstats.updated = 0x07; in islpci_eth_receive() 376 wireless_spy_update(ndev, annex->addr2, &wstats); in islpci_eth_receive()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
D | r8192U_wx.c | 916 struct iw_statistics *wstats = &priv->wstats; in r8192_get_wireless_stats() local 922 wstats->qual.qual = 0; in r8192_get_wireless_stats() 923 wstats->qual.level = 0; in r8192_get_wireless_stats() 924 wstats->qual.noise = 0; in r8192_get_wireless_stats() 925 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() 926 return wstats; in r8192_get_wireless_stats() 933 wstats->qual.level = tmp_level; in r8192_get_wireless_stats() 934 wstats->qual.qual = tmp_qual; in r8192_get_wireless_stats() 935 wstats->qual.noise = tmp_noise; in r8192_get_wireless_stats() 936 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in r8192_get_wireless_stats() [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 1185 struct iw_statistics *wstats = &priv->wstats; in _rtl92e_get_wireless_stats() local 1191 wstats->qual.qual = 10; in _rtl92e_get_wireless_stats() 1192 wstats->qual.level = 0; in _rtl92e_get_wireless_stats() 1193 wstats->qual.noise = 0x100 - 100; /* -100 dBm */ in _rtl92e_get_wireless_stats() 1194 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in _rtl92e_get_wireless_stats() 1195 return wstats; in _rtl92e_get_wireless_stats() 1202 wstats->qual.level = tmp_level; in _rtl92e_get_wireless_stats() 1203 wstats->qual.qual = tmp_qual; in _rtl92e_get_wireless_stats() 1204 wstats->qual.noise = tmp_noise; in _rtl92e_get_wireless_stats() 1205 wstats->qual.updated = IW_QUAL_ALL_UPDATED | IW_QUAL_DBM; in _rtl92e_get_wireless_stats() [all …]
|
/kernel/linux/linux-5.10/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 | 7687 priv->wstats.discard.misc++; in ipw_handle_data_packet() 7692 priv->wstats.discard.misc++; in ipw_handle_data_packet() 7750 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 7755 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 7765 priv->wstats.discard.misc++; in ipw_handle_data_packet_monitor() 8360 priv->wstats.discard.misc++; in ipw_rx() 10003 struct iw_statistics *wstats; in ipw_get_wireless_stats() local 10005 wstats = &priv->wstats; in ipw_get_wireless_stats() 10013 wstats->miss.beacon = 0; in ipw_get_wireless_stats() 10014 wstats->discard.retries = 0; in ipw_get_wireless_stats() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | wl3501_cs.c | 1385 struct iw_statistics *wstats = &this->wstats; in wl3501_get_wireless_stats() local 1388 memset(wstats, 0, sizeof(*wstats)); in wl3501_get_wireless_stats() 1389 wstats->status = netif_running(dev); in wl3501_get_wireless_stats() 1392 wstats->discard.code += value; in wl3501_get_wireless_stats() 1395 wstats->discard.code += value; in wl3501_get_wireless_stats() 1398 wstats->discard.code += value; in wl3501_get_wireless_stats() 1401 wstats->discard.retries = value; in wl3501_get_wireless_stats() 1404 wstats->discard.misc += value; in wl3501_get_wireless_stats() 1407 wstats->discard.misc += value; in wl3501_get_wireless_stats() 1410 wstats->discard.misc += value; in wl3501_get_wireless_stats() [all …]
|
D | ray_cs.h | 65 iw_stats wstats; /* Wireless specific stats */ member
|
D | ray_cs.c | 1396 local->wstats.status = local->card_status; in ray_get_wireless_stats() 1401 local->wstats.qual.qual = local->spy_data.spy_stat[0].qual; in ray_get_wireless_stats() 1402 local->wstats.qual.level = local->spy_data.spy_stat[0].level; in ray_get_wireless_stats() 1403 local->wstats.qual.noise = local->spy_data.spy_stat[0].noise; in ray_get_wireless_stats() 1404 local->wstats.qual.updated = in ray_get_wireless_stats() 1410 local->wstats.qual.noise = readb(&p->rxnoise); in ray_get_wireless_stats() 1411 local->wstats.qual.updated |= 4; in ray_get_wireless_stats() 1414 return &local->wstats; in ray_get_wireless_stats() 2254 local->wstats.qual.level = siglev; in rx_data() 2256 local->wstats.qual.updated = 0x2; in rx_data() [all …]
|
D | wl3501.h | 610 struct iw_statistics wstats; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/atmel/ |
D | atmel.c | 450 struct iw_statistics wstats; member 1048 priv->wstats.discard.fragment++; in frag_rx_path() 1067 priv->wstats.discard.nwid++; in rx_done_irq() 1229 priv->wstats.discard.misc++; in service_interrupt() 1270 priv->wstats.status = priv->station_state; in atmel_get_wireless_stats() 1274 priv->wstats.qual.qual = 0; in atmel_get_wireless_stats() 1275 priv->wstats.qual.level = 0; in atmel_get_wireless_stats() 1276 priv->wstats.qual.updated = (IW_QUAL_QUAL_INVALID in atmel_get_wireless_stats() 1279 priv->wstats.qual.noise = 0; in atmel_get_wireless_stats() 1280 priv->wstats.qual.updated |= IW_QUAL_NOISE_INVALID; in atmel_get_wireless_stats() [all …]
|
/kernel/linux/linux-5.10/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() 1746 struct iw_statistics *wstats = &priv->wstats; in ks_get_wireless_stats() local 1749 return (priv->dev_state < DEVICE_STATE_READY) ? NULL : wstats; in ks_get_wireless_stats() 1755 wstats->discard.nwid = 0; /* Rx invalid nwid */ in ks_get_wireless_stats() 1756 wstats->discard.code = 0; /* Rx invalid crypt */ in ks_get_wireless_stats() 1757 wstats->discard.fragment = 0; /* Rx invalid frag */ in ks_get_wireless_stats() 1758 wstats->discard.retries = 0; /* Tx excessive retries */ in ks_get_wireless_stats() 1759 wstats->discard.misc = 0; /* Invalid misc */ in ks_get_wireless_stats() [all …]
|
D | ks_hostif.c | 928 struct iw_statistics *wstats = &priv->wstats; in hostif_phy_information_confirm() local 946 wstats->qual.qual = signal; in hostif_phy_information_confirm() 947 wstats->qual.level = 256 - rssi; in hostif_phy_information_confirm() 948 wstats->qual.noise = 0; /* invalid noise value */ in hostif_phy_information_confirm() 949 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
|
/kernel/linux/linux-5.10/drivers/net/wireless/cisco/ |
D | airo.c | 1220 struct iw_statistics wstats; // wireless stats member 3407 struct iw_quality wstats; in airo_handle_rx() local 3416 wstats.qual = hdr.rssi[0]; in airo_handle_rx() 3418 wstats.level = 0x100 - ai->rssi[hdr.rssi[1]].rssidBm; in airo_handle_rx() 3420 wstats.level = (hdr.rssi[1] + 321) / 2; in airo_handle_rx() 3421 wstats.noise = ai->wstats.qual.noise; in airo_handle_rx() 3422 wstats.updated = IW_QUAL_LEVEL_UPDATED in airo_handle_rx() 3426 wireless_spy_update(ai->dev, sa, &wstats); in airo_handle_rx() 3708 struct iw_quality wstats; in mpi_receive_802_3() local 3711 wstats.qual = 0; /* XXX Where do I get that info from ??? */ in mpi_receive_802_3() [all …]
|
/kernel/linux/linux-5.10/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() 60 wstats->qual.updated = IW_QUAL_ALL_UPDATED | in hostap_get_wireless_stats() 63 wstats->qual.qual = local->comms_qual; in hostap_get_wireless_stats() 64 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()
|
/kernel/linux/linux-5.10/include/net/ |
D | iw_handler.h | 467 struct iw_quality *wstats);
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | p80211netdev.h | 217 struct iw_statistics wstats; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 945 struct iw_quality wstats; in ieee80211_rx() local 946 wstats.level = rx_stats->rssi; in ieee80211_rx() 947 wstats.noise = rx_stats->noise; in ieee80211_rx() 948 wstats.updated = 6; /* No qual value */ in ieee80211_rx() 950 wireless_spy_update(dev, hdr->addr2, &wstats); in ieee80211_rx()
|