[PATCH 1/3] wifi: cfg80211: export DFS CAC time and usable state helper functions

Jeff Johnson quic_jjohnson at quicinc.com
Tue Aug 22 08:01:48 PDT 2023


On 6/7/2023 5:46 AM, 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.
> 
> Make these two functions visible to drivers by exporting their symbol
> to global list of kernel symbols.
> 
> Lower level drivers can make use of these two functions to be aware
> if CAC is required on the given chandef and for how long. For example
> drivers which maintains the CAC state internally can make use of these.
> 
> Signed-off-by: Aditya Kumar Singh <quic_adisi at quicinc.com>

Reviewed-by: Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath11k mailing list