[PATCH] hostap: Missing flags in RNR IE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Shay Bar <shay.bar@xxxxxxxxxx>

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@xxxxxxxxxx>
Signed-off-by: moran.daori <moran.daori@xxxxxxxxxx>
---
 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


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux