Search Linux Wireless

Re: Speed enhancement for BCM4306/2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gavron@xxxxxxxxxxx wrote:
I haven't tried a build yet, but please let me know if I'm on the right track.

E
# diff -uN /tmp/phy.c drivers/net/wireless/b43legacy/phy.c
--- /tmp/phy.c    2008-09-06 15:13:33.000000000 -0700
+++ drivers/net/wireless/b43legacy/phy.c 2008-09-06 15:54:03.000000000 -0700
@@ -1010,7 +1010,7 @@
        b43legacy_phy_initb5(dev);
    else
        b43legacy_phy_initb6(dev);
-    if (phy->rev >= 2 || phy->gmode)
+    if (phy->rev >= 2 && phy->gmode)
        b43legacy_phy_inita(dev);

    if (phy->rev >= 2) {
@@ -1021,21 +1021,26 @@
        b43legacy_phy_write(dev, 0x0811, 0x0000);
        b43legacy_phy_write(dev, 0x0015, 0x00C0);
    }
-    if (phy->rev > 5) {
+    if (phy->rev >= 3) {

AFAIK, this change is an error in the specs. I have since changed it. Sorry I didn't catch it earlier.

Otherwise, this patch seems to be correct. All you need now are the fixes for b43legacy_phy_initb5() and b43legacy_phy_initb6().

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux