Re: [PATCH rtw-next v2 6/7] wifi: rtw88: 88xxa: adapt channel sensing to receiver gain

From: Bitterblue Smith

Date: Tue Nov 10 2026 - 11:15:02 EST


On 06/11/2026 22:27, Luka Gejak wrote:
> November 6, 2026 at 8:46 PM, "Bitterblue Smith" <rtl8821cerfe2@xxxxxxxxx> wrote:
>
>>
>> On 06/11/2026 19:34, Luka Gejak wrote:
>>
>>>
>
> [ ... ]
>
>>>
>>> Bitterblue, did you turn EDCCA off through the edcca_enable debugfs file?
>>>
>> Yes, that's what I did.
>>
>
> Thanks for the answer. So I think EDCCA itself is fine with this patch,
> and it is the lower thresholds of the adaptivity mode that keep the
> firmware from leaving LPS.
>
> To me this looks a lot like b0435910e47d ("wifi: rtw88: 8822b: Relax
> ETSI EDCCA threshold on 2.4 GHz"). There an RTL8812BU running as a 2.4
> GHz AP wasn't seen in scans and failed to get TX reports under the
> ETSI threshold, mostly because of energy from the adapter's own USB 3
> link. The fix was to use the normal threshold on 2.4 GHz under ETSI,
> capped for EN 300 328. Your network is on channel 13, so that would fit.
>
> The 8812au vendor drivers don't use the adaptivity thresholds by default
> either. Both v5.6.4.2 and 8812au-20210820 build with
>
> CONFIG_RTW_ADAPTIVITY_EN = disable
>
> and as far as I can see phydm_adaptivity() then stays on the normal
> (mode2) thresholds.
>
> Jie Feng, maybe doing the same as 8822b would work for v3, the normal
> thresholds on 2.4 GHz under ETSI and the adaptivity ones for 5 GHz and
> JP. Bitterblue, is the adapter on a USB 3 port, and do you see the LPS
> failures on 5 GHz as well?
>

It's in a USB 2 port. I am seeing the LPS failures on 5 GHz too.
Channel 100, 80 MHz wide.

> Best regards,
> Luka Gejak