On Sunday 08 April 2007 20:02, Larry Finger wrote: > Link Quality=219/60 Signal level=-200 dBm Noise level=-69 dBm > Try the attached patch without your "bcm43xx-mac80211: Fix error in initiallizing max RSSI and max signal" patch. -Michael Wu
bcm43xx-mac80211: Swap ssi and signal reporting From: Michael Wu <flamingice@xxxxxxxxxxxx> The ssi and signal reporting in bcm43xx-mac80211 should be swapped. Signed-off-by: Michael Wu <flamingice@xxxxxxxxxxxx> --- .../net/wireless/mac80211/bcm43xx/bcm43xx_xmit.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.c b/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.c index cfc84cd..4f163a5 100644 --- a/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.c +++ b/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.c @@ -529,12 +529,12 @@ void bcm43xx_rx(struct bcm43xx_wldev *dev, } } - status.signal = bcm43xx_rssi_postprocess(dev, jssi, + status.ssi = bcm43xx_rssi_postprocess(dev, jssi, (phystat0 & BCM43xx_RX_PHYST0_OFDM), (phystat0 & BCM43xx_RX_PHYST0_GAINCTL), (phystat3 & BCM43xx_RX_PHYST3_TRSTATE)); status.noise = dev->stats.link_noise; - status.ssi = jssi; + status.signal = jssi; if (phystat0 & BCM43xx_RX_PHYST0_OFDM) status.rate = bcm43xx_plcp_get_bitrate_ofdm(plcp); else
Attachment:
pgpJwAObZuBwJ.pgp
Description: PGP signature