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.

How to load WL18xx Linux drivers

Hello,

I am looking for a minimal WL18xx WLAN environment. I successfully built six kernel objects (cfg80211.ko, mac80211.ko, wl18xx.ko, wlcore.ko, compat.ko, wlcore_sdio.ko) and one executable (wlconf) from source for my particular environment.

Can somebody provide instructions on how to load these KOs and bring-up WLAN on the AM335x EVM?

Thank you,

Peter

  • Ok, with the following insmod command, the driver is up and running:

    insmod /lib/modules/compat.ko
    insmod /lib/modules/wlcore_sdio.ko
    insmod /lib/modules/cfg80211.ko
    insmod /lib/modules/mac80211.ko
    insmod /lib/modules/wlcore.ko
    insmod /lib/modules/wl18xx.ko

    ifconfig wlan0 up

    But something is wrong with the executable iw, the following netlink error occurrs:

    / # iw wlan0 scan
    Failed to allocate generic netlink cache.

    What could be the problem with the netlink cache?

  • Hi Peter,

    I have never seen this before...
    Can you tell me where did you get the iw executable from?

    Regards,
    Gigi Joseph.

  • Hello,

    I built the executable iw from the source as described here: http://processors.wiki.ti.com/index.php/WL18xx_WiFi_Build_Process

    I found out that this error was caused by another kernel module making use of netlink multicasts. When I disable this kernel module, iw does not error out anymore.

    Thank you,

    Peter