Message ID | 20231206034920.1037449-1-quic_periyasa@quicinc.com |
---|---|
Headers | show |
Series | wifi: ath12k: Refactor MAC alloc/destroy/un/register helper functions | expand |
On 12/5/2023 7:49 PM, Karthikeyan Periyasamy wrote: > Currently, the data path pdev pre alloc and mac allocate are called > separately from the core start procedure. The data path pdev pre alloc > can be called from the mac allocate procedure itself since initialization > related to pdev happens in the mac allocate procedure. So move the caller > of DP pdev pre alloc from the core start procedure to the mac allocate > procedure. This change helps in the future to easily decouple the mac > allocate procedure from core start handling in order to support MLO in > multi chip. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
On 12/5/2023 7:49 PM, Karthikeyan Periyasamy wrote: > Currently, the MAC setup helper function is accessing the mac80211 hw > data. In the future, to support single/multi link operation, need to > decouple the mac80211 hw data from this helper function so that it can be > easy to scale these functions to support single/multi link operations. So > remove the mac80211 hw access from the ath12k_mac_setup_channels_rates() > helper function. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
On 12/5/2023 7:49 PM, Karthikeyan Periyasamy wrote: > Currently, the mac80211 hw registration procedure is tightly coupled with > the handling of link/radio (ar). Define a new helper function to separate > the link/radio handling from the mac80211 hw registration procedure for > improved code readability. Also, it can be easy to scale these > functionality to support single/multi link operation in the future. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>