diff options
-rw-r--r-- | ConfigureChecks.cmake | 8 | ||||
-rw-r--r-- | cmakeconfig.h.in | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 46ab28f59a..14eb495344 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -126,6 +126,13 @@ check_c_source_compiles( check_c_source_compiles( "#include <linux/nl80211.h> int main() { + enum nl80211_protocol_features x = NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP; + }" + HAVE_NL80211_SPLIT_WIPHY_DUMP +) +check_c_source_compiles( + "#include <linux/nl80211.h> + int main() { int x = NL80211_FREQUENCY_ATTR_MAX_TX_POWER; x = NL80211_ATTR_SUPPORTED_IFTYPES; x = NL80211_ATTR_SUPPORTED_COMMANDS; @@ -134,4 +141,3 @@ check_c_source_compiles( }" HAVE_NL80211 ) - diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 494ab7f114..b334cd82bf 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -180,6 +180,9 @@ /* SET_CHANNEL is supported */ #cmakedefine HAVE_NL80211_CMD_SET_CHANNEL 1 +/* SPLIT_WIPHY_DUMP is supported */ +#cmakedefine HAVE_NL80211_SPLIT_WIPHY_DUMP 1 + /* Define to 1 if you have the <Ntddndis.h> header file. */ #cmakedefine HAVE_NTDDNDIS_H 1 |