OCV: Add build configuration for channel validation support

Add compilation flags for Operating Channel Verification (OCV) support.

Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
This commit is contained in:
Mathy Vanhoef 2018-08-06 15:46:25 -04:00 committed by Jouni Malinen
parent b1d05aee8b
commit 138205d600
8 changed files with 32 additions and 0 deletions

View file

@ -235,6 +235,11 @@ L_CFLAGS += -DCONFIG_SUITEB192
NEED_SHA384=y NEED_SHA384=y
endif endif
ifdef CONFIG_OCV
L_CFLAGS += -DCONFIG_OCV
CONFIG_IEEE80211W=y
endif
ifdef CONFIG_IEEE80211W ifdef CONFIG_IEEE80211W
L_CFLAGS += -DCONFIG_IEEE80211W L_CFLAGS += -DCONFIG_IEEE80211W
NEED_SHA256=y NEED_SHA256=y

View file

@ -278,6 +278,11 @@ CFLAGS += -DCONFIG_SUITEB192
NEED_SHA384=y NEED_SHA384=y
endif endif
ifdef CONFIG_OCV
CFLAGS += -DCONFIG_OCV
CONFIG_IEEE80211W=y
endif
ifdef CONFIG_IEEE80211W ifdef CONFIG_IEEE80211W
CFLAGS += -DCONFIG_IEEE80211W CFLAGS += -DCONFIG_IEEE80211W
NEED_SHA256=y NEED_SHA256=y

View file

@ -50,6 +50,9 @@ CONFIG_DRIVER_NL80211_QCA=y
# Driver support is also needed for IEEE 802.11w. # Driver support is also needed for IEEE 802.11w.
CONFIG_IEEE80211W=y CONFIG_IEEE80211W=y
# Support Operating Channel Validation
#CONFIG_OCV=y
# Integrated EAP server # Integrated EAP server
#CONFIG_EAP=y #CONFIG_EAP=y

View file

@ -53,6 +53,9 @@ CONFIG_RSN_PREAUTH=y
# IEEE 802.11w (management frame protection) # IEEE 802.11w (management frame protection)
CONFIG_IEEE80211W=y CONFIG_IEEE80211W=y
# Support Operating Channel Validation
#CONFIG_OCV=y
# Integrated EAP server # Integrated EAP server
CONFIG_EAP=y CONFIG_EAP=y

View file

@ -207,6 +207,11 @@ L_CFLAGS += -DCONFIG_SUITEB192
NEED_SHA384=y NEED_SHA384=y
endif endif
ifdef CONFIG_OCV
L_CFLAGS += -DCONFIG_OCV
CONFIG_IEEE80211W=y
endif
ifdef CONFIG_IEEE80211W ifdef CONFIG_IEEE80211W
L_CFLAGS += -DCONFIG_IEEE80211W L_CFLAGS += -DCONFIG_IEEE80211W
NEED_SHA256=y NEED_SHA256=y

View file

@ -240,6 +240,11 @@ CFLAGS += -DCONFIG_SUITEB192
NEED_SHA384=y NEED_SHA384=y
endif endif
ifdef CONFIG_OCV
CFLAGS += -DCONFIG_OCV
CONFIG_IEEE80211W=y
endif
ifdef CONFIG_IEEE80211W ifdef CONFIG_IEEE80211W
CFLAGS += -DCONFIG_IEEE80211W CFLAGS += -DCONFIG_IEEE80211W
NEED_SHA256=y NEED_SHA256=y

View file

@ -280,6 +280,9 @@ CONFIG_L2_PACKET=linux
# Driver support is also needed for IEEE 802.11w. # Driver support is also needed for IEEE 802.11w.
CONFIG_IEEE80211W=y CONFIG_IEEE80211W=y
# Support Operating Channel Validation
#CONFIG_OCV=y
# Select TLS implementation # Select TLS implementation
# openssl = OpenSSL (default) # openssl = OpenSSL (default)
# gnutls = GnuTLS # gnutls = GnuTLS

View file

@ -301,6 +301,9 @@ CONFIG_BACKEND=file
# Driver support is also needed for IEEE 802.11w. # Driver support is also needed for IEEE 802.11w.
#CONFIG_IEEE80211W=y #CONFIG_IEEE80211W=y
# Support Operating Channel Validation
#CONFIG_OCV=y
# Select TLS implementation # Select TLS implementation
# openssl = OpenSSL (default) # openssl = OpenSSL (default)
# gnutls = GnuTLS # gnutls = GnuTLS