]> git.baikalelectronics.ru Git - kernel.git/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)
commite2e5d3befc153ac6bf63aa7e34f627c21e7bc773
tree1f42c4c6259207f293f8ee0e7cee1bbee72b7c83
parentde3ab22f5139721fc8f5b6fbdd62127a2edabbc0
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