projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fresh pull from upstream 17.01 branch
[librecmc/librecmc.git]
/
package
/
network
/
services
/
hostapd
/
src
/
src
/
utils
/
build_features.h
diff --git
a/package/network/services/hostapd/src/src/utils/build_features.h
b/package/network/services/hostapd/src/src/utils/build_features.h
index ffbb7978d9e0d6e7c58f1c0cd6e3a3f041cb9f25..315804361ce13aa9a8508e6d7cdae3c87a44a970 100644
(file)
--- a/
package/network/services/hostapd/src/src/utils/build_features.h
+++ b/
package/network/services/hostapd/src/src/utils/build_features.h
@@
-3,13
+3,25
@@
static inline int has_feature(const char *feat)
{
static inline int has_feature(const char *feat)
{
-#if
def IEEE8021X_EAPOL
+#if
defined(IEEE8021X_EAPOL) || (defined(HOSTAPD) && !defined(CONFIG_NO_RADIUS))
if (!strcmp(feat, "eap"))
return 1;
#endif
if (!strcmp(feat, "eap"))
return 1;
#endif
-#ifdef IEEE80211N
+#ifdef
CONFIG_
IEEE80211N
if (!strcmp(feat, "11n"))
return 1;
if (!strcmp(feat, "11n"))
return 1;
+#endif
+#ifdef CONFIG_IEEE80211AC
+ if (!strcmp(feat, "11ac"))
+ return 1;
+#endif
+#ifdef CONFIG_IEEE80211R
+ if (!strcmp(feat, "11r"))
+ return 1;
+#endif
+#ifdef CONFIG_IEEE80211W
+ if (!strcmp(feat, "11w"))
+ return 1;
#endif
return 0;
}
#endif
return 0;
}