ieee80211: Wireshark gives wrong A-MSDU subframe length
Summary
Wireshark is giving wrong A-MSDU subframe length.
Steps to reproduce & current bug behavior & expected behavior
With the provided capture file:
The length of subframe No. 2(Selected) should be ROUND_UP_4(14+1508)=1524 bytes, but Wireshark says 1600.
Proposed Fix
See !7830 (merged)
Sample capture file
amsdu-tc.pcapng Configure WPA TK 9c28786e24b34b22bbfffa6a7966723e to decrypt it.
Build information
Version 4.1.0 (v4.1.0rc0-42-g2007c929d203).
Compiled (64-bit) using GCC 12.1.1 20220730, with GLib 2.72.3, with PCRE2, with
zlib 1.2.12, with Qt 5.15.5, with libpcap, with POSIX capabilities (Linux), with
libnl 3, with Lua 5.2.4, with GnuTLS 3.7.7 and PKCS #11 support, with Gcrypt
1.10.1-unknown, with Kerberos (MIT), with MaxMind, with nghttp2 1.48.0, with
brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.14, without
libsmi, with QtMultimedia, without automatic updates, with SpeexDSP (using
system library), with Minizip, with binary plugins.
Running on Linux 5.19.1-arch2-1, with AMD Ryzen 5 3600 6-Core Processor (with
SSE4.2), with 15905 MB of physical memory, with GLib 2.72.3, with PCRE2 10.40
2022-04-14, with zlib 1.2.12, with Qt 5.15.5, with libpcap 1.10.1 (with
TPACKET_V3), with c-ares 1.18.1, with GnuTLS 3.7.7, with Gcrypt 1.10.1-unknown,
with nghttp2 1.48.0, with brotli 1.0.9, with LZ4 1.9.3, with Zstandard 1.5.2,
with light display mode, without HiDPI, with LC_TYPE=en_US.UTF-8, binary plugins
supported.
Edited by Chien Wong