Go to the documentation of this file.
5 #include <linux/kernel.h>
6 #include <linux/netdevice.h>
7 #include <linux/if_arp.h>
9 #include <linux/rtnetlink.h>
10 #include <linux/wireless.h>
27 return dev->
reg_state == NETREG_REGISTERED;
46 if (dev_isalive(dev)) {
51 wl_unlock(lp, &flags);
53 "TxUnicastFrames: %u\n"
54 "TxMulticastFrames: %u\n"
56 "TxUnicastOctets: %u\n"
57 "TxMulticastOctets: %u\n"
58 "TxDeferredTransmissions: %u\n"
59 "TxSingleRetryFrames: %u\n"
60 "TxMultipleRetryFrames: %u\n"
61 "TxRetryLimitExceeded: %u\n"
63 "RxUnicastFrames: %u\n"
64 "RxMulticastFrames: %u\n"
66 "RxUnicastOctets: %u\n"
67 "RxMulticastOctets: %u\n"
69 "RxDiscardsNoBuffer: %u\n"
70 "TxDiscardsWrongSA: %u\n"
71 "RxWEPUndecryptable: %u\n"
72 "RxMsgInMsgFragments: %u\n"
73 "RxMsgInBadMsgFragments: %u\n"
74 "RxDiscardsWEPICVError: %u\n"
75 "RxDiscardsWEPExcluded: %u\n"
101 wl_unlock( lp, &flags );
111 static struct attribute *wlags_attrs[] = {
112 &dev_attr_tallies.attr,
118 .attrs = wlags_attrs,