On 4/24/2024 10:57 PM, Harshitha Prem wrote: > From: Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> > > Currently, one or more ath12k_hw is part of device (ath12k_base) but > in future, ath12k_hw would be part of device group (ath12k_hw_group). > Hence, num_hw under device would be moved to device group. > > To facilitate above transition, add helper ath12k_get_num_hw() api to > get the number of radios per device. In future, this helper would be > able to get the number of radios in a device group. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> > Signed-off-by: Harshitha Prem <quic_hprem@xxxxxxxxxxx> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>