summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-10-28 22:22:12 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-11-10 10:20:41 +0100
commit582edbdbc5d288bd128b54935738fe38f15c8c29 (patch)
tree8eaff40a82d9161e84b4b91d7b00d916916b47af /tools/perf/scripts/python
parent9083da9dd3223068237395432323b407012aec1f (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')
0 files changed, 0 insertions, 0 deletions