From: Ben Greear Date: Sat, 4 Jan 2014 00:09:22 +0000 (-0800) Subject: nl80211: Document how to configure for libnl 2.0 and 3.2 X-Git-Tag: hostap_2_1~158 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3043b4f4550a71487bd9f0cc876d1baddbb7bb5d;p=thirdparty%2Fhostap.git nl80211: Document how to configure for libnl 2.0 and 3.2 Reported-by: Xose Vazquez Perez Signed-hostap: Ben Greear --- diff --git a/hostapd/defconfig b/hostapd/defconfig index 60f2c04ec..e329a116e 100644 --- a/hostapd/defconfig +++ b/hostapd/defconfig @@ -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$ +#LIBS += -L$ + +# 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 diff --git a/wpa_supplicant/defconfig b/wpa_supplicant/defconfig index 0627661cd..6684782c4 100644 --- a/wpa_supplicant/defconfig +++ b/wpa_supplicant/defconfig @@ -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$ +#LIBS += -L$ + +# 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