Commit Graph

201 Commits

Author SHA1 Message Date
Qosmio
15370e5d9d nss-clients: netlink compatibility with kernel 6.6 2024-03-24 22:06:21 -04:00
Qosmio
1625586a6c qca-nss-ecm: remove ovs dependency 2024-03-19 12:03:52 -04:00
Qosmio
b2eda32a24 Merge branch 'NSS-12.4-K6.1' into NSS-12.4-K6.6 2024-03-18 06:57:31 -04:00
Qosmio
295aa3cc0b Merge branch 'NSS-12.4-K6.1' of https://github.com/qosmio/nss-packages into NSS-12.4-K6.1 2024-03-18 06:57:01 -04:00
Qosmio
7e02d378bb qca-nss-ecm: bump version 12.4.5.r3 to 12.4.5.r5 2024-03-18 06:54:43 -04:00
Qosmio
952e573a71 nss-packages: convert modules to use wifili vs wifi 2024-03-17 02:18:20 -04:00
Qosmio
9a2a123a47 qca-nss-ecm: fix incorrect else if statement 2024-03-17 01:40:36 -04:00
Qosmio
ebd3cebaec nss-packages: Initial support for kernel 6.6 on NSS 11.4 2024-03-15 23:24:02 -04:00
Qosmio
2692698a8a nss-packages: add QSDK release in naming scheme
Easier to understand which QSDK you're developing with vs. date and git
hash
2024-03-15 23:22:46 -04:00
Qosmio
911ca7392c qca-nss-drv: show cpu_load_ubi in output 2024-03-15 19:43:57 -04:00
Qosmio
088f830466 qca-nss-ecm: refactor disable offload scripts 2024-03-15 19:34:39 -04:00
Qosmio
5900f254b9 qca-nss-ecm: Add IGS (ingress) QoS compile flag 2024-03-15 19:30:13 -04:00
Qosmio
8fb422e4d7 qca-nss-ecm: enable band steering
Useful for setups that have external APs to allow better handling when
switching between APs
2024-03-15 19:23:27 -04:00
Qosmio
e08d3c0607 qca-nss-ecm: rearrange order kernel version is checked 2024-03-15 19:18:10 -04:00
Qosmio
1431912bdb qca-nss-ecm: bump version 12.4.r4 to 12.4.5.r3
NOTE: QSDK 12.2, 12.4 are for kernel 5.4, starting with release 12.4.5
QSDK switched to kernel 6.1.
2024-03-15 19:16:15 -04:00
Qosmio
3fa6b5b7d4 qca-nss-ecm: remove backported 5.15 ipv6_dev_find_and_hold 2024-03-15 19:11:44 -04:00
Qosmio
40a48f512b qca-nss-ecm: make building ae example optional 2024-03-15 19:10:23 -04:00
Qosmio
837dd16342 Merge branch 'NSS-12.4-K6.1' of https://github.com/qosmio/nss-packages into NSS-12.4-K6.6 2024-03-15 02:13:56 -04:00
qosmio
05d50aab28
Merge pull request #16 from zxlhhyccc/patch-1
qca-nss-ecm:Fixed the problem that the route does not respond after s…
2024-03-14 22:51:00 -04:00
zxlhhyccc
399136a5ee
qca-nss-ecm:Fixed the problem that the route does not respond after startup. 2024-03-13 22:50:51 +08:00
Qosmio
28a8c5e649 nss-clients: update vlan, match, tunipip6, mirror, l2tpv2 for 6.6 2024-03-12 17:24:01 -04:00
Qosmio
327b97d4a0 qca-nss-drv: Move Profiler code to ipq806x
Useless to build on IPQ807x/60xx
2024-03-12 17:22:54 -04:00
Qosmio
d39e59662b qca-nss-clients: use consistent arch names
Also remove unnecessary 'TARGET_ipq_ipq*' platforms. Stick to
IPQ807x/IPQ60XX
2024-03-12 14:35:16 -04:00
Qosmio
8795d29dfb nss-packages: Initial support for kernel 6.6
WIP
2024-03-12 12:00:52 -04:00
Qosmio
9ab44ea39c nss-ecm: renumber patches 2024-03-12 02:07:53 -04:00
Qosmio
c7c8de990f nss-packages: refresh patches 2024-03-11 15:53:55 -04:00
Qosmio
5463bc9633 qca-nss-clients: Fix build for NHSS.QSDK.11.4.0.5 2024-03-11 12:25:50 -04:00
Qosmio
7329a4f74d nss: Properly build drv/client based on FW
There are significant changes between NSS version 11.4.0.5 and 12.1 (12.0.5),
that it doesn't really make sense to use it with older firmware (i.e. using mesh releated
features).

This change will explicitly link building the proper driver and client
packages when FW 12.1 or 11.4 is selected, while also backporting
patches from 12.4.
2024-03-09 12:25:24 -05:00
Qosmio
79597046e6 qca-nss-drv: Rework debug script to be more helpful
This version will print all non-zero stats, and highlight certain
keywords to better aide debugging.
2024-02-28 22:55:45 -05:00
Qosmio
dae6cba360 qca-nss-drv: Remove invalid sysctl settings
These values are now module parameters.
2024-02-28 22:54:05 -05:00
qosmio
96dd82da8a
Merge pull request #13 from JiaY-shi/NSS-12.4-K6.1
nss: fix ipq60xx support
2024-02-28 02:33:05 -05:00
JiaY-shi
a5cff6d62e qca-nss-drv: fix ipq60xx support 2024-02-28 15:25:25 +08:00
JiaY-shi
5bf042dbe4 qca-nss-crypto: fix ipq60xx support 2024-02-28 15:14:10 +08:00
JiaY-shi
fb38cf637f qca-nss-clients: fix ipq60xx support 2024-02-28 15:12:55 +08:00
JiaY-shi
3251554ab6 qca-nss-cfi: fix ipq60xx support 2024-02-28 15:11:38 +08:00
Qosmio
26486b45f9 nss-firmware: fix pkg dependency
Fixes the following

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency nss-firmware-default for nss-firmware-ipq8074
 * pkg_hash_fetch_best_installation_candidate: Packages for nss-firmware-ipq8074 found, but incompatible with the architectures configured
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-qca-nss-cfi-cryptoapi:
 * 	nss-firmware-default
 * opkg_install_cmd: Cannot install package kmod-qca-nss-cfi-cryptoapi.
