tests: Test GTK rekey in test_eht_mld_link_removal()
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
780e72cc14
commit
50526415cb
1 changed files with 9 additions and 0 deletions
|
@ -656,6 +656,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)
|
||||
|
|
Loading…
Reference in a new issue