diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2006-09-25 22:33:20 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 06:11:56 +0100 |
commit | f04e2be7d9b73a1da7be99a08b3695074e14970c (patch) | |
tree | 8b0d85daac4b3c157dc9d9556ee508f4a2bf04b9 /drivers/net/wireless/bcm43xx/bcm43xx.h | |
parent | [PATCH] 8390 fixes - the final chunk (h8300) (diff) | |
download | linux-f04e2be7d9b73a1da7be99a08b3695074e14970c.tar.xz linux-f04e2be7d9b73a1da7be99a08b3695074e14970c.zip |
[PATCH] bcm43xx: output proper link quality with scans
The bcm43xx-softmac driver fails to set two quantities needed for
iwlist to compute wireless quality when scanning. As a result, userland
programs using the quality to determine the best connection fail.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx.h')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx.h b/drivers/net/wireless/bcm43xx/bcm43xx.h index d6a8bf09878e..5f43d7f42af1 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx.h +++ b/drivers/net/wireless/bcm43xx/bcm43xx.h @@ -365,6 +365,9 @@ #define BCM43xx_DEFAULT_SHORT_RETRY_LIMIT 7 #define BCM43xx_DEFAULT_LONG_RETRY_LIMIT 4 +/* FIXME: the next line is a guess as to what the maximum RSSI value might be */ +#define RX_RSSI_MAX 60 + /* Max size of a security key */ #define BCM43xx_SEC_KEYSIZE 16 /* Security algorithms. */ |