commit 1cde7c9f3ec5d65cfee20bbd2cd32c59d2945a87
parent a20a61dca41c80a36c7d038a35b7810f49dc4707
Author: Denis Kenzior <denkenz@gmail.com>
Date: Tue, 25 May 2021 17:37:38 -0500
monitor: Fix wrong bitmask for VHT capabilities
The bitmask was erroneously allowing bits 16 and 17 to be examined, but
these bits belong to the Number of Sounding Dimensions field.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/monitor/nlmon.c b/monitor/nlmon.c
@@ -1624,7 +1624,7 @@ static void print_ie_vht_capabilities(unsigned int level,
[29] = "TX Antenna Pattern Consistency",
[30 ... 31] = "Extended NSS BW Support",
};
- uint8_t info_mask[] = { 0xf0, 0x18, 0x7b, 0x30 };
+ uint8_t info_mask[] = { 0xf0, 0x18, 0x78, 0x30 };
print_attr(level, "%s: len %u", label, size);