Re: [PATCH] mac80211: Fix wrong channel bandwidths reported for aggregates

From: Johannes Berg
Date: Thu Jul 21 2022 - 10:44:16 EST


On Tue, 2022-07-19 at 00:28 +0200, Linus Lüssing wrote:
>
> Therefore fixing this within mac80211: For an aggergated AMPDU only
> update the RX "last_rate" variable from the last sub-frame of an
> aggregate. In theory, without hardware bugs, rate/bandwidth info
> should be the same for all sub-frames of an aggregate anyway.
>

What if other drivers do it only on the first? :)

I'd be more inclined to squeeze in a "RATE_INVALID" flag or so somewhere
there in the rx status, and make it depend on that.

johannes