Fixed not to support seamless roaming for WPA AP

The seamless roaming support that we have currently is for SAE transition mode which uses WPA2.
but, DUT tried to connect AP using multiple AKM even if the AP is set as WPA-PSK-CCMP.

Before, fixed to support multiple AKMs only CCMP combinations.
https://partner-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/2246211
In addition to the change, this fix could prevent WPA APs from using multiple AKM features.

Bug: 254302283
Test: tested with TPlink Archer C7 AC1750

Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.com>
Change-Id: I70d526693c1ac3b929a4f85ede040dd879b0ea98
This commit is contained in:
Dennis Jeon
2022-10-24 15:31:04 +09:00
committed by Isaac Chiou
parent ae4e78ffec
commit a393081ada

View File

@@ -1909,7 +1909,8 @@ int wpa_supplicant_set_suites(struct wpa_supplicant *wpa_s,
if ((wpa_s->key_mgmt & WPA_KEY_MGMT_CROSS_AKM_ROAM) &&
IS_CROSS_AKM_ROAM_KEY_MGMT(ssid->key_mgmt) &&
(wpa_s->group_cipher == WPA_CIPHER_CCMP) &&
(wpa_s->pairwise_cipher == WPA_CIPHER_CCMP)) {
(wpa_s->pairwise_cipher == WPA_CIPHER_CCMP) &&
(wpa_s->wpa_proto == WPA_PROTO_RSN)) {
wpa_s->key_mgmt = WPA_KEY_MGMT_SAE | WPA_KEY_MGMT_PSK;
wpa_dbg(wpa_s, MSG_INFO,
"WPA: Updating to KEY_MGMT SAE+PSK for seamless roaming");