All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bcm43xx-d80211: update to new statistics reporting API
@ 2007-02-12  3:13 Michael Wu
  0 siblings, 0 replies; only message in thread
From: Michael Wu @ 2007-02-12  3:13 UTC (permalink / raw)
  To: Michael Buesch; +Cc: linux-wireless, Jiri Benc

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

bcm43xx-d80211: update to new statistics reporting API

This patch updates bcm43xx-d80211 to the new statistics reporting API.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
---

 drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c 
b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
index 9f4d51d..054ea09 100644
--- a/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
+++ b/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
@@ -3560,7 +3560,9 @@ static int bcm43xx_wireless_init(struct
 		    IEEE80211_HW_MONITOR_DURING_OPER |
 		    IEEE80211_HW_DEVICE_HIDES_WEP |
 		    IEEE80211_HW_WEP_INCLUDE_IV;
-	hw->maxssi = BCM43xx_RX_MAX_SSI;
+	hw->max_rssi = -110;
+	hw->max_signal = BCM43xx_RX_MAX_SSI;
+	hw->max_noise = -110;
 	hw->queues = 1;
 	hw->dev = &dev->dev;
 	if (is_valid_ether_addr(sprom->r1.et1mac)) {

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-12  3:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12  3:13 [PATCH] bcm43xx-d80211: update to new statistics reporting API Michael Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.