]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: update beacon template function to use arvif structure
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Fri, 24 Jan 2025 06:16:35 +0000 (11:46 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 3 Feb 2025 22:43:28 +0000 (14:43 -0800)
commit4094445969740028f9b637977781b73b64c5bc7c
tree4ba44ccd5b8e385d8c1c5de3958be1438fc522d3
parent8a5ad319f2e6f0462dbcb1bd3a6ba5097f629a5b
wifi: ath12k: update beacon template function to use arvif structure

The current code has ath12k_wmi_bcn_tmpl() accepting separate ar and
vdev_id parameters. However, ath12k_link_vif structure can be used to
derive both of these.

Hence, simplify the function signature.

Later change needs arvif pointer access within the function hence it is
better if arvif is directly passed now.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Link: https://patch.msgid.link/20250124-ath12k_mlo_csa-v2-1-420c42fcfecf@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h