refactor(wifi): Add SAE PT config flag and optimize wifi bin size for sta mode

This commit is contained in:
Sajia
2025-02-14 11:23:39 +05:30
committed by Nachiket Kukade
parent fcbe493070
commit 07540f3253
11 changed files with 120 additions and 25 deletions

View File

@@ -147,7 +147,7 @@ static int hostapd_derive_psk(struct hostapd_ssid *ssid)
int hostapd_setup_sae_pt(struct hostapd_bss_config *conf)
{
#ifdef CONFIG_SAE
#ifdef CONFIG_SAE_H2E
struct hostapd_ssid *ssid = &conf->ssid;
if ((conf->sae_pwe == SAE_PWE_HUNT_AND_PECK ||
!wpa_key_mgmt_sae(conf->wpa_key_mgmt)))
@@ -165,7 +165,7 @@ int hostapd_setup_sae_pt(struct hostapd_bss_config *conf)
return -1;
}
#endif /* CONFIG_SAE */
#endif /* CONFIG_SAE_H2E */
return 0;
}