mac80211_hwsim: allow creation of single-channel radios with chanctx
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 10 Feb 2014 13:23:03 +0000 (15:23 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 11 Feb 2014 12:10:02 +0000 (13:10 +0100)
commit361c3e0485c737b9c8a2d456b8c3c7b08d8ca8ee
tree0db4ba87b0ae50ec2b782b99cfc3b1490d34d47c
parente4dcbb375cd829e1649b12e0ab7d7e5b7efcb5a5
mac80211_hwsim: allow creation of single-channel radios with chanctx

Add a new HWSIM_ATTR_USE_CHANCTX attribute to the
HWSIM_CMD_CREATE_RADIO command to allow the creation of radios with
one channel that use channel contexts.  If this attribute is not
present, the behaviour is the same as before (ie. single channel
radios don't use channel contexts and multi channel radios do).

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/mac80211_hwsim.h
This page took 0.025799 seconds and 5 git commands to generate.