ath5k: simplify MIB counters
authorBruno Randolf <br1@einfach.org>
Thu, 25 Mar 2010 05:49:36 +0000 (14:49 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:09 +0000 (14:39 -0400)
commit495391d715a310a7cbf622850e372d40ac86ef6e
tree7da16c9d9fea88c9fdbeabc839d4d8380fc317ab
parent9d332c82b4cf2e4538450e4af40f073cc5e599ec
ath5k: simplify MIB counters

Let's keep MIB counter statistics in our own statistics structure and only
convert it to ieee80211_low_level_stats when needed by mac80211. Also we don't
need to read profile count registers in the MIB interrupt (they don't trigger
MIB interrupts).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h
drivers/net/wireless/ath/ath5k/pcu.c