Lines Matching refs:wstats
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()
54 wstats->qual.noise = local->avg_noise; in hostap_get_wireless_stats()
56 wstats->qual.qual = 0; in hostap_get_wireless_stats()
57 wstats->qual.level = 0; in hostap_get_wireless_stats()
58 wstats->qual.noise = 0; in hostap_get_wireless_stats()
59 wstats->qual.updated = IW_QUAL_ALL_INVALID; in hostap_get_wireless_stats()
62 return wstats; in hostap_get_wireless_stats()