CMD22(CMD_802_11_DATA_RATE)failure problem

Cliff Cai xcahua at
Fri Aug 29 09:40:32 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.
 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
 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
 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
 But it seems eth1 doesn't work,when I set a static IP to eth1, pinging AP fails.
>ifconfig eth1 myip
>route add default gw mygateway
>ping mygateway

 ping statistics shows that several packets transmitted but got 0 packets.
 I also set the same static IP to my PC,everything is OK.
 I think it has something to do with the failure of CMD22.
 Any idea is appreciated.
 Best Regards
 Cliff Cai


More information about the libertas-dev mailing list