libertas-uap on imx25 cannot receive

zamek42 zamek42 at gmail.com
Fri Jul 22 06:17:10 EDT 2011


hello All,

I have an imx25 based board with integrated marvell 8688 chip, with 
2.6.35 kernel from Freescale.  The 8688 uses sdio interface.
Libertas is working well with it, but I need to use board in AP mode 
with wpa.

I tried to use libertas-uap, my laptop can connect to it, but when I try 
to ping the board I cannot get any response.
First I didn't set any of security.
When I debug it I have seen it calls os_upload_rx_packet but it cannot 
enters icmp_echo func of icmp.c. I think so sk_buff is not filled 
correctly.

Here is the raw data from sdio:
50 00 00 00 01 00 2a 00 22 00 00 00 54 00 08 01
30 00 00 06 c6 18 02 24 00 21 6a 88 eb f0 ff ff
ff ff ff ff 60 22 ff ff ff ff ff ff 00 21 6a 88
eb f0 08 06 00 01 08 00 06 04 00 01 00 21 6a 88
eb f0 ac 10 00 32 00 00 00 00 00 00 ac 10 00 2a

The first two byte is the packet length (0x50) and the next two byte the 
type of packet (0).
The source mac address is: 00216a88ebf0
and the mac address of the board is: 0006c6180224

My questions:
- where can I find some info to check is it a well formed icmp echo 
request in raw data?
- What I need to check in sk_buff before call netif_rx to check is it 
filled well for network layer?

Unfortunately I cannot debug netif_rx function because the board uses 
nfs rootfs.

-- 
thx
Zoltan (Zamek) Zidarics
programmer
email:zamek42 at gmail.com
skype:zamek_z




More information about the libertas-dev mailing list