The intention is to use a custom wifi driver on a dev platform running
Android. To test this I did following steps.

boot linux
Mount Android Filesystem
run Android init.
Through serial console issue following commands
1. insmod file.ko
2. wlan_loader
3. ifconfig wlan0 up

scan and assoc.. This works..

Next step was to hook to the Android connection Manager. For that I
have made modification in /hardware/libhardware/wifi/wifi.c file to
include the path and I wrote a wlan_loader utility which will download
my binary. wlan_loader has been tested by above steps. The
functionality of wlan loader is just to download the firmware.

After that when i try to give ifconfig up. The Android hangs. The only
difference is that the module insertion and firmware download is taken
care by Android for the second case.


Is there any problem with the wlan_loader entry in the init.rc file..
Pls advise if there is anything wrong with the entry below...
------------------------------------------------------------------------
init.rc entry-------------------------------
# Doesn't have any arguments..
service wlan_loader /system/bin/wlan_loader
   user root
   group wifi inet system misc radio
   disabled
   oneshot

----------------------------------------------------------------------------------------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to