[PATCH 22/42] AP: Don't include MLD ID in beacons

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

 



The IEEE 802.11be/D3.0 specification section 9.4.2.312.2.3 states that
the MLD ID should only be included in some ML probe responses.
Beacons shouldn't include MLD ID.

Signed-off-by: Benjamin Berg <benjamin.berg@xxxxxxxxx>
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx>
---
 src/ap/beacon.c         | 2 +-
 tests/hwsim/test_eht.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ap/beacon.c b/src/ap/beacon.c
index c72da1b88d..66e59ebf69 100644
--- a/src/ap/beacon.c
+++ b/src/ap/beacon.c
@@ -2195,7 +2195,7 @@ int ieee802_11_build_ap_params(struct hostapd_data *hapd,
 	if (hapd->iconf->ieee80211be && !hapd->conf->disable_11be) {
 		if (hapd->conf->mld_ap)
 			tailpos = hostapd_eid_eht_ml_beacon(hapd, NULL,
-							    tailpos, true);
+							    tailpos, false);
 		tailpos = hostapd_eid_eht_capab(hapd, tailpos,
 						IEEE80211_MODE_AP);
 		tailpos = hostapd_eid_eht_operation(hapd, tailpos);
diff --git a/tests/hwsim/test_eht.py b/tests/hwsim/test_eht.py
index 3e4c10ff67..530128c9c6 100644
--- a/tests/hwsim/test_eht.py
+++ b/tests/hwsim/test_eht.py
@@ -250,7 +250,7 @@ def test_eht_mld_discovery(dev, apdev):
 
         rnr_pattern = re.compile(".*ap_info.*, mld ID=0, link ID=",
                                  re.MULTILINE)
-        ml_pattern = re.compile(".*multi-link:.*, MLD ID=0x0", re.MULTILINE)
+        ml_pattern = re.compile(".*multi-link:.*, MLD addr=.*", re.MULTILINE)
 
         bss = wpas.request("BSS " + hapd0.own_addr())
         logger.info("BSS 0: " + str(bss))
-- 
2.38.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