From 832123a5e1f39fc480941dfbc29372dcc171acdd Mon Sep 17 00:00:00 2001 From: muhaidong Date: Wed, 8 Dec 2021 15:59:10 +0800 Subject: [PATCH 1/3] esp_wifi: fix fragment plt loss and update header file 1. fix(pp): fix fragment plt loss when 2td pn compare with 1th pn 2. pmf allow keyindex in big endian format to workaround faulty APs 3. docs: update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file 4. allow for minimal scope of wifi_init_config_t --- components/esp_rom/esp8684/ld/esp8684.rom.ld | 2 +- components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_rom/esp8684/ld/esp8684.rom.ld b/components/esp_rom/esp8684/ld/esp8684.rom.ld index 656c30a23c..fd32ce046c 100644 --- a/components/esp_rom/esp8684/ld/esp8684.rom.ld +++ b/components/esp_rom/esp8684/ld/esp8684.rom.ld @@ -1708,7 +1708,7 @@ ppRecycleAmpdu = 0x40001adc; ppRecycleRxPkt = 0x40001ae0; ppResortTxAMPDU = 0x40001ae4; ppResumeTxAMPDU = 0x40001ae8; -ppRxFragmentProc = 0x40001aec; +/* ppRxFragmentProc = 0x40001aec; */ ppRxPkt = 0x40001af0; ppRxProtoProc = 0x40001af4; ppSearchTxQueue = 0x40001af8; diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 657dd399cf..ae1371b9a4 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 657dd399cff195341fd536d503ce99f0d46876a6 +Subproject commit ae1371b9a43f2d7e78f10c1f525850a2962df0ba From fffed159f898da1a51f8ccf9e3a4848101d5eb41 Mon Sep 17 00:00:00 2001 From: Shang Zhou Date: Fri, 26 Nov 2021 19:11:09 +0800 Subject: [PATCH 2/3] docs: Update miswritten and abbreviated words and syntax errors for initialize WiFi section in esp_wifi.h header file --- components/esp_wifi/include/esp_wifi.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index 2d67159176..9b72541f94 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -231,18 +231,18 @@ extern uint64_t g_wifi_feature_caps; }; /** - * @brief Init WiFi - * Alloc resource for WiFi driver, such as WiFi control structure, RX/TX buffer, - * WiFi NVS structure etc, this WiFi also start WiFi task + * @brief Initialize WiFi + * Allocate resource for WiFi driver, such as WiFi control structure, RX/TX buffer, + * WiFi NVS structure etc. This WiFi also starts WiFi task * * @attention 1. This API must be called before all other WiFi API can be called - * @attention 2. Always use WIFI_INIT_CONFIG_DEFAULT macro to init the config to default values, this can - * guarantee all the fields got correct value when more fields are added into wifi_init_config_t - * in future release. If you want to set your owner initial values, overwrite the default values - * which are set by WIFI_INIT_CONFIG_DEFAULT, please be notified that the field 'magic' of + * @attention 2. Always use WIFI_INIT_CONFIG_DEFAULT macro to initialize the configuration to default values, this can + * guarantee all the fields get correct value when more fields are added into wifi_init_config_t + * in future release. If you want to set your own initial values, overwrite the default values + * which are set by WIFI_INIT_CONFIG_DEFAULT. Please be notified that the field 'magic' of * wifi_init_config_t should always be WIFI_INIT_CONFIG_MAGIC! * - * @param config pointer to WiFi init configuration structure; can point to a temporary variable. + * @param config pointer to WiFi initialized configuration structure; can point to a temporary variable. * * @return * - ESP_OK: succeed From 317a11cb054e5097eba0145ebd430fc6756a3d9b Mon Sep 17 00:00:00 2001 From: NikLeberg <39563554+NikLeberg@users.noreply.github.com> Date: Tue, 16 Feb 2021 18:07:46 +0100 Subject: [PATCH 3/3] allow for minimal scope of wifi_init_config_t With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT()) --- components/esp_wifi/include/esp_wifi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index 9b72541f94..bcd10c77a1 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -228,7 +228,7 @@ extern uint64_t g_wifi_feature_caps; .feature_caps = g_wifi_feature_caps, \ .sta_disconnected_pm = WIFI_STA_DISCONNECTED_PM_ENABLED, \ .magic = WIFI_INIT_CONFIG_MAGIC\ -}; +} /** * @brief Initialize WiFi