aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2023-08-23 13:10:02 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-08-24 09:15:51 +0200
commitcb491fa6b4b5bb1e7c11788a39bcf5a7a74afafa (patch)
tree5aea2bd2bb331d6e6101aa6fb8c244e2373ffef8
parentcf26fc9ab584833f01e27cc2dd09988179ec6a03 (diff)
iw: add more extended capa bits
Those were missing While at it, fix a bug in the default case, we want to print the actual bit offset which is bit + base. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--scan.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/scan.c b/scan.c
index 7479220..faf406d 100644
--- a/scan.c
+++ b/scan.c
@@ -1445,8 +1445,12 @@ static void print_capabilities(const uint8_t type, uint8_t len,
CAPA(72, "Reserved");
CAPA(73, "Extended Spectrum Management Capable");
CAPA(74, "Reserved");
+ CAPA(77, "TWT Requester Support");
+ CAPA(78, "TWT Responder Support");
+ CAPA(79, "OBSS Narrow Bandwith RU in UL OFDMA Tolerance Support");
+
default:
- printf(" %d", bit);
+ printf(" %d", bit + base);
break;
}
#undef ADD_BIT_VAL