tests: P2P with 6 GHz disabled
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
14318ccff5
commit
e7b27637a5
1 changed files with 12 additions and 0 deletions
|
@ -1366,3 +1366,15 @@ def test_p2p_channel_drv_pref_autogo(dev):
|
|||
res_go = autogo(dev[0])
|
||||
if res_go['freq'] != "2417":
|
||||
raise Exception("Unexpected operating frequency: " + res_go['freq'])
|
||||
|
||||
def test_p2p_channel_disable_6ghz(dev):
|
||||
"""P2P with 6 GHz disabled"""
|
||||
try:
|
||||
dev[0].global_request("SET p2p_6ghz_disable 1")
|
||||
dev[1].p2p_listen()
|
||||
dev[0].discover_peer(dev[1].p2p_dev_addr(), social=False)
|
||||
|
||||
autogo(dev[1])
|
||||
connect_cli(dev[1], dev[0])
|
||||
finally:
|
||||
dev[0].global_request("SET p2p_6ghz_disable 0")
|
||||
|
|
Loading…
Reference in a new issue