There is no need for the mismatched 11.3 FW support on 11.4
SPF drivers, so drop the support.
This reverts commit f806309bbe.
Signed-off-by: Robert Marko <robimarko@gmail.com>
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>
Recently OpenWrt backported the updated of_get_mac_address()
function which returns and error code instead.
So, patch the SSDK to use it and fix the compilation error.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Recently OpenWrt backported the updated of_get_mac_address()
function which returns and error code instead.
So, patch the SSDK to use it and fix the compilation error.
Signed-off-by: Robert Marko <robimarko@gmail.com>
If using ECM, cpu load goes up (around 1.0) and stucks there.
This is due to using uninterruptible sleep function,
the patch changes this to interruptible sleep function.
Signed-off-by: Dirk Buchwalder buchwalder@posteo.de
Actual code is being built in single thread mode as
SSDK enforces it, this will just cause OpenWrt buildroot
to fail sometimes as the headers it tries to use are not
yet installed by the SSDK.
So, disable parallel build as the time saving was minor
and it caused issues with parallel building.
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit fixes a dependency issue that was not allowing
qca-nss-clients to show up in menuconfig unless kmod-ppp was selected
Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
This commit fixes a dependency issue that was not allowing qca-nss-ecm
to show up in menuconfig unless kmod-ppp was selected
Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
DMA functions used for NSS FW coredump are called
with NULL being passed instead of device pointer.
This will obviously cause a NULL pointer exception
and crash the kernel.
So, fix it by passing proper device structure pointer.
Signed-off-by: Robert Marko <robimarko@gmail.com>
By accident ECM depended twice on kmod-ipt-physdev
instead of depending on iptables-mod-physdev.
So fix this by replacing the duplicate dependency with
iptables-mod-physdev.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Enable the required PPoE interface and add dependency
to the PPoE kernel module.
Note that this requires kernel patches as well as the
nss-clients PPoE client package.
Signed-off-by: Robert Marko <robimarko@gmail.com>
This adds the nss-clients PPoE client from QSDK11.4.
It enables PPoE offloading via NSS ECM.
Kernel patches are required.
Made for and tested on IPQ807x.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Add NSS-ECM from QSDK11.4
NSS-ECM is the main package for NSS offloading.
It provides various hooks, classifiers and calls to
offload or not.
It includes patches to make it run on kernel 5.10.
Made for IPQ807x.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Permit to use mismatched NSS firmware version with higher QSDK version.
As we currently have 11.3 public NSS firmware, set this version by default.
This can be expanded later to support previous NSS version or to use newer
QSDK version if they are still compatible with basic NSS firmware loading
and handling.
Tested feature and working for now are basic ipv4 and ipv6 handling, virt_if
and wifili (wifi offload).
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Add NSS-DRV from QSDK11.4.
NSS-DRV is the core NSS driver providing NSS firmware
loading and communication between NSS cores and
other NSS offloading drivers.
It includes patches to it in order to work under kernel 5.10.
Made for and tested on IPQ807x.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Add NSS-DP from QSDK11.4.
NSS-DP is the ethernet driver kernel module.
It can be used in standalone mode or with NSS offloading.
It includes patches to it in order to work under kernel 5.10.
Made for and tested only for IPQ807x.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Add SSDK shell from QSDK 11.4
SSDK shell is a companion application for the SSDK.
It provides manual tweaking and debug features.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Add SSDK package from QSDK 11.4.
SSDK is the package/driver providing:
* Switch
* PHY
* Partial PPE
It includes patches to it in order to work under kernel 5.10.
Patches are made for and test on IPQ807x only.
Signed-off-by: Robert Marko <robimarko@gmail.com>