cfg80211: add cellular base station regulatory hint support
authorLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
Thu, 12 Jul 2012 18:49:18 +0000 (11:49 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 17 Jul 2012 10:16:39 +0000 (12:16 +0200)
commit57b5ce072e7361218a8e2ea1d62960cbb71d9cff
treec00265b8f2123f860978d293fa122427ea2139f8
parentb594bab9021f5225a24bcb69d7f7b7272419adb2
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>
include/linux/nl80211.h
include/net/regulatory.h
net/wireless/core.c
net/wireless/nl80211.c
net/wireless/reg.c
net/wireless/reg.h