aboutsummaryrefslogtreecommitdiffstats
path: root/packages/hostap
diff options
context:
space:
mode:
authorMartin Dietze <di@fh-wedel.de>2006-09-08 13:09:43 +0000
committerMartin Dietze <di@fh-wedel.de>2006-09-08 13:09:43 +0000
commit6f53e1d4b2c7aed88b3bf4c43ed3baa609654e5e (patch)
treed0fae1b3ecebe91a9e9ae6a74aae3395e6cc57d8 /packages/hostap
parent005ccbff6b2c8c9e36abb1802166befd8cc256e5 (diff)
downloadopenembedded-6f53e1d4b2c7aed88b3bf4c43ed3baa609654e5e.tar.gz
hostap-daemon and madwifi: fix compatibility problems on mtx platforms
* added mtx-2 configuration to hostapd-daemon * made madwifi-modules_cvs the default choice (the bsd branch has been abandoned) * made sure that madwifi_modules stages the headers correctly so that hostap-daemon compiles on mtx/nylon
Diffstat (limited to 'packages/hostap')
-rw-r--r--packages/hostap/hostap-daemon.inc3
-rw-r--r--packages/hostap/hostap-daemon/mtx-2/.mtn2git_empty0
-rw-r--r--packages/hostap/hostap-daemon/mtx-2/defconfig66
-rw-r--r--packages/hostap/hostap-modules.inc2
4 files changed, 71 insertions, 0 deletions
diff --git a/packages/hostap/hostap-daemon.inc b/packages/hostap/hostap-daemon.inc
index 83491bfb14..a6e4a6246d 100644
--- a/packages/hostap/hostap-daemon.inc
+++ b/packages/hostap/hostap-daemon.inc
@@ -7,6 +7,9 @@ LICENSE = "GPL"
RDEPENDS = "hostap-modules hostap-utils (${PV})"
DEPENDS = "openssl"
DEPENDS_mtx-1_append = "madwifi-modules"
+DEPENDS_mtx-2_append = "madwifi-modules"
+CPPFLAGS_append_mtx-1 = " -I${STAGING_INCDIR}/madwifi/"
+CPPFLAGS_append_mtx-2 = " -I${STAGING_INCDIR}/madwifi/"
SRC_URI = "http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
file://makefile-cross.diff;patch=1;pnum=0 \
diff --git a/packages/hostap/hostap-daemon/mtx-2/.mtn2git_empty b/packages/hostap/hostap-daemon/mtx-2/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/hostap/hostap-daemon/mtx-2/.mtn2git_empty
diff --git a/packages/hostap/hostap-daemon/mtx-2/defconfig b/packages/hostap/hostap-daemon/mtx-2/defconfig
new file mode 100644
index 0000000000..8c3065c3b9
--- /dev/null
+++ b/packages/hostap/hostap-daemon/mtx-2/defconfig
@@ -0,0 +1,66 @@
+# Example hostapd build time configuration
+#
+# This file lists the configuration options that are used when building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cass, these lines should use += in order not
+# to override previous values of the variables.
+
+# Driver interface for Host AP driver
+CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for wired authenticator
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for madwifi driver
+CONFIG_DRIVER_MADWIFI=y
+#CFLAGS += -I../head # change to reflect local setup; directory for madwifi src
+
+# Driver interface for Prism54 driver
+CONFIG_DRIVER_PRISM54=y
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+#CONFIG_DRIVER_BSD=y
+#CFLAGS += -I/usr/local/include
+#LIBS += -L/usr/local/lib
+
+# IEEE 802.11F/IAPP
+CONFIG_IAPP=y
+
+# WPA2/IEEE 802.11i RSN pre-authentication
+CONFIG_RSN_PREAUTH=y
+
+# Integrated EAP authenticator
+CONFIG_EAP=y
+
+# EAP-MD5 for the integrated EAP authenticator
+CONFIG_EAP_MD5=y
+
+# EAP-TLS for the integrated EAP authenticator
+CONFIG_EAP_TLS=y
+
+# EAP-MSCHAPv2 for the integrated EAP authenticator
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-PEAP for the integrated EAP authenticator
+CONFIG_EAP_PEAP=y
+
+# EAP-GTC for the integrated EAP authenticator
+CONFIG_EAP_GTC=y
+
+# EAP-TTLS for the integrated EAP authenticator
+CONFIG_EAP_TTLS=y
+
+# EAP-SIM for the integrated EAP authenticator
+#CONFIG_EAP_SIM=y
+
+# PKCS#12 (PFX) support (used to read private key and certificate file from
+# a file that usually has extension .p12 or .pfx)
+CONFIG_PKCS12=y
+
+# RADIUS authentication server. This provides access to the integrated EAP
+# authenticator from external hosts using RADIUS.
+CONFIG_RADIUS_SERVER=y
diff --git a/packages/hostap/hostap-modules.inc b/packages/hostap/hostap-modules.inc
index 5ce5e0db67..4d1cc76d32 100644
--- a/packages/hostap/hostap-modules.inc
+++ b/packages/hostap/hostap-modules.inc
@@ -8,6 +8,8 @@ SRC_URI = "http://hostap.epitest.fi/releases/hostap-driver-${PV}.tar.gz"
SRC_URI_append_mtx-1 = " file://mtx_compat.diff;patch=1;pnum=0 \
file://mtx_hostap_deferred_irq.diff;patch=1;pnum=0"
+SRC_URI_append_mtx-2 = " file://mtx_compat.diff;patch=1;pnum=0 \
+ file://mtx_hostap_deferred_irq.diff;patch=1;pnum=0"
SRC_URI_append_h3900 = " file://ipaq_compat.patch;patch=1 "