On Mon, 2024-08-12 at 14:37 -0700, Rory Little wrote: > Transmit Power Count will be one less than the number of HE fields, so > if we do find an extension field, its index will be this number, plus > one, rather than two. > > This fixes an issue noted in the iwlmvm driver, where clients > associated at 320 MHz had degraded performance. > > Fixes: 584b4bfff5ce ("wifi: mac80211: pass parsed TPE data to drivers") > Signed-off-by: Rory Little <rory@xxxxxxxxxxxxxxx> > --- > > We noticed and recently reported a 20-30% drop in transmit throughput on BE200 > radios, and have identified the issue as being that the TPE sent to the > firmware did not match the TPE reported by the AP. The fault appears to be an > off-by-one error in IE parsing logic. This patch fixes that error. > This should be equivalent to my previous fix 5f12dd57a071 ("wifi: mac80211: correct EHT EIRP TPE parsing") johannes