diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-01-22 18:05:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:17 -0500 |
commit | 716f9392e2b84cacc18cc11f7427cb98adeb1c3d (patch) | |
tree | f56a37fc79aa331b8f5b57a5038f1b4c93d8a578 /include/net/wireless.h | |
parent | d46e5b1d0c617a2a46353812d7f02115c17b5e72 (diff) |
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 'include/net/wireless.h')
-rw-r--r-- | include/net/wireless.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/wireless.h b/include/net/wireless.h index c3f6e462ec2d..9c19764a4849 100644 --- a/include/net/wireless.h +++ b/include/net/wireless.h | |||
@@ -213,7 +213,8 @@ struct wiphy { | |||
213 | struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS]; | 213 | struct ieee80211_supported_band *bands[IEEE80211_NUM_BANDS]; |
214 | 214 | ||
215 | /* Lets us get back the wiphy on the callback */ | 215 | /* Lets us get back the wiphy on the callback */ |
216 | int (*reg_notifier)(struct wiphy *wiphy, enum reg_set_by setby); | 216 | int (*reg_notifier)(struct wiphy *wiphy, |
217 | struct regulatory_request *request); | ||
217 | 218 | ||
218 | /* fields below are read-only, assigned by cfg80211 */ | 219 | /* fields below are read-only, assigned by cfg80211 */ |
219 | 220 | ||