]> 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)
commit55add6e7a66717ece6dd273142c8663e795a85ad
treec00265b8f2123f860978d293fa122427ea2139f8
parent167f5840a0f5e18b7a501db0c8d5f977013377e2
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