Skip to content

wifi: rtw89: declare to support MCC

Ping-Ke Shih linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4wifi: rtw89: mcc: fix NoA start time when GO is auxiliarydrivers/net/wireless/realtek/rtw89/chan.c+4 -01 reply
2/4wifi: rtw89: pause/proceed MCC for ROC and HW scandrivers/net/wireless/realtek/rtw89/chan.c drivers/net/wireless/realtek/rtw89/chan.h drivers/net/wireless/realtek/rtw89/core.c +2 more+84 -20 replies
3/4wifi: rtw89: 8852c: declare to support two chanctxdrivers/net/wireless/realtek/rtw89/rtw8852c.c+1 -10 replies
4/4wifi: rtw89: declare MCC in interface combinationdrivers/net/wireless/realtek/rtw89/core.c+24 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] wifi: rtw89: declare to support MCC

This is the last patchset to support MCC. It includes patch 1/4 to correct start time of NoA, and patch 2/4 is to treat remain-on-channel and hardware scan, which are also to set/switch channels. To prevent interference, stop firmware MCC switching when driver receive these two kinds of request.

Then, we declare 8852c can support two channel context, and update interface combination to support MCC of STA + P2P.

<<< Below commit message is kept as first patchset for reference >>>

TDMA-based MCC (STA+P2P) is a kind of multiple interfaces concurrence. Basically, driver is to calculate timeslot pattern and firmware follows the pattern to switch channels. Since BT-coexistence is also a TDMA-based mechanism, also consider BT timeslot into pattern if BT devices present.

To easier to review these 20+ patches, I summary basic purpose of these patches below by group, and submit them by small patchset one by one.

Group 1. [DONE] get BT timeslot from coex mechanism
Group 2. [DONE] adjust some stuff related to driver channel context Group 3. [DONE] P2P NoA infrastructure to add the IE to beacon when playing GO Group 4. [DONE] adjust driver to support 2 channel context
Group 5. [DONE] calculate timeslot patterns and trigger firmware to switch
channels followed the patterns
Group 6. [DONE] disable some dynamic tracking mechanism of RF calibration when
MCC is running.
Group 7. [DONE] monitor states and adjust timeslot patterns. For example, if
BT device leaves, we can reassign the slot to WiFi.
Group 8. [CURRNET] Remain-on-channel and hardware scan are related to channel
context, so need some treatments to work with MCC properly.
Group 9. [CURRENT] Finally, we declare 8852C to support MCC

Zong-Zhe Yang (4):
wifi: rtw89: mcc: fix NoA start time when GO is auxiliary
wifi: rtw89: pause/proceed MCC for ROC and HW scan
wifi: rtw89: 8852c: declare to support two chanctx
wifi: rtw89: declare MCC in interface combination

 drivers/net/wireless/realtek/rtw89/chan.c     | 74 +++++++++++++++++++
 drivers/net/wireless/realtek/rtw89/chan.h     |  8 ++
 drivers/net/wireless/realtek/rtw89/core.c     | 29 +++++++-
 drivers/net/wireless/realtek/rtw89/core.h     |  1 +
 drivers/net/wireless/realtek/rtw89/fw.c       |  4 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  2 +-
 6 files changed, 113 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1