diff options
author | Markus Theil | 2020-08-03 16:43:53 +0200 |
---|---|---|
committer | Johannes Berg | 2020-08-27 11:27:17 +0200 |
commit | 12adee3c467dd3dff9f0cd98a33f26dad61187cc (patch) | |
tree | c5fb2bc33741fbb432283ea3b613842367ed8bf1 /include | |
parent | 7c9ff7e232ec45da35d40f33d17b708e36016b58 (diff) |
cfg80211: add helper fn for adjacent rule channels
Some usable channels are located in the union of adjacent
regulatory rules, for example channel 144 in Germany.
Enable them, by also checking if a channel spans two adjacent
regulatory rules/frequency ranges.
All flags involved are disabling things, therefore we can build
the maximum by or-ing them together. Furthermore, take the maximum
of DFS CAC time values and the minimum of allowed power of both
adjacent channels in order to comply with both regulatory rules at
the same time.
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20200803144353.305538-2-markus.theil@tu-ilmenau.de
[remove unrelated comment changes]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions