Qualcommax NSS Build

Took out the sleep entirely. Letting the hotplug scripts act on it.

They work on physical ports only, then you're getting in the reign of software vs hardware.

https://github.com/qosmio/sqm-scripts-nss/pull/new/sqm-bugfix

2 Likes

I have the same problem with the same error I think it's related to the Vlan number it also shows up for me as 30 if you change them to three digit numbers like 300 you won't have problems.

for those with vlan issues.. try this way for configuration
@antpir @Airamek

if you want to put your wireless on a particular vlan
under the network config

config device
	option type '8021q'
	option ifname 'wan'
	option vid '20'
	option name 'wifi.20'

config device
        option type 'bridge'
        option name 'br-wan-20'
        list ports 'wifi.20'

config interface 'WIFI_20'
	option proto 'none'
	option device 'br-wan-20'

put WIFI_20 as the network under your wifi SSID

for creating a vlan with the lan ports

config device                           
        option type '8021q'             
        option ifname 'wan'             
        option vid '30'                
        option name 'dmz.30'          
                                        
config device                           
        option type 'bridge'            
        option name 'br-wan-30'        
        list ports 'dmz.30'
        list ports 'lan1'
        list ports 'lan2'           
                                        
config interface 'DMZ_30'             
        option proto 'none'             
        option device 'br-wan-30'

for completeness you may want to create a vlan for for admin. Also remove the br-lan if you want. not applicable in this suitation. adapt to your own setup.

config device
	option type '8021q'
	option ifname 'wan'
	option vid '10'
	option name 'admin.10'

config interface 'Admin_10'
	option proto 'static'
	option device 'admin.10'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option gateway '192.168.1.250'

my usage is as an AP with the vlans trunked on wan port.
vlan traffice correctly offloaded.

Mon May 13 12:39:20 2024 kern.notice kernel: [    8.326661] nss_vlan_mgr_init_module[1940]:Module (Build Build Id: 05/12/24, 14:30:26) loaded

cpu load barely moved under 1gbps load on vlan ports
have fun.

1 Like

update with your fix code for the nss-zk.qos, reboot the router with sqm auto load, this time SQM successfully startup without any issues.
It works well, please note.
Thanks

1 Like

Any one having issues with their 2.5g eth port on Arcadyan AW1000? I'm on the latest rebased branch, the interface wont go up and no activity or error was logged when plugging in to the port.

Same config as my previous build(which has no issues) and other things seems to work fine.

Hi anyone seeing both on the qnap or/and ax9000 on luci
image

i remember this was an issue some time ago but then a number of patches fixed the issue.

iw station dump similarly show the same

root@qnap:~# iw phy0-ap0 station dump |grep "tx bitrate"
        tx bitrate:     6.0 MBit/s
        tx bitrate:     6.0 MBit/s
        tx bitrate:     6.0 MBit/s

I use your 1.0.7 latest release , and no issue with that port ( binded to br-lan).

Ahh, that release is a month old now, I'm on the latest upstream changes now :slight_smile:

So time for update :slight_smile:

Same with AX3600 sometime. But you just have to restart the wireless and it fixes the issue.

I’m seeing this on the dl-wrx36 since moving from 6.6.25 to 6.6.30.

All good here. Latest build of my repo

1 Like

Hi @rmandrad

