Tsai Dung-Bang wrote:
On Sunday 24 September 2006 15:12, Tsai Dung-Bang wrote:
> Hello
>
> I apply the 3 patches as attachment.
>
> In general, it's working fine and stable, and I do not need to rmmod 
> and insmod several time to enable the connetction.
>
> But after apply these patches, my network-manager (0.6.3) could not 
> handle my wireless card anymore, even in non- encryption mode. So I 
> need to use iwconfig to setup my wireless.
>
> The second problem is the network-manager display all the quaintly 
> 100%, I  guess the problem is due to iwlist eth0 scanning is always 
> 100% but iwconfig display the correct values.

The problem was that bcm43xx never filled in the values in bcm->ieee that
are needed by iwlist. This patch fixes the problem here. It is intended
for wireless-2.6, but should work since you have applied the 3 patches.

Larry


Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx.h
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx.h
+++ wireless-2.6/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. */
Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
--- wireless-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -3648,6 +3648,8 @@ static int bcm43xx_read_phyinfo(struct b
                       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);


---

_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to