summaryrefslogtreecommitdiff
path: root/iwinfo_lib.c
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-01-11 11:39:32 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-01-20 17:26:59 +0100
commit8ee7971c76314b44ff01385c47ac7a98edce79d9 (patch)
tree9c7f8e7ad4e774a48cb9985d0fc3d8d3f3f8f033 /iwinfo_lib.c
parent81184d27633dfa65677da11e4097d619ba3210e9 (diff)
downloadiwinfo-8ee7971c76314b44ff01385c47ac7a98edce79d9.tar.gz
lib: add IWINFO_FREQ_FLAG_NAMES
The same as with the other defines/enums which allow consumers to iterate over all known ones. Signed-off-by: Andre Heider <a.heider@gmail.com>
Diffstat (limited to 'iwinfo_lib.c')
-rw-r--r--iwinfo_lib.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/iwinfo_lib.c b/iwinfo_lib.c
index 9f787ac..579efc4 100644
--- a/iwinfo_lib.c
+++ b/iwinfo_lib.c
@@ -95,6 +95,18 @@ const char * const IWINFO_HTMODE_NAMES[IWINFO_HTMODE_COUNT] = {
"HE160"
};
+const char * const IWINFO_FREQ_FLAG_NAMES[IWINFO_FREQ_FLAG_COUNT] = {
+ "NO_10MHZ",
+ "NO_20MHZ",
+ "NO_HT40+",
+ "NO_HT40-",
+ "NO_80MHZ",
+ "NO_160MHZ",
+ "NO_HE",
+ "NO_IR",
+ "INDOOR_ONLY",
+};
+
const char * const ht_secondary_offset[4] = {
"no secondary",
"above",