Rameshkumar Sundaram <quic_ramess@xxxxxxxxxxx> wrote: > 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> > Signed-off-by: Sriram R <quic_srirrama@xxxxxxxxxxx> > Signed-off-by: Rameshkumar Sundaram <quic_ramess@xxxxxxxxxxx> > Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> > Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx> 12 patches applied to ath-next branch of ath.git, thanks. ba12f08f3167 wifi: ath12k: add multiple radio support in a single MAC HW un/register d01c08ed6fdb wifi: ath12k: Modify add and remove chanctx ops for single wiphy support b8ce837ea264 wifi: ath12k: modify ath12k mac start/stop ops for single wiphy 314876885bdc wifi: ath12k: vdev statemachine changes for single wiphy 0d6e6736ed9f wifi: ath12k: scan statemachine changes for single wiphy 0148e40c9f0a wifi: ath12k: fetch correct radio based on vdev status b5068bc9180d wifi: ath12k: Cache vdev configs before vdev create cec77a252407 wifi: ath12k: Add additional checks for vif and sta iterators 0da00e45ee9a wifi: ath12k: modify regulatory support for single wiphy architecture 5a6af83c397d wifi: ath12k: Modify set and get antenna mac ops for single wiphy d258f16ba10f wifi: ath12k: Modify rts threshold mac op for single wiphy 4f242b1d6996 wifi: ath12k: support get_survey mac op for single wiphy -- https://patchwork.kernel.org/project/linux-wireless/patch/20240405194519.1337906-2-quic_ramess@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches