forked from espressif/esp-idf
feat(wifi): Add support to handle OWE transition disable indication from AP
This commit is contained in:
committed by
Sarvesh Bodakhe
parent
34725cdbfd
commit
fd556dc785
@@ -291,6 +291,7 @@ bool esp_wifi_is_ft_enabled_internal(uint8_t if_index);
|
||||
uint8_t esp_wifi_sta_get_config_sae_pk_internal(void);
|
||||
void esp_wifi_sta_disable_sae_pk_internal(void);
|
||||
void esp_wifi_sta_disable_wpa2_authmode_internal(void);
|
||||
void esp_wifi_sta_disable_owe_trans_internal(void);
|
||||
uint8_t esp_wifi_ap_get_max_sta_conn(void);
|
||||
uint8_t esp_wifi_get_config_sae_pwe_h2e_internal(uint8_t ifx);
|
||||
bool esp_wifi_ap_notify_node_sae_auth_done(uint8_t *mac);
|
||||
|
@@ -93,7 +93,8 @@ int hostapd_send_eapol(const u8 *source, const u8 *sta_addr,
|
||||
|
||||
}
|
||||
|
||||
static void disable_wpa_wpa2() {
|
||||
static void disable_wpa_wpa2(void)
|
||||
{
|
||||
esp_wifi_sta_disable_wpa2_authmode_internal();
|
||||
}
|
||||
|
||||
@@ -119,6 +120,10 @@ void wpa_supplicant_transition_disable(struct wpa_sm *sm, u8 bitmap)
|
||||
disable_wpa_wpa2();
|
||||
}
|
||||
|
||||
if ((bitmap & TRANSITION_DISABLE_ENHANCED_OPEN) &&
|
||||
wpa_key_mgmt_owe(sm->key_mgmt)) {
|
||||
esp_wifi_sta_disable_owe_trans_internal();
|
||||
}
|
||||
}
|
||||
|
||||
u8 *wpa_sm_alloc_eapol(struct wpa_sm *sm, u8 type,
|
||||
|
Reference in New Issue
Block a user