Skip to content

Commit 597cfcb

Browse files
nachiketkukadeespressif-bot
authored andcommitted
feat(wifi): Enable Wi-Fi Aware (NAN) for ESP32C5 and ESP32C61
1 parent cbcfecd commit 597cfcb

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
@@ -1487,6 +1487,10 @@ config SOC_WIFI_MAC_VERSION_NUM
14871487
int
14881488
default 3
14891489

1490+
config SOC_WIFI_NAN_SUPPORT
1491+
bool
1492+
default y
1493+
14901494
config SOC_BLE_SUPPORTED
14911495
bool
14921496
default y

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@
615615
#define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
616616
#define SOC_WIFI_SUPPORT_5G (1) /*!< Support 5G */
617617
#define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
618+
#define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
618619

619620
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
620621
#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
@@ -1067,6 +1067,10 @@ config SOC_WIFI_MAC_VERSION_NUM
10671067
int
10681068
default 3
10691069

1070+
config SOC_WIFI_NAN_SUPPORT
1071+
bool
1072+
default y
1073+
10701074
config SOC_BLE_SUPPORTED
10711075
bool
10721076
default y

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@
481481
#define SOC_WIFI_MESH_SUPPORT (1) /*!< Support WIFI MESH */
482482
#define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
483483
#define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
484+
#define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
484485

485486
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
486487
#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)