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
|
@ -503,6 +503,9 @@ def main():
|
|||
del hapd
|
||||
hapd = None
|
||||
|
||||
# Use None here since this instance of Wlantest() will never be
|
||||
# used for remote host hwsim tests on real hardware.
|
||||
Wlantest.setup(None)
|
||||
wt = Wlantest()
|
||||
rename_log(args.logdir, 'hwsim0.pcapng', name, wt)
|
||||
rename_log(args.logdir, 'hwsim0', name, wt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue