low throughputs with 14e4:4353

Rafał Miłecki zajec5 at gmail.com
Wed Dec 7 07:01:15 EST 2011


W dniu 5 grudnia 2011 21:39 użytkownik Rafał Miłecki <zajec5 at gmail.com> napisał:
> W dniu 29 listopada 2011 22:36 użytkownik Rafał Miłecki
> <zajec5 at gmail.com> napisał:
>> I'll give it a rest and will try in next days again.
>
> It really seems it's something spur avoidance related (and so most
> probably CC PLL related). After applying my patch implementing SPUR
> avoidance, card stops receiving anything. I'll dig more around it.

I've found bug in my implementation and fixed it. Today evening I'll
test if my patch fixes performance anyhow (I need physical access).

Larry: I've found two mistakes/lacks in the specs.
1) http://bcm-v4.sipsolutions.net/802.11/PmuSpurAvoid
This routine ignores my BCM43224. However from wl MMIO dump I can see
it should make some ops on my chip. Example log from wl:
write32 0xfaaff660 <- 0x00000000
write32 0xfaaff664 <- 0x11100010
write32 0xfaaff660 <- 0x00000001
write32 0xfaaff664 <- 0x000c0c06
write32 0xfaaff660 <- 0x00000002
write32 0xfaaff664 <- 0x03000a08
write32 0xfaaff660 <- 0x00000003
write32 0xfaaff664 <- 0x00000000
write32 0xfaaff660 <- 0x00000004
write32 0xfaaff664 <- 0x200005c0
write32 0xfaaff660 <- 0x00000005
write32 0xfaaff664 <- 0x88888815
 read32 0xfaaff600 -> 0x00000381
write32 0xfaaff600 <- 0x00000781

2) http://bcm-v4.sipsolutions.net/802.11/PHY/N/ChanspecSetup
There is condition: "If the chip is greater than 0x4349 and less then 0x4356".
This should but applied "too"/"instead" for BCM43224 at least. wl
executes that commands for my BCM43224:
write16 0xfaafc62e <- 0x8889
write16 0xfaafc630 <- 0x0008

-- 
Rafał



More information about the b43-dev mailing list