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>
This commit is contained in:
parent
81184d2763
commit
8ee7971c76
2 changed files with 14 additions and 0 deletions
|
@ -153,6 +153,8 @@ enum iwinfo_freq_flag {
|
|||
#define IWINFO_FREQ_NO_IR (1 << IWINFO_FREQ_NO_IR)
|
||||
#define IWINFO_FREQ_INDOOR_ONLY (1 << IWINFO_FREQ_INDOOR_ONLY)
|
||||
|
||||
extern const char * const IWINFO_FREQ_FLAG_NAMES[IWINFO_FREQ_FLAG_COUNT];
|
||||
|
||||
|
||||
enum iwinfo_opmode {
|
||||
IWINFO_OPMODE_UNKNOWN = 0,
|
||||
|
|
12
iwinfo_lib.c
12
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",
|
||||
|
|
Loading…
Reference in a new issue