mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 16:21:53 +00:00
qca-nss-drv: Fix wifi offload regression
The option for wifi offload is `NSS_DRV_WIFIOFFLOAD_ENABLE` but the package Makefile was showing it as `NSS_DRV_WIFI_ENABLE` but then enabling the flag as `NSS_DRV_WIFI_ENABLE`. Incorrectly assumed `NSS_DRV_WIFI_ENABLE` was the global option. Reverted the change and updated the option to use `NSS_DRV_WIFIOFFLOAD_ENABLE`.
This commit is contained in:
parent
7bdfc69b3d
commit
001d347392
@ -175,19 +175,19 @@ config NSS_DRV_VXLAN_ENABLE
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
prompt "Enable VXLAN"
|
prompt "Enable VXLAN"
|
||||||
config NSS_DRV_WIFI_ENABLE
|
config NSS_DRV_WIFIOFFLOAD_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
prompt "Enable WIFI"
|
prompt "Enable WIFI"
|
||||||
config NSS_DRV_WIFI_EXT_VDEV_ENABLE
|
config NSS_DRV_WIFI_EXT_VDEV_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
depends on NSS_DRV_WIFI_ENABLE
|
depends on NSS_DRV_WIFIOFFLOAD_ENABLE
|
||||||
prompt "Enable WIFI EXT VDEV"
|
prompt "Enable WIFI EXT VDEV"
|
||||||
config NSS_DRV_WIFI_MESH_ENABLE
|
config NSS_DRV_WIFI_MESH_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
depends on NSS_DRV_WIFI_ENABLE
|
depends on NSS_DRV_WIFIOFFLOAD_ENABLE
|
||||||
prompt "Enable WIFI MESH"
|
prompt "Enable WIFI MESH"
|
||||||
config NSS_DRV_WIFI_LEGACY_ENABLE
|
config NSS_DRV_WIFI_LEGACY_ENABLE
|
||||||
bool
|
bool
|
||||||
|
|||||||
@ -56,7 +56,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
CONFIG_NSS_DRV_VIRT_IF_ENABLE \
|
CONFIG_NSS_DRV_VIRT_IF_ENABLE \
|
||||||
CONFIG_NSS_DRV_VLAN_ENABLE \
|
CONFIG_NSS_DRV_VLAN_ENABLE \
|
||||||
CONFIG_NSS_DRV_VXLAN_ENABLE \
|
CONFIG_NSS_DRV_VXLAN_ENABLE \
|
||||||
CONFIG_NSS_DRV_WIFI_ENABLE \
|
CONFIG_NSS_DRV_WIFIOFFLOAD_ENABLE \
|
||||||
CONFIG_NSS_DRV_WIFI_EXT_VDEV_ENABLE \
|
CONFIG_NSS_DRV_WIFI_EXT_VDEV_ENABLE \
|
||||||
CONFIG_NSS_DRV_WIFI_MESH_ENABLE \
|
CONFIG_NSS_DRV_WIFI_MESH_ENABLE \
|
||||||
CONFIG_NSS_DRV_WIFI_LEGACY_ENABLE
|
CONFIG_NSS_DRV_WIFI_LEGACY_ENABLE
|
||||||
@ -264,8 +264,8 @@ endif
|
|||||||
ifndef CONFIG_NSS_DRV_VXLAN_ENABLE
|
ifndef CONFIG_NSS_DRV_VXLAN_ENABLE
|
||||||
DRV_MAKE_OPTS += NSS_DRV_VXLAN_ENABLE=n
|
DRV_MAKE_OPTS += NSS_DRV_VXLAN_ENABLE=n
|
||||||
endif
|
endif
|
||||||
ifndef CONFIG_NSS_DRV_WIFI_ENABLE
|
ifndef CONFIG_NSS_DRV_WIFIOFFLOAD_ENABLE
|
||||||
DRV_MAKE_OPTS += NSS_DRV_WIFI_ENABLE=n
|
DRV_MAKE_OPTS += NSS_DRV_WIFIOFFLOAD_ENABLE=n
|
||||||
endif
|
endif
|
||||||
ifndef CONFIG_NSS_DRV_WIFI_EXT_VDEV_ENABLE
|
ifndef CONFIG_NSS_DRV_WIFI_EXT_VDEV_ENABLE
|
||||||
DRV_MAKE_OPTS += NSS_DRV_WIFI_EXT_VDEV_ENABLE=n
|
DRV_MAKE_OPTS += NSS_DRV_WIFI_EXT_VDEV_ENABLE=n
|
||||||
|
|||||||
@ -1,13 +1,9 @@
|
|||||||
--- a/Makefile
|
--- a/Makefile
|
||||||
+++ b/Makefile
|
+++ b/Makefile
|
||||||
@@ -350,12 +350,19 @@ qca-nss-drv-objs += \
|
@@ -351,10 +351,17 @@ endif
|
||||||
nss_pppoe_strings.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
-ifneq "$(NSS_DRV_WIFIOFFLOAD_ENABLE)" "n"
|
ifneq "$(NSS_DRV_WIFIOFFLOAD_ENABLE)" "n"
|
||||||
-ccflags-y += -DNSS_DRV_WIFIOFFLOAD_ENABLE
|
ccflags-y += -DNSS_DRV_WIFIOFFLOAD_ENABLE
|
||||||
+ifneq "$(NSS_DRV_WIFI_ENABLE)" "n"
|
|
||||||
+ccflags-y += -DNSS_DRV_WIFI_ENABLE
|
|
||||||
+ifneq "$(NSS_DRV_WIFI_LEGACY_ENABLE)" "n"
|
+ifneq "$(NSS_DRV_WIFI_LEGACY_ENABLE)" "n"
|
||||||
+ccflags-y += -DNSS_DRV_WIFI_LEGACY_ENABLE
|
+ccflags-y += -DNSS_DRV_WIFI_LEGACY_ENABLE
|
||||||
qca-nss-drv-objs += \
|
qca-nss-drv-objs += \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user