2010-11-11 11:16:42

by raghunath

[permalink] [raw]
Subject: Ti's WL1271 on OMAP3EVM board with kernel version 2.6.36

Hi,

I am working on OMAP3EVM board with Mistral wl1271 daughter board and using
linux kernel 2.6.36 I am using wl1271 drivers and getting this error pls
Let me know if any thing is wrong..


[ 2.556549] wl1271: chip id after firmware boot: 0x4030111
[ 2.576507] wl1271: cmd_box_addr 0x407b4 event_box_addr 0x4ce58
[ 2.576660] wl1271: acx event mbox mask
[ 2.576660] wl1271: cmd configure
[ 2.576995] MBOX ptrs: 0x4ce58 0x4ceac
[ 2.581146] MBOX ptrs: 0x4ce58 0x4ceac
[ 2.585083] wl1271: cmd test
[ 2.585479] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000000: 00 00 00 00
19 00 00 00 00 00 ec f6 00 0c 18 f8
[ 2.585510] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000010: fc 00 08 10
f0 f8 00 0a 14 00 00 00 00 00 00 00
[ 2.585540] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000020: 00 00 00 00
00 00 00 ee f4 f8 fe 05 ea f3 fa 01
[ 2.585571] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000030: 06 e5 f1 fa
02 07 d9 01 80 00 1d 1f 22 26 27 29
[ 2.585571] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000040: 1d 1f 22 26
27 27 16 1d 1e 20 24 25 50 50 50 50
[ 2.585601] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000050: 50 50 50 50
50 50 50 50 50 50 50 50 50 50 50 50
[ 2.585632] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000060: 50 50 50 50
50 50 50 50 01 02 02 02 02 00 15 15
[ 2.585662] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000070: 15 19 19 15
0e 1e 2d 00 9a 01 ae 01 c2 01 cc 01
[ 2.585662] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000080: db 01 db 01
d1 01 80 80 80 80 80 80 80 00 00 00
[ 2.585693] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 00000090: 00 00 00 00
1c 1e 21 23 25 50 18 1e 21 23 25 50
[ 2.585723] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 000000a0: 16 1c 1e 20
20 50 50 50 50 50 50 50 50 50 50 50
[ 2.585754] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 000000b0: 50 50 50 50
50 50 50 50 50 50 50 50 50 50 50 50
[ 2.585754] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 000000c0: 50 50 50 50
50 50 50 50 50 01 02 02 02 02 00 1a
[ 2.585784] wl1271: TEST_CMD_INI_FILE_RADIO_PARAM: 000000d0: 1a 1a 1a 1a
1a 10 10 10 10 10 10 10 1e 2d 00 00
[ 2.585815] wl1271: cmd test
[ 2.586303] wl1271: cmd template_set 2
[ 2.586791] wl1271: cmd template_set 0
[ 2.587219] wl1271: cmd template_set 6
[ 2.587707] wl1271: cmd template_set 5
[ 2.588226] wl1271: cmd template_set 4
[ 2.588714] wl1271: cmd template_set 1
[ 2.589202] wl1271: cmd template_set 7
[ 2.589691] wl1271: cmd template_set 7
[ 2.590179] wl1271: cmd template_set 7
[ 2.590698] wl1271: cmd template_set 7
[ 2.591186] wl1271: wl1271 mem cfg
[ 2.591186] wl1271: cmd configure
[ 2.591674] wl1271: acx mem map
[ 2.591705] wl1271: cmd interrogate
[ 2.592193] wl1271: available tx blocks: 83
[ 2.592193] wl1271: acx rx msdu life time
[ 2.592224] wl1271: cmd configure
[ 2.592468] wl1271: acx rx config
[ 2.592498] wl1271: cmd configure
[ 2.592742] wl1271: acx data pd threshold
[ 2.592742] wl1271: cmd configure
[ 2.593017] wl1271: acx slot
[ 2.593017] wl1271: cmd configure
[ 2.593261] wl1271: acx group address tbl
[ 2.593292] wl1271: cmd configure
[ 2.593627] wl1271: acx service period timeout
[ 2.593627] wl1271: cmd configure
[ 2.593902] wl1271: acx rts threshold
[ 2.593902] wl1271: cmd configure
[ 2.594146] wl1271: acx connection monitor parameters: disabled
[ 2.594177] wl1271: cmd configure
[ 2.594421] wl1271: acx beacon filter opt
[ 2.594451] wl1271: cmd configure
[ 2.594757] wl1271: acx beacon filter table
[ 2.594757] wl1271: cmd configure
[ 2.595092] wl1271: acx tx config options
[ 2.595123] wl1271: cmd configure
[ 2.595367] wl1271: wl1271 rx interrupt config
[ 2.595367] wl1271: cmd configure
[ 2.595642] wl1271: acx sg cfg
[ 2.595642] wl1271: cmd configure
[ 2.598236] wl1271: acx sg enable
[ 2.598236] wl1271: cmd configure
[ 2.598510] wl1271: acx cca threshold
[ 2.598510] wl1271: cmd configure
[ 2.598754] wl1271: acx bcn dtim options
[ 2.598785] wl1271: cmd configure
[ 2.599029] wl1271: acx frag threshold
[ 2.599060] wl1271: cmd configure
[ 2.599304] wl1271: acx tid config
[ 2.599334] wl1271: cmd configure
[ 2.599578] wl1271: acx tid config
[ 2.599578] wl1271: cmd configure
[ 2.599822] wl1271: acx tid config
[ 2.599853] wl1271: cmd configure
[ 2.600097] wl1271: acx tid config
[ 2.600128] wl1271: cmd configure
[ 2.600372] wl1271: acx tid config
[ 2.600372] wl1271: cmd configure
[ 2.600616] wl1271: acx tid config
[ 2.600646] wl1271: cmd configure
[ 2.600891] wl1271: acx tid config
[ 2.600921] wl1271: cmd configure
[ 2.601165] wl1271: acx ac cfg 0 cw_ming 15 cw_max 63 aifs 3 txop 0
[ 2.601196] wl1271: cmd configure
[ 2.601440] wl1271: acx ac cfg 1 cw_ming 15 cw_max 63 aifs 7 txop 0
[ 2.601470] wl1271: cmd configure
[ 2.601715] wl1271: acx ac cfg 2 cw_ming 15 cw_max 63 aifs 1 txop 3008
[ 2.601745] wl1271: cmd configure
[ 2.601989] wl1271: acx ac cfg 3 cw_ming 15 cw_max 63 aifs 1 txop 1504
[ 2.602020] wl1271: cmd configure
[ 2.602264] wl1271: acx rate policies
[ 2.602264] wl1271: cmd configure
[ 2.602630] wl1271: cmd data path
[ 2.602905] wl1271: rx start cmd channel 1
[ 2.603149] wl1271: tx start cmd channel 1
[ 2.603179] wl1271: acx sleep auth
[ 2.603179] wl1271: cmd configure
[ 2.603454] wl1271: acx feature cfg
[ 2.603454] wl1271: cmd configure
[ 2.603881] wl1271: cmd set_default_wep_key 0
[ 2.604370] wl1271: acx pm config
[ 2.604400] wl1271: cmd configure
[ 2.604827] wl1271: acx keep alive config
[ 2.604827] wl1271: cmd configure
[ 2.605255] wl1271: acx keep alive config
[ 2.605285] wl1271: cmd configure
[ 2.605712] wl1271: acx keep alive config
[ 2.605712] wl1271: cmd configure
[ 2.606140] wl1271: acx keep alive config
[ 2.606140] wl1271: cmd configure
[ 2.606567] wl1271: acx keep alive mode: 0
[ 2.606597] wl1271: cmd configure
[ 2.607025] wl1271: acx rssi snr avg weights
[ 2.607025] wl1271: cmd configure
[ 2.607452] wl1271: firmware booted (Rev 6.1.0.0.343)
[ 2.607482] wl1271: mac80211 bss info changed
[ 2.607482] wl1271: acx slot
[ 2.607513] wl1271: cmd configure
[ 2.607940] wl1271: acx_set_preamble
[ 2.607940] wl1271: cmd configure
[ 2.608367] wl1271: acx_set_ctsprotect
[ 2.608398] wl1271: cmd configure
[ 2.608825] phy0: device now idle
[ 2.608886] wl1271: mac80211 config ch 1 psm off power 20 idle
[ 2.608917] wl1271: flushing tx buffer: 0
[ 2.608917] wl1271: acx rate policies
[ 2.608947] wl1271: cmd configure
[ 2.609466] wl1271: acx rate policies
[ 2.609466] wl1271: cmd configure
[ 2.609954] wl1271: acx keep alive config
[ 2.609985] wl1271: cmd configure
[ 2.610473] wl1271: acx dot11_cur_tx_pwr
[ 2.610473] wl1271: cmd configure
[ 2.610931] wl1271: mac80211 conf tx 0
[ 2.610931] wl1271: acx ac cfg 3 cw_ming 7 cw_max 15 aifs 2 txop 3264
[ 2.610961] wl1271: cmd configure
[ 2.611389] wl1271: acx tid config
[ 2.611389] wl1271: cmd configure
[ 2.611816] wl1271: mac80211 conf tx 1
[ 2.611846] wl1271: acx ac cfg 2 cw_ming 15 cw_max 31 aifs 2 txop 6016
[ 2.611877] wl1271: cmd configure
[ 2.612274] wl1271: acx tid config
[ 2.612304] wl1271: cmd configure
[ 2.612731] wl1271: mac80211 conf tx 2
[ 2.612762] wl1271: acx ac cfg 0 cw_ming 31 cw_max 1023 aifs 3 txop 0
[ 2.612762] wl1271: cmd configure
[ 2.613189] wl1271: acx tid config
[ 2.613220] wl1271: cmd configure
[ 2.613647] wl1271: mac80211 conf tx 3
[ 2.613647] wl1271: acx ac cfg 1 cw_ming 31 cw_max 1023 aifs 7 txop 0
[ 2.613677] wl1271: cmd configure
[ 2.614105] wl1271: acx tid config
[ 2.614105] wl1271: cmd configure
[ 2.614532] wl1271: mac80211 bss info changed
[ 2.614593] wl1271: mac80211 configure filter
[ 2.614624] wl1271: acx group address tbl
[ 2.614624] wl1271: cmd configure
[ 2.615173] AIRVOD __dev_change_flags net/core/dev.c ret = 0
[ 2.621398] wl1271: elp work
[ 2.621398] wl1271: chip to elp
[ 2.621459] wl1271: mac80211 configure filter
[ 2.621490] wl1271: waking up chip from elp
[ 3.118377] wl1271: ERROR ELP wakeup timeout!
[ 3.122955] wl1271: mac80211 configure filter
[ 3.122985] wl1271: waking up chip from elp
[ 3.618469] wl1271: ERROR ELP wakeup timeout!
[ 3.626098] Sending DHCP requests .
[ 5.627655] DHCP/BOOTP: Ignoring delayed packet
[ 7.266723] .
[ 8.767333] DHCP/BOOTP: Ignoring delayed packet
[ 12.508941] ., OK
[ 14.017211] IP-Config: Got DHCP answer from 0.0.0.0, my address is
192.168.1.14
[ 14.024993] AIRVOD __dev_change_flags net/core/dev.c ret = 0
[ 14.031341] AIRVOD __dev_change_flags net/core/dev.c ret = 0
[ 14.037750] wl1271: mac80211 configure filter
[ 14.037750] wl1271: waking up chip from elp
[ 14.037872] wl1271: mac80211 configure filter
[ 14.532409] wl1271: ERROR ELP wakeup timeout!
[ 14.537017] wl1271: waking up chip from elp
[ 15.032409] wl1271: ERROR ELP wakeup timeout!
[ 15.037017] wl1271: mac80211 remove interface
[ 15.037017] wl1271: down
[ 15.037139] wl1271: mac80211 stop


