blob: 46ec818915731665f2e39f39ac327613769c92b7 [file] [log] [blame]
developer617abbd2024-04-23 14:50:01 +08001From cb491fa6b4b5bb1e7c11788a39bcf5a7a74afafa Mon Sep 17 00:00:00 2001
2From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
3Date: Wed, 23 Aug 2023 13:10:02 +0300
4Subject: [PATCH 18/28] iw: add more extended capa bits
5
6Those were missing
7
8While at it, fix a bug in the default case, we want to print the actual
9bit offset which is bit + base.
10
11Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
12Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13---
14 scan.c | 6 +++++-
15 1 file changed, 5 insertions(+), 1 deletion(-)
16
17diff --git a/scan.c b/scan.c
18index 7479220..faf406d 100644
19--- a/scan.c
20+++ b/scan.c
21@@ -1445,8 +1445,12 @@ static void print_capabilities(const uint8_t type, uint8_t len,
22 CAPA(72, "Reserved");
23 CAPA(73, "Extended Spectrum Management Capable");
24 CAPA(74, "Reserved");
25+ CAPA(77, "TWT Requester Support");
26+ CAPA(78, "TWT Responder Support");
27+ CAPA(79, "OBSS Narrow Bandwith RU in UL OFDMA Tolerance Support");
28+
29 default:
30- printf(" %d", bit);
31+ printf(" %d", bit + base);
32 break;
33 }
34 #undef ADD_BIT_VAL
35--
362.39.2
37