hostapd: add config symbol for allowing drivers to enable 802.11ax support
[openwrt/openwrt.git] / package / network / services / hostapd / src / src / utils / build_features.h
index b28ff6fa9f548dfffcc9166911861bdb943c97d7..35356b2323a80cf2c28ef80435a2114f791d1200 100644 (file)
@@ -15,6 +15,10 @@ static inline int has_feature(const char *feat)
        if (!strcmp(feat, "11ac"))
                return 1;
 #endif
+#ifdef CONFIG_IEEE80211AX
+       if (!strcmp(feat, "11ax"))
+               return 1;
+#endif
 #ifdef CONFIG_IEEE80211R
        if (!strcmp(feat, "11r"))
                return 1;