Hi @qosmio!
Kudos for the hard work you have put on this project and to everyone involved.
I just want to raise a concern about a NSS build for Arcadyan AW1000.
I was able to successfully build one using these repos and branches:
qualcommax-6.x-nss-wifi default
NSS-12.5-K6.x default
I cloned the openwrt-ipq repo last 10/29/2024. I don't know how to address this, as I am not really a developer. Just teaching myself.
At first, I was not able to build a working one with luci-proto-quectel in rmnet. But was able to make it work by reverting this commit.
Now, I am running a build with working luci-proto-quectel with rmnet. The issue is it's not stable. The device sometimes reboots or reconnects to the internet. There are no logs about NSS in htop, there are still cpu spikes when doing speedtest even though there are NSS logs in kernel logs.
I have installed all the NSS_DRV and kmod_rmnet as well.
Below are my nss_diag and kernel logs.
root@Telstra5G:~# nss_diag
MODEL: Arcadyan AW1000
OPENWRT: v0.0.1
IPQ BRANCH: qualcommax-6.x-nss-wifi
IPQ COMMIT: 9e31cc9c9f
IPQ DATE: 2024-10-25
NSS FW: NSS.HK.11.4.0.5-6-R
MAC80211: v6.11.2-0-g7aa21fec187b
ATH11K FW: WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1
GRO FRAG: br-lan : off
erspan0 : off
gre0 : off
gretap0 : off
lan1 : off
lan2 : off
lan3 : off
lan4 : off
phy0-ap0 : off
phy1-ap0 : off
wan : off
wwan0 : off
wwan0_1 : off
wwan0_2 : off
NSS PKGS: kmod-qca-nss-dp - 6.6.58.2024.04.16~5bf8b91e-r1
kmod-qca-nss-drv - 6.6.58.11.4.0.5.2021.09.13~53e5863-r15
kmod-qca-nss-drv-bridge-mgr - 6.6.58.11.4.0.5.2021.08.17~c4049d1-r7
kmod-qca-nss-drv-igs - 6.6.58.11.4.0.5.2021.08.17~c4049d1-r7
kmod-qca-nss-drv-qdisc - 6.6.58.11.4.0.5.2021.08.17~c4049d1-r7
kmod-qca-nss-drv-vlan-mgr - 6.6.58.11.4.0.5.2021.08.17~c4049d1-r7
kmod-qca-nss-drv-wifi-meshmgr - 6.6.58.11.4.0.5.2021.08.17~c4049d1-r7
kmod-qca-nss-ecm - 6.6.58.12.5.5.2024.09.02~bd5057b-r3
nss-firmware-default - 2024.08.04~794fe373-r1
nss-firmware-ipq8074 - 2024.08.04~794fe373-r1
[ 5.275431] **********************************************************
[ 5.283478] * NSS Data Plane driver
[ 5.289952] **********************************************************
[ 5.325023] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.325084] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 5.329546] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
[ 5.337087] xhci-hcd xhci-hcd.1.auto: irq 42, io mem 0x08a00000
[ 5.346462] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 5.352244] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 5.357816] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 5.365751] hub 1-0:1.0: USB hub found
[ 5.371961] hub 1-0:1.0: 1 port detected
[ 5.375944] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 5.380043] hub 2-0:1.0: USB hub found
[ 5.388040] hub 2-0:1.0: 1 port detected
[ 5.391759] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 5.395499] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3
[ 5.400893] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000008002000010
[ 5.408383] xhci-hcd xhci-hcd.2.auto: irq 43, io mem 0x08c00000
[ 5.417815] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 5.423603] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4
[ 5.429158] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[ 5.437099] hub 3-0:1.0: USB hub found
[ 5.443331] hub 3-0:1.0: 1 port detected
[ 5.447272] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 5.451404] hub 4-0:1.0: USB hub found
[ 5.459262] hub 4-0:1.0: 1 port detected
[ 5.465784] usbcore: registered new interface driver usb-storage
[ 5.467657] usbcore: registered new interface driver uas
[ 5.473123] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.481544] init: - preinit -
[ 9.282713] nss-dp 3a001000.dp1 lan1: PHY Link up speed: 1000
...
[ 11.043829] nss-dp 3a001000.dp1 lan1: PHY Link is down
[ 11.049140] procd: - early -
[ 11.049296] procd: - watchdog -
[ 11.610964] procd: - watchdog -
[ 11.613267] procd: - ubus -
[ 11.765091] procd: - init -
[ 12.272228] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.369239] urngd: v1.0.2 started.
[ 12.390274] tun: Universal TUN/TAP device driver, 1.6
[ 12.399858] l2tp_core: L2TP core driver, V2.0
[ 12.400908] l2tp_netlink: L2TP netlink interface
[ 12.566357] qca-nss 39000000.nss: NSS FW Version: NSS.HK.11.4.0.5-6-R
[ 12.566408] qca-nss 39000000.nss: fw of size 835960 bytes copied to addr: 40000000, nss_id: 0
[ 12.573485]
[ 12.615762] qca-nss 39000000.nss: NSS core 0 booted successfully
[ 12.727728] qca-nss 39400000.nss: fw of size 292296 bytes copied to addr: 40800000, nss_id: 1
[ 12.728592]
[ 12.740151] qca-nss 39400000.nss: NSS core 1 booted successfully
[ 12.742033] gre: GRE over IPv4 demultiplexor driver
[ 12.746727] ip_gre: GRE over IPv4 tunneling driver
[ 12.753818] QCA multicast snooping installed successfully
[ 12.756290] usbcore: registered new interface driver cdc_wdm
[ 12.761086] rmnet_nss_init(): initializing rmnet_nss
[ 12.797183] qmi_wwan_q 4-1:1.4: cdc-wdm0: USB WDM device
[ 12.797432] qmi_wwan_q 4-1:1.4: Quectel RG500Q-EA work on RawIP mode
[ 12.803277] qmi_wwan_q 4-1:1.4: rx_urb_size = 31744
[ 12.808538] qmi_wwan_q 4-1:1.4 wwan0: register 'qmi_wwan_q' at usb-xhci-hcd.2.auto-1, RMNET/USB device, a2:92:07:8f:b9:c4
[ 12.986700] net wwan0 wwan0_1: NSS context created
[ 12.986750] net wwan0: qmap_register_device wwan0_1
[ 12.991755] net wwan0 wwan0_2: NSS context created
[ 12.995232] net wwan0: qmap_register_device wwan0_2
[ 13.000275] usbcore: registered new interface driver qmi_wwan_q
...
[ 21.711117] ath11k c000000.wifi: nss init soc nss if_num 203 userpd_id 0
[ 24.285312] ECM init: selected_front_end=1
[ 24.285393] ECM database jhash random seed: 0xf97a2fec
[ 24.412791] ECM init complete
[ 24.502399] br-lan: port 1(lan1) entered blocking state
[ 24.502484] br-lan: port 1(lan1) entered disabled state
[ 24.506651] nss-dp 3a001000.dp1 lan1: entered allmulticast mode
[ 24.512140] nss-dp 3a001000.dp1 lan1: entered promiscuous mode
[ 24.525299] br-lan: port 2(lan2) entered blocking state
[ 24.525355] br-lan: port 2(lan2) entered disabled state
[ 24.529493] nss-dp 3a001200.dp2 lan2: entered allmulticast mode
[ 24.535223] nss-dp 3a001200.dp2 lan2: entered promiscuous mode
[ 24.545316] br-lan: port 3(lan3) entered blocking state
[ 24.546372] br-lan: port 3(lan3) entered disabled state
[ 24.551530] nss-dp 3a001400.dp3 lan3: entered allmulticast mode
[ 24.557211] nss-dp 3a001400.dp3 lan3: entered promiscuous mode
[ 24.568167] br-lan: port 4(lan4) entered blocking state
[ 24.568505] br-lan: port 4(lan4) entered disabled state
[ 24.573792] nss-dp 3a001600.dp4 lan4: entered allmulticast mode
[ 24.579773] nss-dp 3a001600.dp4 lan4: entered promiscuous mode
[ 25.553040] br-lan: port 5(phy0-ap0) entered blocking state
[ 25.553096] br-lan: port 5(phy0-ap0) entered disabled state
[ 25.557541] ath11k c000000.wifi phy0-ap0: entered allmulticast mode
[ 25.563982] ath11k c000000.wifi phy0-ap0: entered promiscuous mode
[ 25.569672] br-lan: port 5(phy0-ap0) entered blocking state
[ 25.575580] br-lan: port 5(phy0-ap0) entered forwarding state
[ 25.581362] br-lan: port 5(phy0-ap0) entered disabled state
[ 26.370113] br-lan: port 5(phy0-ap0) entered blocking state
[ 26.370169] br-lan: port 5(phy0-ap0) entered forwarding state
[ 26.424924] qca-nss 39000000.nss: Configuring additional NSS pbufs
[ 26.454605] qca-nss 39000000.nss: Additional pbufs of size 10002432 got added to NSS
[ 26.686784] br-lan: port 6(phy1-ap0) entered blocking state
[ 26.686840] br-lan: port 6(phy1-ap0) entered disabled state
[ 26.691266] ath11k c000000.wifi phy1-ap0: entered allmulticast mode
[ 26.697818] ath11k c000000.wifi phy1-ap0: entered promiscuous mode
[ 26.752735] ath11k c000000.wifi phy0-ap0: left allmulticast mode
[ 26.752800] ath11k c000000.wifi phy0-ap0: left promiscuous mode
[ 26.757927] br-lan: port 5(phy0-ap0) entered disabled state
[ 27.602702] nss-dp 3a001000.dp1 lan1: PHY Link up speed: 1000
...
32.472601] l11: disabling
[ 37.158874] ath11k c000000.wifi phy1-ap0: left allmulticast mode
[ 37.158929] ath11k c000000.wifi phy1-ap0: left promiscuous mode
[ 37.164067] br-lan: port 6(phy1-ap0) entered disabled state
[ 37.892342] br-lan: port 6(phy1-ap0) entered blocking state
[ 37.892393] br-lan: port 6(phy1-ap0) entered disabled state
[ 37.896861] ath11k c000000.wifi phy1-ap0: entered allmulticast mode
[ 37.902645] ath11k c000000.wifi phy1-ap0: entered promiscuous mode
[ 42.910084] net wwan0: ul_data_aggregation_max_datagrams=11, ul_data_aggregation_max_size=4096, dl_minimum_padding=0
[ 43.325800] net wwan0: link_state 0x0 -> 0x1
[ 45.368439] Ignoring NSS change in VHT Operating Mode Notification from 70:bb:e9:21:48:d0 with invalid nss 2
[ 51.534072] br-lan: port 6(phy1-ap0) entered blocking state
[ 51.542987] br-lan: port 6(phy1-ap0) entered forwarding state