Lines Matching refs:wstats
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()
64 wstats->qual.noise = local->avg_noise; in hostap_get_wireless_stats()
66 wstats->qual.qual = 0; in hostap_get_wireless_stats()
67 wstats->qual.level = 0; in hostap_get_wireless_stats()
68 wstats->qual.noise = 0; in hostap_get_wireless_stats()
69 wstats->qual.updated = IW_QUAL_ALL_INVALID; in hostap_get_wireless_stats()
72 return wstats; in hostap_get_wireless_stats()