Lines Matching refs:wstats
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()
142 wstats->qual.updated = in orinoco_get_wireless_stats()
148 return wstats; in orinoco_get_wireless_stats()