tests: P2P persistent group re-invocation with empty BSS table

This verifies P2P Client scanning behavior during group re-invocation in
a case where old scan results are not available to allow the scan to be
skipped completely.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2014-03-25 13:43:56 +02:00 committed by Jouni Malinen
parent 9905de3129
commit 406739c499

View file

@ -111,6 +111,14 @@ def test_persistent_group2(dev):
invite_from_cli(dev[0], dev[1]) invite_from_cli(dev[0], dev[1])
invite_from_go(dev[0], dev[1]) invite_from_go(dev[0], dev[1])
def test_persistent_group3(dev):
"""P2P persistent group formation and re-invocation with empty BSS table"""
form(dev[0], dev[1])
dev[1].request("BSS_FLUSH 0")
invite_from_cli(dev[0], dev[1])
dev[1].request("BSS_FLUSH 0")
invite_from_go(dev[0], dev[1])
def test_persistent_group_per_sta_psk(dev): def test_persistent_group_per_sta_psk(dev):
"""P2P persistent group formation and re-invocation using per-client PSK""" """P2P persistent group formation and re-invocation using per-client PSK"""
addr0 = dev[0].p2p_dev_addr() addr0 = dev[0].p2p_dev_addr()