Hi everyone,

I'm trying to get Wi-Fi working on a custom board running an i.MX6 
processor and Android KK.  The driver I need to use is rt2800usb.  I've 
gotten to the point where I can connect to an access point manually using 
wpa_cli, but the Android GUI will not list networks or let me connect to 
any.  Here's what I've done:

BoardConfig.mk:

BOARD_WLAN_DEVICE               := wlan0
WPA_SUPPLICANT_VERSION               := VER_0_8_UNITE
WIFI_DRIVER_MODULE_PATH               := "/system/bin/wifi/rt2800usb.ko"
WIFI_DRIVER_MODULE_NAME               := "rt2800usb"
WIFI_DRIVER_MODULE_ARG                := ""
TARGET_KERNEL_MODULES := \
   kernel_imx/net/wireless/cfg80211.ko:system/lib/modules/cfg80211.ko \
   kernel_imx/net/mac80211/mac80211.ko:system/bin/wifi/mac80211.ko \
   
kernel_imx/drivers/net/wireless/rt2x00/rt2x00lib.ko:system/bin/wifi/rt2x00lib.ko
 
\
   
kernel_imx/drivers/net/wireless/rt2x00/rt2800lib.ko:system/bin/wifi/rt2800lib.ko
 
\
   
kernel_imx/drivers/net/wireless/rt2x00/rt2x00usb.ko:system/bin/wifi/rt2x00usb.ko
 
\
   
kernel_imx/drivers/net/wireless/rt2x00/rt2800usb.ko:system/bin/wifi/rt2800usb.ko
BOARD_WPA_SUPPLICANT_DRIVER           := WEXT

init.rc:

service dhcpcd /system/bin/logwrapper /system/bin/dhcpcd -d -B wlan0
    group system dhcp
    disabled
    oneshot

service wpa_supplicant /system/bin/wpa_supplicant \
    -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
    class main
    group system wifi inet dhcp
    socket wpa_wlan0 dgram 660 wifi wifi
    disabled
    oneshot

I saw someone comment in another post that they needed to modify wifi.c so 
that Android could talk to the drivers/wpa_supplicant properly, but they 
didn't include any details.

Does anyone know why Android can't tell that Wi-Fi is actually working?

Thanks

Marlon

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to