[PATCH v2 1/3] wifi: cfg80211: export DFS CAC time and usable state helper functions
Johannes Berg
johannes at sipsolutions.net
Wed Sep 13 03:17:38 PDT 2023
On Wed, 2023-09-13 at 15:46 +0530, Aditya Kumar Singh wrote:
> 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?
OK, fair enough :)
johannes
More information about the ath11k
mailing list