This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Include WIFI to Gingerbread

Other Parts Discussed in Thread: WL1271

Hello I'm trying to include the WIFI module to the Gingerbread 2.3.4 on my Eval Board AM3517EVM. I'm using http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1.1_PortingGuides. Now I have problems with the Linux Kernel settings. I can't get the combination of the kernel configuration as written in the PortingGuide with the menuconfig in the Linux 2.6.37.

  • Make sure the following options are not enabled in the Kernel:
   CONFIG_CFG80211
   CONFIG_LIB80211
   CONFIG_MAC80211

Else corresponding Wireless Compat driver modules will not build.

  • On the other hand following Config options should be enabled in Kernel:
   CONFIG_WIRELESS_EXT=y
   CONFIG_WEXT_CORE=y
   CONFIG_WEXT_PROC=y
   CONFIG_WEXT_PRIV=y

 Do I have to install the patch? I have all the files written in the Porting Guide: Android uses a modified wpa_supplicant (external/wpa_supplicant_6) daemon for wifi support which is controlled through a socket by hardware/libhardware_legacy/wifi/wifi.c (WiFiHW) that gets controlled from Android UI through android.net.wifi package from frameworks/base/wifi/java/android/net/wifi and it's corresponding JNI implementation in frameworks/base/core/jni/android_net_wifi_Wifi.cpp Higher level network management is done in frameworks/base/core/java/android/net.

And the hardware/ti/wlan/WL1271_compat

Thanks for your Help

  • You need to ensure that you have enabled the required CONFIG_ options in kernel and added the necessary pinmux configuration in the kernel for your board file as described in our Porting Guide.

    The TI DevKit sources already incorporate the android source-level changes. This description is only provided for your information.

  • I only know the way to do the kernel Configuration with the menuconfig in the kernel directory. My problem is that if :e.g I disable the CONFIG_CFG80211 I do not have the possibility to choose something to get the CONFIG_WEXT_... set. If I do the config entries manually the linux instruction silentloadoldconfig is automatically called before build and the .kconfig is set back to the previous setting. Maybe the combination of features in the menuconfig does exist to get all the CONFIG_xxx set in the desired combination as written in the PortingGuide but have not found it by the corresponding on/off switches in the menuconfig.

    Thanks for your assistance 

  • We shall look into this and get back to you.

  • Can you try the following and see if this works for you?

    1. First enable CONFIG_WLAN as follows: Device Drivers-> Network device support -> Wireless LAN

    2. Then enable Networking support -> Wireless -> Wireless extensions sysfs files

    This should do set the necessary CONFIG_ options.