Commit Graph

15 Commits

Author SHA1 Message Date
Qosmio
2075ebd759 nss-packages: update hashes for 'zst'
Signed-off-by: Qosmio <datapronix@protonmail.com>
2024-04-09 00:25:58 -04:00
Qosmio
7c69a23a5f nss-firmware: Fix Makefile to be compatible with new APK compatible version schema 2024-03-24 21:56:35 -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
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
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
bitthief
5156673ca9 nss: rename ipq807x target to qualcommax
Now that qualcommax exists as a target and dependencies have been updated,
move ipq807x support to subtarget of qualcommax.

Signed-off-by: bitthief <bitthief@protonmail.ch>
2023-07-27 07:06:45 +03:00
bitthief
956cdf1f2a nss-firmware: moved to package tree 2023-03-13 22:37:05 +02:00
bitthief
a9516543a6 nss-firmware: update to 12.1-022 bin
Update nss-firmware to 12.1-022 bin
2023-02-11 02:51:20 +02:00
bitthief
468ddce589 firmware: add EIP197 firmware binaries 2023-02-11 02:51:20 +02:00
Ansuel Smith
ddce3f6da1 nss-firmware: update to 12.0r1-002 bin
Update nss-firmware to 12.0r1-002 bin

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Robert Marko
c5e731e58d firmware: Add NSS EIP firmware package
This is just a helper package that helps ensure
that the EIP-197 firmware is installed by being
used as a dependency on nss-crypto.

Note that the package does not provide or ship
with firmware binaries itself.
Those need to be pulled from the stock firmware.
Binaries required are:
* ifpp.bin
* ipue.bin
* ofpp.bin
* opue.bin

They should be placed inside of the src folder.

Note that we add the src folder to the .gitignore to
prevent accidentally pushing the FW to a public repo.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-03-13 15:47:47 +01:00
Robert Marko
0012f0a236 firmware: add AQR firmware loader
This provides a way of loading the firmware to Aquantia PHY-s which require it
from userspace.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-03-08 12:14:40 +01:00
Robert Marko
e2d6646754 nss-firmware: update to SPF 11.4
Qualcomm has finally made the firmware publicly
available, so lets update to it.

This will allow removing the compatibility patches.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2021-09-16 18:25:20 +02:00
Robert Marko
cb9191c2ab Add NSS firmware package
NSS firmware is a package to install the required NSS
firmware when using NSS-DRV and other drivers.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2021-05-30 18:22:39 +02:00