Qualcommax NSS Build

I originally had the MESH offload feature (partially) decoupled from the baseline WIFI offload, but it was getting to be maintenance nightmare with all the patch dependancies.

A lot of the "fixes", mostly NSS peer handling, were distributed in patches for WDS, VLAN, and MESH offload that I figured to just include all NSS related features, and do my best with using macros to enable certain code blocks.

But the biggest issue comes with NSS firmware 12.1. The mesh interface just doesn't seem to come up. Same issue with firmware 11.5. The only success I've had is with NSS firmware version 11.4

@dckiller51, if you'd like to use mesh, you currently have 2 options.

1.) Disable NSS offload altogether.

echo 'ath11k nss_offload=0 frame_mode=2' > /etc/modules.d/ath11k
echo 'mac80211 nss_redirect=0' > /etc/modules.d/mac80211

2.) Switch to using NSS firmware 11.4
I just pushed a change to nss-packages repo that introduces a menuconfig option to select a specific version.

Here:

Or you can manually extract NSS firmware version 11.4 to /lib/firmware/.

Be sure to rename the corresponding retail_routerX.bin to qca-nssX-retail.bin

Everything should work, but be warned that NSS stats will be wildly off in /sys/kernel/debug/qca-nss-drv/stats/wifi_mesh/.

2 Likes