[PATCH 4/4] tests: Test GTK rekey in test_eht_mld_link_removal()

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

 



From: Ilan Peer <ilan.peer@xxxxxxxxx>

Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx>
---
 tests/hwsim/test_eht.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/hwsim/test_eht.py b/tests/hwsim/test_eht.py
index a92d9e5475..7a37a411c1 100644
--- a/tests/hwsim/test_eht.py
+++ b/tests/hwsim/test_eht.py
@@ -853,6 +853,15 @@ def test_eht_mld_link_removal(dev, apdev):
         logger.info("Test traffic after 2nd link disabled")
         traffic_test(wpas, hapd0)
 
+        if "OK" not in hapd0.request("REKEY_GTK"):
+            raise Exception("REKEY_GTK failed")
+
+        ev = wpas.wait_event(["MLO RSN: Group rekeying completed"], timeout=2)
+        if ev is None:
+            raise Exception("GTK rekey timed out")
+
+        traffic_test(wpas, hapd0)
+
         logger.info("Disable the 1st link in 20 beacon intervals")
         hapd0.link_remove(20)
         time.sleep(1)
-- 
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