Commit Graph

27 Commits

Author SHA1 Message Date
Sean Khan
99700f4bf9 nss-clients: netlink: modularize build components
Instead forcing all components to be built together, selectively build
feature sets based on driver and client selections.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-07-10 21:55:22 -04:00
Sean Khan
274cc66de7 nss-clients: backport and fixes for ipsecmgr, netlink, vxlanmgr, qdisc
backport 12.5:
* ipsecmgr
* netlink
* vxlanmgr
* qdisc

fixes:
* impsecmgr

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-07-10 21:02:00 -04:00
Sean Khan
88ee738cb5 nss-clients: nss_qdisc: restore dev_base_lock usage for kernels < 6.10
In kernels prior to 6.10, dev_base_lock was required to protect the
net_device list traversal. From 6.10 onward the lock was
dropped in favor of RCU.

To preserve previous behavior (i.e. 24.10-nss on kernel 6.6), restore
read_lock()/read_unlock() and wrap into kernel macros check.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-06-15 13:52:33 -04:00
Sean Khan
589db1c9c8 nss-clients: GRE: Fix building on kernels < 6.10
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-05-30 05:25:17 -04:00
Sean Khan
de828e39b2 treewide: Additional fixes for kernel 6.12 + GCC 14.3+
Fixes for:

  incompatible-pointer-types: (nss gre)
  int-conversion

And ignore warnings for:
  empty-body

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-05-28 21:06:50 -04:00
Sean Khan
25086fbac3 treewide: Additional fixes for kernel 6.12 + GCC 15.1
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-05-25 15:36:03 -04:00
Sean Khan
6f823a2b34 treewide: Initial support for kernel 6.12 + GCC 15.1
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-05-08 23:12:18 -04:00
Sean Khan
bb4d4c9a25 nss-clients: [12.5] fix failure to apply 0030-fixup-compiler-errors patch
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-18 05:28:10 -04:00
Sean Khan
a3692762e9 nss-clients: nss_match fix read/write procfs files
More fixes to read/write procfs files in nss_match.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-17 22:55:00 -04:00
Sean Khan
0eb92d185e nss-clients: treewide fixup compiler errors
Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-17 22:42:16 -04:00
Sean Khan
c5fd1f6430 nss-clients: use patches vs. compiler overrides to fix warnings
Remove '-Wno-enum-conversion -Wno-unused-variable -Wno-int-conversion' from CFLAGS
and instead patch the code to fix the warnings.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2025-04-15 12:04:45 -04:00
Sean Khan
9c1bd07946 treewide: Bump NSS FW 12.1 to 12.5
Switch to personal fork utilizing NSS fw binaries from dd-wrt repo:
`https://github.com/mirror/dd-wrt/tree/master/src/router/qca-nss/firmware`

Also delete patches that limited feature set to NSS firmware 12.1

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-07-22 16:51:11 -04:00
Sean Khan
841d43b00f treewide: various patches for GCC-14 + build fixes
Also disabled pvxlanmgr and clmapmgr from showing up. It's badly broken
and not suported.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-07-08 21:03:51 -04:00
Sean Khan
afa7e180cd nss-clients: [nss-qdisc] Replace add_timer() to mod_timer()
commit 1bcef1647804d08e3d00b6f651086878786494e0 (HEAD, origin/NHSS.QSDK.12.5)
Author:     Manish Verma <quic_maniverm@quicinc.com>
AuthorDate: Wed Jun 12 18:05:27 2024 +0530
Commit:     Manish Verma <quic_maniverm@quicinc.com>
CommitDate: Mon Jun 24 22:04:14 2024 -0700

    [nss-qdisc] Replace add_timer() to mod_timer()

    For the unserialized modification of the timer's timerout, mod_timer()
    API seems to be better suited as compared to the add_timer() API

    Change-Id: I53fbb6174b975571dd3cc5cdd4ac3561903e178b
    Signed-off-by: Manish Verma <quic_maniverm@quicinc.com>
    (cherry picked from commit 55146834637d55f081f843e7330d4f1e7fe886dc)

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-07-08 10:08:09 -04:00
Sean Khan
9308d452f6 nss-packages: Bump to QSDK 12.5 for kernel 6.6
note: qca-nss-crypto, and qca-nss-cfi are non-code change releases, but
align with naming scheme upstream anyways.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-05-05 02:49:54 -04:00
Qosmio
15370e5d9d nss-clients: netlink compatibility with kernel 6.6 2024-03-24 22:06:21 -04:00
Qosmio
952e573a71 nss-packages: convert modules to use wifili vs wifi 2024-03-17 02:18:20 -04:00
Qosmio
28a8c5e649 nss-clients: update vlan, match, tunipip6, mirror, l2tpv2 for 6.6 2024-03-12 17:24:01 -04:00
Qosmio
8795d29dfb nss-packages: Initial support for kernel 6.6
WIP
2024-03-12 12:00:52 -04:00
Qosmio
c7c8de990f nss-packages: refresh patches 2024-03-11 15:53:55 -04: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
0c4e2ee764 qca-nss-clients: fix incorrectly defined exports include directory 2024-02-19 02:39:45 -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