On 1/10/2024 8:50 PM, Sriram R wrote: > From: Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> > > Currently MAC HW un/register helper function support the single radio. > To enable single/multi link operation in the future, the following helper > functions need to be refactored to accommodate multiple radios under a > single MAC HW un/register: > > * ath12k_ah_to_ar() > * ath12k_mac_hw_allocate() > * ath12k_mac_hw_register() > * ath12k_mac_hw_unregister() > > This refactoring will make it easier to scale these functionalities and > support Multi link operation. > > Current Multi wiphy Model > > +---------------+ +---------------+ +---------------+ > | Mac80211 hw | | Mac80211 hw | | Mac80211 hw | > | private data | | private data | | private data | > | | | | | | > |ath12k_hw (ah) | |ath12k_hw (ah) | |ath12k_hw (ah) | > | | | | | | > | +-----------+ | | +-----------+ | | +-----------+ | > | | ar (2GHz) | | | | ar (5GHz) | | | | ar (6GHz) | | > | +-----------+ | | +-----------+ | | +-----------+ | > | | | | | | > +---------------+ +---------------+ +---------------+ > > Single wiphy Model > > +--------------+ > | Mac80211 hw | > | private data | > | | > |ath12k hw (ah)| > | +----------+ | > | |ar (2GHz) | | > | +----------+ | > | |ar (5GHz) | | > | +----------+ | > | |ar (6GHz) | | > | +----------+ | > +--------------+ > > 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.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 > > Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@xxxxxxxxxxx> All the patches you repost that were authored by others need your S-O-B.