Attachments:
log_data.txt (102.52 kB)

2010-11-12 07:16:49

by Shahar Levi

[permalink] [raw]
Subject: RE: Ti's WL1271 on OMAP3EVM board with kernel version 2.6.36

PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBsaW51eC13aXJlbGVzcy1vd25l
ckB2Z2VyLmtlcm5lbC5vcmcgW21haWx0bzpsaW51eC13aXJlbGVzcy0NCj4gb3duZXJAdmdlci5r
ZXJuZWwub3JnXSBPbiBCZWhhbGYgT2YgcmFnaHVuYXRoDQo+IFNlbnQ6IEZyaWRheSwgTm92ZW1i
ZXIgMTIsIDIwMTAgNzo0NyBBTQ0KPiBUbzogJ0x1Y2lhbm8gQ29lbGhvJw0KPiBDYzogbGludXgt
d2lyZWxlc3NAdmdlci5rZXJuZWwub3JnDQo+IFN1YmplY3Q6IFJFOiBUaSdzIFdMMTI3MSBvbiBP
TUFQM0VWTSBib2FyZCB3aXRoIGtlcm5lbCB2ZXJzaW9uIDIuNi4zNg0KPiANCj4gSSBhbSB1c2lu
ZyBmaXJtd2FyZSB2ZXJzaW9uICJ3bDEyNzE6IGZpcm13YXJlIGJvb3RlZCAoUmV2IDYuMS4wLjAu
MzQzKSINCj4gDQo+IFJhZ2h1DQoNCmRvIHlvdSBnZXQgaXQgY29uc3RhbnRseSBvciByYW5kb21s
eT8NClJlZ2FyZHMsDQpTaGFoYXINCg0K

