From: "Luka Gejak" <luka.gejak@linux.dev>
To: "Bitterblue Smith" <rtl8821cerfe2@gmail.com>,
"Ping-Ke Shih" <pkshih@realtek.com>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
"Michael Straube" <straube.linux@gmail.com>,
"Peter Robinson" <pbrobinson@gmail.com>,
luka.gejak@linux.dev
Subject: Re: [PATCH rtw-next v6 4/6] wifi: rtw88: 8723b: add the RTL8723B chip driver
Date: Fri, 02 Oct 2026 07:23:36 +0000 [thread overview]
Message-ID: <a2b6f0773b075286fedf0014fd5b6634d3a5ec2e@linux.dev> (raw)
In-Reply-To: <10b9f8b9-87e1-43c9-8c15-27f5475f5f09@gmail.com>
October 1, 2026 at 22:39, "Bitterblue Smith" <rtl8821cerfe2@gmail.com mailto:rtl8821cerfe2@gmail.com?to=%22Bitterblue%20Smith%22%20%3Crtl8821cerfe2%40gmail.com%3E > wrote:
>
> On 01/10/2026 12:18, Luka Gejak wrote:
>
> >
[...]
> > +static void rtw8723b_sdio_restore_pad_ctrl(struct rtw_dev *rtwdev,
> > + bool keep_pta_owner)
> > +{
> > + u32 before;
> > + u32 after;
> > +
> > + if (!rtw_is_8723bs(rtwdev))
> > + return;
> > +
> > + before = rtw_read32(rtwdev, REG_PAD_CTRL1);
> > + after = before & ~(BIT_LNAON_WLBT_SEL | BIT_SW_DPDT_SEL_DATA);
> > + if (keep_pta_owner)
> > + after |= BIT_PAPE_WLBT_SEL;
> > + else
> > + after &= ~BIT_PAPE_WLBT_SEL;
> > + if (after == before)
> > + return;
> > +
> > + rtw_write32(rtwdev, REG_PAD_CTRL1, after);
> > +}
> >
> Is this function still needed if rtw_mac_pre_system_cfg() doesn't
> touch REG_PAD_CTRL1?
>
Not needed anymore, I missed it. It and its call sites are removed in v7.
> >
> > +
[...]
> > +static void rtw8723b_fill_txdesc_checksum(struct rtw_dev *rtwdev,
> > + struct rtw_tx_pkt_info *pkt_info,
> > + u8 *txdesc)
> > +{
> > + struct rtw_tx_desc *tx_desc = (struct rtw_tx_desc *)txdesc;
> > + const u8 *data = txdesc;
> > + int words = 32 / 2;
> > + u16 checksum = 0;
> > +
> > + /* Unlike the shared 8723x helper, the checksum is not inverted here. */
> > + le32p_replace_bits(&tx_desc->w7, 0, RTW_TX_DESC_W7_TXDESC_CHECKSUM);
> > +
> > + while (words--) {
> > + checksum ^= get_unaligned_le16(data);
> > + data += sizeof(__le16);
> > + }
> > +
> > + le32p_replace_bits(&tx_desc->w7, checksum,
> > + RTW_TX_DESC_W7_TXDESC_CHECKSUM);
> >
> This function can just call fill_txdesc_checksum_common() from tx.h.
>
Thanks, I didn't catch it. It does call it in v7.
Best regards,
Luka Gejak
next prev parent reply other threads:[~2026-10-02 7:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 9:18 [PATCH rtw-next v6 0/6] wifi: rtw88: add RTL8723B/RTL8723BS support Luka Gejak
2026-10-01 9:18 ` [PATCH rtw-next v6 1/6] wifi: rtw88: move the 88xxa CCK power detect setter to phy.c Luka Gejak
2026-10-01 9:18 ` [PATCH rtw-next v6 2/6] wifi: rtw88: 8723b: add the RTL8723B register definitions Luka Gejak
2026-10-01 9:18 ` [PATCH rtw-next v6 3/6] wifi: rtw88: 8723b: add the RTL8723B BB, RF and AGC tables Luka Gejak
2026-10-01 9:18 ` [PATCH rtw-next v6 4/6] wifi: rtw88: 8723b: add the RTL8723B chip driver Luka Gejak
2026-10-01 20:39 ` Bitterblue Smith
2026-10-02 7:23 ` Luka Gejak [this message]
2026-10-01 9:18 ` [PATCH rtw-next v6 5/6] wifi: rtw88: 8723bs: add the RTL8723BS SDIO bind Luka Gejak
2026-10-01 9:18 ` [PATCH rtw-next v6 6/6] wifi: rtw88: 8723bs: enable building the RTL8723BS driver Luka Gejak
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=a2b6f0773b075286fedf0014fd5b6634d3a5ec2e@linux.dev \
--to=luka.gejak@linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pbrobinson@gmail.com \
--cc=pkshih@realtek.com \
--cc=rtl8821cerfe2@gmail.com \
--cc=straube.linux@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 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.