aboutsummaryrefslogtreecommitdiffstats
path: root/patch/sys_config.h.patch
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2024-12-22 20:12:21 +0100
committerBernhard Guillon <Bernhard.Guillon@begu.org>2024-12-22 20:12:21 +0100
commit7754ef7204e873aa33d55ebe5002257e3941e942 (patch)
tree873dc17f83c61f56e452330c2d1d2d0343305f67 /patch/sys_config.h.patch
downloadwb3s-ble-nebula-galaxy-7754ef7204e873aa33d55ebe5002257e3941e942.tar.gz
wb3s-ble-nebula-galaxy-7754ef7204e873aa33d55ebe5002257e3941e942.zip
Import bk_ble from elektroda forum
https://www.elektroda.com/rtvforum/topic3989434.html\#20742145
Diffstat (limited to 'patch/sys_config.h.patch')
-rw-r--r--patch/sys_config.h.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/patch/sys_config.h.patch b/patch/sys_config.h.patch
new file mode 100644
index 0000000..a1f9c15
--- /dev/null
+++ b/patch/sys_config.h.patch
@@ -0,0 +1,45 @@
+--- sdk/app/config/sys_config.h 2021-08-16 11:59:34.000000000 -0500
++++ ../sdk/app/config/sys_config.h 2023-07-11 08:19:04.077829080 -0500
+@@ -13,7 +13,7 @@
+ #define OSMALLOC_STATISTICAL 0
+
+ /*section 0-----app macro config-----*/
+-#define CFG_IEEE80211N 1
++#define CFG_IEEE80211N 0
+
+ /*section 1-----OS macro config-----*/
+ #define CFG_OS_FREERTOS 1
+@@ -36,17 +36,17 @@
+ /*section 2-----function macro config-----*/
+ #define CFG_TX_EVM_TEST 0
+ #define CFG_RX_SENSITIVITY_TEST 0
+-#define CFG_ROLE_LAUNCH 1
++#define CFG_ROLE_LAUNCH 0
+ #define CFG_USE_WPA_29 0
+ #define CFG_WPA_CTRL_IFACE 0
+-#define CFG_WLAN_FAST_CONNECT 1
++#define CFG_WLAN_FAST_CONNECT 0
+ /* PMF */
+ #define CFG_IEEE80211W 0
+ #if CFG_WPA_CTRL_IFACE
+ #undef CFG_ROLE_LAUNCH
+ #define CFG_ROLE_LAUNCH 0
+ #endif
+-#define CFG_WPA3 1
++#define CFG_WPA3 0
+ #if CFG_WPA3
+ /* disable rl, enable ctrl iface, enable wpa29, pmf, sme */
+ #undef CFG_ROLE_LAUNCH
+@@ -123,10 +123,10 @@
+ #endif
+
+ /*section 8-----for netstack*/
+-#define CFG_USE_LWIP_NETSTACK 1
++#define CFG_USE_LWIP_NETSTACK 0
+
+ /*section 9-----for DHCP servicers and client*/
+-#define CFG_USE_DHCP 1
++#define CFG_USE_DHCP 0
+
+ /*section 10-----patch*/
+ #define CFG_BK7221_MDM_WATCHDOG_PATCH 0