wpa_supplicant with ralink rt3070

1,359 views
Skip to first unread message

Qipeng

unread,
Jul 18, 2011, 11:50:37 AM7/18/11
to android-porting, zhang....@furuno-dl.com
Hello, everybody here

there is something wrong with my USB WIFI driver 'rt3070' that when I
am starting the wpa_supplicant in android console for debug, the
rt3070 is just responding at "Authorization request time out” and then
"Failed to AP scan", they are looping.

I know the method of porting of WIFI driver is talked time and time
again, but I think this problem is a little special, because I had
already changed the Boardconfig.mk, /hardware/xxx/wifi.c, /external/
wpa_supplicant, and init.rc, and put the wpa_supplicant.conf into the /
syste/etc/wifi.

for reference, I make sure that the rt3070 driver worked well with
iwconfig and iwlist and dhcpcd, but failed in wpa_supplicant.

would anyone like to give me some clues?
thanks a lot.

best regards

lnxarm

unread,
Jul 20, 2011, 12:25:46 PM7/20/11
to qipeng.zhang0818, android-porting, zhang.qipeng
What is your dongle's volt?
 
 
 
2011-07-20

lnxarm

发件人: Qipeng
发送时间: 2011-07-18  12:02:24
收件人: android-porting
抄送: zhang.qipeng
主题: [android-porting] wpa_supplicant with ralink rt3070

hedwin

unread,
Jul 28, 2011, 4:22:51 PM7/28/11
to android-porting
What does logcat say?

2011/7/20 lnxarm <lnx...@gmail.com>

venkat k raju

unread,
Aug 24, 2012, 8:27:37 AM8/24/12
to hedwin...@gmail.com, android-porting
Hi all,

now i am facing same problem like qipeng zhang was facing with usb based rt3070 wifi module..

if i use dhcpcd tool

#dhcpcd -d ra0 

then i am able to get the ip address 
#netcfg 
ra0      UP    169.254.74.119  255.255.0.0     0x00001043

if i use wpa_supplicant i am able to scan the wifi ssid's but i am unable to connect it.


please can anybody help on this & please find my logcat message








thanks&Regards
k.v.raju
minicom_wifi_check2.txt

Hoang Duong

unread,
Jul 21, 2013, 12:16:10 PM7/21/13
to android...@googlegroups.com, zhang....@furuno-dl.com
i have same problem with porting GWF-3M08 modules with Ralink RT5370 chip to Android JellyBean.

At this moment i can build linux driver for RT5370 and install it to linux kernel successfully. This is netcfg log file:
root@android:/ # netcfg
lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00
sit0     DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
eth0     UP                                     0.0.0.0/0   0x00001003 c8:a0:30:c4:06:6a
ra0      UP                              169.254.156.87/16  0x00001043 7c:dd:90:1e:41:0c

But i can not connect ra0 to wifi network. Logcat file says that i can not start wpa_supplicant in the right way:
E/WifiStateMachine(  240): Failed to reload STA firmware java.lang.IllegalStateException: command '12 softap fwreload ra0 STA' failed with '400 12 Softap operation failed (No such device)'
D/CommandListener(   68): Setting iface cfg
D/CommandListener(   68): Trying to bring down ra0
E/NetdConnector(  240): NDC Command {14 interface setcfg ra0 169.254.156.87 16 running multicast down broadcast} took too long (1259ms)
E/WifiHW  (  240): unexpected - found 0 phys in /sys/class/ieee80211
E/WifiHW  (  240): could not add P2P interface: -19
E/WifiHW  (  240): Wi-Fi - could not create p2p interface
E/WifiStateMachine(  240): Failed to start supplicant!

Anyone resolved this problem?

motive park

unread,
Nov 13, 2015, 8:20:53 AM11/13/15
to android-porting, hedwin...@gmail.com
Thank you...

2012년 8월 24일 금요일 오후 9시 27분 37초 UTC+9, venkat k raju 님의 말:
What does logcat say?


2011/7/20 lnxarm <lnx...@gmail.com>



--
thanks&Regards
k.v.raju
Reply all
Reply to author
Forward
0 new messages