diff options
| author | Zhao Li <enderaoelyther@gmail.com> | 2026-10-28 22:22:12 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-11-10 10:20:41 +0100 |
| commit | 582edbdbc5d288bd128b54935738fe38f15c8c29 (patch) | |
| tree | 8eaff40a82d9161e84b4b91d7b00d916916b47af /tools/perf/scripts/python/bin | |
| parent | 9083da9dd3223068237395432323b407012aec1f (diff) | |
wifi: mac80211: reject invalid EHT guard intervals in airtime estimates
An invalid EHT guard interval can select the wrong airtime group and, at
320 MHz, read beyond airtime_mcs_groups.
Guard interval 3 advances EHT_GROUP_IDX() into the next bandwidth group
at narrower widths. With one spatial stream and 320 MHz, it evaluates to
264, one past the 264-entry table. RX rate parsing rejects the value, but
the common TX-status validator has no EHT check and last_rate_info can
carry it to the airtime helper.
Reject values above NL80211_RATE_INFO_EHT_GI_3_2 in the helper. This also
protects exported ieee80211_calc_rx_airtime() callers that do not pass
through the TX-status validator.
LLM assistance was used to find the bug and review.
Fixes: 3702a33216e6 ("wifi: mac80211: introduce EHT rate support in AQL airtime")
Cc: stable@vger.kernel.org
Signed-off-by: Zhao Li <enderaoelyther@gmail.com>
Link: https://patch.msgid.link/20261028142212.14523-1-enderaoelyther@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