2010-11-12 10:58:52

by Arik Nemtsov

[permalink] [raw]
Subject: Re: Ti's WL1271 on OMAP3EVM board with kernel version 2.6.36

On Fri, Nov 12, 2010 at 11:02, raghunath <[email protected]> wrote:
> Hi Shahar/Luca,
>
> Its constantly coming, I am building wl1271 sdio driver statically and I am running on OMAP3EVM board from Mistral
> And running 2.6.36 kernel and wl1271 sits on MMC2 I have modified code to set PIN MUX and clock for MMC2 and WLAN_EN(GPIO 150)
> And WLAN_IRQ(GPIO-149). I am able to download firmare successfully and get Static data from firmware and Chip ID after firmware
> Download. With this I am assuming that code I modified for MMC2 on EVM is proper(correct me if I am worng) after that ware is
> Failing ,in ELP wake up.
>

Is it only ELP mode that's failing? You can test this by commenting
out these line in wl1271_elp_work():

wl1271_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP);
set_bit(WL1271_FLAG_IN_ELP, &wl->flags);

Regards,
Arik

2010-11-12 09:02:33

by raghunath

[permalink] [raw]
Subject: RE: Ti's WL1271 on OMAP3EVM board with kernel version 2.6.36

Hi Shahar/Luca,

