Re: [PATCH v2 2/2] wcn36xx: fix RX BD rate mapping for 5GHz legacy rates

From: Benjamin Li
Date: Wed Nov 03 2021 - 13:01:23 EST


On 11/3/21 10:08 AM, Loic Poulain wrote:
> Hi Ben,
>
> It looks fine, but can you replace it with a 'status.rate_idx >= 4'.
> I get sporadic 5Ghz frames reported with rate_idx=0 (firmware miss?),
> leading to warnings because status.rate_idx is -4(unsigned) in that
> case. So better to report a wrong rate than a corrupted one.
>

Thanks for confirming that. Will send v3 that just falls-through on
rate_idx < 4, no warn or log.

Ben

>
>
> Regards,
> Loic
>