]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: create a structure for WMI vdev up parameters
authorAloka Dixit <quic_alokad@quicinc.com>
Wed, 8 May 2024 20:29:07 +0000 (13:29 -0700)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 16 May 2024 08:15:03 +0000 (11:15 +0300)
commit51c47463543ef4f1f0cf2354527baa297a754995
treea1c3fc34698e7d727aebe1cc23596a60ca8b13da
parent5fbd97f25c4c62eba921b8bc13a45f0210437787
wifi: ath12k: create a structure for WMI vdev up parameters

Host needs to send multiple BSSID configurations to firmware for
each vdev in ath12k_wmi_vdev_up() for AP mode. This function accepts
individual input parameters hence any new argument will require changes
to all callers. Most of these will use default value (0 or NULL).
Create a structure for the function arguments and include objects with
all members initialized to zero to minimize future changes.

Tested-on : QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240508202912.11902-5-quic_alokad@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h