diff options
| author | Felix Fietkau <nbd@nbd.name> | 2026-09-26 14:02:16 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-28 11:09:52 +0200 |
| commit | 4febc02cd02f021f2b6d0768332be643ef14a12d (patch) | |
| tree | 971c5d807575d2695948db25fd17955a8dbd19cd /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2445e83a434a1964e574f792bd4b8e921cb9d54d (diff) | |
| download | linux-4febc02cd02f021f2b6d0768332be643ef14a12d.tar.gz linux-4febc02cd02f021f2b6d0768332be643ef14a12d.zip | |
wifi: mac80211: set info->band for 802.3 encap offload frames
Unlike the 802.11 TX paths, ieee80211_8023_xmit() does not set
info->band from the channel context on non-MLD interfaces. It stays at
0, so ieee80211_get_tx_rates() uses the wrong band for these frames.
Set it the same way as ieee80211_build_hdr(): drop the frame if there is
no channel context, and leave the band at 0 on MLD interfaces.
Reported-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
Fixes: 50ff477a8639 ("mac80211: add 802.11 encapsulation offloading support")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20260926120216.4054712-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
