Currently CAC running flag in ath11k is not set if DFS radar is required in secondary channel. This is due to the fact that only primary channel's DFS state and CAC time is being checked before setting the flag. Fix this issue by checking the DFS state of all the sub-channels inside a channel definition and not just the primary channel. Also, make minor change in debug prints to show the CAC time Aditya Kumar Singh (3): wifi: cfg80211: export DFS CAC time and usable state helper functions wifi: ath11k: fix CAC running state during virtual interface start wifi: ath11k: fix Tx power value during active CAC drivers/net/wireless/ath/ath11k/mac.c | 27 +++++++++++++++++++-------- include/net/cfg80211.h | 24 ++++++++++++++++++++++++ net/wireless/chan.c | 2 ++ net/wireless/core.h | 17 ----------------- 4 files changed, 45 insertions(+), 25 deletions(-) base-commit: a4756ac34a7002861c9bdf8cf45aec53a77fb78d -- 2.17.1