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>
The controller module allows adding/destroying radios on the fly with the recent hwsim changes. Signed-off-by: Johannes Berg <johannes.berg@intel.com>