[PATCH 2/3] AP: Include MLD RNR entries for hidden SSIDs

Benjamin Berg benjamin at sipsolutions.net
Mon Jan 26 07:16:49 PST 2026


From: Benjamin Berg <benjamin.berg at intel.com>

These are required to track updates in an AP MLD and for discovering all
of its links.

Signed-off-by: Benjamin Berg <benjamin.berg at intel.com>
Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
---
 src/ap/ieee802_11.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 1988d3c8a1..ca11ba3a66 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -8205,7 +8205,8 @@ repeat_rnr_len:
 #endif /* CONFIG_IEEE80211BE */
 
 			if (bss == reporting_hapd ||
-			    bss->conf->ignore_broadcast_ssid)
+			    (bss->conf->ignore_broadcast_ssid &&
+			     !(ap_mld && mld_update)))
 				continue;
 
 			if (hostapd_skip_rnr(i, skip_profiles, ap_mld,
@@ -8474,9 +8475,10 @@ static bool hostapd_eid_rnr_bss(struct hostapd_data *hapd,
 	ap_mld = !!hapd->conf->mld_ap;
 #endif /* CONFIG_IEEE80211BE */
 
+	/* MLD RNR has to be included for the parameter change count */
 	if (!bss || !bss->conf || !bss->started ||
-	    bss == reporting_hapd || bss->conf->ignore_broadcast_ssid ||
-	    !bss->beacon_set_done)
+	    bss == reporting_hapd || !bss->beacon_set_done ||
+	    (bss->conf->ignore_broadcast_ssid && !(ap_mld && mld_update)))
 		return false;
 
 	if (hostapd_skip_rnr(i, skip_profiles, ap_mld, tbtt_info_len,
-- 
2.52.0




More information about the Hostap mailing list