tests: Add some coverage for Device Discoverability exchange
authorJouni Malinen <j@w1.fi>
Wed, 1 Jan 2014 15:37:08 +0000 (17:37 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 1 Jan 2014 15:37:08 +0000 (17:37 +0200)
commit9a170ed2448c1878b003f49d30a3b6fa456d4994
tree438a4aa455c6c94cf7edfa465f93ede4d7a45d13
parentf7fb676633b592d81d38155b9a3079964f2e051e
tests: Add some coverage for Device Discoverability exchange

This is not really perfect, but something to get a bit more testing
coverage.. For proper discoverability mechanism validation, the P2P
client would need to go to sleep to avoid acknowledging the GO
Negotiation Request frame. Offchannel Listen mode operation on the P2P
Client with mac80211_hwsim is apparently not enough to avoid the
acknowledgement on the operating channel, so need to disconnect from the
group which removes the GO-to-P2P Client part of the discoverability
exchange in practice.

Signed-hostap: Jouni Malinen <j@w1.fi>
tests/hwsim/test_p2p_discovery.py