Skip to content

Commit 69bd12d

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'fix/backport_wifi_fixes_v5.4' into 'release/v5.4'
fix(wifi): backport some fixes to v5.4 See merge request espressif/esp-idf!37008
2 parents 93651dd + 597cfcb commit 69bd12d

File tree

11 files changed

+20
-10
lines changed

11 files changed

+20
-10
lines changed

components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pm_local_tsf_process = 0x40000cd4;
122122
pm_set_beacon_filter = 0x40000cd8;
123123
pm_is_in_wifi_slice_threshold = 0x40000cdc;
124124
pm_is_waked = 0x40000ce0;
125-
pm_keep_alive = 0x40000ce4;
125+
//pm_keep_alive = 0x40000ce4;
126126
pm_on_beacon_rx = 0x40000ce8;
127127
pm_on_data_rx = 0x40000cec;
128128
pm_on_data_tx = 0x40000cf0;

components/esp_wifi/include/esp_wifi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ esp_err_t esp_wifi_scan_stop(void);
583583
esp_err_t esp_wifi_scan_get_ap_num(uint16_t *number);
584584

585585
/**
586-
* @brief Get AP list found in last scan.
586+
* @brief Retrieve the list of APs found during the last scan. The returned AP list is sorted in descending order based on RSSI.
587587
*
588588
* @attention This API will free all memory occupied by scanned AP list.
589589
*

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,10 @@ config SOC_WIFI_MAC_VERSION_NUM
14911491
int
14921492
default 3
14931493

1494+
config SOC_WIFI_NAN_SUPPORT
1495+
bool
1496+
default y
1497+
14941498
config SOC_BLE_SUPPORTED
14951499
bool
14961500
default y

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

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

620621
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
621622
#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
@@ -1071,6 +1071,10 @@ config SOC_WIFI_MAC_VERSION_NUM
10711071
int
10721072
default 3
10731073

1074+
config SOC_WIFI_NAN_SUPPORT
1075+
bool
1076+
default y
1077+
10741078
config SOC_BLE_SUPPORTED
10751079
bool
10761080
default y

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

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

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

examples/wifi/iperf/main/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ dependencies:
88
esp-qa/ping-cmd:
99
version: "~1.0.0"
1010
espressif/esp-extconn:
11-
version: "~0.1.0"
11+
version: "~0.2.0"
1212
rules:
1313
- if: "target in [esp32p4]"

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

0 commit comments

Comments
 (0)