[PATCH 00/24] Modify tests to properly work with P2P Device as well

Ilan Peer ilan.peer
Wed Feb 4 01:30:12 PST 2015


In our local setups we are using hwsim with P2P Device
enabled. The following patch set includes modifications for
the tests cases to allow them to pass also when P2P Device
is supported. These mostly consist of:

1. Using the global control interface for P2P commands and
   events.
2. Using the relevant group interface name when needed.
3. Resolve cases that need to handle with multi interface
   scenarios, e.g., assuming that the p2p_dev_addr == own_addr

Verified that the tests are passing also when the P2P Device is not
enabled.

Ben Rosenfeld (4):
  tests: Fix test_ap_psk() to use own_addr
  tests: Fix test ap_wps_per_station_psk() to use own_addr
  tests: Modify tests in test_hapd_ctrl to use own_addr
  tests: Modify tests in test_ap_pmf to use own_addr

David Spinadel (2):
  tests: Use global control interface in test_nfc_p2p
  tests: Modify test_autogo_bridge() test to use group interface

Eliad Peller (1):
  tests: Add printk tracer to trace-cmd

Ilan Peer (16):
  tests: Use global control interface in wait_go_ending_session()
  tests: Use global control interface in test_wpas_ctrl_global()
  tests: Use global control interface in test_autogo()
  tests: Use Global and Group control interfaces in test_p2p_autogo
  tests: Modify test_autogo_legacy() to use the group interface
  tests: Use the global control interface in test_p2p_channel_avoid()
  tests: Modify test_p2p_discovery to use global and group interfaces
  tests: Use global control interface in test_discovery_dev_id()
  tests: Update group ifname in p2p_go_invite_auth()
  tests: Use global_request for SET commands in test_p2p_grpform
  tests: Use the global control interface in test_p2p_grpform
  tests: Add option to specify ifname to get_bss
  tests: Use get_bss with ifname in test_autogo()
  tests: Modify test_p2p_discovery to use global control interface
  tests: Use global control interface in test_p2p_service
  tests: Use global control interface in test_p2p_concurrency

Matti Gottlieb (1):
  tests: Fix destination address in ap_hs20_remediation_required_ctrl()

 tests/hwsim/run-tests.py            |   2 +-
 tests/hwsim/test_ap_hs20.py         |   2 +-
 tests/hwsim/test_ap_pmf.py          |   8 +-
 tests/hwsim/test_ap_psk.py          |   6 +-
 tests/hwsim/test_ap_wps.py          |   6 +-
 tests/hwsim/test_hapd_ctrl.py       |   4 +-
 tests/hwsim/test_nfc_p2p.py         | 203 ++++++++++++++++++------------------
 tests/hwsim/test_p2p_autogo.py      |  32 +++---
 tests/hwsim/test_p2p_channel.py     |   4 +-
 tests/hwsim/test_p2p_concurrency.py |  14 +--
 tests/hwsim/test_p2p_discovery.py   |  38 +++----
 tests/hwsim/test_p2p_grpform.py     |  49 ++++-----
 tests/hwsim/test_p2p_invitation.py  |   4 +
 tests/hwsim/test_p2p_service.py     | 108 +++++++++----------
 tests/hwsim/test_wpas_ctrl.py       |  10 +-
 tests/hwsim/wpasupplicant.py        |  15 ++-
 16 files changed, 261 insertions(+), 244 deletions(-)

-- 
1.8.3.2




More information about the Hostap mailing list