aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index f6e56370ea65..c0fd432b57dc 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -673,6 +673,25 @@ enum nl80211_bitrate_attr {
673}; 673};
674 674
675/** 675/**
676 * enum nl80211_initiator - Indicates the initiator of a reg domain request
677 * @NL80211_REGDOM_SET_BY_CORE: Core queried CRDA for a dynamic world
678 * regulatory domain.
679 * @NL80211_REGDOM_SET_BY_USER: User asked the wireless core to set the
680 * regulatory domain.
681 * @NL80211_REGDOM_SET_BY_DRIVER: a wireless drivers has hinted to the
682 * wireless core it thinks its knows the regulatory domain we should be in.
683 * @NL80211_REGDOM_SET_BY_COUNTRY_IE: the wireless core has received an
684 * 802.11 country information element with regulatory information it
685 * thinks we should consider.
686 */
687enum nl80211_reg_initiator {
688 NL80211_REGDOM_SET_BY_CORE,
689 NL80211_REGDOM_SET_BY_USER,
690 NL80211_REGDOM_SET_BY_DRIVER,
691 NL80211_REGDOM_SET_BY_COUNTRY_IE,
692};
693
694/**
676 * enum nl80211_reg_rule_attr - regulatory rule attributes 695 * enum nl80211_reg_rule_attr - regulatory rule attributes
677 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional 696 * @NL80211_ATTR_REG_RULE_FLAGS: a set of flags which specify additional
678 * considerations for a given frequency range. These are the 697 * considerations for a given frequency range. These are the