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@xxxxxxxxxxx> > Signed-off-by: Sriram R <quic_srirrama@xxxxxxxxxxx> > Signed-off-by: Rameshkumar Sundaram <quic_ramess@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>