Lines Matching full:stats
32 /* Get stats from the driver */ in wireless_seq_printf_stats()
33 struct iw_statistics *stats = get_wireless_stats(dev); in wireless_seq_printf_stats() local
36 /* show device if it's wireless regardless of current stats */ in wireless_seq_printf_stats()
37 if (!stats) { in wireless_seq_printf_stats()
40 stats = &nullstats; in wireless_seq_printf_stats()
44 stats = &nullstats; in wireless_seq_printf_stats()
48 if (stats) { in wireless_seq_printf_stats()
51 dev->name, stats->status, stats->qual.qual, in wireless_seq_printf_stats()
52 stats->qual.updated & IW_QUAL_QUAL_UPDATED in wireless_seq_printf_stats()
54 ((__s32) stats->qual.level) - in wireless_seq_printf_stats()
55 ((stats->qual.updated & IW_QUAL_DBM) ? 0x100 : 0), in wireless_seq_printf_stats()
56 stats->qual.updated & IW_QUAL_LEVEL_UPDATED in wireless_seq_printf_stats()
58 ((__s32) stats->qual.noise) - in wireless_seq_printf_stats()
59 ((stats->qual.updated & IW_QUAL_DBM) ? 0x100 : 0), in wireless_seq_printf_stats()
60 stats->qual.updated & IW_QUAL_NOISE_UPDATED in wireless_seq_printf_stats()
62 stats->discard.nwid, stats->discard.code, in wireless_seq_printf_stats()
63 stats->discard.fragment, stats->discard.retries, in wireless_seq_printf_stats()
64 stats->discard.misc, stats->miss.beacon); in wireless_seq_printf_stats()
66 if (stats != &nullstats) in wireless_seq_printf_stats()
67 stats->qual.updated &= ~IW_QUAL_ALL_UPDATED; in wireless_seq_printf_stats()