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_IEEE80211AC
11 if (!strcmp(feat
, "11ac"))
14 #ifdef CONFIG_IEEE80211AX
15 if (!strcmp(feat
, "11ax"))
18 #ifdef CONFIG_IEEE80211R
19 if (!strcmp(feat
, "11r"))
23 if (!strcmp(feat
, "acs"))
27 if (!strcmp(feat
, "sae"))
31 if (!strcmp(feat
, "owe"))
34 #ifdef CONFIG_SUITEB192
35 if (!strcmp(feat
, "suiteb192"))
39 if (!strcmp(feat
, "wep"))
43 if (!strcmp(feat
, "hs20"))
47 if (!strcmp(feat
, "wps"))
51 if (!strcmp(feat
, "fils"))
55 if (!strcmp(feat
, "ocv"))
59 if (!strcmp(feat
, "mesh"))
65 #endif /* BUILD_FEATURES_H */