From 0ec496a98ca7ba0d81c877505fa7673bab5be75c Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 12 Mar 2025 13:07:25 +1100 Subject: [PATCH] lib/cyw43-driver: Update driver to latest version v1.1.0. Includes various fixes and improvements to the WLAN driver, in particular: - Add WPA3 STA and AP support. - Attempt to reconnect to AP in response to validation error. - Update 43439 BT firmware for Data Length Extension fix. Signed-off-by: Damien George --- lib/cyw43-driver | 2 +- ports/mimxrt/cyw43_configport.h | 2 +- ports/rp2/cyw43_configport.h | 1 + ports/stm32/cyw43_configport.h | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/cyw43-driver b/lib/cyw43-driver index 9f6405f0b..dd7568229 160000 --- a/lib/cyw43-driver +++ b/lib/cyw43-driver @@ -1 +1 @@ -Subproject commit 9f6405f0b3260968306d782e1c5ac275a46dc65d +Subproject commit dd7568229f3bf7a37737b9e1ef250c26efe75b23 diff --git a/ports/mimxrt/cyw43_configport.h b/ports/mimxrt/cyw43_configport.h index 619db24b1..ab535a477 100644 --- a/ports/mimxrt/cyw43_configport.h +++ b/ports/mimxrt/cyw43_configport.h @@ -107,7 +107,7 @@ #endif #if MICROPY_HW_ENABLE_RF_SWITCH -#define CYW43_PIN_WL_RFSW_VDD pin_WL_RFSW_VDD +#define CYW43_PIN_RFSW_VDD pin_WL_RFSW_VDD #endif #define cyw43_schedule_internal_poll_dispatch(func) pendsv_schedule_dispatch(PENDSV_DISPATCH_CYW43, func) diff --git a/ports/rp2/cyw43_configport.h b/ports/rp2/cyw43_configport.h index 4294691c6..bb99bb297 100644 --- a/ports/rp2/cyw43_configport.h +++ b/ports/rp2/cyw43_configport.h @@ -35,6 +35,7 @@ #include "extmod/modnetwork.h" #include "pendsv.h" +#define CYW43_INCLUDE_LEGACY_F1_OVERFLOW_WORKAROUND_VARIABLES (1) #define CYW43_WIFI_NVRAM_INCLUDE_FILE "wifi_nvram_43439.h" #define CYW43_IOCTL_TIMEOUT_US (1000000) #define CYW43_SLEEP_MAX (10) diff --git a/ports/stm32/cyw43_configport.h b/ports/stm32/cyw43_configport.h index 1ea1ebde1..595051180 100644 --- a/ports/stm32/cyw43_configport.h +++ b/ports/stm32/cyw43_configport.h @@ -102,7 +102,7 @@ #define CYW43_PIN_BT_CTS pyb_pin_BT_CTS #if MICROPY_HW_ENABLE_RF_SWITCH -#define CYW43_PIN_WL_RFSW_VDD pyb_pin_WL_RFSW_VDD +#define CYW43_PIN_RFSW_VDD pyb_pin_WL_RFSW_VDD #endif #define cyw43_schedule_internal_poll_dispatch(func) pendsv_schedule_dispatch(PENDSV_DISPATCH_CYW43, func)