From: Ping-Ke Shih <pkshih@realtek.com>
To: <kvalo@kernel.org>
Cc: <linux-wireless@vger.kernel.org>
Subject: [PATCH 0/8] wifi: rtw89: generalize download firmware flow to support WiFi 7 chips
Date: Fri, 1 Sep 2023 14:14:59 +0800 [thread overview]
Message-ID: <20230901061507.34312-1-pkshih@realtek.com> (raw)
WiFi 7 chips can download BB MCU firmware via the same path as existing
WiFi CPU firmware, and we need to check them successful after downloading,
so use a corresponding hardware bit to confirm certain firmware is ready.
To reuse the flow, uses mac_gen pointers to adapt WiFi 6/7 chips with
different settings and checking rules. Also, refine flow to support
download firmware one by one. Then, changes of flow look like
1. initial setup --> no logic change
2. download WiFi CPU firmware --> 2. for all firmware suits
2.1. download WiFi CPU firmware &
check ready
2.2. download BB MCU firmware &
check ready
3. check ready by status code --> no logic change
Ping-Ke Shih (8):
wifi: rtw89: fw: move polling function of firmware path ready to an
individual function
wifi: rtw89: fw: generalize download firmware flow by mac_gen pointers
wifi: rtw89: fw: implement supported functions of download firmware
for WiFi 7 chips
wifi: rtw89: fw: add checking type for variant type of firmware
wifi: rtw89: fw: propagate an argument include_bb for BB MCU firmware
wifi: rtw89: 8922a: add chip_ops::bb_preinit to enable BB before
downloading firmware
wifi: rtw89: fw: refine download flow to support variant firmware
suits
wifi: rtw89: 8922a: set memory heap address for secure firmware
drivers/net/wireless/realtek/rtw89/core.c | 2 +-
drivers/net/wireless/realtek/rtw89/core.h | 19 +++
drivers/net/wireless/realtek/rtw89/fw.c | 122 +++++++++-----
drivers/net/wireless/realtek/rtw89/fw.h | 7 +-
drivers/net/wireless/realtek/rtw89/mac.c | 45 +++++-
drivers/net/wireless/realtek/rtw89/mac.h | 10 +-
drivers/net/wireless/realtek/rtw89/mac_be.c | 151 ++++++++++++++++++
drivers/net/wireless/realtek/rtw89/reg.h | 109 +++++++++++++
drivers/net/wireless/realtek/rtw89/rtw8851b.c | 2 +
drivers/net/wireless/realtek/rtw89/rtw8852a.c | 2 +
drivers/net/wireless/realtek/rtw89/rtw8852b.c | 2 +
drivers/net/wireless/realtek/rtw89/rtw8852c.c | 2 +
drivers/net/wireless/realtek/rtw89/wow.c | 4 +-
13 files changed, 424 insertions(+), 53 deletions(-)
--
2.25.1
next reply other threads:[~2023-09-01 6:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 6:14 Ping-Ke Shih [this message]
2023-09-01 6:15 ` [PATCH 1/8] wifi: rtw89: fw: move polling function of firmware path ready to an individual function Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 2/8] wifi: rtw89: fw: generalize download firmware flow by mac_gen pointers Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 3/8] wifi: rtw89: fw: implement supported functions of download firmware for WiFi 7 chips Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 4/8] wifi: rtw89: fw: add checking type for variant type of firmware Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 5/8] wifi: rtw89: fw: propagate an argument include_bb for BB MCU firmware Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 6/8] wifi: rtw89: 8922a: add chip_ops::bb_preinit to enable BB before downloading firmware Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 7/8] wifi: rtw89: fw: refine download flow to support variant firmware suits Ping-Ke Shih
2023-09-01 6:15 ` [PATCH 8/8] wifi: rtw89: 8922a: set memory heap address for secure firmware Ping-Ke Shih
2023-09-01 7:42 ` [PATCH 0/8] wifi: rtw89: generalize download firmware flow to support WiFi 7 chips 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=20230901061507.34312-1-pkshih@realtek.com \
--to=pkshih@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.