]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: add hw_link_id in ath12k_pdev
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Thu, 30 May 2024 15:56:52 +0000 (18:56 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 3 Jun 2024 13:15:50 +0000 (16:15 +0300)
commit22767241e64427bbcffea2e2d51531ab467bc4ef
tree260d29a55a65c2d9156a838946f7e6a60f28fdf7
parent809055628bce824b7fe18331abb65e44d02b0ecf
wifi: ath12k: add hw_link_id in ath12k_pdev

Currently, hw_link_id is sent in WMI service ready event but it
is not parsed anywhere.

But, in future, for multi-link operation, this parameter would be
needed by many WMI commands such as WMI beacon template
(WMI_BCN_TMPL_CMDID), WMI vdev start for Multi-link virtual AP
interfaces (WMI_VDEV_START_REQUEST_CMDID), WMI peer assoc command
(WMI_PEER_ASSOC_CMDID) for Multi-link peer and so on.

Hence, add changes to parse and store the hw_link_id received in
WMI service ready event in ath12k_pdev structure.

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

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Signed-off-by: Harshitha Prem <quic_hprem@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240529054955.4105240-1-quic_hprem@quicinc.com
drivers/net/wireless/ath/ath12k/core.h
drivers/net/wireless/ath/ath12k/mac.c
drivers/net/wireless/ath/ath12k/wmi.c