I thought you said the patches from AU_LINUX_QSDK_NHSS.QSDK.12.4.5.R2_TARGET_ALL.12.4.502.099.019 was ready and working for latest version. And that you had compiled with the patches and build to see if it did work.
To clarify @rmandrad comment, the qca-nss-drv package is what's being shown in the screenshot, specifically that's it's been compiled with the WiFi offload feature. You still need to apply patches to mac80211/ath11k that will hook into it.
Getting NSS WiFi offload to work has been a constant struggle for years, ever since ipq806x. @quarky, @Ansuel, @ACwifidude, @robimarko and myself have all tried retrofitting Qualcomm's (half baked) ath10/11k NSS patches but have not been successful. There's "some" acceleration support by using encapsulation mode (frame_mode=2) with NSS, but has been unstable/unusable on ipq807x.
FWIW, I recently got a DL-WRX36 myself and have been attempting to try again. Since cherry picking the NSS patches hasn't been fruitful, I figured the best approach would be to start with Qualcomm's fork of mac80211 and overlay upstream's patches on top. I've only just now got it to compile, but the patching is a mess... Haven't been able to boot it unfortunately.
I also suspect hostapd needs to be patched with Qualcomm's fork to properly get the wireless stack usable. But that too is a colossal mess of patches.
don't mix the 2 thing... ath10k had a very simple implementation with virtual interface. ath11k have correct offload. I used for a while offload patch (if correctly applied instead of randomly adapt stuff) but i'm really busy with other task and maintain that isn't really top of my priority now.
Honestly I don't suggest starting from mac80211 qsdk source as you will quickly notice how unusable it is.
[ 15.644742] ath11k c000000.wifi: failed to transmit frame -22
[ 15.749902] ath11k c000000.wifi: encap mismatch in nss tx skb encap type 1vif encap type 2
[ 15.749970] ath11k c000000.wifi: failed to transmit frame -22
[ 16.757197] ath11k c000000.wifi: encap mismatch in nss tx skb encap type 1vif encap type 2
[ 16.757282] ath11k c000000.wifi: failed to transmit frame -22
[ 17.662106] ath11k c000000.wifi: wmi tlv parse failure of tag 663 at byte 4 (52 bytes is less than min length 60)
[ 17.662166] ath11k c000000.wifi: failed to parse tlv: -22
[ 17.671373] ath11k c000000.wifi: failed to extract pdev bss chan info event
[ 20.727033] ath11k c000000.wifi: bss channel survey timed out
It's a start
Edit: Just did a quick test with patch:
113-ath11k-add-8023-undecap-support.patch
and that was the reason of all the messages...
ath11k c000000.wifi: encap mismatch in nss tx skb encap type 1vif encap type 2
However, I think we are talking and shaking hands with nss-drv, but hostapd/ath11k does not like what's going on... I added some messages so I could see what they are talking about.
# from boot
[ 9.202901] ath11k c000000.wifi: ath11k_nss_setup: target_type is 24
[ 9.203113] ath11k c000000.wifi: ath11k_nss_init: target_type is 24
[ 9.209734] ath11k c000000.wifi: ath11k_nss_init: nss init soc if_num is 203
[ 9.229219] ath11k c000000.wifi: ath11k_nss_init: NSS Init Message TX Success 000000000c1c8222 on if_num 203
[ 9.235055] ath11k c000000.wifi: ath11k_nss_pdev_init: the response from pdev init is 0
[ 9.238166] ath11k c000000.wifi: ath11k_nss_stats_cfg: nss stats 32 enable 0
[ 9.245855] ath11k c000000.wifi: ath11k_nss_stats_cfg: status back from nss_wifili_tx_msg is 0
[ 9.253167] ath11k c000000.wifi: ath11k_nss_stats_cfg: nss stats 17 enable 1
[ 9.261588] ath11k c000000.wifi: ath11k_nss_stats_cfg: status back from nss_wifili_tx_msg is 0
[ 9.274686] ath11k c000000.wifi: ath11k_nss_pdev_init: the response from pdev init is 0
[ 9.277261] ath11k c000000.wifi: ath11k_nss_stats_cfg: nss stats 32 enable 0
[ 9.285136] ath11k c000000.wifi: ath11k_nss_stats_cfg: status back from nss_wifili_tx_msg is 0
[ 9.292425] ath11k c000000.wifi: ath11k_nss_stats_cfg: nss stats 17 enable 1
[ 9.300826] ath11k c000000.wifi: ath11k_nss_stats_cfg: status back from nss_wifili_tx_msg is 0
[ 9.308041] ath11k c000000.wifi: ath11k_nss_start: status response is 0
[ 9.316444] ath11k c000000.wifi: ath11k_nss_start: nss start is a success 0
[ 9.322954] ath11k c000000.wifi: ath11k_nss_setup: nss setup is complete 0
# tried the channel analysis tool (no wifi is enabled yet)
[ 64.526223] ath11k c000000.wifi: ath11k_nss_vdev_register: nss registered with if_num 203 and status is 0
[ 64.526367] ath11k c000000.wifi: ath11k_nss_vdev_configure: id is 0 ifnum 28 and opmode 3
[ 64.534866] ath11k c000000.wifi: ath11k_nss_vdev_create: nss vdev interface created ctx 000000000c1c8222, ifnum 30
[ 64.543047] ath11k c000000.wifi: ath11k_nss_vdev_set_cmd: nss vdev set cmd success cmd:1 val:2
[ 64.553225] ath11k c000000.wifi: ath11k_nss_vdev_set_cmd: nss vdev set cmd success cmd:2 val:2
[ 69.147077] ath11k c000000.wifi: ath11k_nss_vdev_unregister: nss unregistered with if_num 203
# enabled wifi in AP mode
[ 170.073688] ath11k c000000.wifi: ath11k_nss_vdev_configure: id is 0 ifnum 28 and opmode 1
[ 170.082192] ath11k c000000.wifi: ath11k_nss_vdev_create: nss vdev interface created ctx 000000000c1c8222, ifnum 30
[ 170.090335] ath11k c000000.wifi: ath11k_nss_vdev_set_cmd: nss vdev set cmd success cmd:1 val:2
[ 170.100542] ath11k c000000.wifi: ath11k_nss_vdev_set_cmd: nss vdev set cmd success cmd:2 val:2
[ 170.109513] ath11k c000000.wifi: ath11k_nss_peer_create: nss peer_create msg success mac:00:03:... vdev:0 peer_id:2 hw_ast_idx:492 ast_hash:492
[ 170.896433] ath11k c000000.wifi: ath11k_nss_vdev_up: nss vdev up tx msg success with status 0
[ 170.916125] ath11k c000000.wifi: ath11k_nss_vdev_set_cmd: nss vdev set cmd success cmd:14 val:0
[ 171.017284] ath11k c000000.wifi: ath11k_nss_vdev_set_cmd: nss vdev set cmd success cmd:15 val:6
[ 171.017348] ath11k c000000.wifi: ath11k_nss_set_peer_sec_type: nss peer id 2 security cfg complete
[ 171.024815] ath11k c000000.wifi: ath11k_nss_set_peer_authorize: nss peer id 2 auth cfg complete
[ 176.525162] ath11k c000000.wifi: wmi tlv parse failure of tag 663 at byte 4 (52 bytes is less than min length 60)
[ 176.525235] ath11k c000000.wifi: failed to parse tlv: -22
[ 176.534426] ath11k c000000.wifi: failed to extract pdev bss chan info event
[ 179.527042] ath11k c000000.wifi: bss channel survey timed out
Lesson learned the hard way... After brute forcing 442 of qsdk patches, I got everything to compile and boot up... but shortly after it just crash dumps.
Was it stable for you on 5.15? I'm guessing this was on the Xiaomi AX3600?
Some good news. I've got NSS wifi offload working on latest branch of main here: qualcommax-6.1-nss-wifi. Used @dimfish's qualcommax-6.1-nss branch as a starting point.
Everything seems to be working, but it doesn't seem stable. Boots with a ton of:
ath11k c000000.wifi: peer not found for nss peer delete
But it eventually seems to subside. So far it's been up and running for a few hours. Still needs a lot of work.