From 9a77d59b8b91bbeebfb125331124ce99b4ccb12a Mon Sep 17 00:00:00 2001 From: akshat Date: Fri, 4 Jul 2025 13:48:51 +0530 Subject: [PATCH] fix(wifi): Add suport for FTM in ESP32C61 Resolve FTM failure in 40M Bandwidth --- components/esp_wifi/lib | 2 +- components/soc/esp32c61/include/soc/Kconfig.soc_caps.in | 2 +- components/soc/esp32c61/include/soc/soc_caps.h | 2 +- examples/wifi/ftm/README.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index a4de247fdc..392a4cd2a9 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit a4de247fdc364ed1b80152e4e86b5a96ee57d364 +Subproject commit 392a4cd2a9a1d07669dfd04923f828f7bc042304 diff --git a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in index 61d83031b1..3a2a11098d 100644 --- a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in @@ -1245,7 +1245,7 @@ config SOC_WIFI_HW_TSF config SOC_WIFI_FTM_SUPPORT bool - default n + default y config SOC_WIFI_GCMP_SUPPORT bool diff --git a/components/soc/esp32c61/include/soc/soc_caps.h b/components/soc/esp32c61/include/soc/soc_caps.h index ecc5bb7b0b..5c1ea83eb3 100644 --- a/components/soc/esp32c61/include/soc/soc_caps.h +++ b/components/soc/esp32c61/include/soc/soc_caps.h @@ -512,7 +512,7 @@ /*------------------------------------ WI-FI CAPS ------------------------------------*/ //TODO: IDF-13138, re-open on c61 eco3 #define SOC_WIFI_HW_TSF (1) /*!< Support hardware TSF */ -#define SOC_WIFI_FTM_SUPPORT (0) /*!< Support FTM */ +#define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */ #define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */ #define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */ #define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */ diff --git a/examples/wifi/ftm/README.md b/examples/wifi/ftm/README.md index 7f6df2c5f1..d441c55336 100644 --- a/examples/wifi/ftm/README.md +++ b/examples/wifi/ftm/README.md @@ -1,5 +1,5 @@ -| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-S2 | ESP32-S3 | -| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S2 | ESP32-S3 | +| ----------------- | -------- | -------- | -------- | -------- | --------- | -------- | -------- | # FTM Example