aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/wireless.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/wireless.h')
-rw-r--r--include/net/wireless.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/wireless.h b/include/net/wireless.h
index 21c5d966142d..9e73aae40c5d 100644
--- a/include/net/wireless.h
+++ b/include/net/wireless.h
@@ -187,6 +187,10 @@ struct ieee80211_supported_band {
187 * we will disregard the first regulatory hint (when the 187 * we will disregard the first regulatory hint (when the
188 * initiator is %REGDOM_SET_BY_CORE). 188 * initiator is %REGDOM_SET_BY_CORE).
189 * @reg_notifier: the driver's regulatory notification callback 189 * @reg_notifier: the driver's regulatory notification callback
190 * @regd: the driver's regulatory domain, if one was requested via
191 * the regulatory_hint() API. This can be used by the driver
192 * on the reg_notifier() if it chooses to ignore future
193 * regulatory domain changes caused by other drivers.
190 */ 194 */
191struct wiphy { 195struct wiphy {
192 /* assign these fields before you register the wiphy */ 196 /* assign these fields before you register the wiphy */
@@ -213,6 +217,8 @@ struct wiphy {
213 217
214 /* fields below are read-only, assigned by cfg80211 */ 218 /* fields below are read-only, assigned by cfg80211 */
215 219
220 const struct ieee80211_regdomain *regd;
221
216 /* the item in /sys/class/ieee80211/ points to this, 222 /* the item in /sys/class/ieee80211/ points to this,
217 * you need use set_wiphy_dev() (see below) */ 223 * you need use set_wiphy_dev() (see below) */
218 struct device dev; 224 struct device dev;