Lines Matching +full:com +full:- +full:seq
4 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com>
5 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
11 * The /proc/net/wireless file is a human readable user-space interface
13 * This is the most popular part of the Wireless Extensions ;-)
29 static void wireless_seq_printf_stats(struct seq_file *seq, in wireless_seq_printf_stats() argument
39 if (dev->wireless_handlers) in wireless_seq_printf_stats()
43 if (dev->ieee80211_ptr) in wireless_seq_printf_stats()
49 seq_printf(seq, "%6s: %04x %3d%c %3d%c %3d%c %6d %6d %6d " 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()
67 stats->qual.updated &= ~IW_QUAL_ALL_UPDATED; in wireless_seq_printf_stats()
71 /* ---------------------------------------------------------------- */
75 static int wireless_dev_seq_show(struct seq_file *seq, void *v) in wireless_dev_seq_show() argument
80 seq_printf(seq, "Inter-| sta-| Quality | Discarded " in wireless_dev_seq_show()
86 wireless_seq_printf_stats(seq, v); in wireless_dev_seq_show()
90 static void *wireless_dev_seq_start(struct seq_file *seq, loff_t *pos) in wireless_dev_seq_start() argument
92 struct net *net = seq_file_net(seq); in wireless_dev_seq_start()
107 static void *wireless_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos) in wireless_dev_seq_next() argument
109 struct net *net = seq_file_net(seq); in wireless_dev_seq_next()
117 static void wireless_dev_seq_stop(struct seq_file *seq, void *v) in wireless_dev_seq_stop() argument
132 if (!proc_create_net("wireless", 0444, net->proc_net, in wext_proc_init()
134 return -ENOMEM; in wext_proc_init()
141 remove_proc_entry("wireless", net->proc_net); in wext_proc_exit()