[PATCH 00/10] wifi: ath12k: Refactor mac80211 callback operation functions
Karthikeyan Periyasamy
quic_periyasa at quicinc.com
Tue Jan 2 22:37:21 PST 2024
Currently, the existing mac80211 callback functions are defined assuming
each link/radio is represented by a single mac80211 hw. In order to
support multi link operation (MLO), need to move from the multi wiphy
model to a single wiphy model. However, the single wiphy model allows
multiple link/radio to be exposed by the same mac80211 hw. Therefore, we
need to separate the link/radio specific handling within the mac80211
callback operations. This way, the callback can be extended to support
multiple link/radio in the future.
Current Multi wiphy Model
+---------------+ +---------------+ +-------------+
| Mac80211 hw | | Mac80211 hw | |Mac80211 hw |
| private data | | private data | |private data |
| | | | | |
| | | | | |
| | | | | |
| ar (2GHz) | | ar (5GHz) | | ar (6GHz) |
| | | | | |
| | | | | |
| | | | | |
+---------------+ +---------------+ +-------------+
Single wiphy Model
+--------------+
| Mac80211 hw |
| private data |
| |
|ath12k hw (ah)|
| +----------+ |
| |ar (2GHz) | |
| +----------+ |
| | | |
| |ar (5GHz) | |
| +----------+ |
| | | |
| |ar (6GHz) | |
| | | |
| +----------+ |
+--------------+
Karthikeyan Periyasamy (10):
wifi: ath12k: Refactor mac callback of config
wifi: ath12k: Refactor mac callback of bss info changed
wifi: ath12k: Refactor mac callback of conf tx
wifi: ath12k: Refactor mac callback of start
wifi: ath12k: Refactor mac callback of stop
wifi: ath12k: Refactor mac callback of update vif offload
wifi: ath12k: Refactor mac callback of configure filter
wifi: ath12k: Refactor mac callback of ampdu action
wifi: ath12k: Refactor mac callback of flush
wifi: ath12k: Refactor start vdev delay function
drivers/net/wireless/ath/ath12k/mac.c | 250 ++++++++++++++++++--------
1 file changed, 173 insertions(+), 77 deletions(-)
base-commit: 2cd4e3f91f264926a6b11df948417b74d52ca9b9
--
2.34.1
More information about the ath12k
mailing list