mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
tests: Additional coverage for P2P_EXT_LISTEN
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
bf1b59731a
commit
7387532549
@ -254,6 +254,8 @@ def test_grpform_pd(dev):
|
||||
def test_grpform_ext_listen(dev):
|
||||
"""P2P group formation with extended listen timing enabled"""
|
||||
try:
|
||||
if "FAIL" not in dev[0].global_request("P2P_EXT_LISTEN 100"):
|
||||
raise Exception("Invalid P2P_EXT_LISTEN accepted")
|
||||
if "OK" not in dev[0].global_request("P2P_EXT_LISTEN 100 50000"):
|
||||
raise Exception("Failed to set extended listen timing")
|
||||
if "OK" not in dev[1].global_request("P2P_EXT_LISTEN 200 40000"):
|
||||
|
Loading…
Reference in New Issue
Block a user