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?