tests: Add support for wlantest for remote hwsim tests
Use a monitor interface given in the command line that is not also a station or an AP as a monitor running wlantest on the channel used by the test. This makes all the tests that use wlantest available for execution on real hardware on remote hosts. Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
This commit is contained in:
parent
0335ff7f69
commit
8efc83d4e7
12 changed files with 217 additions and 91 deletions
|
@ -18,6 +18,7 @@ def check_qos_map(ap, hapd, dev, sta, dscp, tid, ap_tid=None):
|
|||
if not ap_tid:
|
||||
ap_tid = tid
|
||||
bssid = ap['bssid']
|
||||
Wlantest.setup(hapd)
|
||||
wt = Wlantest()
|
||||
wt.clear_sta_counters(bssid, sta)
|
||||
hwsim_utils.test_connectivity(dev, hapd, dscp=dscp, config=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue