[RFC v1 0/3] test: Allow to use WpaSupplicant/Hostapd with remote PC

Janusz Dziedzic janusz.dziedzic at tieto.com
Wed Jan 27 04:59:08 PST 2016


This is proof-of-concept code that base on RFC I send before (CTRL UDP for hostapd
and remote wpaspy).
This allow to use WpaSupplicant and Hostapd with remote clients.
I just copy few test cases from hwsim and run them using wpaspy (CTRL UDP) with
two ath9k cards. Seems works quite good and allow to test whole 80211 stack (hw,
drivers, mac80211, supplicant) eg. for end products

This is first version (idea), but in the future we can add support for iw/iperf etc ... 


Janusz Dziedzic (3):
  tests: allow WpaSupplicant and Hostapd to use remote CTRL
  tests/wpaspy: add Host class
  tests: add remote_test.py script

 tests/hwsim/hostapd.py       | 44 ++++++++++++--------
 tests/hwsim/remote_test.py   | 98 ++++++++++++++++++++++++++++++++++++++++++++
 tests/hwsim/wpasupplicant.py | 24 +++++++----
 wpaspy/test.py               | 12 ++++++
 wpaspy/wpaspy.py             | 67 ++++++++++++++++++++++++++++++
 5 files changed, 221 insertions(+), 24 deletions(-)
 create mode 100755 tests/hwsim/remote_test.py

-- 
1.9.1




More information about the Hostap mailing list