802.11ax HE PHY "Device Class" dissected incorrectly
Summary
Wrong parsing of 80211 packet HE PHY Capabilities "Device Class" value to string
Correct conversion described in IEEE Std. 80211ax 2021 Table 9-322b (Subfields of the HE PHY Capabilities Information field)
Current code snippet:
Suggested fix:
Steps to reproduce
Sniff association sequence of 80211ax (WiFi 6) STA
Sample capture file
Build information
3.6.3 (v3.6.3-0-g6d348e46)
Compiled (64-bit) using Microsoft Visual Studio 2019 (VC++ 14.29, build 30139), with Qt 5.15.2, with libpcap, with GLib 2.66.4, with zlib 1.2.11, with Lua 5.2.4, with GnuTLS 3.6.3 and PKCS #11 (closed) support, with Gcrypt 1.8.3, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.44.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.10, with libsmi 0.4.8, with QtMultimedia, with automatic updates using WinSparkle 0.5.7, with AirPcap, with SpeexDSP (using bundled resampler), with Minizip.
Running on 64-bit Windows 10 (21H2), build 22000, with 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (with SSE4.2), with 32506 MB of physical memory, with GLib 2.66.4, with Qt 5.15.2, with Npcap version 1.55, based on libpcap version 1.10.2-PRE-GIT, with c-ares 1.17.0, with GnuTLS 3.6.3, with Gcrypt 1.8.3, with nghttp2 1.44.0, with brotli 1.0.9, with LZ4 1.9.3, with Zstandard 1.4.0, without AirPcap, with light display mode, without HiDPI, with LC_TYPE=English_Israel.utf8, binary plugins supported (21 loaded).