All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ping-Ke Shih <pkshih@realtek.com>
To: Ahmet Zeren <niko3x@proton.me>, "martin@rfdeck.de" <martin@rfdeck.de>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
	"Luka Gejak" <luka.gejak@linux.dev>,
	Bitterblue Smith <rtl8821cerfe2@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH RFT rtw-next v2 0/2] wifi: rtw88: honour rate, retries and bandwidth of injected frames
Date: Mon, 30 Nov 2026 03:41:37 +0000	[thread overview]
Message-ID: <b1f7af4bef0c44d2b272a9c311d0f68c@realtek.com> (raw)
In-Reply-To: <semDCz-DacL4vKeB_8iKu6ZwI8pQDusEK2fvgerTJWRkQ1MAxvs0nX-lSJviX_LDplBuBKniLMaMy9FtGH2_EkckFD-LR2YY6pPSPwrTCk0=@proton.me>

Ahmet Zeren <niko3x@proton.me> wrote:
> Ping-Ke, do you know what the two CCX status bits (0x40 and 0x80) mean
> on rtw88? I'd like to name the value properly instead of using 0x80.

Two versions:

#define GET_CCX_REPORT_SEQNUM_V0(c2h_payload)	(c2h_payload[6] & 0xfc)
#define GET_CCX_REPORT_STATUS_V0(c2h_payload)	(c2h_payload[0] & 0xc0)

bit[6] is life time over
bit[7] is retry over

So, bit[6] == 0 && bit[7] == 0, is acked.

#define GET_CCX_REPORT_SEQNUM_V1(c2h_payload)	(c2h_payload[8] & 0xfc)
#define GET_CCX_REPORT_STATUS_V1(c2h_payload)	(c2h_payload[9] & 0xc0)

0: TX OK
1: retry drop 
2: life time drop
3: mac drop 
(the same as rtw89)

Ping-Ke


  parent reply	other threads:[~2026-11-30  3:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  8:59 [PATCH RFT rtw-next v2 0/2] wifi: rtw88: honour rate, retries and bandwidth of injected frames Ahmet Zeren
2026-11-27  8:59 ` Ahmet Zeren via B4 Relay
2026-11-27  8:59 ` [PATCH RFT rtw-next v2 1/2] wifi: rtw88: use the rate, bandwidth and GI " Ahmet Zeren
2026-11-27  8:59   ` Ahmet Zeren via B4 Relay
2026-11-27  9:00 ` [PATCH RFT rtw-next v2 2/2] wifi: rtw88: honour the retry count and NO_ACK " Ahmet Zeren
2026-11-27  9:00   ` Ahmet Zeren via B4 Relay
2026-11-27 11:59   ` Luka Gejak
2026-11-27 12:24     ` Ahmet Zeren
2026-11-27 15:19 ` [PATCH RFT rtw-next v2 0/2] wifi: rtw88: honour rate, retries and bandwidth " martin
2026-11-27 18:56   ` Ahmet Zeren
2026-11-27 19:18     ` martin
2026-11-28 10:33     ` martin
2026-11-28 11:26       ` Ahmet Zeren
2026-11-28 13:09         ` martin
2026-11-30  3:20         ` Ping-Ke Shih
2026-11-30 19:41           ` martin
2026-12-01  2:38             ` Ping-Ke Shih
2026-11-30  3:41     ` Ping-Ke Shih [this message]
2026-11-30 19:40       ` Ahmet Zeren

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=b1f7af4bef0c44d2b272a9c311d0f68c@realtek.com \
    --to=pkshih@realtek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=luka.gejak@linux.dev \
    --cc=martin@rfdeck.de \
    --cc=niko3x@proton.me \
    --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 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.