Re: [PATCH RFT rtw-next 1/2] wifi: rtw88: use the rate, bandwidth and GI of injected frames
From: Luka Gejak
Date: Wed Nov 25 2026 - 17:55:39 EST
On November 25, 2026 11:34:49 PM GMT+01:00, Ahmet Zeren <niko3x@xxxxxxxxx>
wrote:
>
>Hi Luka,
>
>Thanks for looking at it.
>
>> Do we also need DATA_SC when the requested width is narrower than the
>> channel?
>
>You may be right, I'm not sure. rtw_set_channel_mac() writes
>REG_DATA_SC on every channel change, with the 20 MHz primary and on an
>80 MHz channel, the 40 MHz half that contains the primary; and the
>normal rtw88 TX paths leave DATA_SC at zero. My guess is that the MAC
>uses that register then, but I can't tell whether that still holds
>with USE_RATE set without hardware.
>
>If you can run that test (a 40 MHz frame on an 80 MHz channel, with the
>primary channel in each half), that would settle it. If it goes out on
>the wrong half I'll add DATA_SC to the descriptor.
>
I will test it in the morning and let you know the results. I would hold
off v2 until then.
Best regards,
Luka Gejak