From 1cde7c9f3ec5d65cfee20bbd2cd32c59d2945a87 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 25 May 2021 17:37:38 -0500 Subject: [PATCH] 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. --- monitor/nlmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index a39e8590..4ed49cb1 100644 --- 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);