developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 1 | From cb491fa6b4b5bb1e7c11788a39bcf5a7a74afafa Mon Sep 17 00:00:00 2001 |
| 2 | From: Emmanuel Grumbach <emmanuel.grumbach@intel.com> |
| 3 | Date: Wed, 23 Aug 2023 13:10:02 +0300 |
| 4 | Subject: [PATCH 18/28] iw: add more extended capa bits |
| 5 | |
| 6 | Those were missing |
| 7 | |
| 8 | While at it, fix a bug in the default case, we want to print the actual |
| 9 | bit offset which is bit + base. |
| 10 | |
| 11 | Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> |
| 12 | Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
| 13 | --- |
| 14 | scan.c | 6 +++++- |
| 15 | 1 file changed, 5 insertions(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/scan.c b/scan.c |
| 18 | index 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 | -- |
| 36 | 2.39.2 |
| 37 | |