From: Ping-Ke Shih <pkshih@realtek.com>
To: Ezra Buehler <ezra@easyb.ch>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Jes Sorensen <Jes.Sorensen@gmail.com>,
Kalle Valo <kvalo@kernel.org>,
Martin Kaistra <martin.kaistra@linutronix.de>,
Bitterblue Smith <rtl8821cerfe2@gmail.com>,
Johannes Berg <johannes.berg@intel.com>,
"Reto Schneider" <reto.schneider@husqvarnagroup.com>,
Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Subject: RE: [PATCH v1 2/3] wifi: rtl8xxxu: Use macid in rtl8xxxu_fill_txdesc_v1()
Date: Thu, 20 Feb 2025 06:00:46 +0000 [thread overview]
Message-ID: <a19f9447ff694a4fa13648976a2f54fc@realtek.com> (raw)
In-Reply-To: <20250219175228.850583-3-ezra@easyb.ch>
Ezra Buehler <ezra@easyb.ch> wrote:
> From: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
>
> This is needed in order for AP mode to work correctly on gen1 devices
> like the RTL8192CU.
>
> For more information, see the corresponding change for gen2 devices,
> commit 9aa45598d054 ("wifi: rtl8xxxu: Put the macid in txdesc").
>
> Signed-off-by: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
> ---
> drivers/net/wireless/realtek/rtl8xxxu/core.c | 2 ++
> drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> index cbd9efd22e3f..2fa22d3145a4 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/core.c
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/core.c
> @@ -5302,6 +5302,8 @@ rtl8xxxu_fill_txdesc_v1(struct ieee80211_hw *hw, struct ieee80211_hdr *hdr,
> dev_info(dev, "%s: TX rate: %d, pkt size %u\n",
> __func__, rate, le16_to_cpu(tx_desc->pkt_size));
>
> + tx_desc->txdw1 |= cpu_to_le32(macid & TXDESC32_MACID_MASK);
> +
tx_desc->txdw1 |= le32_encode_bits(macid, TXDESC32_MACID_MASK);
next prev parent reply other threads:[~2025-02-20 6:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 17:52 [PATCH v1 0/3] wifi: rtl8xxxu: AP mode fixes (for gen1 devices) Ezra Buehler
2025-02-19 17:52 ` [PATCH v1 1/3] wifi: rtl8xxxu: Use macid in rtl8xxxu_update_rate_mask() Ezra Buehler
2025-02-20 5:58 ` Ping-Ke Shih
2025-02-19 17:52 ` [PATCH v1 2/3] wifi: rtl8xxxu: Use macid in rtl8xxxu_fill_txdesc_v1() Ezra Buehler
2025-02-20 6:00 ` Ping-Ke Shih [this message]
2025-02-19 17:52 ` [PATCH v1 3/3] wifi: rtl8xxxu: Make sure TX rate is reported in AP mode Ezra Buehler
2025-02-20 6:10 ` Ping-Ke Shih
2025-02-20 23:28 ` [PATCH v1 0/3] wifi: rtl8xxxu: AP mode fixes (for gen1 devices) Bitterblue Smith
2025-06-25 18:07 ` Ezra Buehler
2025-06-26 0:37 ` 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=a19f9447ff694a4fa13648976a2f54fc@realtek.com \
--to=pkshih@realtek.com \
--cc=Jes.Sorensen@gmail.com \
--cc=ezra.buehler@husqvarnagroup.com \
--cc=ezra@easyb.ch \
--cc=johannes.berg@intel.com \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=martin.kaistra@linutronix.de \
--cc=reto.schneider@husqvarnagroup.com \
--cc=rtl8821cerfe2@gmail.com \
/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).