Merge branch 'bugfix/fix_esp32c2_does_not_support_csi_issue' into 'master'

Bugfix/fix esp32c2 does not support csi issue

Closes IDF-4216

See merge request espressif/esp-idf!18595
This commit is contained in:
morris
2022-06-21 22:04:21 +08:00
12 changed files with 55 additions and 4 deletions

View File

@@ -124,6 +124,7 @@ menu "Wi-Fi"
config ESP32_WIFI_CSI_ENABLED config ESP32_WIFI_CSI_ENABLED
bool "WiFi CSI(Channel State Information)" bool "WiFi CSI(Channel State Information)"
depends on SOC_WIFI_CSI_SUPPORT
default n default n
help help
Select this option to enable CSI(Channel State Information) feature. CSI takes about Select this option to enable CSI(Channel State Information) feature. CSI takes about

View File

@@ -686,3 +686,11 @@ config SOC_WIFI_GCMP_SUPPORT
config SOC_WIFI_WAPI_SUPPORT config SOC_WIFI_WAPI_SUPPORT
bool bool
default y default y
config SOC_WIFI_CSI_SUPPORT
bool
default y
config SOC_WIFI_MESH_SUPPORT
bool
default y

View File

@@ -384,3 +384,5 @@
#define SOC_WIFI_FTM_SUPPORT (0) /*!< FTM is not supported */ #define SOC_WIFI_FTM_SUPPORT (0) /*!< FTM is not supported */
#define SOC_WIFI_GCMP_SUPPORT (0) /*!< GCMP is not supported(GCMP128 and GCMP256) */ #define SOC_WIFI_GCMP_SUPPORT (0) /*!< GCMP is not supported(GCMP128 and GCMP256) */
#define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */ #define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */
#define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */

View File

@@ -561,7 +561,7 @@ config SOC_WIFI_HW_TSF
config SOC_WIFI_FTM_SUPPORT config SOC_WIFI_FTM_SUPPORT
bool bool
default y default n
config SOC_WIFI_GCMP_SUPPORT config SOC_WIFI_GCMP_SUPPORT
bool bool
@@ -570,3 +570,11 @@ config SOC_WIFI_GCMP_SUPPORT
config SOC_WIFI_WAPI_SUPPORT config SOC_WIFI_WAPI_SUPPORT
bool bool
default n default n
config SOC_WIFI_CSI_SUPPORT
bool
default n
config SOC_WIFI_MESH_SUPPORT
bool
default n

View File

@@ -280,6 +280,8 @@
/*------------------------------------ WI-FI CAPS ------------------------------------*/ /*------------------------------------ WI-FI CAPS ------------------------------------*/
#define SOC_WIFI_HW_TSF (1) /*!< Support hardware TSF */ #define SOC_WIFI_HW_TSF (1) /*!< Support hardware TSF */
#define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */ #define SOC_WIFI_FTM_SUPPORT (0) /*!< FTM is not supported */
#define SOC_WIFI_GCMP_SUPPORT (0) /*!< GCMP is not supported(GCMP128 and GCMP256) */ #define SOC_WIFI_GCMP_SUPPORT (0) /*!< GCMP is not supported(GCMP128 and GCMP256) */
#define SOC_WIFI_WAPI_SUPPORT (0) /*!< WAPI is not supported */ #define SOC_WIFI_WAPI_SUPPORT (0) /*!< WAPI is not supported */
#define SOC_WIFI_CSI_SUPPORT (0) /*!< CSI is not supported */
#define SOC_WIFI_MESH_SUPPORT (0) /*!< WIFI MESH is not supported */

View File

@@ -766,3 +766,11 @@ config SOC_WIFI_GCMP_SUPPORT
config SOC_WIFI_WAPI_SUPPORT config SOC_WIFI_WAPI_SUPPORT
bool bool
default y default y
config SOC_WIFI_CSI_SUPPORT
bool
default y
config SOC_WIFI_MESH_SUPPORT
bool
default y

View File

@@ -361,3 +361,5 @@
#define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */ #define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */
#define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */ #define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */
#define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */ #define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */
#define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */

View File

@@ -866,3 +866,11 @@ config SOC_WIFI_GCMP_SUPPORT
config SOC_WIFI_WAPI_SUPPORT config SOC_WIFI_WAPI_SUPPORT
bool bool
default y default y
config SOC_WIFI_CSI_SUPPORT
bool
default y
config SOC_WIFI_MESH_SUPPORT
bool
default y

View File

@@ -395,3 +395,5 @@
#define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */ #define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */
#define SOC_WIFI_GCMP_SUPPORT (0) /*!< GCMP is not supported(GCMP128 and GCMP256) */ #define SOC_WIFI_GCMP_SUPPORT (0) /*!< GCMP is not supported(GCMP128 and GCMP256) */
#define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */ #define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */
#define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */

View File

@@ -983,6 +983,14 @@ config SOC_WIFI_WAPI_SUPPORT
bool bool
default y default y
config SOC_WIFI_CSI_SUPPORT
bool
default y
config SOC_WIFI_MESH_SUPPORT
bool
default y
config SOC_TWAI_BRP_MIN config SOC_TWAI_BRP_MIN
int int
default 2 default 2

View File

@@ -427,3 +427,5 @@
#define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */ #define SOC_WIFI_FTM_SUPPORT (1) /*!< Support FTM */
#define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */ #define SOC_WIFI_GCMP_SUPPORT (1) /*!< Support GCMP(GCMP128 and GCMP256) */
#define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */ #define SOC_WIFI_WAPI_SUPPORT (1) /*!< Support WAPI */
#define SOC_WIFI_CSI_SUPPORT (1) /*!< Support CSI */
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */

View File

@@ -1,5 +1,5 @@
| Supported Targets | ESP32-S2 | ESP32-C3 | | Supported Targets | ESP32-S2 | ESP32-C3 | ESP32-S3 |
| ----------------- | -------- | -------- | | ----------------- | -------- | -------- | -------- |
# FTM Example # FTM Example