netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Set floor of wireless signal and noise at -110 dBm
@ 2006-08-24  4:02 Larry Finger
  0 siblings, 0 replies; only message in thread
From: Larry Finger @ 2006-08-24  4:02 UTC (permalink / raw)
  To: John Linville
  Cc: netdev-u79uwXL29TY76Z2rM5mHXA, Bcm43xx-dev-0fE9KPoRgkgATYTw5x5z8w,
	Michael Buesch

John,

Please apply to wireless-2.6.

Thanks, Larry

===========================================

This patch sets the floor of wireless level (signal) and noise at -110 dBm, which makes them be 
comatible with RCPI, as discussed by Simon Barber. With this change, bcm43xx-softmac and 
bcm43xx-d80211 behave the same.

Signed-Off-By: Larry Finger <Larry.Finger-tQ5ms3gMjBLk1uMJSBkQmQ@public.gmane.org>

diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_wx.c b/drivers/net/wireless/bcm43xx/bcm43xx_wx.c
index 1d3a3aa..888077f 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx_wx.c
+++ b/drivers/net/wireless/bcm43xx/bcm43xx_wx.c
@@ -229,8 +229,8 @@ static int bcm43xx_wx_get_rangeparams(st
  	range->throughput = 27 * 1000 * 1000;

  	range->max_qual.qual = 100;
-	range->max_qual.level = 152; /* set floor at -104 dBm (152 - 256) */
-	range->max_qual.noise = 152;
+	range->max_qual.level = 146; /* set floor at -110 dBm (146 - 256) */
+	range->max_qual.noise = 146;
  	range->max_qual.updated = IW_QUAL_ALL_UPDATED;

  	range->avg_qual.qual = 50;

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

only message in thread, other threads:[~2006-08-24  4:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24  4:02 [PATCH] Set floor of wireless signal and noise at -110 dBm Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).