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"))
26 if (!strcmp(feat
, "11w"))
29 if (!strcmp(feat
, "acs"))
33 if (!strcmp(feat
, "sae"))
37 if (!strcmp(feat
, "owe"))
40 #ifdef CONFIG_SUITEB192
41 if (!strcmp(feat
, "suiteb192"))
45 if (!strcmp(feat
, "wep"))
49 if (!strcmp(feat
, "hs20"))
53 if (!strcmp(feat
, "wps"))
59 #endif /* BUILD_FEATURES_H */