From: Aleksander Jan Bajkowski <olek2@wp.pl>
To: johannes@sipsolutions.net, linux-wireless@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: Aleksander Jan Bajkowski <olek2@wp.pl>
Subject: [PATCH iw] util: rename hz to Hz
Date: Sun, 13 Apr 2025 13:36:53 +0200 [thread overview]
Message-ID: <20250413113653.29050-1-olek2@wp.pl> (raw)
In most places, the Hz unit is used. This commit changes
hz to Hz in other places.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
util.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/util.c b/util.c
index dc84886..cc48571 100644
--- a/util.c
+++ b/util.c
@@ -1192,11 +1192,11 @@ void print_vht_info(__u32 capa, const __u8 *mcs)
case 2: printf("160 MHz, 80+80 MHz\n"); break;
}
} else {
- print_nss_ratio("20Mhz", false, nss_tbl->bw_20);
- print_nss_ratio("40Mhz", false, nss_tbl->bw_40);
- print_nss_ratio("80Mhz", false, nss_tbl->bw_80);
- print_nss_ratio("160Mhz", false, nss_tbl->bw_160);
- print_nss_ratio("80+80Mhz", false, nss_tbl->bw_80_80);
+ print_nss_ratio("20MHz", false, nss_tbl->bw_20);
+ print_nss_ratio("40MHz", false, nss_tbl->bw_40);
+ print_nss_ratio("80MHz", false, nss_tbl->bw_80);
+ print_nss_ratio("160MHz", false, nss_tbl->bw_160);
+ print_nss_ratio("80+80MHz", false, nss_tbl->bw_80_80);
printf("\n");
}
@@ -1351,11 +1351,11 @@ static void __print_he_capa(const __u16 *mac_cap,
PRINT_HE_PHY_CAP(2, 7, "SU Beamformer");
PRINT_HE_PHY_CAP(2, 8, "SU Beamformee");
PRINT_HE_PHY_CAP(2, 9, "MU Beamformer");
- PRINT_HE_PHY_CAP_MASK(2, 10, 0x7, "Beamformee STS <= 80Mhz");
- PRINT_HE_PHY_CAP_MASK(2, 13, 0x7, "Beamformee STS > 80Mhz");
+ PRINT_HE_PHY_CAP_MASK(2, 10, 0x7, "Beamformee STS <= 80MHz");
+ PRINT_HE_PHY_CAP_MASK(2, 13, 0x7, "Beamformee STS > 80MHz");
- PRINT_HE_PHY_CAP_MASK(3, 0, 0x7, "Sounding Dimensions <= 80Mhz");
- PRINT_HE_PHY_CAP_MASK(3, 3, 0x7, "Sounding Dimensions > 80Mhz");
+ PRINT_HE_PHY_CAP_MASK(3, 0, 0x7, "Sounding Dimensions <= 80MHz");
+ PRINT_HE_PHY_CAP_MASK(3, 3, 0x7, "Sounding Dimensions > 80MHz");
PRINT_HE_PHY_CAP(3, 6, "Ng = 16 SU Feedback");
PRINT_HE_PHY_CAP(3, 7, "Ng = 16 MU Feedback");
PRINT_HE_PHY_CAP(3, 8, "Codebook Size SU Feedback");
@@ -1828,7 +1828,7 @@ void print_he_operation(const uint8_t *ie, int len)
} else {
const uint8_t control = ie[offset + 1];
- printf("\t\t6 Ghz Operation Information: 0x");
+ printf("\t\t6 GHz Operation Information: 0x");
for (uint8_t i = 0; i < 5; i++)
printf("%02x", ie[offset + i]);
--
2.39.5
reply other threads:[~2025-04-13 11:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250413113653.29050-1-olek2@wp.pl \
--to=olek2@wp.pl \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®