mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 v5 rtw-next 5/7] wifi: rtw88: 8723b: add the RTL8723B chip driver
Date: Wed, 30 Sep 2026 21:14:44 +0000	[thread overview]
Message-ID: <bfa45c2b84ee3d06018306c9f7ea599d81e9ec18@linux.dev> (raw)
In-Reply-To: <6ce7307e-b753-4dd2-a47a-e347f5806100@gmail.com>

September 30, 2026 at 20:03, "Bitterblue Smith" <rtl8821cerfe2@gmail.com mailto:rtl8821cerfe2@gmail.com?to=%22Bitterblue%20Smith%22%20%3Crtl8821cerfe2%40gmail.com%3E > wrote:


> 
> On 30/09/2026 12:16, Luka Gejak wrote:
> 
> > 
> > Add the Realtek RTL8723B 802.11n chip driver: the chip operations, the
> >  power sequences, the efuse layout, the RF and IQ calibration, and the
> >  chip specific coexistence handling.
> >  
[...]
> >  +/* The eight per-rate CCK transmit power registers are consecutive. */
> >  +#define REG_CCK_SWING 0x0a22
> > 
> This should be in reg.h.
> 

Will move it in v6.

> > 
> > +#define RTW_CCK_SWING_REG_NUM 8
> >  +
[...]
> >  + /* Enable Rx DMA timer masking: clear 0x0[2:0] and 0x2[15:0] only. */
> >  + val32 = rtw_read32(rtwdev, REG_SDIO_TX_CTRL);
> >  + val32 &= 0x0000fff8;
> >  + rtw_write32(rtwdev, REG_SDIO_TX_CTRL, val32);
> > 
> This is only for SDIO, it shouldn't run for PCI and USB.
> 

Understood, will add a check for SDIO.

> > 
[...]
> >  + rtw_dbg(rtwdev, RTW_DBG_RFK,
> >  + "[IQK]0xc80 = 0x%x 0xc94 = 0x%x 0xc14 = 0x%x 0xca0 = 0x%x\n",
> >  + rtw_read32(rtwdev, REG_OFDM_0_XA_TX_IQ_IMBALANCE),
> > 
> This is misaligned.
> 
> > 
> > + rtw_read32(rtwdev, REG_TXIQK_MATRIXA_LSB2_11N),
> >  + rtw_read32(rtwdev, REG_A_RXIQI),
> >  + rtw_read32(rtwdev, REG_RXIQK_MATRIX_LSB_11N));
> >  + rtw_dbg(rtwdev, RTW_DBG_RFK,
> >  + "[IQK]0xcd0 = 0x%x 0xcd4 = 0x%x 0xcd8 = 0x%x\n",
> >  + rtw_read32(rtwdev, REG_TXIQ_AB_S0),
> > 
> This too.
> 

My bad, and just one thing: checkpatch didn't catch these.
Will fix both either way.

Best regards,
Luka Gejak

  reply	other threads:[~2026-09-30 21:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-30  9:15 [PATCH v5 rtw-next 0/7] wifi: rtw88: add RTL8723B/RTL8723BS support Luka Gejak
2026-09-30  9:15 ` [PATCH v5 rtw-next 1/7] wifi: rtw88: move the shared 88xxa init helpers into the core Luka Gejak
2026-09-30 18:04   ` Bitterblue Smith
2026-09-30 20:53     ` Luka Gejak
2026-09-30  9:15 ` [PATCH v5 rtw-next 2/7] wifi: rtw88: assign the RCR per chip in rtw_core_init Luka Gejak
2026-09-30 18:03   ` Bitterblue Smith
2026-09-30 20:36     ` Luka Gejak
2026-09-30 21:27       ` Bitterblue Smith
2026-09-30 21:29         ` Luka Gejak
2026-09-30 21:46           ` Bitterblue Smith
2026-09-30 21:49             ` Luka Gejak
2026-09-30  9:16 ` [PATCH v5 rtw-next 3/7] wifi: rtw88: 8723b: add the RTL8723B register definitions Luka Gejak
2026-09-30  9:16 ` [PATCH v5 rtw-next 4/7] wifi: rtw88: 8723b: add the RTL8723B BB, RF and AGC tables Luka Gejak
2026-09-30  9:16 ` [PATCH v5 rtw-next 5/7] wifi: rtw88: 8723b: add the RTL8723B chip driver Luka Gejak
2026-09-30 18:03   ` Bitterblue Smith
2026-09-30 21:14     ` Luka Gejak [this message]
2026-09-30  9:16 ` [PATCH v5 rtw-next 6/7] wifi: rtw88: 8723bs: add the RTL8723BS SDIO bind Luka Gejak
2026-09-30  9:16 ` [PATCH v5 rtw-next 7/7] 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=bfa45c2b84ee3d06018306c9f7ea599d81e9ec18@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®