CMD22(CMD_802_11_DATA_RATE)failure problem
Cliff Cai
xcahua at hotmail.com
Sat Aug 30 08:43:46 EDT 2008
>>
>> Hi all,
>>
>> I'm porting a Murata SDIO wifi module(Marvell 8686) to my BF548-EZKIT,
>> libertas driver is the latest one in kernel 2.6.26 tree,firmware version 9.70.3p24.
>
> Hmm, 2.6.26 only tries DATA_RATE if setting the rate via rate adaptation
> fails. It'll never try to get the data rate via DATA_RATE at all. I
> just checked on 2.6.27 and DATA_RATE never gets sent on card insertion.
>
>> After loading the driver modules,eth1 appears,but there are two CMD failures as following:
>>
>> libertas_sdio: Libertas SDIO driver
>> libertas_sdio: Copyright Pierre Ossman
>> firmware: requesting sd8686_helper.bin
>> firmware: requesting sd8686.bin
>> libertas: 00:13:e0:a2:67:aa, fw 9.70.3p24, cap 0x00000303
>> libertas: unidentified region code; using the default (USA)
>> libertas: PREP_CMD: command 0x0022 failed: 2
>> libertas: PREP_CMD: command 0x00a3 failed: 2
>> libertas: PREP_CMD: command 0x00a3 failed: 2
>
> These (the 0x00a3) should be harmless.
>
>> libertas: eth1: Marvell WLAN 802.11 adapter
>>
>> CMD22 is used to set data rate,so when I run" iwconfig eth1",it shows that bit rate is 0.
>> and "iwconfig eth1 rate auto" also failed
>
> It'll show the data rate as 0 until you transmit or receive some frames,
> because the rate isn't actually known until (a) you've associated to
> something and (b) you've tx/rxed some frames.
>
> Setting the rate to auto shouldn't fail though, sounds like a bug. But
> this looks like it's fixed in 2.6.27, no error is returned.
>
> What's the git commit hash of the version of libertas you're using?
> 2.6.26 vanilla?
>
>> eth1 IEEE 802.11b/g ESSID:""
>> Mode:Managed Frequency:2.412 GHz Access Point: 00:00:00:00:00:00
>> Bit Rate:0 kb/s Tx-Power=18 dBm
>> Retry limit:8 RTS thr=2347 B Fragment thr=2346 B
>> Encryption key:off
>> Power Management:off
>> Link Quality:0 Signal level:0 Noise level:0
>> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
>> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>>
>> I'm able to run:
>>>ifconfig eth1 up
>>>iwlist eth1 scan
>> and get the available AP information.
>> also I successfully run
>>>iwconfig eth1 essid myAPname
>
> Does the AP use any encryption? Does an "iwconfig" show a valid BSSID
It's exactly the encryption problem!
Thanks Dan!
One more question,I want to know if there is available firmware support SDIO SPI mode now?
I saw a post said it was not support that time ,how about now?
http://lists.infradead.org/pipermail/libertas-dev/2008-March/001382.html
Thanks a lot!
Cliff Cai
_________________________________________________________________
用手机MSN聊天写邮件看空间,无限沟通,分享精彩!
http://mobile.msn.com.cn/
More information about the libertas-dev
mailing list