hwsim tests: Add support for the chanctx flag when creating radios
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Feb 2014 15:06:19 +0000 (17:06 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2014 14:53:40 +0000 (16:53 +0200)
commitbe32ace48bf02886e2c76e97b34042a798d438ec
tree7f7f2395f289e08bbf019014f7a80ebdd426f181
parent8c9cb81fb7e55d131a02b31c9bd523f014602cf5
hwsim tests: Add support for the chanctx flag when creating radios

Add a new option to set the use_chanctx flag when creating a radio.
While at it, refactor the arguments parsing code to use argparse.

Signed-hostap: Luciano Coelho <luciano.coelho@intel.com>
tests/hwsim/hwsim.py
tests/hwsim/netlink.py