On 9/13/23 14:58, Johannes Berg wrote:
On Tue, 2023-09-12 at 10:48 +0530, Aditya Kumar Singh wrote:
cfg80211 has cfg80211_chandef_dfs_usable() function to know whether
at least one channel in the chandef is in usable state or not. Also,
cfg80211_chandef_dfs_cac_time() function is there which tells the CAC
time required for the given chandef.
Should we really export the time function just for a debug messages?
That seems like a waste of space?
Yes absolutely. But actually as a follow up of this patch, we have
Background DFS patch in pipeline which requires us to send the CAC time
to firmware. So its actually needed there. And may be once we do this,
other drivers also may start using this?