Thanks Dimitry,

I updated the guide. On second look I found out why it the android private
namespace socket didn't work for me.If /data/system/wpa_supplicant folder
exists the ifname will be built incorrect in wifi.c wpa_ctrl_open()
function.

Do you think I should submit the wpa driver that emulates android
priv_driver_cmd() (driver_awext.c) to android source review ?

Thanks,
Nicu  Pavel

On Fri, May 7, 2010 at 10:21 PM, dimitr...@android.com <
dimitr...@android.com> wrote:

> Very good and useful guide. Just want to add to wpa_supplicant socket
> control.
> Despite you can use it as you mentioned the idea was to use special
> socket pair implementation like this:
>
> wpa_supplicant.conf:
>  ctrl_interface=wlan0
>
> init.xxx.rc:
> service wpa_supplicant /system/bin/wpa_supplicant \
>    -Dxxxx -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
>     socket wpa_wlan0 dgram 660 wifi wifi
>     disabled
>    oneshot
>
> On May 6, 4:09 am, Nicu Pavel <npa...@ituner.com> wrote:
> > I've written a how-to guide for adding WiFi driver to android and
> > configuring the necessary software:
> >
> > http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-androi...
> >
> > Regards,
> > Nicu Pavel
> >
> > --
> > unsubscribe: 
> > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> > website:http://groups.google.com/group/android-porting
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to