Its constantly coming, I am building wl1271 sdio driver statically and I am running on OMAP3EVM board from Mistral
And running 2.6.36 kernel and wl1271 sits on MMC2 I have modified code to set PIN MUX and clock for MMC2 and WLAN_EN(GPIO 150)
And WLAN_IRQ(GPIO-149). I am able to download firmare successfully and get Static data from firmware and Chip ID after firmware
Download. With this I am assuming that code I modified for MMC2 on EVM is proper(correct me if I am worng) after that ware is
Failing ,in ELP wake up.

[ 2.603698] wl1271: acx ac cfg 1 cw_ming 31 cw_max 1023 aifs 7 txop 0
[ 2.603698] wl1271: cmd configure
[ 2.604125] wl1271: acx tid config
[ 2.604156] wl1271: cmd configure
[ 2.604583] wl1271: mac80211 bss info changed
[ 2.604644] wl1271: mac80211 configure filter
[ 2.604644] wl1271: mac80211 configure filter Airvod 1
[ 2.604675] wl1271: acx group address tbl
[ 2.604675] wl1271: cmd configure
[ 2.605133] wl1271: mac80211 configure filter Airvod 2
[ 2.605224] AIRVOD __dev_change_flags net/core/dev.c ret = 0
[ 2.611450] wl1271: elp work
[ 2.611480] wl1271: chip to elp
[ 2.611541] wl1271: mac80211 configure filter
[ 2.611541] wl1271: waking up chip from elp
[ 3.108551] wl1271: ERROR ELP wakeup timeout!

Raghu

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Levi, Shahar
Sent: Friday, November 12, 2010 12:47 PM
To: raghunath; 'Luciano Coelho'
Cc: [email protected]
Subject: RE: Ti's WL1271 on OMAP3EVM board with kernel version 2.6.36

> -----Original Message-----
> From: [email protected] [mailto:linux-wireless-
> [email protected]] On Behalf Of raghunath
> Sent: Friday, November 12, 2010 7:47 AM
> To: 'Luciano Coelho'
> Cc: [email protected]
> Subject: RE: Ti's WL1271 on OMAP3EVM board with kernel version 2.6.36
>
> I am using firmware version "wl1271: firmware booted (Rev 6.1.0.0.343)"
>
> Raghu

do you get it constantly or randomly?
Regards,
Shahar

N�����r��y���b�X��ǧv�^�)޺{.n�+����{��*ޕ�,�{ay�ʇڙ�,j
��f���h���z��w���
���j:+v���w�j�m����
����zZ+�����ݢj"��!