[PATCH 2/3] b43: LCN-PHY: implement disabling radio
Rafał Miłecki
zajec5 at gmail.com
Mon Aug 15 04:14:31 EDT 2011
W dniu 15 sierpnia 2011 01:24 użytkownik Gábor Stefanik
<netrolller.3d at gmail.com> napisał:
> 2011/8/14 Rafał Miłecki <zajec5 at gmail.com>:
>> wl reads radio version, then disables it. That's how we found it in MMIO
>> dump:
>> radio_read(0x0000) -> 0x0031 <-- RADIO READ WITHOUT 0x200 SET!
>> radio_read(0x0001) -> 0x0064 <-- RADIO READ WITHOUT 0x200 SET!
>> radio_read(0x0002) -> 0x0020 <-- RADIO READ WITHOUT 0x200 SET!
>> read32 0xfaafc120 -> 0x04000400
>> phy_read(0x044d) -> 0x0000
>> phy_write(0x044d) <- 0x0000
>> phy_read(0x044c) -> 0x1fff
>> phy_write(0x044c) <- 0x1fff
>> phy_read(0x04b7) -> 0x0000
>> phy_write(0x04b7) <- 0x0000
>> phy_read(0x04b1) -> 0x0000
>> phy_write(0x04b1) <- 0x0000
>> phy_read(0x04b0) -> 0x7dff
>> phy_write(0x04b0) <- 0x7dff
>> phy_read(0x04fa) -> 0x0000
>> phy_write(0x04fa) <- 0x0000
>> phy_read(0x04f9) -> 0x007f
>> phy_write(0x04f9) <- 0x007f
>
> Doesn't brcm80211 support this PHY?
They do, but I still have some stuff RE-ed anyway. That stuff comes
from my tests of MMIO hacks I've done before using them on BCM4331.
> (Because then, reverse-engineering wl is pointless.)
(Unless that's fun for you ;) )
--
Rafał
More information about the b43-dev
mailing list