summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorRameshkumar Sundaram <quic_ramess@quicinc.com>2024-10-15 20:14:09 +0300
committerJeff Johnson <quic_jjohnson@quicinc.com>2024-10-16 18:36:19 +0300
commit84c59710829411d4ad344cc6cd8a0fb2d9faa104 (patch)
treed8f0a2eb48c1cd2893a0f142e0d6daf499a14f1d /rust/helpers/task.c
parentb89b5dbea65294e660f26e90d51ec786a7fdccb9 (diff)
downloadlinux-84c59710829411d4ad344cc6cd8a0fb2d9faa104.tar.xz
wifi: ath12k: prepare vif config caching for MLO
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 (struct ath12k_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@quicinc.com> Signed-off-by: Sriram R <quic_srirrama@quicinc.com> Signed-off-by: Rameshkumar Sundaram <quic_ramess@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://patch.msgid.link/20241015171416.518022-5-kvalo@kernel.org Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions