From: Luka Gejak <luka.gejak@linux.dev>
To: Jie Feng <hjf3108@gmail.com>
Cc: Ping-Ke Shih <pkshih@realtek.com>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
Bitterblue Smith <rtl8821cerfe2@gmail.com>
Subject: Re: [PATCH rtw-next v3 2/5] wifi: rtw88: 88xxa: receive VHT SU beamformed transmissions
Date: Fri, 13 Nov 2026 10:07:58 +0100 [thread overview]
Message-ID: <C01D8CEC-AA71-48DC-8E61-E6B964865468@linux.dev> (raw)
In-Reply-To: <CABOQOSVz0M4G2mzwtb000Ss86PjoTUwKvfoRQziLwY9DAqdNbg@mail.gmail.com>
Hi Jie Feng,
On November 13, 2026 9:20:57 AM GMT+01:00, Jie Feng <hjf3108@gmail.com>
wrote:
> I can dig the vendor code for some confirmation that the csi param format
> is the same for the later chips as 88xxa.
I had a look, and I think all of these values can be named from Realtek's
own code, so nothing has to be guessed.
For csi_param, bf.c already documents the fields above
rtw_bf_enable_bfee_mu():
/* nc index: 1 2T2R 0 1T1R
* nr index: 1 use Nsts 0 use reg setting
* codebookinfo: 1 802.11ac 3 802.11n
*/
and the 88xxa vendor values follow it. Per slot, hal_txbf_jaguar_enter()
uses 0x0109 and 0x0108 for VHT and 0x0309 and 0x0308 for HT, so only
codebookinfo and nc index change. csi_param could be built like in
rtw_bf_enable_bfee_su() and then copied into the high half for BFMER1.
For 0x9b4, rtw8812a_table.c already loads 0x00000000 and
rtw8821a_table.c loads 0x01081008, which fits the "nc =2" and "nc =1"
comments in the vendor code. If I read it right, the write only changes
something on an 8812au whose efuse says 1T1R. Two defines for the values
would make that clear.
For 0x0202, the halmac headers in Realtek's newer vendor drivers name the
bits of REG_SND_PTCL_CTRL. In halmac_bit_8822b.h:
#define BIT_SHIFT_CSI_RPT_OFFSET_HT_V1_8822B 16
#define BIT_SHIFT_R_CSI_RPT_OFFSET_VHT_V1_8822B 8
so 0x0202 looks like a CSI report offset of 2 for both HT and VHT. On
8821c and 8822c, bits 15:8 hold the VHT category instead, so maybe
Ping-Ke can confirm how it is on 8814a.
The low byte has the same layout on all of these chips, so the sounding
values could use names as well. 0xCB is USE_NSTS,
DISABLE_CHECK_VHTSIGB_CRC,
CSISEQ_SEL, HT_NDPA_EN and VHT_NDPA_EN, and 0xDB adds BFPARAM_SEL.
Best regards,
Luka Gejak
next prev parent reply other threads:[~2026-11-13 9:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 17:32 [PATCH rtw-next v3 0/5] wifi: rtw88: extend 88xxA support Ho Jie Feng
2026-11-12 17:32 ` [PATCH rtw-next v3 1/5] wifi: rtw88: 8812a, 8814a: enable STBC for HT transmissions Ho Jie Feng
2026-11-13 8:08 ` Luka Gejak
2026-11-12 17:32 ` [PATCH rtw-next v3 2/5] wifi: rtw88: 88xxa: receive VHT SU beamformed transmissions Ho Jie Feng
2026-11-13 7:46 ` Luka Gejak
2026-11-13 8:01 ` Jie Feng
2026-11-13 8:07 ` Luka Gejak
2026-11-13 8:12 ` Jie Feng
2026-11-13 8:46 ` Luka Gejak
2026-11-13 8:09 ` Luka Gejak
2026-11-13 8:20 ` Jie Feng
2026-11-13 9:07 ` Luka Gejak [this message]
2026-11-12 17:32 ` [PATCH rtw-next v3 3/5] wifi: rtw88: prepare frequency-offset correction for more chips Ho Jie Feng
2026-11-12 17:32 ` [PATCH rtw-next v3 4/5] wifi: rtw88: 88xxa: correct carrier-frequency offset Ho Jie Feng
2026-11-13 7:52 ` Luka Gejak
2026-11-12 17:32 ` [PATCH rtw-next v3 5/5] wifi: rtw88: 8812a, 8821a: respect peer A-MPDU size limits Ho Jie Feng
2026-11-13 8:10 ` Luka Gejak
2026-11-13 8:16 ` Jie Feng
2026-11-13 8:39 ` 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=C01D8CEC-AA71-48DC-8E61-E6B964865468@linux.dev \
--to=luka.gejak@linux.dev \
--cc=hjf3108@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.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