The failure continues because of this patch (https://github.com/qosmio/openwrt-ipq/blob/qualcommax-6.x-nss-wifi/package/kernel/mac80211/patches/nss/ath11k/999-312-ath11k-add-ampdu-id-in-802.11-radiotap-header.patch) as previously mentioned.

As far as we knew it was only affecting the ax9000 and was merely cosmetic, but it seems to me that at least on my AX3600 I have felt the wifi faster without that patch, maybe I should take a look @qosmio

@TomCruise @Paolow

Regards, Agustin

1 Like

On my QNAP it's OK - build is from yesterday.

root@QNAP:~# iw phy0-ap0 station dump |grep "tx bitrate"
        tx bitrate:     2401.9 MBit/s 160MHz HE-MCS 11 HE-NSS 2 HE-GI 0 HE-DCM 0
        tx bitrate:     6.0 MBit/s
        tx bitrate:     720.6 MBit/s 80MHz HE-MCS 7 HE-NSS 2 HE-GI 0 HE-DCM 0
root@QNAP:~# iw phy0-ap0 station dump |grep "rx bitrate"
        rx bitrate:     2161.3 MBit/s 160MHz HE-MCS 10 HE-NSS 2 HE-GI 0 HE-DCM 0
        rx bitrate:     6.0 MBit/s
        rx bitrate:     245.0 MBit/s 80MHz HE-MCS 3 HE-NSS 2 HE-GI 2 HE-DCM 0

I've just tried to recompile with the latest changes that were pushed to the @qosmio repo 2 hours ago but I got lots of errors like those.

  * opkg_install_cmd: Cannot install package kmod-usb-storage.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-usb-storage-uas
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-storage-uas found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-storage-uas.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-usb-xhci-hcd
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-xhci-hcd found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-usb3
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb3 found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb3.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-xhci-hcd:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package kmod-usb-xhci-hcd.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-cfg80211
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-cfg80211 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-mac80211
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-mac80211 found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-ath
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-ath.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-ath11k
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath11k found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-ath11k.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1) for kmod-ath11k-ahb
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-ath11k-ahb found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-ath11k-ahb.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-cfg80211:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package kmod-cfg80211.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mac80211:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package kmod-mac80211.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-nat46:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package kmod-nat46.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for xtables-nft:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package xtables-nft.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-nft:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package iptables-nft.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-mod-ipopt:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package iptables-mod-ipopt.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for libnetfilter-conntrack3:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package libnetfilter-conntrack3.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for firewall4:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package firewall4.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for wireguard-tools:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package wireguard-tools.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-ksmbd:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package luci-app-ksmbd.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-sqm:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package luci-app-sqm.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for cryptsetup:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package cryptsetup.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for libfuse1:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package libfuse1.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for zerotier:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package zerotier.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for sqm-scripts-nss:
 *      kernel (= 6.6.30~310ceb953881d980b098a0a11298d540-r1)
 * opkg_install_cmd: Cannot install package sqm-scripts-nss.
make[2]: *** [package/Makefile:71: package/install] Error 255
make[2]: Leaving directory '/home/debian/openwrt-QNAP-NSS-wifi-6.6'
make[1]: *** [package/Makefile:124: /home/debian/openwrt-QNAP-NSS-wifi-6.6/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/debian/openwrt-QNAP-NSS-wifi-6.6'
make: *** [/home/debian/openwrt-QNAP-NSS-wifi-6.6/include/toplevel.mk:233: world] Error 2

1 Like

@AgustinLorenzo @rmandrad

UPDATE:

date commit desc
2024-05-15 a992bf5736a ath11k_nss: revert AMPDU in radiotap header

Should resolve the missing stats.

You need to clean out kernel build before rebuilding:

make target/linux/clean package/cleanup
2 Likes

weirdly now the ath11k_pci gets the right stats but not the ath11k_ahb ... not that I fussed about still getting good throughput on both the qnap & ax900
the first two are on the ahb and the last one are on the pci ... so it seems the ath11k_ahb is not getting the right stats
image

wondering if anyone else is seeing the same

qosmio commit below / branch qualcommax-6.x-nss-wifi
a992bf5736af45325add71f322ebb081cbbe65a7

Me, but after restarting wifi (radio interfaces, both 5 GHz and 2.4 GHz) it is working.

Hi boys,

This version include NSS offload for WiFi

I am redo the repos over the latest commit from OpenWRT.

Changelog (include upstream of OpenWRT):

  • Recovered WiFi synchronization statistics for AX9000, thanks @qosmio

Notes:

Sources:

BUILDED (NORMAL): https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-nsswifi-2024-05-15-1806

BUILDED (MESH BUILD): https://github.com/AgustinLorenzo/openwrt/releases/tag/ipq807x-nsswifi-mesh-2024-05-15-1908

NOTE: Now I only compile the build for the following devices AX3600, AX6, AX9000, Dynalink DL-WRX36, Buffalo WXR-5950AX12, QNAP QHora-301W, Netgear RAX120v2, Arcadyan AW1000 and Zyxel NBG7815, if someone has used my versions with other devices (and it is supported), let me know and I will add it.

4 Likes

Looks like the openwrt adds the GCC 14 support, have anyone tried it ?

I've tried it on another build but there are currently three PRs that have to be added too for successful compile. I intend to try it later on my qualcommax build too.