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.

Linux/WL1837MOD: [calibrator] nl80211 not found

Part Number: WL1837MOD


Tool/software: Linux

Platform: AM335x BBGW

Software: Processor SDK Linux 4.03

bbgw-kernel-patches-sdk-4.03.zip

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/968/u_2D00_boot_2D00_add_2D00_bbgw_2D00_support.patch

I've attached some very minimal patches that enable Processor SDK Linux to run on the BBGW.  The Wi-Fi operates ok, i.e. I can connect to AP and transfer files, but I cannot enter the test mode.

Some other threads have had useful data points:

https://e2e.ti.com/support/wireless_connectivity/wilink_wifi_bluetooth/f/307/t/631418

So from this thread I rebuilt my kernel with CONFIG_NL80211_TESTMODE=y and can confirm at the command line:

root@am335x-evm:/usr/share/wl18xx# zcat /proc/config.gz | grep NL80211_TESTMODE
CONFIG_NL80211_TESTMODE=y

I was still getting the error "Operation not supported (-95)" at this point, until I did a rmmod of a bunch of modules (wlcore_sdio, wl18xx, wl12xx, wlcore, mac80211, cfg80211, compat).  At that point the error changed:

root@am335x-evm:/usr/share/wl18xx# calibrator wlan0 plt power_mode on
nl80211 not found.

I did "killall" for hostapd and wpa_supplicant, but neither was running in the first place.

What else am I missing?