[PATCH 0/3] Channels in licensed bands, noise floor override
Simon Wunderlich
sw at simonwunderlich.de
Thu Mar 16 08:13:34 PDT 2017
This series contains two patches to enable channels in licensed bands.
Note that there are quite a few requirements to enable those:
* channels must be explicitly enabled using a licensed band kernel config
which contains a warning
* it depends on CFG80211_CERTIFICATION_ONUS
* users must install a custom regdb, since channels in those licensed
bands are not included in the standard regdb
The ath9k patch has been proposed two times and rejected, but it also
included some channels on fractional center frequencies, which is not
the case this time (this would require more changes in mac80211 and
also userspace). The other concern about useres accidently tuning
should not be a problem based on the requirements mentioned above. I've
added another patch doing the same thing for ath10k.
Here is some more info on our need/background:
"We are working on a project that involves the use of Public Safety
channels (4.9x GHz). It is typical 'First Responder' scenario where a
communication network infrastructure should be set up in catastrophe
situations.
As this is a controlled and managed network, the organization setting up
the network has control over the channels that are being used, when and
for how long and in which geographical area. The enforcement of such a
temporary license is a major requirement in this project.
To reduce the cost for the equipment (compared to commercial offerings
in the 4k USD range), the outdoor devices run on hardened, but standard
embedded hardware with a recent linux kernel and use Atheros radios.
We believe, that driver support for 4.9GHz channels should be included
in the Linux kernel, as the driver just exposes specified hardware
features which are disabled by default via
a) a separate compile-time flag. This is similar to the code used for
compliance testing.
b) The default CRDA should (and does) not enable such channels.
Those two safeguards seem sufficient to protect against accidental misuse."
The third patch is adding an experimental debug option to override
the noise floor level, which is usually calibrated automatically.
Cheers,
Simon
Ben Greear (1):
ath9k: Support channels in licensed bands
Simon Wunderlich (2):
ath10k: add support for channels in licensed bands
ath9k: add noise floor override option
drivers/net/wireless/ath/ath10k/Kconfig | 20 +++++++++
drivers/net/wireless/ath/ath10k/core.h | 4 ++
drivers/net/wireless/ath/ath10k/mac.c | 9 ++++
drivers/net/wireless/ath/ath10k/wmi.c | 7 +++-
drivers/net/wireless/ath/ath9k/Kconfig | 20 +++++++++
drivers/net/wireless/ath/ath9k/ath9k.h | 2 +-
drivers/net/wireless/ath/ath9k/calib.c | 5 ++-
drivers/net/wireless/ath/ath9k/common-init.c | 35 ++++++++++++----
drivers/net/wireless/ath/ath9k/debug.c | 62 ++++++++++++++++++++++++++++
drivers/net/wireless/ath/ath9k/hw.h | 5 ++-
10 files changed, 155 insertions(+), 14 deletions(-)
--
2.11.0
More information about the ath10k
mailing list