Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41461
b: refs/heads/master
c: f04e2be
h: refs/heads/master
i:
  41459: 930c4b8
v: v3
  • Loading branch information
Larry Finger authored and Jeff Garzik committed Dec 2, 2006
1 parent c7e6b55 commit 75e06f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3470cb1d4fb27572273079e7095734ac4f9caa43
refs/heads/master: f04e2be7d9b73a1da7be99a08b3695074e14970c
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/bcm43xx/bcm43xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/bcm43xx/bcm43xx_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3688,6 +3688,8 @@ static int bcm43xx_read_phyinfo(struct bcm43xx_private *bcm)
phy_type);
return -ENODEV;
};
bcm->ieee->perfect_rssi = RX_RSSI_MAX;
bcm->ieee->worst_rssi = 0;
if (!phy_rev_ok) {
printk(KERN_WARNING PFX "Invalid PHY Revision %x\n",
phy_rev);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/bcm43xx/bcm43xx_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
#define BCM43xx_WX_VERSION 18

#define MAX_WX_STRING 80
/* FIXME: the next line is a guess as to what the maximum RSSI value might be */
#define RX_RSSI_MAX 60


static int bcm43xx_wx_get_name(struct net_device *net_dev,
struct iw_request_info *info,
Expand Down

0 comments on commit 75e06f2

Please sign in to comment.