summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-01-23 00:05:51 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 22:01:17 +0100
commit716f9392e2b84cacc18cc11f7427cb98adeb1c3d (patch)
treef56a37fc79aa331b8f5b57a5038f1b4c93d8a578 /net/wireless/reg.h
parentcfg80211: move check for ignore_reg_update() on wiphy_update_regulatory() (diff)
downloadlinux-716f9392e2b84cacc18cc11f7427cb98adeb1c3d.tar.xz
linux-716f9392e2b84cacc18cc11f7427cb98adeb1c3d.zip
cfg80211: pass more detailed regulatory request information on reg_notifier()
Drivers may need more information than just who set the last regulatory domain, as such lets just pass the last regulatory_request receipt. To do this we need to move out to headers struct regulatory_request, and enum environment_cap. While at it lets add documentation for enum environment_cap. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.h')
-rw-r--r--net/wireless/reg.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/wireless/reg.h b/net/wireless/reg.h
index a76ea3ff7cd6..eb1dd5bc9b27 100644
--- a/net/wireless/reg.h
+++ b/net/wireless/reg.h
@@ -11,13 +11,6 @@ void regulatory_exit(void);
int set_regdom(const struct ieee80211_regdomain *rd);
-enum environment_cap {
- ENVIRON_ANY,
- ENVIRON_INDOOR,
- ENVIRON_OUTDOOR,
-};
-
-
/**
* __regulatory_hint - hint to the wireless core a regulatory domain
* @wiphy: if the hint comes from country information from an AP, this