[PATCH] wifi: ath12k: prepare vif config caching for MLO

Jeff Johnson quic_jjohnson at quicinc.com
Thu Jul 25 11:48:34 PDT 2024


On 7/25/2024 2:48 AM, Rameshkumar Sundaram wrote:
> Currently vif configuration cache pointers are placed in arvif and
> caching is done whenever a link vif configuration is received before
> driver created vdev for it (i.e. before channel is assigned),
> this is possible because current code only uses default
> link(ahvif->deflink) which is preallocated.
> 
> With MLO changes the ieee80211_vif drv priv is now ahvif and its
> arvifs(link vif) other than deflink can be allocated dynamically
> during channel assignment. Hence maintain link level cache
> in ahvif and whenever channel is assigned for link vif and vdev is created,
> flush the corresponding link vif cache from ahvif.
> 
> Current code uses cache of ATH12K_DEFAULT_LINK_ID(0) which is the cache
> of ahvif->deflink.
> 
> Co-developed-by: Sriram R <quic_srirrama at quicinc.com>
> Signed-off-by: Sriram R <quic_srirrama at quicinc.com>
> Signed-off-by: Rameshkumar Sundaram <quic_ramess at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath12k mailing list