I have a question that you might be able to help me out with.If not, that is ok, I'll start enabling/disabling via menuconfig.
I know I'm using a non qualcomm driver, being that it is from 8devices, but, thought I'd post the question here because there may be others that have run across the same issue and have figured out how to resolve it.
I started out my initial eval on Pi'4s, worked through issues there, got everything running, and did a final bit of eval on a Dell, now I've switched to the end product target device.
It is an arm running a custom linux kernel that is stripped down for size.
It is a "Linux/arm 5.4.13 Kernel Configuration".
The Dell that I had everything working perfect on was an "Linux/x86 5.4.0-72-generic Kernel Configuration"
I am now using the Dell to cross compile for the arm.
Everything builds fine through the stage 1 of make.
make -C "/home/jhenry/DevFiles/kernel/build/linux" ARCH=arm M=/home/jhenry/DevFiles/qcacld-2.0 modules WLAN_ROOT=/home/jhenry/DevFiles/qcacld-2.0 MODNAME?=wlan CONFIG_ROME_IF=usb CONFIG_WLAN_FEATURE_11W=y CONFIG_DEBUG_INFO=y CONFIG_QCA_WIFI_ISOC=0 CONFIG_QCA_WIFI_2_0=1 CONFIG_QCA_CLD_WLAN=m WLAN_OPEN_SOURCE=1
make: Entering directory '/home/jhenry/DevFiles/kernel/build/linux'
CC [M] /home/jhenry/DevFiles/qcacld-2.0/CORE/HDD/src/wlan_hdd_assoc.o
CC [M] /home/jhenry/DevFiles/qcacld-2.0/CORE/HDD/src/wlan_hdd_cfg.o
But when it gets to stage 2, the make is returning with a slew of undefineds,
Building modules, stage 2.
MODPOST 1 modules
ERROR: "cfg80211_assoc_timeout" [/home/jhenry/DevFiles/qcacld-2.0/wlan.ko] undefined!
ERROR: "cfg80211_mgmt_tx_status" [/home/jhenry/DevFiles/qcacld-2.0/wlan.ko] undefined!
ERROR: "wiphy_apply_custom_regulatory" [/home/jhenry/DevFiles/qcacld-2.0/wlan.ko] undefined!
ERROR: "ieee80211_frequency_to_channel" [/home/jhenry/DevFiles/qcacld-2.0/wlan.ko] undefined!
ERROR: "cfg80211_rx_mgmt" [/home/jhenry/DevFiles/qcacld-2.0/wlan.ko] undefined!
I am guessing that the problem is in my linux build configuration.
Reason is : the initial compiles work, meaning it is finding the appropriate linux header files and the iniital stage compile works properly.
But in stage 2 they can't find the files to link with. Not sure.
My .config for linux kernel for the linux arm for the "80211" stuff is as follows (asking, because you might know which flag I have turned off, which needs turned on)
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
# CONFIG_CFG80211_DEBUGFS is not set
# CONFIG_CFG80211_WEXT is not set
# CONFIG_LIB80211_DEBUG is not set
# CONFIG_MAC80211_MESH is not set
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_MESSAGE_TRACING is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
# CONFIG_PSAMPLE is not set
# CONFIG_NET_IFE is not set
# CONFIG_LWTUNNEL is not set
I do have a few more config items in the dell's linux config that are enabled, such as
I really appreciate if you know the answer, if not, I'll figure it out. Time to enable/disable until it works. I wasn't sure if it was a CFG80211 config item or a MAC80211 config item (since cfg uses mac), etc.
Thanks in advance