utils: add iwinfo_htmode_is_{ht|vht|he} helpers
[project/iwinfo.git] / include / iwinfo / utils.h
index 6fe5785bbaf255fc01e9911957dd35f221a6543d..e9b8f1d9cd50a17c008ee19684851bc9b4066534 100644 (file)
@@ -44,6 +44,9 @@ static inline int iwinfo_mbm2dbm(int gain)
 }
 
 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);
+int iwinfo_htmode_is_he(int htmode);
 
 int iwinfo_ifup(const char *ifname);
 int iwinfo_ifdown(const char *ifname);