From 02f433e3052a5f2ee1c26c38a8beaf7a52fff645 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Mon, 21 Nov 2022 17:26:19 +0100 Subject: lib: add IWINFO_80211_COUNT and IWINFO_80211_NAMES The same as with the other defines/enums which allow consumers to iterate over all known ones. Signed-off-by: Andre Heider --- iwinfo_lib.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'iwinfo_lib.c') diff --git a/iwinfo_lib.c b/iwinfo_lib.c index 22c4ef6..9f787ac 100644 --- a/iwinfo_lib.c +++ b/iwinfo_lib.c @@ -22,6 +22,16 @@ /* * name constants */ +const char * const IWINFO_80211_NAMES[IWINFO_80211_COUNT] = { + "a", + "b", + "g", + "n", + "ac", + "ad", + "ax", +}; + const char * const IWINFO_BAND_NAMES[IWINFO_BAND_COUNT] = { "2.4 GHz", "5 GHz", -- cgit v1.2.1