]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Document how to configure for libnl 2.0 and 3.2
authorBen Greear <greearb@candelatech.com>
Sat, 4 Jan 2014 00:09:22 +0000 (16:09 -0800)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 13:35:14 +0000 (15:35 +0200)
Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Signed-hostap: Ben Greear <greearb@candelatech.com>

hostapd/defconfig
wpa_supplicant/defconfig

index 60f2c04ec0eb2a002cb8032d27cb5f6b5a3b18fc..e329a116e2f717fb0e908ecce6a8d2e97ac981ab 100644 (file)
@@ -22,6 +22,19 @@ CONFIG_DRIVER_HOSTAP=y
 # Driver interface for drivers using the nl80211 kernel interface
 CONFIG_DRIVER_NL80211=y
 
+# driver_nl80211.c requires libnl. If you are compiling it yourself
+# you may need to point hostapd to your version of libnl.
+#
+#CFLAGS += -I$<path to libnl include files>
+#LIBS += -L$<path to libnl library files>
+
+# Use libnl v2.0 (or 3.0) libraries.
+#CONFIG_LIBNL20=y
+
+# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
+#CONFIG_LIBNL32=y
+
+
 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
 #CONFIG_DRIVER_BSD=y
 #CFLAGS += -I/usr/local/include
index 0627661cdde7ecacff5902b77a8ec046572c6dbf..6684782c4bec4676fb8083ab19adccabaa273a9c 100644 (file)
@@ -31,6 +31,19 @@ CONFIG_DRIVER_WEXT=y
 # Driver interface for Linux drivers using the nl80211 kernel interface
 CONFIG_DRIVER_NL80211=y
 
+# driver_nl80211.c requires libnl. If you are compiling it yourself
+# you may need to point hostapd to your version of libnl.
+#
+#CFLAGS += -I$<path to libnl include files>
+#LIBS += -L$<path to libnl library files>
+
+# Use libnl v2.0 (or 3.0) libraries.
+#CONFIG_LIBNL20=y
+
+# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
+#CONFIG_LIBNL32=y
+
+
 # Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
 #CONFIG_DRIVER_BSD=y
 #CFLAGS += -I/usr/local/include