diff options
| author | Jared.Huang <jared.huang@mediatek.com> | 2026-06-17 15:13:20 +0800 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2026-07-31 12:25:39 +0000 |
| commit | 9ddb7487aa7cccb6e1880b4151ab5895109eb8d6 (patch) | |
| tree | 20276a3d1ca19bda6c14750aa2d93cdf0b264f16 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8a27c5c764040fbc990cc416a927b1d7eadf559f (diff) | |
wifi: mt76: mt7925: fix msg len mismatch between driver and firmware
The mt7925_tx_power_limit_tlv struct begins with a 4-byte rsv[] field
that acts as a UNI command header prefix. The firmware dispatcher did
not use the 4-byte rsv[] and will only check the payloads after the
4-byte rsv[] As a result, the total message length minus the 4-byte
prefix. Fix this by setting len to msg_len - 4.
Fixes: ccb186326bb6 ("wifi: mt76: mt7925: fix incorrect length field in txpower command")
Signed-off-by: Jared.Huang <jared.huang@mediatek.com>
Link: https://patch.msgid.link/20260617071320.1808499-1-jb.tsai@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
