wifi: ath11k: update proper pdev/vdev id for testmode command
authorVenkateswara Naralasetty <quic_vnaralas@quicinc.com>
Thu, 1 Jun 2023 14:32:14 +0000 (20:02 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 9 Jun 2023 12:30:19 +0000 (15:30 +0300)
commit37fdb33c87c2fa9f83f0f3f0ae5a007c1e917052
tree87036fae743ae04236c36c0e1f99b54cffca4d51
parent6358b10371579e1068b6f236a3ccd5c2fef995e6
wifi: ath11k: update proper pdev/vdev id for testmode command

User can extend test mode command support to set vdev and pdev params
for debug purpose at run time by sending vdev/pdev param set command
through the testmode command interface.

Fill the proper pdev/vdev id in driver since, pdev/vdev id details may
not be available at user space. It will make sure that the proper
vdev/pdev ids are sent to firmware.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

Signed-off-by: Venkateswara Naralasetty <quic_vnaralas@quicinc.com>
Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230601143214.13006-1-quic_rajkbhag@quicinc.com
drivers/net/wireless/ath/ath11k/testmode.c