[PATCH 0/9] P2PS fix for PIN handling and test modifications

Ilan Peer ilan.peer at intel.com
Thu Jul 2 09:14:51 EDT 2015

While running WFDS certification tests, we've identified a bug in the way
the P2PS P2P-PROV-SHOW-PIN/P2P-PROV-ENTER-PIN where handled in the

The first patch in the set fixes this to behave as expected by the WFDS
specification. The fix caused some of the P2PS tests to fail as they
did not adhere to the WFDS specification.

The following patches in the set fix some issues identified during testing
and in addition re-factor the p2ps tests by adding a generic methods for p2ps
provision and connection establishments. These methods make more strict
validation of the expected p2ps flows and reused in all the p2ps tests,
which simplifies the existing tests and makes easier adding new ones.

Andrei Otcheretianski (8):
  tests: Wait for scan to complete on all interfaces in reset()
  tests: Clear scan cache on reset
  tests: Few trivial fixes to p2ps tests
  tests: Add asp_provision method to wpa_supplicant
  tests: Add p2ps_provision() method
  tests: Add p2ps_connect_pd() method
  tests: Re-factor PD and connection flows in p2ps tests
  tests: Use p2ps_provision() and p2ps_connect_pd() in

Max Stepanov (1):
  P2PS: Fix PD PIN event notifications

 src/p2p/p2p.h                |   5 +
 src/p2p/p2p_pd.c             |  58 +++-
 tests/hwsim/test_p2ps.py     | 734 ++++++++++++++++---------------------------
 tests/hwsim/wpasupplicant.py |  40 ++-
 wpa_supplicant/ctrl_iface.c  |   2 +
 5 files changed, 357 insertions(+), 482 deletions(-)


More information about the HostAP mailing list