tests: Add P2P invitation coverage during p2p_find
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 7 Apr 2016 18:10:10 +0000 (21:10 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 7 Apr 2016 18:10:10 +0000 (21:10 +0300)
commit601e55726c6053b89297fca47f1b4c18fc31fb5d
tree7b9cab28e5ec147c5cbae753f5a03ef96de7db95
parent3433721c5f9073c0d45c1109b825f1dcbabbf517
tests: Add P2P invitation coverage during p2p_find

The new persistent_group_peer_dropped3 test case is similar to
persistent_group_peer_dropped with the difference being in the
responding device (the one from which the persistent group information
is dropped) is not issued a separate P2P_LISTEN command and instead, a
single P2P_FIND is used through the exchange to verify that this
operation does not get stopped unexpectedly. This is a regression test
case to verify that P2P_PENDING_INVITATION_RESPONSE case ends up calling
p2p_check_after_scan_tx_continuation() in non-success case. It should be
noted that this is dependent on timing: Action frame TX request needs to
occur during the P2P_FIND Search phase (scan). As such, not every
execution of this test case will hit the previous issue sequence, but
that should be hit every now and then.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/p2p_utils.py
tests/hwsim/test_p2p_persistent.py