cfg80211: Disallow moving out of operating DFS channel in non-ETSI
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Mon, 27 Feb 2017 11:34:34 +0000 (17:04 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Mar 2017 12:54:19 +0000 (13:54 +0100)
commit34373d12f3cbb74960a73431138ef619d857996f
tree1939db7951c3b42925d9c43c61e76d01ec208fee
parentb35a51c7dd25a823767969e3089542d7478777e9
cfg80211: Disallow moving out of operating DFS channel in non-ETSI

For non-ETSI regulatory domain, CAC result on DFS channel
may not be valid once moving out of that channel (as done
during remain-on-channel, scannning and off-channel tx).
Running CAC on an operating DFS channel after every off-channel
operation will only add complexity and disturb the current
link. Better do not allow any off-channel switch from a DFS
operating channel in non-ETSI domain.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c