Skip to contentSkip to conversation

: b43: is there such a thing as radio 0x2062 rev 2?

PATCH In review [email protected] 2 participants 2 messages Aug 15, 2010 1 message not in the archive Networking drivers (wireless)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1682961998.136221281896329090.JavaMail.root@zimbra3-e1.priv.proxad.net

#1 lore raw

PATCH 1/1 : b43: is there such a thing as radio 0x2062 rev 2?

Hi,

On a DELL D630 with BCM4312 (low-power PHY 4e4:4315 rev 01), I was able to fix the problem:

Aug 15 17:14:45 dimitri kernel: b43-phy0 debug: RC calib: Failed to switch to channel 7, error = -5

by bumping the radio's version (0x2062 rev 2) to 0x2063 (kept rev 2).

Before the fix, the hardware detected as:

Aug 15 17:14:45 dimitri kernel: b43-phy0: Broadcom 4312 WLAN found (core revision 15)
Aug 15 17:14:45 dimitri kernel: b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1
Aug 15 17:14:45 dimitri kernel: b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2

The problem manifested itself (permanently) as:

Aug 15 18:18:10 dimitri kernel: b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
Aug 15 18:18:10 dimitri kernel: b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz.
Aug 15 18:18:10 dimitri kernel: b43-phy0 debug: RC calib: Failed to switch to channel 7, error = -5

The patch follows, tested on 2.6.32.18 and 2.6.35.2, both built for x86_64.

---
b43: Bump the radio version 0x2063-rev-2 to 0x2063.

Signed-off-by <[email protected]>

---

drivers/net/wireless/b43/main.c +1 -0
index 7965b70..d245a23 100644
@@ -4084,6 +4084,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
        case B43_PHYTYPE_LP:
                if (radio_ver != 0x2062 && radio_ver != 0x2063)
                        unsupported = 1;
+		radio_ver += radio_rev > 1;
                break;
        default:
                B43_WARN_ON(1);
#2 lore raw

Does the card actually work if you make b43 believe that it has a BCM2063 radio?

BTW, all BCM2062 radios seen so far are rev.2, and none have shown this error. Maybe your card actually has a BCM2063 radio, but for some reason b43 detects it as a BCM2062?

Also, does the Broadcom hybrid driver handle your card?

Thanks,
Gábor.

Quoted 45 lines · On Sun, Aug 15, 2010 at 8:27 PM, <[email protected]> wrote:

Hi,

On a DELL D630 with BCM4312 (low-power PHY 4e4:4315 rev 01), I was able to fix the problem:

Aug 15 17:14:45 dimitri kernel: b43-phy0 debug: RC calib: Failed to switch to channel 7, error = -5

by bumping the radio's version (0x2062 rev 2) to 0x2063 (kept rev 2).

Before the fix, the hardware detected as:

Aug 15 17:14:45 dimitri kernel: b43-phy0: Broadcom 4312 WLAN found (core revision 15)
Aug 15 17:14:45 dimitri kernel: b43-phy0 debug: Found PHY: Analog 6, Type 5, Revision 1
Aug 15 17:14:45 dimitri kernel: b43-phy0 debug: Found Radio: Manuf 0x17F, Version 0x2062, Revision 2

The problem manifested itself (permanently) as:

Aug 15 18:18:10 dimitri kernel: b43-phy0: Loading firmware version 478.104 (2008-07-01 00:50:23)
Aug 15 18:18:10 dimitri kernel: b43-phy0 debug: b2062: Using crystal tab entry 19200 kHz.
Aug 15 18:18:10 dimitri kernel: b43-phy0 debug: RC calib: Failed to switch to channel 7, error = -5

The patch follows, tested on 2.6.32.18 and 2.6.35.2, both built for x86_64.

---
b43: Bump the radio version 0x2063-rev-2 to 0x2063.

Signed-off-by <[email protected]>

---

drivers/net/wireless/b43/main.c +0 -0
index 7965b70..d245a23 100644
@@ -4084,6 +4084,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)

       case B43_PHYTYPE_LP:
               if (radio_ver != 0x2062 && radio_ver != 0x2063) unsupported = 1;
+               radio_ver += radio_rev > 1;
               break;
       default:
               B43_WARN_ON(1);
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)