On 6/28/2024 2:51 AM, Harshitha Prem wrote: > From: Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> > > Hardware device group abstraction would be introduced, in future, > where radios across different devices can be grouped together to > support multi-link operation and register as a device group to mac80211. > > Currently, ath12k_mac_allocate() and ath12k_mac_register() APIs are part > of ath12k_core_start() and ath12k_core_pdev_create() respectively and are > based on per device (ath12k_base). These APIs can be decoupled and moved > out to ath12k_core_qmi_firmware_ready() itself. > > This refactor would be helpful for device group abstraction when mac80211 > allocate and register will be changed from per device (ath12k_base) to > per device group (ath12k_hw_group). > > Add changes to move allocate and register APIs from existing one and modify > corresponding deinit sequence. > > 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>