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>
This commit is contained in:
committed by
John W. Linville
parent
d46e5b1d0c
commit
716f9392e2
@@ -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
|
||||
|
Reference in New Issue
Block a user