2022年1月19日(水) 19:13 Michael Biebl <biebl@xxxxxxxxxx>: > I tried the various versions from snapshots.d.o > > 2:2.9.0-23 - works > 2:2.9.0+git20200221+f65da0c-1 - works > 2:2.9.0+git20200517+dd2daf0-1 - doesn't work > 2:2.9.0+git20210909+a75fdcd-1 - doesn't work > 2:2.9.0+git20211018+2e122945fa53-1 - doesn't work > 2:2.9.0+git20211116+0b853303ae31-1 - doesn't work > 2:2.10-1 - doesn't work > > > I then went on and disabled WPA2+WPA3 mode on the Wi-Fi router and set > it to WPA2 (CCMP). > > After that, the connection was established successfully with 2.10. > > If I remember correctly, my hardware doesn't support WPA3, but since I > enabled support for both WPA2+WPA3, it should fall back to WPA2. > > Obviously I'd like to keep WPA3 enabled for newer clients. > > Regards, > Michael Could you try this patch to latest wpa_supplicant ? diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index d37a994f9..626e26e4f 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -7976,17 +7976,10 @@ int wpas_network_disabled(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) int wpas_get_ssid_pmf(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid) { - if (ssid == NULL || ssid->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { - if (wpa_s->conf->pmf == MGMT_FRAME_PROTECTION_OPTIONAL && - !(wpa_s->drv_enc & WPA_DRIVER_CAPA_ENC_BIP)) { - /* - * Driver does not support BIP -- ignore pmf=1 default - * since the connection with PMF would fail and the - * configuration does not require PMF to be enabled. - */ - return NO_MGMT_FRAME_PROTECTION; - } + if (!(wpa_s->drv_enc & WPA_DRIVER_CAPA_ENC_BIP)) + return NO_MGMT_FRAME_PROTECTION; + if (ssid == NULL || ssid->ieee80211w == MGMT_FRAME_PROTECTION_DEFAULT) { if (ssid && (ssid->key_mgmt & ~(WPA_KEY_MGMT_NONE | WPA_KEY_MGMT_WPS | Regards, Masashi Honma. _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap