Skip to content

Commit 2e5e9fc

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'feature/nan_support_c5' into 'master'
Enable Wi-Fi Aware (NAN) on ESP32C5 and ESP32C61 Closes IDF-10599 and IDF-10628 See merge request espressif/esp-idf!30495
2 parents c7a0e45 + 4b89f99 commit 2e5e9fc

File tree

7 files changed

+16
-6
lines changed

7 files changed

+16
-6
lines changed

components/soc/esp32c5/include/soc/Kconfig.soc_caps.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1631,6 +1631,10 @@ config SOC_WIFI_MAC_VERSION_NUM
16311631
int
16321632
default 3
16331633

1634+
config SOC_WIFI_NAN_SUPPORT
1635+
bool
1636+
default y
1637+
16341638
config SOC_BLE_SUPPORTED
16351639
bool
16361640
default y

components/soc/esp32c5/include/soc/soc_caps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@
650650
#define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
651651
#define SOC_WIFI_SUPPORT_5G (1) /*!< Support 5G */
652652
#define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
653+
#define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
653654

654655
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
655656
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */

components/soc/esp32c61/include/soc/Kconfig.soc_caps.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,10 @@ config SOC_WIFI_MAC_VERSION_NUM
12391239
int
12401240
default 3
12411241

1242+
config SOC_WIFI_NAN_SUPPORT
1243+
bool
1244+
default y
1245+
12421246
config SOC_BLE_SUPPORTED
12431247
bool
12441248
default y

components/soc/esp32c61/include/soc/soc_caps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@
504504
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */
505505
#define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
506506
#define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
507+
#define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
507508

508509
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
509510
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */

examples/wifi/wifi_aware/nan_console/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-S2 |
2-
| ----------------- | ----- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C5 | ESP32-C61 | ESP32-S2 |
2+
| ----------------- | ----- | -------- | --------- | -------- |
33

44
# NAN Console Example
55

examples/wifi/wifi_aware/nan_publisher/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-S2 |
2-
| ----------------- | ----- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C5 | ESP32-C61 | ESP32-S2 |
2+
| ----------------- | ----- | -------- | --------- | -------- |
33

44
# NAN Publisher Example
55

examples/wifi/wifi_aware/nan_subscriber/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-S2 |
2-
| ----------------- | ----- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C5 | ESP32-C61 | ESP32-S2 |
2+
| ----------------- | ----- | -------- | --------- | -------- |
33

44
# NAN Subscriber Example
55

0 commit comments

Comments
 (0)