utils: add helper functions to get names by values
[project/iwinfo.git] / include / iwinfo / utils.h
index e9b8f1d9cd50a17c008ee19684851bc9b4066534..a7645dea1d89001b02c3745fdf328906e107531d 100644 (file)
@@ -43,6 +43,9 @@ static inline int iwinfo_mbm2dbm(int gain)
        return gain / 100;
 }
 
+const char * const iwinfo_band_name(int mask);
+const char * const iwinfo_htmode_name(int mask);
+
 size_t iwinfo_format_hwmodes(int modes, char *buf, size_t len);
 int iwinfo_htmode_is_ht(int htmode);
 int iwinfo_htmode_is_vht(int htmode);