]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit789f12c60c563bcb3c250f85e6ff7f860c6db36d
treec00265b8f2123f860978d293fa122427ea2139f8
parente8d2333a4b2747a60fe21ccab4a0c4220eeeb692
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