Richard Jonsson wrote:

With the reverted commit "b43: Fix bandswitch" back in, and the above patch applied the bad behavior is back. This is on mainline.

regards, Richard

My interface was definitely a BCM4311 with only B/G mode. I don't have it anymore as it came in a laptop that was replaced by HP. In the new machine was a BCM4310, which has a PCI id of 4315. It has an LP-PHY and is not yet supported. Fortunately, I had a 4311/2 on the shelf, which is the card I am now using.


Please try this revised patch on mainline with "b43: Fix bandswitch" back in and my previous one out.

Larry



Index: wireless-testing/drivers/net/wireless/b43/main.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/b43/main.c
+++ wireless-testing/drivers/net/wireless/b43/main.c
@@ -4331,6 +4331,8 @@ static int b43_wireless_core_attach(stru
        err = b43_validate_chipaccess(dev);
        if (err)
                goto err_powerdown;
+       if (have_2ghz_phy)
+               have_5ghz_phy = 0; /* temporarily forbid dual-mode operation */
        err = b43_setup_bands(dev, have_2ghz_phy, have_5ghz_phy);
        if (err)
                goto err_powerdown;
Index: wireless-testing/drivers/net/wireless/b43/main.c
===================================================================
--- wireless-testing.orig/drivers/net/wireless/b43/main.c
+++ wireless-testing/drivers/net/wireless/b43/main.c
@@ -4331,6 +4331,8 @@ static int b43_wireless_core_attach(stru
        err = b43_validate_chipaccess(dev);
        if (err)
                goto err_powerdown;
+       if (have_2ghz_phy)
+               have_5ghz_phy = 0; /* temporaryily forbid dual-mode operation */
        err = b43_setup_bands(dev, have_2ghz_phy, have_5ghz_phy);
        if (err)
                goto err_powerdown;

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

Reply via email to