d80211/bcm43xx: Modify struct bcm43xx_stats for wireless statistics.
Subsystems (3)
PATCH 4/8 d80211/bcm43xx: Modify struct bcm43xx_stats for wireless statistics.
Part 4 of 8 to add wireless statistics to the bcm43xx-d80211 system. This patch removes link_quality and adds link_noise to struct bcm43xx_stats and defines BCM43xx_RX_MAX_SSI, which is the maximum value for rssi.
The patch is for the August 8 version of Linville's wireless-dev tree.
Signed-off-by Larry Finger <[email protected]>
(quoted diff) +0 -0
b/drivers/net/wireless/d80211/bcm43xx/bcm43xx.h
index a0faeca..75174f9 100644
drivers/net/wireless/d80211/bcm43xx/bcm43xx.h +3 -1
@@ -27,6 +27,8 @@ #define BCM43xx_IRQWAIT_MAX_RETRIES 50#define BCM43xx_IO_SIZE 8192 +#define BCM43xx_RX_MAX_SSI 60 +/* Active Core PCI Configuration Register. */ #define BCM43xx_PCICFG_ACTIVE_CORE 0x80/* SPROM control register. */
@@ -623,7 +625,7 @@ struct bcm43xx_noise_calculation { };struct bcm43xx_stats { -u8 link_quality; +u8 link_noise;/* Store the last TX/RX times here for updating the leds. */ unsigned long last_tx;unsigned long last_rx;