]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix scan when operating on DFS channels in ETSI domains
authorAaron Komisar <aaron.komisar@tandemg.com>
Wed, 2 Oct 2019 13:59:07 +0000 (13:59 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 7 Oct 2019 20:10:50 +0000 (22:10 +0200)
commit5f329b225c0da27bf0d2c787e71a9bdcb9938b10
tree986840000f070e524e4c802074e1cea589c05c9c
parented2d742a335ed0aa1df6825d839b4146e0931249
mac80211: fix scan when operating on DFS channels in ETSI domains

In non-ETSI regulatory domains scan is blocked when operating channel
is a DFS channel. For ETSI, however, once DFS channel is marked as
available after the CAC, this channel will remain available (for some
time) even after leaving this channel.

Therefore a scan can be done without any impact on the availability
of the DFS channel as no new CAC is required after the scan.

Enable scan in mac80211 in these cases.

Signed-off-by: Aaron Komisar <aaron.komisar@tandemg.com>
Link: https://lore.kernel.org/r/1570024728-17284-1-git-send-email-aaron.komisar@tandemg.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/scan.c
net/wireless/reg.c
net/wireless/reg.h