Skip to content

Commit 4b89f99

Browse files
nachiketkukadeespressif-bot
authored andcommitted
feat(wifi): Enable Wi-Fi Aware (NAN) for ESP32C5 and ESP32C61
1 parent 7ff0087 commit 4b89f99

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
@@ -648,6 +648,7 @@
648648
#define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
649649
#define SOC_WIFI_SUPPORT_5G (1) /*!< Support 5G */
650650
#define SOC_WIFI_MAC_VERSION_NUM (3) /*!< Wi-Fi MAC version num is 3 */
651+
#define SOC_WIFI_NAN_SUPPORT (1) /*!< Support WIFI Aware (NAN) */
651652

652653
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
653654
#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
@@ -1247,6 +1247,10 @@ config SOC_WIFI_MAC_VERSION_NUM
12471247
int
12481248
default 3
12491249

1250+
config SOC_WIFI_NAN_SUPPORT
1251+
bool
1252+
default y
1253+
12501254
config SOC_BLE_SUPPORTED
12511255
bool
12521256
default y

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

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

510511
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
511512
#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)