tests: P2P re-invocation with p2p_add_cli_chan=1
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a0a5f73e62
commit
9c2d2378ba
1 changed files with 13 additions and 0 deletions
|
@ -525,3 +525,16 @@ def test_persistent_group_already_running(dev):
|
|||
if "OK" not in dev[0].global_request("P2P_GROUP_ADD persistent=" + networks[0]['id'] + " freq=" + listen_freq):
|
||||
raise Exception("Could not state GO")
|
||||
invite_from_cli(dev[0], dev[1])
|
||||
|
||||
def test_persistent_group_add_cli_chan(dev):
|
||||
"""P2P persistent group formation and re-invocation with p2p_add_cli_chan=1"""
|
||||
dev[0].request("SET p2p_add_cli_chan 1")
|
||||
dev[1].request("SET p2p_add_cli_chan 1")
|
||||
form(dev[0], dev[1])
|
||||
dev[1].request("BSS_FLUSH 0")
|
||||
dev[1].scan(freq="2412", only_new=True)
|
||||
dev[1].scan(freq="2437", only_new=True)
|
||||
dev[1].scan(freq="2462", only_new=True)
|
||||
dev[1].request("BSS_FLUSH 0")
|
||||
invite_from_cli(dev[0], dev[1])
|
||||
invite_from_go(dev[0], dev[1])
|
||||
|
|
Loading…
Reference in a new issue