1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
openmptcprouter-feeds/qaa/qca/net/qca-wifi/patches/0001-0002-enable_nss_wifi_offload.patch
2022-09-10 05:47:47 +08:00

49 lines
1.3 KiB
Diff

diff -Naru /os/linux/BuildCaps.inc /os/linux/BuildCaps.inc
--- /os/linux/BuildCaps.inc 2021-07-23 20:49:20.000000000 +0800
+++ /os/linux/BuildCaps.inc 2021-10-10 17:53:17.176285000 +0800
@@ -962,29 +962,25 @@
ifeq ($(strip ${QCA_NSS_ENABLED}),1)
ifndef QCA_NSS_PLATFORM
- export QCA_NSS_PLATFORM=0
+ export QCA_NSS_PLATFORM=1
endif
ifndef QCA_NSS_WIFI_OFFLOAD_SUPPORT
- export QCA_NSS_WIFI_OFFLOAD_SUPPORT=0
+ export QCA_NSS_WIFI_OFFLOAD_SUPPORT=1
endif
ifndef QCA_NSS_WIFILI_OFFLOAD_SUPPORT
- export QCA_NSS_WIFILI_OFFLOAD_SUPPORT=0
+ export QCA_NSS_WIFILI_OFFLOAD_SUPPORT=1
endif
ifndef QCA_NSS_WIFI_2_0_OFFLOAD_SUPPORT
- export QCA_NSS_WIFI_2_0_OFFLOAD_SUPPORT=0
+ export QCA_NSS_WIFI_2_0_OFFLOAD_SUPPORT=1
endif
else
- ifeq ($(strip ${QCA_SINGLE_WIFI_3_0}),1)
export QCA_NSS_PLATFORM=1
- else
- export QCA_NSS_PLATFORM=0
- endif
- export QCA_NSS_WIFI_OFFLOAD_SUPPORT=0
- export QCA_NSS_WIFILI_OFFLOAD_SUPPORT=0
- export QCA_NSS_WIFI_2_0_OFFLOAD_SUPPORT=0
+ export QCA_NSS_WIFI_OFFLOAD_SUPPORT=1
+ export QCA_NSS_WIFILI_OFFLOAD_SUPPORT=1
+ export QCA_NSS_WIFI_2_0_OFFLOAD_SUPPORT=1
endif
ifndef QCA_EMIWAR_80P80_CONFIG_SUPPORT
@@ -992,7 +988,7 @@
endif
ifndef QCA_NSS_NWIFI_MODE
-export QCA_NSS_NWIFI_MODE=0
+export QCA_NSS_NWIFI_MODE=1
endif
ifndef ATH_OL_11AC_DMA_BURST