]> 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)
commit6c0cc8099559f8db2022f7a003ad5a79855f89c5
tree1f42c4c6259207f293f8ee0e7cee1bbee72b7c83
parent4b51e779a84e70b5bfac664d47677208ad95a50b
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