low throughputs with 14e4:4353
Larry Finger
Larry.Finger at lwfinger.net
Wed Dec 7 16:26:42 EST 2011
On 12/07/2011 06:01 AM, Rafał Miłecki wrote:
> 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
Both places should have used chip ID of 43224 and 43225 (at least). The second
also needs 43222 and probably 43228 (I'm still checking that.) The first may
also need 43222 and 43228.
Larry
More information about the b43-dev
mailing list