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.

wlan0 Doesn't Seem To Be Created

Other Parts Discussed in Thread: WL1271, OMAP3530

I am trying to bring our wl127x module up under ICS/2.6.37 on our custom 3530 board, which inconveniently uses different GPIOs for IRQ and WL_EN.  I seem to be able to get the drivers to build and get inserted into the kernel:

root@android:/ # lsmod
wl12xx 151510 0 - Live 0xbf0ac000
mac80211 328522 1 wl12xx, Live 0xbf03d000
cfg80211 145639 2 wl12xx,mac80211, Live 0xbf008000
compat 7179 2 wl12xx,mac80211, Live 0xbf000000
root@android:/ #

But I can't enable WiFi within the Settings menu(app).  The logcat (attached 5187.log.txt) says wlan0 doesn't exist.  What needs to happen for wlan0 to be created?

Thanks in advance,

Chris

  • Chris

    Can you verify if the wlan driver itself is ok by performing the steps in our porting guide:

    http://processors.wiki.ti.com/index.php/TI-Android-ICS-PortingGuide#Verify_WLAN_from_console

    Also make sure that all proper permissions to the relevant files and directory are given in init.rc. You can use the init.rc for AM37xevm as reference.

  • You had me worried, Vishveshwar!  I had been looking at that page as I was trying to make wl127x work, but I didn't notice the Verify_WLAN_from_console heading.  I thought I was going crazy until I checked the wiki's history and found you had added that section last night!  Thanks very much for the new section.  I had been wishing for something like that.

    After some work fixing GPIOs and pinmuxing, I do have  insmod /system/lib/modules/wl12xx_sdio.ko responding with [ 193.764190] wl1271: loaded

    However, wlan0 isn't always there when I run netcfg after the insmod.  Sometimes it's there, but often it isn't.

    Also in the Settings app/menu, when I click to turn Wi-Fi ON, the screen says "Turning Wi-Fi on...", and the wl1271: loaded message is printed on the console, but the "Turning Wi-Fi on..." message never goes away.

    Is there something else I need to check and confirm along the lines of the Verify_WLAN_from_console section in the porting guide?

    Thanks again for all your guidance and help!

    P.S.  I should add that I'm running with netfiltering turned off in this kernel so I can run with an NFS root filesystem.

  • I should also mention that in another experiment I used the kernel with netfiltering turned on, and running from an SDHC card (since it isn't currently working over NFS), and in this case when I use the Settings app/menu the app seems to think that the Wi-Fi is turned on, but it doesn't really seem to be.  Although the WL_EN GPIO is turned on and the wl12xx_sdio module is in the kernel, it fails to see the access point I configured, and it doesn't seem to be able to scan, either.

    I have attached a log: 5811.log.txt

    - Chris

  • You may also wish to ask at the WLAN e2e forum. They can help you make sure that wlan is working correctly from kernel/linux side http://e2e.ti.com/support/low_power_rf/f/307.aspx

  • I asked the question over in WLAN e2e ( http://e2e.ti.com/support/embedded/android/f/509/p/190924/685162.aspx#685162 ), but didn't adequately describe it as a re-posting from Android, and an administrator moved it over here to the Android e2e.  Can it be put back in WLAN?

    Thank-you!

  • I found this page: http://omappedia.org/wiki/Android_Mac80211 which seems to have some information at the bottom for WL1271.  I follow that and am able to calibrate wlan0, but it didn't make any difference in the behavior.

    Should this page apply to WL1271/WL1273 on OMAP3530?  The focus on that page seems to be on OMAP5 and OMAP4 with wl128x and wl18xx.  Is there something missing for WL1271/3 and OMAP3530?

    Thanks,

    Chris