Testing wifi is done using NetworkManager
Wifi is fairly easy to get going on most Qcom based devices
echo 1 > /dev/wcnss_wlan echo sta > /sys/module/wlan/parameters/fwpath
That should enable wifi
It is recommended to modularize bcmdhd drivers since that will ensure use of HW MAC address.
In the kernel defconfigs, make sure these settings are set
Then add this to your devices init.rc file, it’s recomended to set this in early stages to avoid race condition with network manager (
on post-fs-data is a good place for this)