[android-porting] Porting Wifi driver on Android

2010-02-23 Thread Gaan
Hi everyone, I'm porting wifi driver (Ralink chip) on Android 2.0.1 board. first of all I made some modifies (1) modify build/target/board/generic/BoardConfig.mk add HAVE_CUSTOM_WIFI_DRIVER_2 := true (2) Android using wpa_supplicant to management wifi. Make sure external/wpa_supplicant

[android-porting] Re: wpa_supplicant issue

2010-02-23 Thread Gaan
Hi everyone, I got the similar situation. and I tried what Brandon said. I modify wpa_supplicant.conf #ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=system ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi but the same result occurred. I use Ralink usb wifi rt3070sta.ko. and I

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
out why On 3月3日, 上午3時07分, Brandon wrote: > In yourwpa_supplicant.conf, change your GROUP=system to GROUP=wifi. > If you create /data/system/wpa_supplicantusing 0777 wifi wifi, your > group needs to be wifi so the correct permissions can be used. I had > this issue befo

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
ions are required in init.rc and .conf file - If I remember > correctly (does seem a long time ago ...). > > regards, > Pavan > > 2010/3/3 Gaan > > > > > I found the problem is that the directory /data/system/wpa_supplicant > > is not creat after bootup > >

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
> Only then issues with UI become easier to crack. > (sorry for the suggestion being more philosophical than technical). > > regards, > Pavan > > 2010/3/3 Gaan > > > > > Hi, savoy > > I did in wpa_supplicant.conf and init.rc > > here goes my wpa_supp

[android-porting] Re: Porting Wifi driver on Android

2010-03-03 Thread Gaan
)) < 0) { close(ctrl->s); unlink(ctrl->local.sun_path); os_free(ctrl); LOGE("wpa_ctrl_open (5)"); return NULL; } return ctrl; On 3月3日, 下午10時07分, Gaan wrote: > I think stop trying

[android-porting] Re: Porting Wifi driver on Android

2010-03-29 Thread Gaan
after one month, it works. On 3月3日, 下午10時07分, Gaan wrote: > I think stop trying it from GUI maybe a good idea. > and I figure out why fail. because I pass ctrl_path /data/system/ > wpa_supplicant/ra0 to wpa_ctrl_open > but I didn't creat "ra0" this directory under /da