On 6/28/2024 2:51 AM, 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 > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> > Signed-off-by: Harshitha Prem <quic_hprem@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>