wifi: ath11k: refactor transmitted arvif retrieval
authorAloka Dixit <aloka.dixit@oss.qualcomm.com>
Mon, 10 Feb 2025 18:27:14 +0000 (10:27 -0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Fri, 28 Feb 2025 19:53:13 +0000 (11:53 -0800)
commitab8a17bc63e2d187ea4602e1d1b9baf10c7b252d
tree8ae3853ec29e3a54e9e19d076b96bcdfaf95e56c
parent6f2d839d11b36c630dbcad2c68613f15409de392
wifi: ath11k: refactor transmitted arvif retrieval

Create a new function ath11k_mac_get_tx_arvif() to retrieve 'arvif'
for the transmitted interface of the MBSSID set. This will help
modifying the same code path to reflect mac80211 data structure
changes to support MLO. This also fixes an issue in
ath11k_mac_update_vif_chan() where tx_arvif is not reset to NULL
inside for loop during each iteration. Compile tested only.

Signed-off-by: Aloka Dixit <aloka.dixit@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250210182718.408891-2-aloka.dixit@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath11k/mac.c