mac80211: Add more ethtools stats: survey, rates, etc
authorBen Greear <greearb@candelatech.com>
Mon, 23 Apr 2012 19:50:32 +0000 (12:50 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 May 2012 01:53:52 +0000 (21:53 -0400)
commit3073a7c20cea0b7a9946fe61f09d43aa61deb9ea
tree4f9317a18a31e81e08885a7c9c79ed0c836c3413
parente352114fd62f6d568ca0cb18f589cb8df710cf02
mac80211: Add more ethtools stats: survey, rates, etc

The signal and noise are forced to be positive since ethtool
deals in unsigned 64-bit values and this number should be human
readable.  This gives easy access to some of the data formerly
exposed in the deprecated /proc/net/wireless file.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c