[PATCH 2/6] nl80211: Add build option for Intel Lantiq vendor extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This allows the binary sizes to be reduced if no support
for nl80211 vendor extensions are needed.

Signed-off-by: Sarada Prasanna Garnayak <sarada.prasanna.garnayak@xxxxxxxxx>
---
 hostapd/defconfig       | 3 +++
 src/drivers/drivers.mak | 3 +++
 src/drivers/drivers.mk  | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/hostapd/defconfig b/hostapd/defconfig
index c67c6622d..60cebf9c0 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -21,6 +21,9 @@ CONFIG_DRIVER_NL80211=y
 # QCA vendor extensions to nl80211
 #CONFIG_DRIVER_NL80211_QCA=y
 
+# Intel Lantiq vendor extensions to nl80211
+#CONFIG_DRIVER_NL80211_INTEL_LTQ=y
+
 # driver_nl80211.c requires libnl. If you are compiling it yourself
 # you may need to point hostapd to your version of libnl.
 #
diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak
index 1496b47d0..c8b4d342b 100644
--- a/src/drivers/drivers.mak
+++ b/src/drivers/drivers.mak
@@ -45,6 +45,9 @@ DRV_OBJS += ../src/drivers/driver_nl80211_scan.o
 ifdef CONFIG_DRIVER_NL80211_QCA
 DRV_CFLAGS += -DCONFIG_DRIVER_NL80211_QCA
 endif
+ifdef CONFIG_DRIVER_NL80211_INTEL_LTQ
+DRV_CFLAGS += -DCONFIG_DRIVER_NL80211_INTEL_LTQ
+endif
 NEED_SME=y
 NEED_AP_MLME=y
 NEED_NETLINK=y
diff --git a/src/drivers/drivers.mk b/src/drivers/drivers.mk
index cd25133af..075b2d543 100644
--- a/src/drivers/drivers.mk
+++ b/src/drivers/drivers.mk
@@ -40,6 +40,9 @@ DRV_OBJS += src/drivers/driver_nl80211_scan.c
 ifdef CONFIG_DRIVER_NL80211_QCA
 DRV_CFLAGS += -DCONFIG_DRIVER_NL80211_QCA
 endif
+ifdef CONFIG_DRIVER_NL80211_INTEL_LTQ
+DRV_CFLAGS += -DCONFIG_DRIVER_NL80211_INTEL_LTQ
+endif
 NEED_SME=y
 NEED_AP_MLME=y
 NEED_NETLINK=y
-- 
2.11.0


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux