Searched refs:wstats (Results 1 – 2 of 2) sorted by relevance
164 struct iw_quality * wstats) in iw_send_thrspy_event() argument176 memcpy(&(threshold.qual), wstats, sizeof(struct iw_quality)); in iw_send_thrspy_event()194 struct iw_quality * wstats) in wireless_spy_update() argument207 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()
1317 static struct iw_statistics wstats; in cfg80211_wireless_stats() local1341 memset(&wstats, 0, sizeof(wstats)); in cfg80211_wireless_stats()1347 wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED; in cfg80211_wireless_stats()1348 wstats.qual.updated |= IW_QUAL_QUAL_UPDATED; in cfg80211_wireless_stats()1349 wstats.qual.updated |= IW_QUAL_DBM; in cfg80211_wireless_stats()1350 wstats.qual.level = sig; in cfg80211_wireless_stats()1355 wstats.qual.qual = sig + 110; in cfg80211_wireless_stats()1360 wstats.qual.updated |= IW_QUAL_LEVEL_UPDATED; in cfg80211_wireless_stats()1361 wstats.qual.updated |= IW_QUAL_QUAL_UPDATED; in cfg80211_wireless_stats()1362 wstats.qual.level = sinfo.signal; in cfg80211_wireless_stats()[all …]