From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <kevin_yang@realtek.com>, <linux-wireless@vger.kernel.org>
Subject: [PATCH v2 0/6] wifi: rtw89: preparation of MCC
Date: Tue, 29 Nov 2022 16:31:24 +0800 [thread overview]
Message-ID: <20221129083130.45708-1-pkshih@realtek.com> (raw)
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().
v2:
- move #define out of struct definition
- use bare casting of completion data
- explain H2C and C2H in commit message
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 | 54 ++-
drivers/net/wireless/realtek/rtw89/fw.c | 386 ++++++++++++++-
drivers/net/wireless/realtek/rtw89/fw.h | 451 +++++++++++++++++-
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, 1174 insertions(+), 35 deletions(-)
--
2.25.1
next reply other threads:[~2022-11-29 8:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-29 8:31 Ping-Ke Shih [this message]
2022-11-29 8:31 ` [PATCH v2 1/6] wifi: rtw89: rfk: rename rtw89_mcc_info to rtw89_rfk_mcc_info Ping-Ke Shih
2022-12-01 11:04 ` Kalle Valo
2022-11-29 8:31 ` [PATCH v2 2/6] wifi: rtw89: check if atomic before queuing c2h Ping-Ke Shih
2022-11-29 8:31 ` [PATCH v2 3/6] wifi: rtw89: introduce helpers to wait/complete on condition Ping-Ke Shih
2022-11-29 8:31 ` [PATCH v2 4/6] wifi: rtw89: mac: process MCC related C2H Ping-Ke Shih
2022-11-29 8:31 ` [PATCH v2 5/6] wifi: rtw89: fw: implement MCC related H2C Ping-Ke Shih
2022-11-29 8:31 ` [PATCH v2 6/6] wifi: rtw89: link rtw89_vif and chanctx stuffs Ping-Ke Shih
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221129083130.45708-1-pkshih@realtek.com \
--to=pkshih@realtek.com \
--cc=kevin_yang@realtek.com \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).