diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-03-09 22:07:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-16 18:09:40 -0400 |
commit | 7db90f4a25bd4184f3d36dfa4f512f53b0448da7 (patch) | |
tree | 839b8103801cac9342763e1b62e84730a8050ccc /include/linux | |
parent | 0fee54cab7d5ebc58fad8c6a0703c4ea016405e3 (diff) |
cfg80211: move enum reg_set_by to nl80211.h
We do this so we can later inform userspace who set the
regulatory domain and provide details of the request.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nl80211.h | 19 |
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 | */ | ||
687 | enum 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 |