mbox series

[0/6] wifi: rtw89: preparation of MCC

Message ID 20221118051042.29968-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: preparation of MCC | expand

Message

Ping-Ke Shih Nov. 18, 2022, 5:10 a.m. UTC
This patchset is preparation of MCC, which needs many handshakes between
driver and firmware, so rtw89_wait_for_cond() and rtw89_complete_cond()
are introduced to assist this work.

Based on above APIs, implement H2C and C2H handlers to interactive with
firmware, and callers of H2C will be added by another patchset.

Another basic preparation is to link rtw89_vif and channel context, but
we still use first entry as default currently, so adjust index of instance
of chandef when remove_chanctx().

Zong-Zhe Yang (6):
  wifi: rtw89: rfk: rename rtw89_mcc_info to rtw89_rfk_mcc_info
  wifi: rtw89: check if atomic before queuing c2h
  wifi: rtw89: introduce helpers to wait/complete on condition
  wifi: rtw89: mac: process MCC related C2H
  wifi: rtw89: fw: implement MCC related H2C
  wifi: rtw89: link rtw89_vif and chanctx stuffs

 drivers/net/wireless/realtek/rtw89/chan.c     |  40 +-
 drivers/net/wireless/realtek/rtw89/core.c     |  37 ++
 drivers/net/wireless/realtek/rtw89/core.h     |  60 ++-
 drivers/net/wireless/realtek/rtw89/fw.c       | 386 ++++++++++++++-
 drivers/net/wireless/realtek/rtw89/fw.h       | 449 +++++++++++++++++-
 drivers/net/wireless/realtek/rtw89/mac.c      | 181 +++++++
 drivers/net/wireless/realtek/rtw89/mac.h      |  35 ++
 drivers/net/wireless/realtek/rtw89/mac80211.c |   1 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |   4 +-
 .../net/wireless/realtek/rtw89/rtw8852c_rfk.c |  20 +-
 10 files changed, 1178 insertions(+), 35 deletions(-)