2024-02-27 18:49:43 -05:00
Qosmio
931313931c nss-firmware: Allow selecting version 11.4/12.1
There is an issue with NSS firmware version 12.0/12.1 where NSS WIFI
mesh feature fails to bring up meshmgr.

Example of error:

Tue Feb 27 13:52:04 2024 kern.debug kernel: [10738.593826] nss_wifi_meshmgr_if_create_sync[1827]:ffffff8022a40000: Encap allocation failed.
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.593858] ath11k c000000.wifi: failed to create meshmgr
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.593880] ath11k c000000.wifi: failed to alloc and register mesh vap -22
Tue Feb 27 13:52:04 2024 kern.debug kernel: [10738.598335] nss_wifi_meshmgr_find_and_ref_inc[167]:ffffffc000be0500: Invalid mesh handle: -1
Tue Feb 27 13:52:04 2024 kern.debug kernel: [10738.598349] nss_wifi_meshmgr_if_destroy_sync[1728]:ffffffc000be0500: Mesh context is null
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.598357] ath11k c000000.wifi: failed to free nss mesh object vdev nss_err:7
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.605208] ath11k c000000.wifi: failed to create nss vdev -22
Tue Feb 27 13:52:04 2024 kern.debug kernel: [10738.616401] nss_wifi_meshmgr_if_create_sync[1827]:ffffff8022a40000: Encap allocation failed.
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.616436] ath11k c000000.wifi: failed to create meshmgr
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.618091] ath11k c000000.wifi: failed to alloc and register mesh vap -22
Tue Feb 27 13:52:04 2024 kern.debug kernel: [10738.623697] nss_wifi_meshmgr_find_and_ref_inc[167]:ffffffc000be0500: Invalid mesh handle: -1
Tue Feb 27 13:52:04 2024 kern.debug kernel: [10738.623715] nss_wifi_meshmgr_if_destroy_sync[1728]:ffffffc000be0500: Mesh context is null
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.623723] ath11k c000000.wifi: failed to free nss mesh object vdev nss_err:7
Tue Feb 27 13:52:04 2024 kern.warn kernel: [10738.630541] ath11k c000000.wifi: failed to create nss vdev -22

The only version currently working is version 11.4. It is not
confirmed if this feature was removed in firmware > 11.4, or if the
issue if with the NSS driver package, or client package wifimgr. Looking
at the code changes between NHSS.QSDK.11.4 and 12.0.5 little was changed in
nss-drv/nss-clients related to the way mesh interfaces are brought up
(dynamic interfaces), much of the changes are related to stats.

To work around the issue, allow user selectable option to choose a
specific NSS firmware. The dependency is currently not enforced when
selecting NSS mesh offloading in ath11k. Users will need to switch
manually or disable the option altogether.
2024-02-27 13:36:16 -05:00
Qosmio
beb4b7f970 qca-nss-clients: Remove nss-ifb dependency 2024-02-27 01:10:01 -05:00
Qosmio
7080d89470 qca-nss-clients: add required wifili symbol 2024-02-19 03:01:56 -05:00
Qosmio
53162cdf9c qca-nss-clients: fix incorrectly defined exports include directory 2024-02-19 03:00:40 -05:00
Qosmio
3dfeff28b6 Revert "qca-nss-clients: fix incorrectly defined exports include directory"
This reverts commit 83b5ea1e6a.
2024-02-19 02:59:48 -05:00
Qosmio
83b5ea1e6a qca-nss-clients: fix incorrectly defined exports include directory 2024-02-19 02:58:17 -05:00
Qosmio
60c4bb0852 Revert "qca-nss-clients: fix incorrectly defined exports include directory"
This reverts commit 0c4e2ee764.
2024-02-19 02:55:22 -05:00
Qosmio
dc2090eb0b Revert "qca-nss-clients: add required legacy wifi symbol"
This reverts commit 5c43764e5d.
2024-02-19 02:54:43 -05:00
Qosmio
5c43764e5d qca-nss-clients: add required legacy wifi symbol 2024-02-19 02:40:24 -05:00
Qosmio
0c4e2ee764 qca-nss-clients: fix incorrectly defined exports include directory 2024-02-19 02:39:45 -05:00
Qosmio
9a35375fef nss-crypto: Require symbol NSS_DRV_CRYPTO_ENABLE 2024-02-19 02:24:12 -05:00
Qosmio
8d54d726c2 Move non-upstream NSS packages back into repo
To keep fork as closely synced with upstream, move NSS packages back
into repository. Not sure why they were moved out from my original fork.
* nss-firmware
* qca-nss-crypto
* qca-nss-cfi

Removed the following:
* mhz (already available in packages repo)
* qrtr (unecessary, and has been broken for years)

Also moved packages out of `qca` and back into root directory.
2024-02-19 01:35:04 -05:00
Qosmio
441990caf1 qca-nss-drv: add required nss firmare dependency 2024-02-18 02:03:08 -05:00
Qosmio
14d6d1431c qca-nss-clients: add nss-ifb as dependency
It's required to get proper qdisc traffic shaping
2024-02-18 01:58:38 -05:00