]> Pileus Git - ~andy/linux/commit
mac80211_hwsim: allow creating/destroying radios on the fly
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 Jan 2014 22:29:20 +0000 (23:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 19:12:59 +0000 (20:12 +0100)
commitbc7910989601fbde02b3dd485d595a614d21ef1e
tree1f42c4c6259207f293f8ee0e7cee1bbee72b7c83
parentc5ac08548b53c3292aa3cbd02de6ae99ca7271e6
mac80211_hwsim: allow creating/destroying radios on the fly

Add new commands to the hwsim generic netlink family to allow
creating and destroying radios on the fly. The number of channels
a radio supports can be specified when it's created, if it isn't
the module parameter will be used as default.

This should be extended in the future to allow other parameters
to be specified, e.g.
 * list of channels
 * interface combinations, particularly P2P_DEVICE support
 * regtest
 * and pretty much all other hardware capabilities

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/mac80211_hwsim.h