138a799e75b5978525a3e2167563432e2350482f
1 #ifndef BUILD_FEATURES_H
2 #define BUILD_FEATURES_H
4 static inline int has_feature(const char *feat
)
6 #if defined(IEEE8021X_EAPOL) || (defined(HOSTAPD) && !defined(CONFIG_NO_RADIUS))
7 if (!strcmp(feat
, "eap"))
10 #ifdef CONFIG_IEEE80211N
11 if (!strcmp(feat
, "11n"))
14 #ifdef CONFIG_IEEE80211AC
15 if (!strcmp(feat
, "11ac"))
18 #ifdef CONFIG_IEEE80211AX
19 if (!strcmp(feat
, "11ax"))
22 #ifdef CONFIG_IEEE80211R
23 if (!strcmp(feat
, "11r"))
27 if (!strcmp(feat
, "acs"))
31 if (!strcmp(feat
, "sae"))
35 if (!strcmp(feat
, "owe"))
38 #ifdef CONFIG_SUITEB192
39 if (!strcmp(feat
, "suiteb192"))
43 if (!strcmp(feat
, "wep"))
47 if (!strcmp(feat
, "hs20"))
51 if (!strcmp(feat
, "wps"))
55 if (!strcmp(feat
, "fils"))
59 if (!strcmp(feat
, "ocv"))
63 if (!strcmp(feat
, "mesh"))
69 #endif /* BUILD_FEATURES_H */