From: Kiran Kumar Lokere Date: Thu, 8 Jun 2023 19:30:02 +0000 (-0700) Subject: Set RRM used config if the (Re)Association Request frame has RRM IE X-Git-Tag: hostap_2_11~1081 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4636476b7f222bc5760f85c090b1eaf3c0eff075;p=thirdparty%2Fhostap.git Set RRM used config if the (Re)Association Request frame has RRM IE Set the sme RRM used config if the RRM element is present in the (Re)Association Request frame sent in association event to cover the cases where the driver SME takes care of negotiating RRM capabilities. Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index e7aaa1a12..9db6c14a3 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -3143,6 +3143,8 @@ static int wpa_supplicant_event_associnfo(struct wpa_supplicant *wpa_s, resp_elems.he_capabilities; wpa_s->connection_eht = req_elems.eht_capabilities && resp_elems.eht_capabilities; + if (req_elems.rrm_enabled) + wpa_s->rrm.rrm_used = 1; } }