[PATCH] hostap: Missing flags in RNR IE

shay.bar at celeno.com shay.bar at celeno.com
Sun Jul 31 00:40:12 PDT 2022


From: Shay Bar <shay.bar at celeno.com>

RNR_BSS_PARAM_MULTIPLE_BSSID and RNR_BSS_PARAM_TRANSMITTED_BSSID flags are
needed for 6E Certification:
"4.72 APUT Out-of-Band Discovery with RNR and Discovery of a 6 GHz Multiple BSSID AP test"

Signed-off-by: Shay Bar <shay.bar at celeno.com>
Signed-off-by: moran.daori <moran.daori at celeno.com>
---
 src/ap/ieee802_11.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index e9288bed9..7f721373b 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -7464,6 +7464,12 @@ static u8 * hostapd_eid_rnr_iface(struct hostapd_data *hapd,
 			    reporting_hapd->conf->ssid.short_ssid)
 				bss_param |= RNR_BSS_PARAM_SAME_SSID;
 
+			if (iface->num_bss > 1)
+				bss_param |= RNR_BSS_PARAM_MULTIPLE_BSSID;
+
+			if (i == start)
+				bss_param |= RNR_BSS_PARAM_TRANSMITTED_BSSID;
+
 			if (is_6ghz_op_class(hapd->iconf->op_class) &&
 			    bss->conf->unsol_bcast_probe_resp_interval)
 				bss_param |=
-- 
2.17.1




More information about the Hostap mailing list