summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-01-10 20:07:49 +0100
committerJohannes Berg <johannes.berg@intel.com>2014-02-04 21:48:27 +0100
commit8c66a3d9d951a645861b9ec5751184723c4480ce (patch)
treed2f7b1260321bc47e77ea61b3e420e3b9b9eb9ba /drivers/net/wireless/mac80211_hwsim.h
parentmac80211: remove module handling from rate control ops (diff)
downloadlinux-8c66a3d9d951a645861b9ec5751184723c4480ce.tar.xz
linux-8c66a3d9d951a645861b9ec5751184723c4480ce.zip
mac80211_hwsim: make P2P-Device support optional
When creating new devices, allow P2P-Device support to be turned off to be able to test default behaviour with and without the support. Also add a module parameter for the default setting. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.h')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.h b/drivers/net/wireless/mac80211_hwsim.h
index 2747cce5a269..6e72996ec8c1 100644
--- a/drivers/net/wireless/mac80211_hwsim.h
+++ b/drivers/net/wireless/mac80211_hwsim.h
@@ -107,6 +107,7 @@ enum {
* (nla string, length 2)
* @HWSIM_ATTR_REG_CUSTOM_REG: custom regulatory domain index (u32 attribute)
* @HWSIM_ATTR_REG_STRICT_REG: request REGULATORY_STRICT_REG (flag attribute)
+ * @HWSIM_ATTR_SUPPORT_P2P_DEVICE: support P2P Device virtual interface (flag)
* @__HWSIM_ATTR_MAX: enum limit
*/
@@ -126,6 +127,7 @@ enum {
HWSIM_ATTR_REG_HINT_ALPHA2,
HWSIM_ATTR_REG_CUSTOM_REG,
HWSIM_ATTR_REG_STRICT_REG,
+ HWSIM_ATTR_SUPPORT_P2P_DEVICE,
__HWSIM_ATTR_MAX,
};
#define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1)