diff options
author | Luis R. Rodriguez <mcgrof@qca.qualcomm.com> | 2012-07-12 22:49:18 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-07-17 14:16:39 +0400 |
commit | 57b5ce072e7361218a8e2ea1d62960cbb71d9cff (patch) | |
tree | c00265b8f2123f860978d293fa122427ea2139f8 /net/wireless/core.c | |
parent | b594bab9021f5225a24bcb69d7f7b7272419adb2 (diff) | |
download | linux-57b5ce072e7361218a8e2ea1d62960cbb71d9cff.tar.xz |
cfg80211: add cellular base station regulatory hint support
Cellular base stations can provide hints to cfg80211 about
where they think we are. This can be done for example on
a cell phone. To enable these hints we simply allow them
through as user regulatory hints but we allow userspace
to clasify the hint as either coming directly from the
user or coming from a cellular base station. This option
is only available when you enable
CONFIG_CFG80211_CERTIFICATION_ONUS.
The base station hints themselves will not be processed
by the core unless at least one device on the system
supports this feature.
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.c')
-rw-r--r-- | net/wireless/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/core.c b/net/wireless/core.c index 71b684b5a675..c0307b05986c 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -542,6 +542,7 @@ int wiphy_register(struct wiphy *wiphy) } /* set up regulatory info */ + wiphy_regulatory_register(wiphy); regulatory_update(wiphy, NL80211_REGDOM_SET_BY_CORE); list_add_rcu(&rdev->list, &cfg80211_rdev_list); |