mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
fix(wpa_supplicant):Add MBO config flag for mbo apis
This commit is contained in:
parent
4f506a30df
commit
6006568c77
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2020-2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@ -538,12 +538,14 @@ int esp_wnm_send_bss_transition_mgmt_query(enum btm_query_reason query_reason,
|
|||||||
return wnm_send_bss_transition_mgmt_query(wpa_s, query_reason, btm_candidates, cand_list);
|
return wnm_send_bss_transition_mgmt_query(wpa_s, query_reason, btm_candidates, cand_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_MBO
|
||||||
int esp_mbo_update_non_pref_chan(struct non_pref_chan_s *non_pref_chan)
|
int esp_mbo_update_non_pref_chan(struct non_pref_chan_s *non_pref_chan)
|
||||||
{
|
{
|
||||||
int ret = wpas_mbo_update_non_pref_chan(&g_wpa_supp, non_pref_chan);
|
int ret = wpas_mbo_update_non_pref_chan(&g_wpa_supp, non_pref_chan);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_MBO */
|
||||||
|
|
||||||
void wpa_supplicant_connect(struct wpa_supplicant *wpa_s,
|
void wpa_supplicant_connect(struct wpa_supplicant *wpa_s,
|
||||||
struct wpa_bss *bss, char *ssid)
|
struct wpa_bss *bss, char *ssid)
|
||||||
@ -858,10 +860,6 @@ int esp_wnm_send_bss_transition_mgmt_query(enum btm_query_reason query_reason,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int esp_mbo_update_non_pref_chan(struct non_pref_chan_s *non_pref_chan)
|
|
||||||
{
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
void esp_set_scan_ie(void) { }
|
void esp_set_scan_ie(void) { }
|
||||||
#endif /* defined(CONFIG_IEEE80211KV) || defined(CONFIG_IEEE80211R) */
|
#endif /* defined(CONFIG_IEEE80211KV) || defined(CONFIG_IEEE80211R) */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user