WPA / 54G WLAN success on A5 here :-D

Andy Green andy at openmoko.com
Fri Feb 1 13:03:37 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
> Hi Andy,
> 
> On Fri, Feb 01, 2008 at 11:44:12AM +0000, Andy Green wrote:
> Somebody in the thread at some point said:
> 
>>>>>> 2) If I scp a big file from another machine to /dev/null, the link stalls,
>>>>>> and it looks like the module is dead.
> Little bit more:
> 
> [ 9758.890000] AR6000 scan complete: 0
>> Did you get this _after_ the link has stalled ?

Yes, stall happened at +8812s +/- 2s.  Then the syslog had this behaviour:

[ 8876.795000] AR6000 Neighbor Report Event
[ 8876.795000] bssid 00:11:50:xx:xx:xx
[ 8939.665000] AR6000 scan complete: 0
[ 8939.670000] AR6000 Neighbor Report Event
[ 8939.670000] bssid 00:11:50:xx:xx:xx
[ 9002.545000] AR6000 scan complete: 0

... repeats stanza at 1m intervals ...

[ 9633.145000] AR6000 Neighbor Report Event
[ 9633.145000] bssid 00:11:50:xx:xx:xx
[ 9696.015000] AR6000 scan complete: 0
[ 9696.020000] AR6000 Neighbor Report Event
[ 9696.020000] bssid 00:11:50:xx:xx:xx
[ 9745.990000] channel hint set to 2437
[ 9747.995000] Connect called with authmode 5 dot11 auth 1 PW crypto 4
PW crypto Len 0 GRP crypto 3 GRP crypto Len 0
[ 9758.890000] AR6000 scan complete: 0
[ 9758.900000] AR6000 Neighbor Report Event
[ 9758.900000] bssid 00:11:50:xx:xx:xx
[ 9761.900000] channel hint set to 2437
[ 9763.900000] Connect called with authmode 5 dot11 auth 1 PW crypto 4
PW crypto Len 0 GRP crypto 3 GRP crypto Len 0
[ 9781.910000] channel hint set to 2437
[ 9783.910000] Connect called with authmode 5 dot11 auth 1 PW crypto 4
PW crypto Len 0 GRP crypto 3 GRP crypto Len 0
[ 9801.920000] channel hint set to 2437
[ 9803.920000] Connect called with authmode 5 dot11 auth 1 PW crypto 4
PW crypto Len 0 GRP crypto 3 GRP crypto Len 0
[ 9821.770000] AR6000 scan complete: 0
[ 9821.775000] AR6000 Neighbor Report Event
[ 9821.775000] bssid 00:11:50:xx:xx:xx
[ 9821.935000] channel hint set to 2437
[ 9823.935000] Connect called with authmode 5 dot11 auth 1 PW crypto 4
PW crypto Len 0 GRP crypto 3 GRP crypto Len 0
[ 9823.940000] WMI Control Endpoint is FULL!!!

> [ 9823.940000]  WMI Control EP full, dropping packet : 0xC7C43EC0, len:54
> [ 9833.960000]  WMI Control EP full, dropping packet : 0xC7E99A60, len:7
> [ 9833.960000]  WMI Control EP full, dropping packet : 0xC5429E00, len:19
> [ 9841.965000] channel hint set to 2437
> [ 9843.965000]  WMI Control EP full, dropping packet : 0xC7866900, len:2
> ...

>> I never saw that. Usually, I stop getting SDIO interrupts from the target
>> after the stall. That basically means we're dead. But if you got a scan
>> complete event _after_ the stall, it means you _did_ receive an SDIO
>> interrupt...

Dunno why it should differ, this is the A5 shipped to me with whatever
it had inside.  Here's the dmesg for the init


[    3.760000] S3c2440 SDIO Host controller
[    3.865000] SDIO BusDriver - SDIO_GetBusOSDevice, registering driver:
sdio_s3c24xx_hcd DMAmask: 0x0
[    3.870000] pnp: the driver 'sdio_s3c24xx_hcd' has been registered
[    3.880000] mapped channel 0 to 0
[    3.885000] S3c24xx SDIO: IRQ:37 Detect IRQ:0 DMA channel:0
base at 0xc9c00000 PCLK at 50000 kHz
[    3.895000] SDIO Bus Driver: HCD:sdio_s3c24xx should set module ptr!
[    3.905000] sdio_s3c24xx_hcd 00:00: driver attached
[    3.910000] sdio_s3c24xx_hcd 00:00: SDIO device, IDs SD_0008 (active)
[    3.920000] pnp: the driver 'sdio_wlan' has been registered

[   15.930000] CRCFAIL 0x1a3f
[   15.930000] CRCFAIL 0x1a3f
[   15.930000] Current Request Command:5, ARG:0x00000000 flags: 0x0008
[   16.335000] CRCFAIL 0x1a3f
[   16.335000] CRCFAIL 0x1a3f
[   16.335000] Current Request Command:5, ARG:0x00100000 flags: 0x0008
[   16.350000] CRCFAIL 0x1a3f
[   16.350000] CRCFAIL 0x1a3f
[   16.350000] Current Request Command:5, ARG:0x00100000 flags: 0x0008
[   16.480000] sdio_wlan 00:01: driver attached
[   16.485000] sdio_wlan 00:01: SDIO device, IDs SD_0001 (active)
[   17.555000] Unsupported configuration opcode: 3
[   17.560000] Unsupported configuration opcode: 5
[   17.570000] ar6000_available
[   17.590000] BMI Get Target Info: Exit (ver: 0x20000028 type: 0x1)
[   17.600000] Block Size Set: 128 (target address:0x8000066C)
[   17.615000] ar6000_init() Got WMI @ 0xc7d96800.
[   17.655000] SDIO_INT_CTRL enable IRQ
[   17.665000] mac address = 00:12:cf:74:1f:b1
[   17.675000] AR6000 Reg Code = 0x40000060
[   17.680000] ar6000_init() WMI is ready
[   17.720000] ar6000_avail: name=eth0 htcTarget=0xc7f24000,
dev=0xc7f30000 (0), ar=0xc7f304a0

>> Thanks for your time.

No problem, let me know if you want any tests.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHowqZOjLpvpq7dMoRAnDPAKCFyRtHrJJW5jp1qccTkW0VW+sYdgCeK9EG
3LGnpcplfXi8BBKpDLxdXyU=
=vvv7
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list