Skip to content

Commit 1ae9f08

Browse files
committed
fix(wifi_remote): Update per v5.4 espressif/esp-idf@318ad17991f
1 parent d3795cc commit 1ae9f08

File tree

8 files changed

+53
-4
lines changed

8 files changed

+53
-4
lines changed

components/esp_wifi_remote/idf_v5.4/Kconfig.wifi.in

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -533,20 +533,38 @@
533533
default n
534534
help
535535
Select this option to enable 802.11k 802.11v APIs(RRM and BTM support).
536+
537+
config ESP_WIFI_RRM_SUPPORT
538+
bool "Enable 802.11k APIs Support"
539+
depends on ESP_WIFI_11KV_SUPPORT
540+
default n
541+
help
542+
Select this option to enable 802.11k APIs(RRM support).
536543
Only APIs which are helpful for network assisted roaming
537544
are supported for now.
538-
Enable this option with BTM and RRM enabled in sta config
545+
Enable this option with RRM enabled in sta config
539546
to make device ready for network assisted roaming.
540-
BTM: BSS transition management enables an AP to request a station to transition
541-
to a specific AP, or to indicate to a station a set of preferred APs.
542547
RRM: Radio measurements enable STAs to understand the radio environment,
543548
it enables STAs to observe and gather data on radio link performance
544549
and on the radio environment. Current implementation adds beacon report,
545550
link measurement, neighbor report.
546551

552+
config ESP_WIFI_WNM_SUPPORT
553+
bool "Enable 802.11v APIs Support"
554+
depends on ESP_WIFI_11KV_SUPPORT
555+
default n
556+
help
557+
Select this option to enable 802.11v APIs(BTM support).
558+
Only APIs which are helpful for network assisted roaming
559+
are supported for now.
560+
Enable this option with BTM enabled in sta config
561+
to make device ready for network assisted roaming.
562+
BTM: BSS transition management enables an AP to request a station to transition
563+
to a specific AP, or to indicate to a station a set of preferred APs.
564+
547565
config ESP_WIFI_SCAN_CACHE
548566
bool "Keep scan results in cache"
549-
depends on ESP_WIFI_11KV_SUPPORT
567+
depends on ESP_WIFI_RRM_SUPPORT
550568
default n
551569
help
552570
Keep scan results in cache, if not enabled, those
@@ -556,6 +574,8 @@
556574
bool "Enable Multi Band Operation Certification Support"
557575
default n
558576
select ESP_WIFI_11KV_SUPPORT
577+
select ESP_WIFI_RRM_SUPPORT
578+
select ESP_WIFI_WNM_SUPPORT
559579
select ESP_WIFI_SCAN_CACHE
560580
help
561581
Select this option to enable WiFi Multiband operation certification support.

components/esp_wifi_remote/idf_v5.4/esp_wifi_remote_weak.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,11 @@ WEAK esp_err_t esp_wifi_remote_config_80211_tx_rate(wifi_interface_t ifx, wifi_p
366366
LOG_UNSUPPORTED_AND_RETURN(ESP_ERR_NOT_SUPPORTED);
367367
}
368368

369+
WEAK esp_err_t esp_wifi_remote_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config)
370+
{
371+
LOG_UNSUPPORTED_AND_RETURN(ESP_ERR_NOT_SUPPORTED);
372+
}
373+
369374
WEAK esp_err_t esp_wifi_remote_disable_pmf_config(wifi_interface_t ifx)
370375
{
371376
LOG_UNSUPPORTED_AND_RETURN(ESP_ERR_NOT_SUPPORTED);

components/esp_wifi_remote/idf_v5.4/esp_wifi_with_remote.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ esp_err_t esp_wifi_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_rate_t ra
362362
return esp_wifi_remote_config_80211_tx_rate(ifx, rate);
363363
}
364364

365+
esp_err_t esp_wifi_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config)
366+
{
367+
return esp_wifi_remote_config_80211_tx(ifx, config);
368+
}
369+
365370
esp_err_t esp_wifi_disable_pmf_config(wifi_interface_t ifx)
366371
{
367372
return esp_wifi_remote_disable_pmf_config(ifx);

components/esp_wifi_remote/idf_v5.4/include/esp_wifi_remote_api.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ esp_err_t esp_wifi_remote_force_wakeup_release(void);
7676
esp_err_t esp_wifi_remote_set_country_code(const char *country, _Bool ieee80211d_enabled);
7777
esp_err_t esp_wifi_remote_get_country_code(char *country);
7878
esp_err_t esp_wifi_remote_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_rate_t rate);
79+
esp_err_t esp_wifi_remote_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config);
7980
esp_err_t esp_wifi_remote_disable_pmf_config(wifi_interface_t ifx);
8081
esp_err_t esp_wifi_remote_sta_get_aid(uint16_t *aid);
8182
esp_err_t esp_wifi_remote_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode);

components/esp_wifi_remote/test/smoke_test/components/esp_hosted/idf_v5.4/esp_hosted_mock.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ esp_err_t esp_wifi_remote_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_ra
362362
return ESP_OK;
363363
}
364364

365+
esp_err_t esp_wifi_remote_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config)
366+
{
367+
return ESP_OK;
368+
}
369+
365370
esp_err_t esp_wifi_remote_disable_pmf_config(wifi_interface_t ifx)
366371
{
367372
return ESP_OK;

components/esp_wifi_remote/test/smoke_test/components/esp_hosted/idf_v5.4/include/esp_hosted_mock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ esp_err_t esp_wifi_remote_force_wakeup_release(void);
7676
esp_err_t esp_wifi_remote_set_country_code(const char *country, _Bool ieee80211d_enabled);
7777
esp_err_t esp_wifi_remote_get_country_code(char *country);
7878
esp_err_t esp_wifi_remote_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_rate_t rate);
79+
esp_err_t esp_wifi_remote_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *config);
7980
esp_err_t esp_wifi_remote_disable_pmf_config(wifi_interface_t ifx);
8081
esp_err_t esp_wifi_remote_sta_get_aid(uint16_t *aid);
8182
esp_err_t esp_wifi_remote_sta_get_negotiated_phymode(wifi_phy_mode_t *phymode);

components/esp_wifi_remote/test/smoke_test/main/idf_v5.4/all_wifi_calls.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,12 @@ void run_all_wifi_apis(void)
378378
esp_wifi_config_80211_tx_rate(ifx, rate);
379379
}
380380

381+
{
382+
wifi_interface_t ifx = 0;
383+
wifi_tx_rate_config_t *config = NULL;
384+
esp_wifi_config_80211_tx(ifx, config);
385+
}
386+
381387
{
382388
wifi_interface_t ifx = 0;
383389
esp_wifi_disable_pmf_config(ifx);

components/esp_wifi_remote/test/smoke_test/main/idf_v5.4/all_wifi_remote_calls.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,12 @@ void run_all_wifi_remote_apis(void)
378378
esp_wifi_remote_config_80211_tx_rate(ifx, rate);
379379
}
380380

381+
{
382+
wifi_interface_t ifx = 0;
383+
wifi_tx_rate_config_t *config = NULL;
384+
esp_wifi_remote_config_80211_tx(ifx, config);
385+
}
386+
381387
{
382388
wifi_interface_t ifx = 0;
383389
esp_wifi_remote_disable_pmf_config(ifx);

0 commit comments

Comments
 (0)