Skip to contentSkip to conversation

wpa-supplicant: Build from git sources

PATCH Superseded Eyal Reizer 4 participants 9 messages Apr 13, 2011 – Apr 20, 2011

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wpa-supplicant: Build from git sources

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

---
 .../wpa-supplicant-git/99_wpa_supplicant           |    1 +
 .../wpa-supplicant-git/defaults-sane               |    8 +
 .../wpa-supplicant/wpa-supplicant-git/defconfig    |  422 ++++++++++++
 .../wpa-supplicant-git/wpa-supplicant.sh           |   85 +++
 .../wpa-supplicant-git/wpa_supplicant.conf         |  690 ++++++++++++++++++++
 .../wpa-supplicant-git/wpa_supplicant.conf-sane    |    7 +
 recipes/wpa-supplicant/wpa-supplicant_git.bb       |   30 +
 7 files changed, 1243 insertions(+), 0 deletions(-)
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/99_wpa_supplicant
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/defconfig
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf-sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant_git.bb
recipes/wpa-supplicant/wpa-supplicant-git/99_wpa_supplicant new file +1 -0
new file mode 100644
index 0000000..6ff4dd8
@@ -0,0 +1 @@
+d root root 0700 /var/run/wpa_supplicant none
recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane new file +8 -0
new file mode 100644
index 0000000..67c4cbd
@@ -0,0 +1,8 @@
+# Useful flags:
+#  -i <ifname>          Interface (required, unless specified in config)
+#  -D <driver>          Wireless Driver
+#  -d                   Debugging (-dd for more)
+#  -q                   Quiet (-qq for more)
+
+CONFIG="/etc/wpa_supplicant.conf"
+OPTIONS="-i eth1 -D wext"
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +422 -0

422 lines not on this page · raw message

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +85 -0

85 lines not on this page · raw message

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +690 -0

690 lines not on this page · raw message

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf-sane new file +7 -0
new file mode 100644
index 0000000..c91ffe0
@@ -0,0 +1,7 @@
+ctrl_interface=/var/run/wpa_supplicant
+ctrl_interface_group=0
+update_config=1
+
+network={
+        key_mgmt=NONE
+}
recipes/wpa-supplicant/wpa-supplicant_git.bb new file +30 -0
new file mode 100644
index 0000000..7561320
@@ -0,0 +1,30 @@
+require wpa-supplicant-0.7.inc
+
+SRCREV = "b8fb017272ed4794339978c9fbc0e74571a44728"
+PR = "r0"
+PR_append = "+gitr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://w1.fi/srv/git/hostap.git;protocol=git \
+           file://defconfig \
+           file://defaults-sane \
+           file://wpa-supplicant.sh \
+           file://wpa_supplicant.conf \
+           file://wpa_supplicant.conf-sane \
+           file://99_wpa_supplicant"
+
+S = "${WORKDIR}/git/wpa_supplicant"
+
+do_configure () {
+	install -m 0755 ${WORKDIR}/defconfig .config
+	echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
+	echo "LIBS += -L${STAGING_LIBDIR}" >> .config
+	echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config
+	if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}" = "1" ]; then
+		echo "CONFIG_DRIVER_MADWIFI=y" >> .config
+		echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
+	fi
+}
+
+
Signature · 1 line
1.7.0.4
#1 lore raw

Ping: [PATCHv2] wpa-supplicant: Build from git sources

Quoted 1,601 lines

-----Original Message-----
From: Eyal Reizer [mailto:[email protected]]
Sent: Wednesday, April 13, 2011 3:49 PM
To: [email protected]
Cc: Reizer, Eyal
Subject: [PATCHv2] wpa-supplicant: Build from git sources

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

---
 .../wpa-supplicant-git/99_wpa_supplicant           |    1 +
 .../wpa-supplicant-git/defaults-sane               |    8 +
 .../wpa-supplicant/wpa-supplicant-git/defconfig    |  422 ++++++++++++
 .../wpa-supplicant-git/wpa-supplicant.sh           |   85 +++
 .../wpa-supplicant-git/wpa_supplicant.conf         |  690
++++++++++++++++++++
 .../wpa-supplicant-git/wpa_supplicant.conf-sane    |    7 +
 recipes/wpa-supplicant/wpa-supplicant_git.bb       |   30 +
 7 files changed, 1243 insertions(+), 0 deletions(-)
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-
git/99_wpa_supplicant
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/defaults-
sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/defconfig
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa-
supplicant.sh
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-
git/wpa_supplicant.conf
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-
git/wpa_supplicant.conf-sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant_git.bb
(quoted diff) +0 -0

git/99_wpa_supplicant b/recipes/wpa-supplicant/wpa-supplicant- git/99_wpa_supplicant
new file mode 100644
index 0000000..6ff4dd8

recipes/wpa-supplicant/wpa-supplicant-git/99_wpa_supplicant new file +1 -0
@@ -0,0 +1 @@
+d root root 0700 /var/run/wpa_supplicant none
recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane new file +2 -0
new file mode 100644
index 0000000..67c4cbd
@@ -0,0 +1,8 @@
+# Useful flags:
+#  -i <ifname>          Interface (required, unless specified in

config)

recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane new file +6 -0
+#  -D <driver>          Wireless Driver
+#  -d                   Debugging (-dd for more)
+#  -q                   Quiet (-qq for more)
+
+CONFIG="/etc/wpa_supplicant.conf"
+OPTIONS="-i eth1 -D wext"
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
new file mode 100644
index 0000000..d9be1a8
@@ -0,0 +1,422 @@
+# Example wpa_supplicant 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.,

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+# 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 cases, these lines should use += in order not

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# to override previous values of the variables.
+
+
+# Uncomment following two lines and fix the paths if you have

installed OpenSSL

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# or GnuTLS in non-default location
+#CFLAGS += -I/usr/local/openssl/include
+#LIBS += -L/usr/local/openssl/lib
+
+# Some Red Hat versions seem to include kerberos header files from

OpenSSL, but
+# the kerberos files are not in the default include path. Following line can be

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+# used to fix build issues on such systems (krb5.h not found).
+#CFLAGS += -I/usr/include/kerberos
+
+# Example configuration for various cross-compilation platforms
+
+#### sveasoft (e.g., for Linksys WRT54G)

######################################

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS += -I../src/include -I../../src/router/openssl/include
+#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl
+######################################################################

#########

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +2 -0
+
+#### openwrt (e.g., for Linksys WRT54G)

#######################################

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +7 -0
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \
+#    -I../WRT54GS/release/src/include
+#LIBS = -lssl
+######################################################################

#########

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +38 -0
+
+CC=$(CROSS_COMPILE)gcc
+#CFLAGS += -DCONFIG_LIBNL20
+#CPPFLAGS += -DCONFIG_LIBNL20
+#LIBS += -L$(NFSROOT)/lib -lnl
+#LIBS_p += -L$(NFSROOT)/lib
+#LIBDIR = $(NFSROOT)/lib
+#BINDIR = $(NFSROOT)/usr/sbin
+
+CONFIG_WAPI=y
+CONFIG_LIBNL20=y
+NEED_BGSCAN=y
+CONFIG_BGSCAN_LEARN=y
+
+# Driver interface for Host AP driver
+#CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for Agere driver
+#CONFIG_DRIVER_HERMES=y
+# Change include directories to match with the local setup
+#CFLAGS += -I../../hcf -I../../include -I../../include/hcf
+#CFLAGS += -I../../include/wireless
+
+# Driver interface for madwifi driver
+# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
+#CONFIG_DRIVER_MADWIFI=y
+# Set include directory to the madwifi source tree
+#CFLAGS += -I../../madwifi
+
+# Driver interface for ndiswrapper
+# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
+#CONFIG_DRIVER_NDISWRAPPER=y
+
+# Driver interface for Atmel driver
+#CONFIG_DRIVER_ATMEL=y
+
+# Driver interface for old Broadcom driver
+# Please note that the newer Broadcom driver ("hybrid Linux driver")

supports
+# Linux wireless extensions and does not need (or even work) with the old

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +16 -0
+# driver wrapper. Use CONFIG_DRIVER_WEXT=y with that driver.
+#CONFIG_DRIVER_BROADCOM=y
+# Example path for wlioctl.h; change to match your configuration
+#CFLAGS += -I/opt/WRT54GS/release/src/include
+
+# Driver interface for Intel ipw2100/2200 driver
+# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
+#CONFIG_DRIVER_IPW=y
+
+# Driver interface for Ralink driver
+#CONFIG_DRIVER_RALINK=y
+
+# Driver interface for generic Linux wireless extensions
+CONFIG_DRIVER_WEXT=y
+
+# Driver interface for Linux drivers using the nl80211 kernel

interface

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +16 -0
+CONFIG_DRIVER_NL80211=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
+#LIBS_p += -L/usr/local/lib
+#LIBS_c += -L/usr/local/lib
+
+# Driver interface for Windows NDIS
+#CONFIG_DRIVER_NDIS=y
+#CFLAGS += -I/usr/include/w32api/ddk
+#LIBS += -L/usr/local/lib
+# For native build using mingw
+#CONFIG_NATIVE_WINDOWS=y
+# Additional directories for cross-compilation on Linux host for mingw

target

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+#CFLAGS += -I/opt/mingw/mingw32/include/ddk
+#LIBS += -L/opt/mingw/mingw32/lib
+#CC=mingw32-gcc
+# By default, driver_ndis uses WinPcap for low-level operations. This

can be
+# replaced with the following option which replaces WinPcap calls with NDISUIO.
+# However, this requires that WZC is disabled (net stop wzcsvc) before starting

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +8 -0
+# wpa_supplicant.
+# CONFIG_USE_NDISUIO=y
+
+# Driver interface for development testing
+#CONFIG_DRIVER_TEST=y
+
+# Include client MLME (management frame processing) for test driver
+# This can be used to test MLME operations in hostapd with the test

interface.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +17 -0
+# space.
+#CONFIG_CLIENT_MLME=y
+
+# Driver interface for wired Ethernet drivers
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for the Broadcom RoboSwitch family
+#CONFIG_DRIVER_ROBOSWITCH=y
+
+# Driver interface for no driver (e.g., WPS ER only)
+#CONFIG_DRIVER_NONE=y
+
+# Solaris libraries
+#LIBS += -lsocket -ldlpi -lnsl
+#LIBS_c += -lsocket
+
+# Enable IEEE 802.1X Supplicant (automatically included if any EAP

method is

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +21 -0
+# included)
+CONFIG_IEEE8021X_EAPOL=y
+
+# EAP-MD5
+CONFIG_EAP_MD5=y
+
+# EAP-MSCHAPv2
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-TLS
+CONFIG_EAP_TLS=y
+
+# EAL-PEAP
+CONFIG_EAP_PEAP=y
+
+# EAP-TTLS
+CONFIG_EAP_TTLS=y
+
+# EAP-FAST
+# Note: Default OpenSSL package does not include support for all the
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with

OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.8d-tls- extensions.patch)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +51 -0
+# to add the needed functions.
+#CONFIG_EAP_FAST=y
+
+# EAP-GTC
+CONFIG_EAP_GTC=y
+
+# EAP-OTP
+CONFIG_EAP_OTP=y
+
+# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
+#CONFIG_EAP_SIM=y
+
+# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
+#CONFIG_EAP_PSK=y
+
+# EAP-PAX
+#CONFIG_EAP_PAX=y
+
+# LEAP
+CONFIG_EAP_LEAP=y
+
+# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
+#CONFIG_EAP_AKA=y
+
+# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
+# This requires CONFIG_EAP_AKA to be enabled, too.
+#CONFIG_EAP_AKA_PRIME=y
+
+# Enable USIM simulator (Milenage) for EAP-AKA
+#CONFIG_USIM_SIMULATOR=y
+
+# EAP-SAKE
+#CONFIG_EAP_SAKE=y
+
+# EAP-GPSK
+#CONFIG_EAP_GPSK=y
+# Include support for optional SHA256 cipher suite in EAP-GPSK
+#CONFIG_EAP_GPSK_SHA256=y
+
+# EAP-TNC and related Trusted Network Connect support (experimental)
+#CONFIG_EAP_TNC=y
+
+# Wi-Fi Protected Setup (WPS)
+CONFIG_WPS=y
+# Enable WSC 2.0 support
+CONFIG_WPS2=y
+
+# EAP-IKEv2
+#CONFIG_EAP_IKEV2=y
+
+# PKCS#12 (PFX) support (used to read private key and certificate file

from

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# a file that usually has extension .p12 or .pfx)
+CONFIG_PKCS12=y
+
+# Smartcard support (i.e., private key on a smartcard), e.g., with

openssl

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +11 -0
+# engine.
+CONFIG_SMARTCARD=y
+
+# PC/SC interface for smartcards (USIM, GSM SIM)
+# Enable this if EAP-SIM or EAP-AKA is included
+#CONFIG_PCSC=y
+
+# Development testing
+#CONFIG_EAPOL_TEST=y
+
+# Select control interface backend for external programs, e.g,

wpa_cli:

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# unix = UNIX domain sockets (default for Linux/*BSD)
+# udp = UDP sockets using localhost (127.0.0.1)
+# named_pipe = Windows Named Pipe (default for Windows)
+# y = use default (backwards compatibility)
+# If this option is commented out, control interface is not included

in the

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# build.
+CONFIG_CTRL_IFACE=y
+
+# Include support for GNU Readline and History Libraries in wpa_cli.
+# When building a wpa_cli binary for distribution, please note that

these
+# libraries are licensed under GPL and as such, BSD license may not apply for

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# the resulting binary.
+#CONFIG_READLINE=y
+
+# Remove debugging code that is printing out debug message to stdout.
+# This can be used to reduce the size of the wpa_supplicant

considerably
+# if debugging code is not needed. The size reduction can be around 35%

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# (e.g., 90 kB).
+#CONFIG_NO_STDOUT_DEBUG=y
+
+# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to

save

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# 35-50 kB in code size.
+#CONFIG_NO_WPA=y
+
+# Remove WPA2 support. This allows WPA to be used, but removes WPA2

code to
+# save about 1 kB in code size when building only WPA-Personal (no EAP support)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+# or 6 kB if building for WPA-Enterprise.
+#CONFIG_NO_WPA2=y
+
+# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
+# This option can be used to reduce code size by removing support for
+# converting ASCII passphrases into PSK. If this functionality is

removed, the

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# PSK can only be configured as the 64-octet hexstring (e.g., from
+# wpa_passphrase). This saves about 0.5 kB in code size.
+#CONFIG_NO_WPA_PASSPHRASE=y
+
+# Disable scan result processing (ap_mode=1) to save code size by

about 1 kB.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# This can be used if ap_scan=1 mode is never enabled.
+#CONFIG_NO_SCAN_PROCESSING=y
+
+# Select configuration backend:
+# file = text file (e.g., wpa_supplicant.conf; note: the configuration

file
+# path is given on command line, not here; this option is just used
to

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+#    select the backend that allows configuration files to be used)
+# winreg = Windows registry (see win_example.reg for an example)
+CONFIG_BACKEND=file
+
+# Remove configuration write functionality (i.e., to allow the

configuration
+# file to be updated based on runtime configuration changes). The runtime
+# configuration can still be changed, the changes are just not going to be
+# persistent over restarts. This option can be used to reduce code size by

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# about 3.5 kB.
+#CONFIG_NO_CONFIG_WRITE=y
+
+# Remove support for configuration blobs to reduce code size by about

1.5 kB.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +34 -0
+#CONFIG_NO_CONFIG_BLOBS=y
+
+# Select program entry point implementation:
+# main = UNIX/POSIX like main() function (default)
+# main_winsvc = Windows service (read parameters from registry)
+# main_none = Very basic example (development use only)
+#CONFIG_MAIN=main
+
+# Select wrapper for operatins system and C library specific functions
+# unix = UNIX/POSIX like systems (default)
+# win32 = Windows systems
+# none = Empty template
+#CONFIG_OS=unix
+
+# Select event loop implementation
+# eloop = select() loop (default)
+# eloop_win = Windows events and WaitForMultipleObject() loop
+# eloop_none = Empty template
+#CONFIG_ELOOP=eloop
+
+# Select layer 2 packet implementation
+# linux = Linux packet socket (default)
+# pcap = libpcap/libdnet/WinPcap
+# freebsd = FreeBSD libpcap
+# winpcap = WinPcap with receive thread
+# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
+# none = Empty template
+#CONFIG_L2_PACKET=linux
+
+# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
+CONFIG_PEERKEY=y
+
+# IEEE 802.11w (management frame protection)
+# This version is an experimental implementation based on IEEE

802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +12 -0
+# Driver support is also needed for IEEE 802.11w.
+#CONFIG_IEEE80211W=y
+
+# Select TLS implementation
+# openssl = OpenSSL (default)
+# gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
+# internal = Internal TLSv1 implementation (experimental)
+# none = Empty template
+#CONFIG_TLS=openssl
+
+# Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
+# You need CONFIG_TLS=gnutls for this to have any effect. Please note

that
+# even though the core GnuTLS library is released under LGPL, this extra
+# library uses GPL and as such, the terms of GPL apply to the combination
+# of wpa_supplicant and GnuTLS if this option is enabled. BSD license may not

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# apply for distribution of the resulting binary.
+#CONFIG_GNUTLS_EXTRA=y
+
+# If CONFIG_TLS=internal is used, additional library and include paths

are
+# needed for LibTomMath. Alternatively, an integrated, minimal version of
+# LibTomMath can be used. See beginning of libtommath.c for details on benefits

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +9 -0
+# and drawbacks of this option.
+#CONFIG_INTERNAL_LIBTOMMATH=y
+#ifndef CONFIG_INTERNAL_LIBTOMMATH
+#LTM_PATH=/usr/src/libtommath-0.39
+#CFLAGS += -I$(LTM_PATH)
+#LIBS += -L$(LTM_PATH)
+#LIBS_p += -L$(LTM_PATH)
+#endif
+# At the cost of about 4 kB of additional binary size, the internal

LibTomMath
+# can be configured to include faster routines for exptmod, sqr, and div to

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# speed up DH and RSA calculation considerably
+#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
+
+# Include NDIS event processing through WMI into

wpa_supplicant/wpasvc.
+# This is only for Windows builds and requires WMI-related header files and

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +18 -0
+# WbemUuid.Lib from Platform SDK even when building with MinGW.
+#CONFIG_NDIS_EVENTS_INTEGRATED=y
+#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
+
+# Add support for old DBus control interface
+# (fi.epitest.hostap.WPASupplicant)
+#CONFIG_CTRL_IFACE_DBUS=y
+
+# Add support for new DBus control interface
+# (fi.w1.hostap.wpa_supplicant1)
+#CONFIG_CTRL_IFACE_DBUS_NEW=y
+
+# Add introspection support for new DBus control interface
+#CONFIG_CTRL_IFACE_DBUS_INTRO=y
+
+# Add support for loading EAP methods dynamically as shared libraries.
+# When this option is enabled, each EAP method can be either included
+# statically (CONFIG_EAP_<method>=y) or dynamically

(CONFIG_EAP_<method>=dyn).
+# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +2 -0
+# be loaded in the beginning of the wpa_supplicant configuration file
+# (see load_dynamic_eap parameter in the example file) before being

used in

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+# the network blocks.
+#
+# Note that some shared parts of EAP methods are included in the main

program
+# and in order to be able to use dynamic EAP methods using these parts, the
+# main program must have been build with the EAP method enabled (=y or =dyn).
+# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
+# unless at least one of them was included in the main build to force inclusion
+# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+# in the main build to be able to load these methods dynamically.
+#
+# Please also note that using dynamic libraries will increase the

total binary
+# size. Thus, it may not be the best option for targets that have limited

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +7 -0
+# amount of memory/flash.
+#CONFIG_DYNAMIC_EAP_METHODS=y
+
+# IEEE Std 802.11r-2008 (Fast BSS Transition)
+#CONFIG_IEEE80211R=y
+
+# Add support for writing debug log to a file (/tmp/wpa_supplicant-

log-#.txt)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+CONFIG_DEBUG_FILE=y
+
+# Enable privilege separation (see README 'Privilege separation' for

details)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+#CONFIG_PRIVSEP=y
+
+# Enable mitigation against certain attacks against TKIP by delaying

Michael
+# MIC error reports by a random amount of time between 0 and 60 seconds

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+#CONFIG_DELAYED_MIC_ERROR_REPORT=y
+
+# Enable tracing code for developer debugging
+# This tracks use of memory allocations and other registrations and

reports

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +9 -0
+# incorrect use with a backtrace of call (or allocation) location.
+#CONFIG_WPA_TRACE=y
+# For BSD, comment out these.
+#LIBS += -lexecinfo
+#LIBS_p += -lexecinfo
+#LIBS_c += -lexecinfo
+
+# Use libbfd to get more details for developer debugging
+# This enables use of libbfd to get more detailed symbols for the

backtraces

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+# generated by CONFIG_WPA_TRACE=y.
+#CONFIG_WPA_TRACE_BFD=y
+# For BSD, comment out these.
+#LIBS += -lbfd -liberty -lz
+#LIBS_p += -lbfd -liberty -lz
+#LIBS_c += -lbfd -liberty -lz
(quoted diff) +0 -0

supplicant.sh b/recipes/wpa-supplicant/wpa-supplicant-git/wpa- supplicant.sh
new file mode 100644
index 0000000..5c9e5d3

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +21 -0
@@ -0,0 +1,85 @@
+#!/bin/sh
+
+
+WPA_SUP_BIN="/usr/sbin/wpa_supplicant"
+WPA_SUP_PNAME="wpa_supplicant"
+WPA_SUP_PIDFILE="/var/run/wpa_supplicant.$IFACE.pid"
+WPA_SUP_OPTIONS="-B -P $WPA_SUP_PIDFILE -i $IFACE"
+
+VERBOSITY=0
+
+
+if [ -s "$IF_WPA_CONF" ]; then
+     WPA_SUP_CONF="-c $IF_WPA_CONF"
+else
+     exit 0
+fi
+
+if [ ! -x "$WPA_SUP_BIN" ]; then
+
+     if [ "$VERBOSITY" = "1" ]; then
+             echo "$WPA_SUP_PNAME: binaries not executable or missing

from $WPA_SUP_BIN"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +13 -0
+     fi
+
+     exit 1
+fi
+
+if [ "$MODE" = "start" ] ; then
+     # driver type of interface, defaults to wext when undefined
+     if [ -s "/etc/wpa_supplicant/driver.$IFACE" ]; then
+             IF_WPA_DRIVER=$(cat "/etc/wpa_supplicant/driver.$IFACE")
+     elif [ -z "$IF_WPA_DRIVER" ]; then
+
+             if [ "$VERBOSITY" = "1" ]; then
+                     echo "$WPA_SUP_PNAME: wpa-driver not provided, using

\"wext\""

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +10 -0
+             fi
+
+             IF_WPA_DRIVER="wext"
+     fi
+
+     # if we have passed the criteria, start wpa_supplicant
+     if [ -n "$WPA_SUP_CONF" ]; then
+
+             if [ "$VERBOSITY" = "1" ]; then
+                     echo "$WPA_SUP_PNAME: $WPA_SUP_BIN $WPA_SUP_OPTIONS

$WPA_SUP_CONF -D $IF_WPA_DRIVER"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +4 -0
+             fi
+
+             start-stop-daemon --start --quiet \
+                     --name $WPA_SUP_PNAME --startas $WPA_SUP_BIN --

pidfile $WPA_SUP_PIDFILE \

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +4 -0
+                     --  $WPA_SUP_OPTIONS $WPA_SUP_CONF -D $IF_WPA_DRIVER
+     fi
+
+     # if the interface socket exists, then wpa_supplicant was invoked

successfully

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +4 -0
+     if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then
+
+             if [ "$VERBOSITY" = "1" ]; then
+                     echo "$WPA_SUP_PNAME: ctrl_interface socket located

at $WPA_COMMON_CTRL_IFACE/$IFACE"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +12 -0
+             fi
+
+             exit 0
+
+     fi
+
+elif [ "$MODE" = "stop" ]; then
+
+     if [ -f "$WPA_SUP_PIDFILE" ]; then
+
+             if [ "$VERBOSITY" = "1" ]; then
+                     echo "$WPA_SUP_PNAME: terminating $WPA_SUP_PNAME

daemon"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +17 -0
+             fi
+
+             start-stop-daemon --stop --quiet \
+                     --name $WPA_SUP_PNAME --pidfile $WPA_SUP_PIDFILE
+
+             if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then
+                     rm -f $WPA_COMMON_CTRL_IFACE/$IFACE
+             fi
+
+             if [ -f "$WPA_SUP_PIDFILE" ]; then
+                     rm -f $WPA_SUP_PIDFILE
+             fi
+     fi
+
+fi
+
+exit 0
(quoted diff) +0 -0

git/wpa_supplicant.conf b/recipes/wpa-supplicant/wpa-supplicant- git/wpa_supplicant.conf
new file mode 100644
index 0000000..f0c993d

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +1 -0
@@ -0,0 +1,690 @@
+##### Example wpa_supplicant configuration file

###############################

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# This file describes configuration file format and lists all

available option.
+# Please also take a look at simpler configuration examples in 'examples'

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# subdirectory.
+#
+# Empty lines and lines starting with # are ignored
+
+# NOTE! This file may contain password information and should probably

be made

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# readable only by root user on multiuser systems.
+
+# Note: All file paths in this configuration file should use full

(absolute,
+# not relative to working directory) path in order to allow working directory
+# to be changed. This can happen if wpa_supplicant is run in the background.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+
+# Whether to allow wpa_supplicant to update (overwrite) configuration
+#
+# This option can be used to allow wpa_supplicant to overwrite

configuration
+# file whenever configuration is changed (e.g., new network block is added with

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# wpa_cli or wpa_gui, or a password is changed). This is required for
+# wpa_cli/wpa_gui to be able to store the configuration changes

permanently.
+# Please note that overwriting configuration file will remove the comments from

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# it.
+#update_config=1
+
+# global configuration (shared by all network blocks)
+#
+# Parameters for the control interface. If this is specified,

wpa_supplicant
+# will open a control interface that is available for external programs to
+# manage wpa_supplicant. The meaning of this string depends on which control
+# interface mechanism is used. For all cases, the existance of this parameter
+# in configuration is used to determine whether the control interface is

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# enabled.
+#
+# For UNIX domain sockets (default on Linux and BSD): This is a

directory that
+# will be created for UNIX domain sockets for listening to requests from
+# external programs (CLI/GUI, etc.) for status information and configuration.
+# The socket file will be named based on the interface name, so multiple
+# wpa_supplicant processes can be run at the same time if more than one

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# interface is used.
+# /var/run/wpa_supplicant is the recommended directory for sockets and

by
+# default, wpa_cli will use it when trying to connect with wpa_supplicant.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# Access control for the control interface can be configured by

setting the
+# directory to allow only members of a group to use sockets. This way, it is
+# possible to run wpa_supplicant as root (since it needs to change network
+# configuration and open raw sockets) and still allow GUI/CLI components to be
+# run as non-root users. However, since the control interface can be used to
+# change the network configuration, this access needs to be protected in many
+# cases. By default, wpa_supplicant is configured to use gid 0 (root). If you
+# want to allow non-root users to use the control interface, add a new group
+# and change this value to match with that group. Add users that should have
+# control interface access to this group. If this variable is commented out or
+# not included in the configuration file, group will not be changed from the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+# value it got by default when the directory or socket was created.
+#
+# When configuring both the directory and group, use following format:
+# DIR=/var/run/wpa_supplicant GROUP=wheel
+# DIR=/var/run/wpa_supplicant GROUP=0
+# (group can be either group name or gid)
+#
+# For UDP connections (default on Windows): The value will be ignored.

This
+# variable is just used to select that the control interface is to be created.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# The value can be set to, e.g., udp (ctrl_interface=udp)
+#
+# For Windows Named Pipe: This value can be used to set the security

descriptor
+# for controlling access to the control interface. Security descriptor can be
+# set using Security Descriptor String Format (see
http://msdn.microsoft.com/

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# library/default.asp?url=/library/en-us/secauthz/security/
+# security_descriptor_string_format.asp). The descriptor string needs

to be
+# prefixed with SDDL=. For example, ctrl_interface=SDDL=D: would set an empty
+# DACL (which will reject all connections). See README-Windows.txt for more

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# information about SDDL string format.
+#
+ctrl_interface=/var/run/wpa_supplicant
+
+# IEEE 802.1X/EAPOL version
+# wpa_supplicant is implemented based on IEEE Std 802.1X-2004 which

defines
+# EAPOL version 2. However, there are many APs that do not handle the new
+# version number correctly (they seem to drop the frames completely). In order
+# to make wpa_supplicant interoperate with these APs, the version number is set
+# to 1 by default. This configuration value can be used to set it to the new

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# version (2).
+eapol_version=1
+
+# AP scanning/selection
+# By default, wpa_supplicant requests driver to perform AP scanning

and then
+# uses the scan results to select a suitable AP. Another alternative is to

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# allow the driver to take care of AP scanning and selection and use
+# wpa_supplicant just to process EAPOL frames based on IEEE 802.11

association

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# information from the driver.
+# 1: wpa_supplicant initiates scanning and AP selection
+# 0: driver takes care of scanning, AP selection, and IEEE 802.11

association
+# parameters (e.g., WPA IE generation); this mode can also be used
with
+# non-WPA drivers when using IEEE 802.1X mode; do not try to
associate with
+# APs (i.e., external program needs to control association). This
mode must

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    also be used when using wired Ethernet drivers.
+# 2: like 0, but associate with APs using security policy and SSID

(but not
+# BSSID); this can be used, e.g., with ndiswrapper and NDIS drivers
to
+# enable operation with hidden SSIDs and optimized roaming; in this
mode,
+# the network blocks in the configuration file are tried one by one
until
+# the driver reports successful association; each network block
should have

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#    explicit security policy (i.e., only one option in the lists) for
+#    key_mgmt, pairwise, group, proto variables
+ap_scan=1
+
+# EAP fast re-authentication
+# By default, fast re-authentication is enabled for all EAP methods

that
+# support it. This variable can be used to disable fast re- authentication.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +13 -0
+# Normally, there is no need to disable this.
+fast_reauth=1
+
+# OpenSSL Engine support
+# These options can be used to load OpenSSL engines.
+# The two engines that are supported currently are shown below:
+# They are both from the opensc project (http://www.opensc.org/)
+# By default no engines are loaded.
+# make the opensc engine available
+#opensc_engine_path=/usr/lib/opensc/engine_opensc.so
+# make the pkcs11 engine available
+#pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
+# configure the path to the pkcs11 module required by the pkcs11

engine

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
+
+# Dynamic EAP methods
+# If EAP methods were built dynamically as shared object files, they

need to be
+# loaded here before being used in the network blocks. By default, EAP methods

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# are included statically in the build, so these lines are not needed
+#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_tls.so
+#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_md5.so
+
+# Driver interface parameters
+# This field can be used to configure arbitrary driver interace

parameters. The
+# format is specific to the selected driver interface. This field is not used

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# in most cases.
+#driver_param="field=value"
+
+# Maximum lifetime for PMKSA in seconds; default 43200
+#dot11RSNAConfigPMKLifetime=43200
+# Threshold for reauthentication (percentage of PMK lifetime); default

70

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+#dot11RSNAConfigPMKReauthThreshold=70
+# Timeout for security association negotiation in seconds; default 60
+#dot11RSNAConfigSATimeout=60
+
+# network block
+#
+# Each network (usually AP's sharing the same SSID) is configured as a

separate
+# block in this configuration file. The network blocks are in preference order

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+# (the first match is used).
+#
+# network block fields:
+#
+# disabled:
+#    0 = this network can be used (default)
+#    1 = this network block is disabled (can be enabled through

ctrl_iface,

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#        e.g., with wpa_cli or wpa_gui)
+#
+# id_str: Network identifier string for external scripts. This value

is passed
+# to external action script through wpa_cli as WPA_ID_STR
environment

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    variable to make it easier to do network specific configuration.
+#
+# ssid: SSID (mandatory); either as an ASCII string with double

quotation or

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#    as hex string; network name
+#
+# scan_ssid:
+#    0 = do not scan this SSID with specific Probe Request frames

(default)
+# 1 = scan with SSID-specific Probe Request frames (this can be
used to
+# find APs that do not accept broadcast SSID or use multiple
SSIDs;
+# this will add latency to scanning, so enable this only when
needed)

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# bssid: BSSID (optional); if set, this network block is used only

when

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#    associating with the AP using the configured BSSID
+#
+# priority: priority group (integer)
+# By default, all networks will get same priority group (0). If some

of the
+# networks are more desirable, this field can be used to change the order in
+# which wpa_supplicant goes through the networks when selecting a BSS. The
+# priority groups will be iterated in decreasing priority (i.e., the larger the
+# priority value, the sooner the network is matched against the scan results).
+# Within each priority group, networks will be selected based on security

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# policy, signal strength, etc.
+# Please note that AP scanning with scan_ssid=1 and ap_scan=2 mode are

not
+# using this priority to select the order for scanning. Instead, they try the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# networks in the order that used in the configuration file.
+#
+# mode: IEEE 802.11 operation mode
+# 0 = infrastructure (Managed) mode, i.e., associate with an AP

(default)

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# 1 = IBSS (ad-hoc, peer-to-peer)
+# Note: IBSS can only be used with key_mgmt NONE (plaintext and static

WEP)
+# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
+# to be set to 2 for IBSS. WPA-None requires following network block options:
+# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +12 -0
+# both), and psk must also be set.
+#
+# proto: list of accepted protocols
+# WPA = WPA/IEEE 802.11i/D3.0
+# RSN = WPA2/IEEE 802.11i (also WPA2 can be used as an alias for RSN)
+# If not set, this defaults to: WPA RSN
+#
+# key_mgmt: list of accepted authenticated key management protocols
+# WPA-PSK = WPA pre-shared key (this requires 'psk' field)
+# WPA-EAP = WPA using EAP authentication (this can use an external
+#    program, e.g., Xsupplicant, for IEEE 802.1X EAP Authentication
+# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally)

dynamically

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+#    generated WEP keys
+# NONE = WPA is not used; plaintext or static WEP could be used
+# If not set, this defaults to: WPA-PSK WPA-EAP
+#
+# auth_alg: list of allowed IEEE 802.11 authentication algorithms
+# OPEN = Open System authentication (required for WPA/WPA2)
+# SHARED = Shared Key authentication (requires static WEP keys)
+# LEAP = LEAP/Network EAP (only used with LEAP)
+# If not set, automatic selection is used (Open System with LEAP

enabled if

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# LEAP is allowed as one of the EAP methods).
+#
+# pairwise: list of accepted pairwise (unicast) ciphers for WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE

802.11i/D7.0]

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
+# NONE = Use only Group Keys (deprecated, should not be included if

APs support

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#    pairwise keys)
+# If not set, this defaults to: CCMP TKIP
+#
+# group: list of accepted group (broadcast/multicast) ciphers for WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE

802.11i/D7.0]

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
+# WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
+# WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key [IEEE 802.11]
+# If not set, this defaults to: CCMP TKIP WEP104 WEP40
+#
+# psk: WPA preshared key; 256-bit pre-shared key
+# The key used in WPA-PSK mode can be entered either as 64 hex-digits,

i.e.,
+# 32 bytes or as an ASCII passphrase (in which case, the real PSK will be
+# generated using the passphrase and SSID). ASCII passphrase must be between

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# 8 and 63 characters (inclusive).
+# This field is not needed, if WPA-EAP is used.
+# Note: Separate tool, wpa_passphrase, can be used to generate 256-bit

keys
+# from ASCII passphrase. This process uses lot of CPU and wpa_supplicant
+# startup and reconfiguration time can be optimized by generating the PSK only

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+# only when the passphrase or SSID has actually changed.
+#
+# eapol_flags: IEEE 802.1X/EAPOL options (bit field)
+# Dynamic WEP key required for non-WPA mode
+# bit0 (1): require dynamically generated unicast WEP key
+# bit1 (2): require dynamically generated broadcast WEP key
+#    (3 = require both keys; default)
+# Note: When using wired authentication, eapol_flags must be set to 0

for the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+# authentication to be completed successfully.
+#
+# proactive_key_caching:
+# Enable/disable opportunistic PMKSA caching for WPA2.
+# 0 = disabled (default)
+# 1 = enabled
+#
+# wep_key0..3: Static WEP key (ASCII in double quotation, e.g. "abcde"

or

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# hex without quotation, e.g., 0102030405)
+# wep_tx_keyidx: Default WEP key index (TX) (0..3)
+#
+# peerkey: Whether PeerKey negotiation for direct links (IEEE 802.11e

DLS) is

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+# allowed. This is only used with RSN/WPA2.
+# 0 = disabled (default)
+# 1 = enabled
+#peerkey=1
+#
+# Following fields are only used with internal EAP implementation.
+# eap: space-separated list of accepted EAP methods
+#    MD5 = EAP-MD5 (unsecure and does not generate keying material ->
+#                    cannot be used with WPA; to be used as a Phase 2

method

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#                    with EAP-PEAP or EAP-TTLS)
+#       MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately with WPA;

to be used

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +13 -0
+#            as a Phase 2 method with EAP-PEAP or EAP-TTLS)
+#       OTP = EAP-OTP (cannot be used separately with WPA; to be used
+#            as a Phase 2 method with EAP-PEAP or EAP-TTLS)
+#       GTC = EAP-GTC (cannot be used separately with WPA; to be used
+#            as a Phase 2 method with EAP-PEAP or EAP-TTLS)
+#    TLS = EAP-TLS (client and server certificate)
+#    PEAP = EAP-PEAP (with tunnelled EAP authentication)
+#    TTLS = EAP-TTLS (with tunnelled EAP or PAP/CHAP/MSCHAP/MSCHAPV2
+#                     authentication)
+#    If not set, all compiled in methods are allowed.
+#
+# identity: Identity string for EAP
+# anonymous_identity: Anonymous identity string for EAP (to be used as

the
+# unencrypted identity with EAP types that support different
tunnelled

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    identity, e.g., EAP-TTLS)
+# password: Password string for EAP
+# ca_cert: File path to CA certificate file (PEM/DER). This file can

have one

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    or more trusted CA certificates. If ca_cert and ca_path are not
+#    included, server certificate will not be verified. This is

insecure and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    a trusted CA certificate should always be configured when using
+#    EAP-TLS/TTLS/PEAP. Full path should be used since working

directory may

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#    change when wpa_supplicant is run in the background.
+#    On Windows, trusted CA certificates can be loaded from the system
+#    certificate store by setting this to cert_store://<name>, e.g.,
+#    ca_cert="cert_store://CA" or ca_cert="cert_store://ROOT".
+#    Note that when running wpa_supplicant as an application, the user
+#    certificate store (My user account) is used, whereas computer

store

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    (Computer account) is used when running wpasvc as a service.
+# ca_path: Directory path for CA certificate files (PEM). This path

may
+# contain multiple CA certificates in OpenSSL format. Common use
for this
+# is to point to system trusted CA list which is often installed
into
+# directory like /etc/ssl/certs. If configured, these certificates
are
+# added to the list of trusted CAs. ca_cert may also be included in
that

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#    case, but it is not required.
+# client_cert: File path to client certificate file (PEM/DER)
+#    Full path should be used since working directory may change when
+#    wpa_supplicant is run in the background.
+#    Alternatively, a named configuration blob can be used by setting

this

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#    to blob://<blob name>.
+# private_key: File path to client private key file (PEM/DER/PFX)
+#    When PKCS#12/PFX file (.p12/.pfx) is used, client_cert should be
+#    commented out. Both the private key and certificate will be read

from
+# the PKCS#12 file in this case. Full path should be used since
working
+# directory may change when wpa_supplicant is run in the
background.
+# Windows certificate store can be used by leaving client_cert out
and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#    configuring private_key in one of the following formats:
+#    cert://substring_to_match
+#    hash://certificate_thumbprint_in_hex
+#    for example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
+#    Note that when running wpa_supplicant as an application, the user
+#    certificate store (My user account) is used, whereas computer

store

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    (Computer account) is used when running wpasvc as a service.
+#    Alternatively, a named configuration blob can be used by setting

this

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    to blob://<blob name>.
+# private_key_passwd: Password for private key file (if left out, this

will be

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    asked through control interface)
+# dh_file: File path to DH/DSA parameters file (in PEM format)
+#    This is an optional configuration file for setting parameters for

an

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    ephemeral DH key exchange. In most cases, the default RSA
+#    authentication does not use this configuration. However, it is

possible
+# setup RSA to use ephemeral DH key exchange. In addition, ciphers
with
+# DSA keys always use ephemeral DH keys. This can be used to
achieve
+# forward secrecy. If the file is in DSA parameters format, it will
be

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    automatically converted into DH params.
+# subject_match: Substring to be matched against the subject of the
+#    authentication server certificate. If this string is set, the

server
+# sertificate is only accepted if it contains this string in the
subject.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    The subject string is in following format:
+#    /C=US/ST=CA/L=San Francisco/CN=Test

AS/[email protected]
+# altsubject_match: Semicolon separated string of entries to be matched against
+# the alternative subject name of the authentication server
certificate.
+# If this string is set, the server sertificate is only accepted if
it
+# contains one of the entries in an alternative subject name
extension.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+#    altSubjectName string is in following format: TYPE:VALUE
+#    Example: EMAIL:[email protected]
+#    Example: DNS:server.example.com;DNS:server2.example.com
+#    Following types are supported: EMAIL, DNS, URI
+# phase1: Phase1 (outer authentication, i.e., TLS tunnel) parameters
+#    (string with field-value pairs, e.g., "peapver=0" or
+#    "peapver=1 peaplabel=1")
+#    'peapver' can be used to force which PEAP version (0 or 1) is

used.
+# 'peaplabel=1' can be used to force new label, "client PEAP
encryption",
+# to be used during key derivation when PEAPv1 or newer. Most
existing

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    PEAPv1 implementation seem to be using the old label, "client EAP
+#    encryption", and wpa_supplicant is now using that as the default

value.
+# Some servers, e.g., Radiator, may require peaplabel=1
configuration to

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    interoperate with PEAPv1; see eap_testing.txt for more details.
+#    'peap_outer_success=0' can be used to terminate PEAP

authentication on
+# tunneled EAP-Success. This is required with some RADIUS servers
that

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    implement draft-josefsson-pppext-eap-tls-eap-05.txt (e.g.,
+#    Lucent NavisRadius v4.4.0 with PEAP in "IETF Draft 5" mode)
+#    include_tls_length=1 can be used to force wpa_supplicant to

include

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    TLS Message Length field in all TLS messages even if they are not
+#    fragmented.
+#    sim_min_num_chal=3 can be used to configure EAP-SIM to require

three

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#    challenges (by default, it accepts 2 or 3)
+# phase2: Phase2 (inner authentication with TLS tunnel) parameters
+#    (string with field-value pairs, e.g., "auth=MSCHAPV2" for EAP-

PEAP or

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#    "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS)
+# Following certificate/private key fields are used in inner Phase2
+# authentication when using EAP-TTLS or EAP-PEAP.
+# ca_cert2: File path to CA certificate file. This file can have one

or more
+# trusted CA certificates. If ca_cert2 and ca_path2 are not
included,
+# server certificate will not be verified. This is insecure and a
trusted

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+#    CA certificate should always be configured.
+# ca_path2: Directory path for CA certificate files (PEM)
+# client_cert2: File path to client certificate file
+# private_key2: File path to client private key file
+# private_key2_passwd: Password for private key file
+# dh_file2: File path to DH/DSA parameters file (in PEM format)
+# subject_match2: Substring to be matched against the subject of the
+#    authentication server certificate.
+# altsubject_match2: Substring to be matched against the alternative

subject

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#    name of the authentication server certificate.
+#
+# fragment_size: Maximum EAP fragment size in bytes (default 1398).
+#    This value limits the fragment size for EAP methods that support
+#    fragmentation (e.g., EAP-TLS and EAP-PEAP). This value should be

set

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#    small enough to make the EAP messages fit in MTU of the network
+#    interface used for EAPOL. The default value is suitable for most
+#    cases.
+#
+# EAP-PSK variables:
+# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hex

format

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# nai: user NAI
+#
+# EAP-PAX variables:
+# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hex

format

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#
+# EAP-SAKE variables:
+# eappsk: 32-byte (256-bit, 64 hex digits) pre-shared key in hex

format

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#    (this is concatenation of Root-Secret-A and Root-Secret-B)
+# nai: user NAI (PEERID)
+#
+# EAP-GPSK variables:
+# eappsk: Pre-shared key in hex format (at least 128 bits, i.e., 32

hex digits)

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# nai: user NAI (ID_Client)
+#
+# EAP-FAST variables:
+# pac_file: File path for the PAC entries. wpa_supplicant will need to

be able

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    to create this file and write updates to it when PAC is being
+#    provisioned or refreshed. Full path to the file should be used

since

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    working directory may change when wpa_supplicant is run in the
+#    background. Alternatively, a named configuration blob can be used

by

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    setting this to blob://<blob name>
+# phase1: fast_provisioning=1 option enables in-line provisioning of

EAP-FAST

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#    credentials (PAC)
+#
+# wpa_supplicant supports number of "EAP workarounds" to work around
+# interoperability issues with incorrectly behaving authentication

servers.
+# These are enabled by default because some of the issues are present in large

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# number of authentication servers. Strict EAP conformance mode can be
+# configured by disabling workarounds with eap_workaround=0.
+
+# Example blocks:
+
+# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid

ciphers

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+network={
+     ssid="simple"
+     psk="very secret passphrase"
+     priority=5
+}
+
+# Same as previous, but request SSID-specific scanning (for APs that

reject

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +16 -0
+# broadcast SSID)
+network={
+     ssid="second ssid"
+     scan_ssid=1
+     psk="very secret passphrase"
+     priority=2
+}
+
+# Only WPA-PSK is used. Any valid cipher combination is accepted.
+network={
+     ssid="example"
+     proto=WPA
+     key_mgmt=WPA-PSK
+     pairwise=CCMP TKIP
+     group=CCMP TKIP WEP104 WEP40
+
      psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac

7bb

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+     priority=2
+}
+
+# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An AP that

used WEP104

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +17 -0
+# or WEP40 as the group cipher will not be accepted.
+network={
+     ssid="example"
+     proto=RSN
+     key_mgmt=WPA-EAP
+     pairwise=CCMP TKIP
+     group=CCMP TKIP
+     eap=TLS
+     identity="[email protected]"
+     ca_cert="/etc/cert/ca.pem"
+     client_cert="/etc/cert/user.pem"
+     private_key="/etc/cert/user.prv"
+     private_key_passwd="password"
+     priority=1
+}
+
+# EAP-PEAP/MSCHAPv2 configuration for RADIUS servers that use the new

peaplabel

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +14 -0
+# (e.g., Radiator)
+network={
+     ssid="example"
+     key_mgmt=WPA-EAP
+     eap=PEAP
+     identity="[email protected]"
+     password="foobar"
+     ca_cert="/etc/cert/ca.pem"
+     phase1="peaplabel=1"
+     phase2="auth=MSCHAPV2"
+     priority=10
+}
+
+# EAP-TTLS/EAP-MD5-Challenge configuration with anonymous identity for

the
+# unencrypted use. Real identity is sent only within an encrypted TLS tunnel.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +12 -0
+network={
+     ssid="example"
+     key_mgmt=WPA-EAP
+     eap=TTLS
+     identity="[email protected]"
+     anonymous_identity="[email protected]"
+     password="foobar"
+     ca_cert="/etc/cert/ca.pem"
+     priority=2
+}
+
+# EAP-TTLS/MSCHAPv2 configuration with anonymous identity for the

unencrypted

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +13 -0
+# use. Real identity is sent only within an encrypted TLS tunnel.
+network={
+     ssid="example"
+     key_mgmt=WPA-EAP
+     eap=TTLS
+     identity="[email protected]"
+     anonymous_identity="[email protected]"
+     password="foobar"
+     ca_cert="/etc/cert/ca.pem"
+     phase2="auth=MSCHAPV2"
+}
+
+# WPA-EAP, EAP-TTLS with different CA certificate used for outer and

inner

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +18 -0
+# authentication.
+network={
+     ssid="example"
+     key_mgmt=WPA-EAP
+     eap=TTLS
+     # Phase1 / outer authentication
+     anonymous_identity="[email protected]"
+     ca_cert="/etc/cert/ca.pem"
+     # Phase 2 / inner authentication
+     phase2="autheap=TLS"
+     ca_cert2="/etc/cert/ca2.pem"
+     client_cert2="/etc/cer/user.pem"
+     private_key2="/etc/cer/user.prv"
+     private_key2_passwd="password"
+     priority=2
+}
+
+# Both WPA-PSK and WPA-EAP is accepted. Only CCMP is accepted as

pairwise and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+# group cipher.
+network={
+     ssid="example"
+     bssid=00:11:22:33:44:55
+     proto=WPA RSN
+     key_mgmt=WPA-PSK WPA-EAP
+     pairwise=CCMP
+     group=CCMP
+
      psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac

7bb

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+}
+
+# Special characters in SSID, so use hex string. Default to WPA-PSK,

WPA-EAP

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# and all valid ciphers.
+network={
+     ssid=00010203
+
      psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1

e1f

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+}
+
+
+# IEEE 802.1X/EAPOL with dynamically generated WEP keys (i.e., no WPA)

using
+# EAP-TLS for authentication and key generation; require both unicast and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +114 -0
+# broadcast WEP keys.
+network={
+     ssid="1x-test"
+     key_mgmt=IEEE8021X
+     eap=TLS
+     identity="[email protected]"
+     ca_cert="/etc/cert/ca.pem"
+     client_cert="/etc/cert/user.pem"
+     private_key="/etc/cert/user.prv"
+     private_key_passwd="password"
+     eapol_flags=3
+}
+
+
+# LEAP with dynamic WEP keys
+network={
+     ssid="leap-example"
+     key_mgmt=IEEE8021X
+     eap=LEAP
+     identity="user"
+     password="foobar"
+}
+
+# Plaintext connection (no WPA, no IEEE 802.1X)
+network={
+     ssid="plaintext-test"
+     key_mgmt=NONE
+}
+
+
+# Shared WEP key connection (no WPA, no IEEE 802.1X)
+network={
+     ssid="static-wep-test"
+     key_mgmt=NONE
+     wep_key0="abcde"
+     wep_key1=0102030405
+     wep_key2="1234567890123"
+     wep_tx_keyidx=0
+     priority=5
+}
+
+
+# Shared WEP key connection (no WPA, no IEEE 802.1X) using Shared Key
+# IEEE 802.11 authentication
+network={
+     ssid="static-wep-test2"
+     key_mgmt=NONE
+     wep_key0="abcde"
+     wep_key1=0102030405
+     wep_key2="1234567890123"
+     wep_tx_keyidx=0
+     priority=5
+     auth_alg=SHARED
+}
+
+
+# IBSS/ad-hoc network with WPA-None/TKIP.
+network={
+     ssid="test adhoc"
+     mode=1
+     proto=WPA
+     key_mgmt=WPA-NONE
+     pairwise=NONE
+     group=TKIP
+     psk="secret passphrase"
+}
+
+
+# Catch all example that allows more or less all configuration modes
+network={
+     ssid="example"
+     scan_ssid=1
+     key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
+     pairwise=CCMP TKIP
+     group=CCMP TKIP WEP104 WEP40
+     psk="very secret passphrase"
+     eap=TTLS PEAP TLS
+     identity="[email protected]"
+     password="foobar"
+     ca_cert="/etc/cert/ca.pem"
+     client_cert="/etc/cert/user.pem"
+     private_key="/etc/cert/user.prv"
+     private_key_passwd="password"
+     phase1="peaplabel=0"
+}
+
+# Example of EAP-TLS with smartcard (openssl engine)
+network={
+     ssid="example"
+     key_mgmt=WPA-EAP
+     eap=TLS
+     proto=RSN
+     pairwise=CCMP TKIP
+     group=CCMP TKIP
+     identity="[email protected]"
+     ca_cert="/etc/cert/ca.pem"
+     client_cert="/etc/cert/user.pem"
+
+     engine=1
+
+     # The engine configured here must be available. Look at
+     # OpenSSL engine support in the global section.
+     # The key available through the engine must be the private key
+     # matching the client certificate configured above.
+
+     # use the opensc engine
+     #engine_id="opensc"
+     #key_id="45"
+
+     # use the pkcs11 engine
+     engine_id="pkcs11"
+     key_id="id_45"
+
+     # Optional PIN configuration; this can be left out and PIN will

be

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+     # asked through the control interface
+     pin="1234"
+}
+
+# Example configuration showing how to use an inlined blob as a CA

certificate

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +18 -0
+# data instead of using external file
+network={
+     ssid="example"
+     key_mgmt=WPA-EAP
+     eap=TTLS
+     identity="[email protected]"
+     anonymous_identity="[email protected]"
+     password="foobar"
+     ca_cert="blob://exampleblob"
+     priority=20
+}
+
+blob-base64-exampleblob={
+SGVsbG8gV29ybGQhCg==
+}
+
+
+# Wildcard match for SSID (plaintext APs only). This example select

any

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# open AP regardless of its SSID.
+network={
+     key_mgmt=NONE
+}
(quoted diff) +0 -0

git/wpa_supplicant.conf-sane b/recipes/wpa-supplicant/wpa-supplicant- git/wpa_supplicant.conf-sane
new file mode 100644
index 0000000..c91ffe0

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf- new file +0 -0

sane

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf- new file +7 -0
@@ -0,0 +1,7 @@
+ctrl_interface=/var/run/wpa_supplicant
+ctrl_interface_group=0
+update_config=1
+
+network={
+        key_mgmt=NONE
+}
recipes/wpa-supplicant/wpa-supplicant_git.bb new file +24 -0
new file mode 100644
index 0000000..7561320
@@ -0,0 +1,30 @@
+require wpa-supplicant-0.7.inc
+
+SRCREV = "b8fb017272ed4794339978c9fbc0e74571a44728"
+PR = "r0"
+PR_append = "+gitr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://w1.fi/srv/git/hostap.git;protocol=git \
+           file://defconfig \
+           file://defaults-sane \
+           file://wpa-supplicant.sh \
+           file://wpa_supplicant.conf \
+           file://wpa_supplicant.conf-sane \
+           file://99_wpa_supplicant"
+
+S = "${WORKDIR}/git/wpa_supplicant"
+
+do_configure () {
+     install -m 0755 ${WORKDIR}/defconfig .config
+     echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
+     echo "LIBS += -L${STAGING_LIBDIR}" >> .config
+     echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config
+     if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}"

= "1" ]; then

recipes/wpa-supplicant/wpa-supplicant_git.bb new file +6 -1
+             echo "CONFIG_DRIVER_MADWIFI=y" >> .config
+             echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
+     fi
+}
+
+
--

1.7.0.4

#2 lore raw

Re: Ping: [PATCHv2] wpa-supplicant: Build from git sources

In reply to Eyal Reizer

Hi,

Is there anything holding this patch from being pulled in?

Best Regards,
Eyal Reizer

Quoted 1,694 lines

-----Original Message-----
From: Reizer, Eyal
Sent: Friday, April 15, 2011 10:16 AM
To: [email protected]
Subject: Ping: [PATCHv2] wpa-supplicant: Build from git sources

Quoted 11 lines

-----Original Message-----
From: Eyal Reizer [mailto:[email protected]]
Sent: Wednesday, April 13, 2011 3:49 PM
To: [email protected]
Cc: Reizer, Eyal
Subject: [PATCHv2] wpa-supplicant: Build from git sources

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Quoted 5 lines
---
 .../wpa-supplicant-git/99_wpa_supplicant           |    1 +
 .../wpa-supplicant-git/defaults-sane               |    8 +
 .../wpa-supplicant/wpa-supplicant-git/defconfig    |  422

++++++++++++

Quoted 9 lines
 .../wpa-supplicant-git/wpa-supplicant.sh           |   85 +++
 .../wpa-supplicant-git/wpa_supplicant.conf         |  690
++++++++++++++++++++
 .../wpa-supplicant-git/wpa_supplicant.conf-sane    |    7 +
 recipes/wpa-supplicant/wpa-supplicant_git.bb       |   30 +
 7 files changed, 1243 insertions(+), 0 deletions(-)
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-
git/99_wpa_supplicant
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-

git/defaults-

Quoted 2 lines

sane

 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-

git/defconfig

Quoted 43 lines
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa-
supplicant.sh
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-
git/wpa_supplicant.conf
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-
git/wpa_supplicant.conf-sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant_git.bb
(quoted diff) +0 -0

git/99_wpa_supplicant b/recipes/wpa-supplicant/wpa-supplicant- git/99_wpa_supplicant
new file mode 100644
index 0000000..6ff4dd8

recipes/wpa-supplicant/wpa-supplicant-git/99_wpa_supplicant new file +1 -0
@@ -0,0 +1 @@
+d root root 0700 /var/run/wpa_supplicant none
recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane new file +2 -0
new file mode 100644
index 0000000..67c4cbd
@@ -0,0 +1,8 @@
+# Useful flags:
+#  -i <ifname>          Interface (required, unless specified in

config)

recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane new file +6 -0
+#  -D <driver>          Wireless Driver
+#  -d                   Debugging (-dd for more)
+#  -q                   Quiet (-qq for more)
+
+CONFIG="/etc/wpa_supplicant.conf"
+OPTIONS="-i eth1 -D wext"
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
new file mode 100644
index 0000000..d9be1a8
@@ -0,0 +1,422 @@
+# Example wpa_supplicant build time configuration
+#
+# This file lists the configuration options that are used when
Quoted 2 lines

building the
+# hostapd binary. All lines starting with # are ignored.

Configuration

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 6 lines

option
+# lines must be commented out complete, if they are not to be included, i.e.,

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and

LIBS

Quoted 24 lines

can also
+# be modified from here. In most cases, these lines should use += in order not

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# to override previous values of the variables.
+
+
+# Uncomment following two lines and fix the paths if you have

installed OpenSSL

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# or GnuTLS in non-default location
+#CFLAGS += -I/usr/local/openssl/include
+#LIBS += -L/usr/local/openssl/lib
+
+# Some Red Hat versions seem to include kerberos header files from

OpenSSL, but
+# the kerberos files are not in the default include path. Following line can be

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+# used to fix build issues on such systems (krb5.h not found).
+#CFLAGS += -I/usr/include/kerberos
+
+# Example configuration for various cross-compilation platforms
+
+#### sveasoft (e.g., for Linksys WRT54G)

######################################

recipes/wpa-supplicant/wpa-supplicant-git/defconfig line 30

Quoted 5 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS += -I../src/include -I../../src/router/openssl/include
+#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl

+######################################################################

recipes/wpa-supplicant/wpa-supplicant-git/defconfig line 39

Quoted 11 lines

#########

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +2 -0
+
+#### openwrt (e.g., for Linksys WRT54G)

#######################################

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \
+#  -I../WRT54GS/release/src/include
+#LIBS = -lssl

+######################################################################

Quoted 39 lines

#########

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +38 -0
+
+CC=$(CROSS_COMPILE)gcc
+#CFLAGS += -DCONFIG_LIBNL20
+#CPPFLAGS += -DCONFIG_LIBNL20
+#LIBS += -L$(NFSROOT)/lib -lnl
+#LIBS_p += -L$(NFSROOT)/lib
+#LIBDIR = $(NFSROOT)/lib
+#BINDIR = $(NFSROOT)/usr/sbin
+
+CONFIG_WAPI=y
+CONFIG_LIBNL20=y
+NEED_BGSCAN=y
+CONFIG_BGSCAN_LEARN=y
+
+# Driver interface for Host AP driver
+#CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for Agere driver
+#CONFIG_DRIVER_HERMES=y
+# Change include directories to match with the local setup
+#CFLAGS += -I../../hcf -I../../include -I../../include/hcf
+#CFLAGS += -I../../include/wireless
+
+# Driver interface for madwifi driver
+# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
+#CONFIG_DRIVER_MADWIFI=y
+# Set include directory to the madwifi source tree
+#CFLAGS += -I../../madwifi
+
+# Driver interface for ndiswrapper
+# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
+#CONFIG_DRIVER_NDISWRAPPER=y
+
+# Driver interface for Atmel driver
+#CONFIG_DRIVER_ATMEL=y
+
+# Driver interface for old Broadcom driver
+# Please note that the newer Broadcom driver ("hybrid Linux driver")
Quoted 2 lines

supports
+# Linux wireless extensions and does not need (or even work) with

the

Quoted 24 lines

old

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +16 -0
+# driver wrapper. Use CONFIG_DRIVER_WEXT=y with that driver.
+#CONFIG_DRIVER_BROADCOM=y
+# Example path for wlioctl.h; change to match your configuration
+#CFLAGS += -I/opt/WRT54GS/release/src/include
+
+# Driver interface for Intel ipw2100/2200 driver
+# Deprecated; use CONFIG_DRIVER_WEXT=y instead.
+#CONFIG_DRIVER_IPW=y
+
+# Driver interface for Ralink driver
+#CONFIG_DRIVER_RALINK=y
+
+# Driver interface for generic Linux wireless extensions
+CONFIG_DRIVER_WEXT=y
+
+# Driver interface for Linux drivers using the nl80211 kernel

interface

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+CONFIG_DRIVER_NL80211=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

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +10 -0
+#LIBS_p += -L/usr/local/lib
+#LIBS_c += -L/usr/local/lib
+
+# Driver interface for Windows NDIS
+#CONFIG_DRIVER_NDIS=y
+#CFLAGS += -I/usr/include/w32api/ddk
+#LIBS += -L/usr/local/lib
+# For native build using mingw
+#CONFIG_NATIVE_WINDOWS=y
+# Additional directories for cross-compilation on Linux host for

mingw

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 5 lines

target

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+#CFLAGS += -I/opt/mingw/mingw32/include/ddk
+#LIBS += -L/opt/mingw/mingw32/lib
+#CC=mingw32-gcc
+# By default, driver_ndis uses WinPcap for low-level operations.

This

Quoted 2 lines

can be
+# replaced with the following option which replaces WinPcap calls

with

Quoted 2 lines

NDISUIO.
+# However, this requires that WZC is disabled (net stop wzcsvc)

before

Quoted 93 lines

starting

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +8 -0
+# wpa_supplicant.
+# CONFIG_USE_NDISUIO=y
+
+# Driver interface for development testing
+#CONFIG_DRIVER_TEST=y
+
+# Include client MLME (management frame processing) for test driver
+# This can be used to test MLME operations in hostapd with the test

interface.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +17 -0
+# space.
+#CONFIG_CLIENT_MLME=y
+
+# Driver interface for wired Ethernet drivers
+CONFIG_DRIVER_WIRED=y
+
+# Driver interface for the Broadcom RoboSwitch family
+#CONFIG_DRIVER_ROBOSWITCH=y
+
+# Driver interface for no driver (e.g., WPS ER only)
+#CONFIG_DRIVER_NONE=y
+
+# Solaris libraries
+#LIBS += -lsocket -ldlpi -lnsl
+#LIBS_c += -lsocket
+
+# Enable IEEE 802.1X Supplicant (automatically included if any EAP

method is

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +21 -0
+# included)
+CONFIG_IEEE8021X_EAPOL=y
+
+# EAP-MD5
+CONFIG_EAP_MD5=y
+
+# EAP-MSCHAPv2
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-TLS
+CONFIG_EAP_TLS=y
+
+# EAL-PEAP
+CONFIG_EAP_PEAP=y
+
+# EAP-TTLS
+CONFIG_EAP_TTLS=y
+
+# EAP-FAST
+# Note: Default OpenSSL package does not include support for all the
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with

OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.8d-tls- extensions.patch)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +41 -0
+# to add the needed functions.
+#CONFIG_EAP_FAST=y
+
+# EAP-GTC
+CONFIG_EAP_GTC=y
+
+# EAP-OTP
+CONFIG_EAP_OTP=y
+
+# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
+#CONFIG_EAP_SIM=y
+
+# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
+#CONFIG_EAP_PSK=y
+
+# EAP-PAX
+#CONFIG_EAP_PAX=y
+
+# LEAP
+CONFIG_EAP_LEAP=y
+
+# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
+#CONFIG_EAP_AKA=y
+
+# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
+# This requires CONFIG_EAP_AKA to be enabled, too.
+#CONFIG_EAP_AKA_PRIME=y
+
+# Enable USIM simulator (Milenage) for EAP-AKA
+#CONFIG_USIM_SIMULATOR=y
+
+# EAP-SAKE
+#CONFIG_EAP_SAKE=y
+
+# EAP-GPSK
+#CONFIG_EAP_GPSK=y
+# Include support for optional SHA256 cipher suite in EAP-GPSK
+#CONFIG_EAP_GPSK_SHA256=y
+
+# EAP-TNC and related Trusted Network Connect support (experimental)
+#CONFIG_EAP_TNC=y

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +10 -0
+
+# Wi-Fi Protected Setup (WPS)
+CONFIG_WPS=y
+# Enable WSC 2.0 support
+CONFIG_WPS2=y
+
+# EAP-IKEv2
+#CONFIG_EAP_IKEV2=y
+
+# PKCS#12 (PFX) support (used to read private key and certificate

file

Quoted 32 lines

from

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# a file that usually has extension .p12 or .pfx)
+CONFIG_PKCS12=y
+
+# Smartcard support (i.e., private key on a smartcard), e.g., with

openssl

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +11 -0
+# engine.
+CONFIG_SMARTCARD=y
+
+# PC/SC interface for smartcards (USIM, GSM SIM)
+# Enable this if EAP-SIM or EAP-AKA is included
+#CONFIG_PCSC=y
+
+# Development testing
+#CONFIG_EAPOL_TEST=y
+
+# Select control interface backend for external programs, e.g,

wpa_cli:

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# unix = UNIX domain sockets (default for Linux/*BSD)
+# udp = UDP sockets using localhost (127.0.0.1)
+# named_pipe = Windows Named Pipe (default for Windows)
+# y = use default (backwards compatibility)
+# If this option is commented out, control interface is not included

in the

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# build.
+CONFIG_CTRL_IFACE=y
+
+# Include support for GNU Readline and History Libraries in wpa_cli.
+# When building a wpa_cli binary for distribution, please note that

these
+# libraries are licensed under GPL and as such, BSD license may not apply for

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 4 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# the resulting binary.
+#CONFIG_READLINE=y
+
+# Remove debugging code that is printing out debug message to

stdout.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 8 lines

+# This can be used to reduce the size of the wpa_supplicant considerably
+# if debugging code is not needed. The size reduction can be around 35%

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# (e.g., 90 kB).
+#CONFIG_NO_STDOUT_DEBUG=y
+
+# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant,

to

Quoted 7 lines

save

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# 35-50 kB in code size.
+#CONFIG_NO_WPA=y
+
+# Remove WPA2 support. This allows WPA to be used, but removes WPA2

code to
+# save about 1 kB in code size when building only WPA-Personal (no

EAP

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 6 lines

support)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# or 6 kB if building for WPA-Enterprise.
+#CONFIG_NO_WPA2=y
+
+# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
+# This option can be used to reduce code size by removing support

for

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 13 lines

+# converting ASCII passphrases into PSK. If this functionality is removed, the

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# PSK can only be configured as the 64-octet hexstring (e.g., from
+# wpa_passphrase). This saves about 0.5 kB in code size.
+#CONFIG_NO_WPA_PASSPHRASE=y
+
+# Disable scan result processing (ap_mode=1) to save code size by

about 1 kB.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+# This can be used if ap_scan=1 mode is never enabled.
+#CONFIG_NO_SCAN_PROCESSING=y
+
+# Select configuration backend:
+# file = text file (e.g., wpa_supplicant.conf; note: the

configuration

Quoted 15 lines

file
+# path is given on command line, not here; this option is just used to

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +5 -0
+#  select the backend that allows configuration files to be used)
+# winreg = Windows registry (see win_example.reg for an example)
+CONFIG_BACKEND=file
+
+# Remove configuration write functionality (i.e., to allow the

configuration
+# file to be updated based on runtime configuration changes). The runtime
+# configuration can still be changed, the changes are just not going to be
+# persistent over restarts. This option can be used to reduce code size by

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 4 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# about 3.5 kB.
+#CONFIG_NO_CONFIG_WRITE=y
+
+# Remove support for configuration blobs to reduce code size by

about

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 10 lines

1.5 kB.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +9 -0
+#CONFIG_NO_CONFIG_BLOBS=y
+
+# Select program entry point implementation:
+# main = UNIX/POSIX like main() function (default)
+# main_winsvc = Windows service (read parameters from registry)
+# main_none = Very basic example (development use only)
+#CONFIG_MAIN=main
+
+# Select wrapper for operatins system and C library specific

functions

Quoted 29 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +25 -0
+# unix = UNIX/POSIX like systems (default)
+# win32 = Windows systems
+# none = Empty template
+#CONFIG_OS=unix
+
+# Select event loop implementation
+# eloop = select() loop (default)
+# eloop_win = Windows events and WaitForMultipleObject() loop
+# eloop_none = Empty template
+#CONFIG_ELOOP=eloop
+
+# Select layer 2 packet implementation
+# linux = Linux packet socket (default)
+# pcap = libpcap/libdnet/WinPcap
+# freebsd = FreeBSD libpcap
+# winpcap = WinPcap with receive thread
+# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
+# none = Empty template
+#CONFIG_L2_PACKET=linux
+
+# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
+CONFIG_PEERKEY=y
+
+# IEEE 802.11w (management frame protection)
+# This version is an experimental implementation based on IEEE

802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +1 -0
+# Driver support is also needed for IEEE 802.11w.

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +10 -0
+#CONFIG_IEEE80211W=y
+
+# Select TLS implementation
+# openssl = OpenSSL (default)
+# gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
+# internal = Internal TLSv1 implementation (experimental)
+# none = Empty template
+#CONFIG_TLS=openssl
+
+# Whether to enable TLS/IA support, which is required for EAP-

TTLSv1.

Quoted 1 line

+# You need CONFIG_TLS=gnutls for this to have any effect. Please

note

Quoted 6 lines

that
+# even though the core GnuTLS library is released under LGPL, this extra
+# library uses GPL and as such, the terms of GPL apply to the combination
+# of wpa_supplicant and GnuTLS if this option is enabled. BSD

license

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 5 lines

may not

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# apply for distribution of the resulting binary.
+#CONFIG_GNUTLS_EXTRA=y
+
+# If CONFIG_TLS=internal is used, additional library and include

paths

Quoted 2 lines

are
+# needed for LibTomMath. Alternatively, an integrated, minimal

version

Quoted 2 lines

of
+# LibTomMath can be used. See beginning of libtommath.c for details

on

Quoted 26 lines

benefits

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +9 -0
+# and drawbacks of this option.
+#CONFIG_INTERNAL_LIBTOMMATH=y
+#ifndef CONFIG_INTERNAL_LIBTOMMATH
+#LTM_PATH=/usr/src/libtommath-0.39
+#CFLAGS += -I$(LTM_PATH)
+#LIBS += -L$(LTM_PATH)
+#LIBS_p += -L$(LTM_PATH)
+#endif
+# At the cost of about 4 kB of additional binary size, the internal

LibTomMath
+# can be configured to include faster routines for exptmod, sqr, and div to

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+# speed up DH and RSA calculation considerably
+#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
+
+# Include NDIS event processing through WMI into

wpa_supplicant/wpasvc.
+# This is only for Windows builds and requires WMI-related header files and

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+# WbemUuid.Lib from Platform SDK even when building with MinGW.
+#CONFIG_NDIS_EVENTS_INTEGRATED=y
+#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
+
+# Add support for old DBus control interface
+# (fi.epitest.hostap.WPASupplicant)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +10 -0
+#CONFIG_CTRL_IFACE_DBUS=y
+
+# Add support for new DBus control interface
+# (fi.w1.hostap.wpa_supplicant1)
+#CONFIG_CTRL_IFACE_DBUS_NEW=y
+
+# Add introspection support for new DBus control interface
+#CONFIG_CTRL_IFACE_DBUS_INTRO=y
+
+# Add support for loading EAP methods dynamically as shared

libraries.

Quoted 1 line

+# When this option is enabled, each EAP method can be either

included

Quoted 3 lines

+# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
+# Dynamic EAP methods are build as shared objects (eap_*.so) and

they

Quoted 2 lines

need to
+# be loaded in the beginning of the wpa_supplicant configuration

file

recipes/wpa-supplicant/wpa-supplicant-git/defconfig

Quoted 5 lines

+# (see load_dynamic_eap parameter in the example file) before being used in

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+# the network blocks.
+#
+# Note that some shared parts of EAP methods are included in the

main

Quoted 4 lines

program
+# and in order to be able to use dynamic EAP methods using these parts, the
+# main program must have been build with the EAP method enabled (=y

or

Quoted 4 lines

=dyn).
+# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
+# unless at least one of them was included in the main build to

force

Quoted 163 lines

inclusion
+# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+# in the main build to be able to load these methods dynamically.
+#
+# Please also note that using dynamic libraries will increase the

total binary
+# size. Thus, it may not be the best option for targets that have limited

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +7 -0
+# amount of memory/flash.
+#CONFIG_DYNAMIC_EAP_METHODS=y
+
+# IEEE Std 802.11r-2008 (Fast BSS Transition)
+#CONFIG_IEEE80211R=y
+
+# Add support for writing debug log to a file (/tmp/wpa_supplicant-

log-#.txt)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+CONFIG_DEBUG_FILE=y
+
+# Enable privilege separation (see README 'Privilege separation' for

details)

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +3 -0
+#CONFIG_PRIVSEP=y
+
+# Enable mitigation against certain attacks against TKIP by delaying

Michael
+# MIC error reports by a random amount of time between 0 and 60 seconds

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +4 -0
+#CONFIG_DELAYED_MIC_ERROR_REPORT=y
+
+# Enable tracing code for developer debugging
+# This tracks use of memory allocations and other registrations and

reports

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +9 -0
+# incorrect use with a backtrace of call (or allocation) location.
+#CONFIG_WPA_TRACE=y
+# For BSD, comment out these.
+#LIBS += -lexecinfo
+#LIBS_p += -lexecinfo
+#LIBS_c += -lexecinfo
+
+# Use libbfd to get more details for developer debugging
+# This enables use of libbfd to get more detailed symbols for the

backtraces

recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +6 -0
+# generated by CONFIG_WPA_TRACE=y.
+#CONFIG_WPA_TRACE_BFD=y
+# For BSD, comment out these.
+#LIBS += -lbfd -liberty -lz
+#LIBS_p += -lbfd -liberty -lz
+#LIBS_c += -lbfd -liberty -lz
(quoted diff) +0 -0

supplicant.sh b/recipes/wpa-supplicant/wpa-supplicant-git/wpa- supplicant.sh
new file mode 100644
index 0000000..5c9e5d3

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +21 -0
@@ -0,0 +1,85 @@
+#!/bin/sh
+
+
+WPA_SUP_BIN="/usr/sbin/wpa_supplicant"
+WPA_SUP_PNAME="wpa_supplicant"
+WPA_SUP_PIDFILE="/var/run/wpa_supplicant.$IFACE.pid"
+WPA_SUP_OPTIONS="-B -P $WPA_SUP_PIDFILE -i $IFACE"
+
+VERBOSITY=0
+
+
+if [ -s "$IF_WPA_CONF" ]; then
+   WPA_SUP_CONF="-c $IF_WPA_CONF"
+else
+   exit 0
+fi
+
+if [ ! -x "$WPA_SUP_BIN" ]; then
+
+   if [ "$VERBOSITY" = "1" ]; then
+           echo "$WPA_SUP_PNAME: binaries not executable or missing

from $WPA_SUP_BIN"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +13 -0
+   fi
+
+   exit 1
+fi
+
+if [ "$MODE" = "start" ] ; then
+   # driver type of interface, defaults to wext when undefined
+   if [ -s "/etc/wpa_supplicant/driver.$IFACE" ]; then
+           IF_WPA_DRIVER=$(cat "/etc/wpa_supplicant/driver.$IFACE")
+   elif [ -z "$IF_WPA_DRIVER" ]; then
+
+           if [ "$VERBOSITY" = "1" ]; then
+                   echo "$WPA_SUP_PNAME: wpa-driver not provided, using

\"wext\""

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +10 -0
+           fi
+
+           IF_WPA_DRIVER="wext"
+   fi
+
+   # if we have passed the criteria, start wpa_supplicant
+   if [ -n "$WPA_SUP_CONF" ]; then
+
+           if [ "$VERBOSITY" = "1" ]; then
+                   echo "$WPA_SUP_PNAME: $WPA_SUP_BIN $WPA_SUP_OPTIONS

$WPA_SUP_CONF -D $IF_WPA_DRIVER"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +4 -0
+           fi
+
+           start-stop-daemon --start --quiet \
+                   --name $WPA_SUP_PNAME --startas $WPA_SUP_BIN --

pidfile $WPA_SUP_PIDFILE \

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +4 -0
+                   --  $WPA_SUP_OPTIONS $WPA_SUP_CONF -D $IF_WPA_DRIVER
+   fi
+
+   # if the interface socket exists, then wpa_supplicant was invoked

successfully

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +4 -0
+   if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then
+
+           if [ "$VERBOSITY" = "1" ]; then
+                   echo "$WPA_SUP_PNAME: ctrl_interface socket located

at $WPA_COMMON_CTRL_IFACE/$IFACE"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +12 -0
+           fi
+
+           exit 0
+
+   fi
+
+elif [ "$MODE" = "stop" ]; then
+
+   if [ -f "$WPA_SUP_PIDFILE" ]; then
+
+           if [ "$VERBOSITY" = "1" ]; then
+                   echo "$WPA_SUP_PNAME: terminating $WPA_SUP_PNAME

daemon"

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +17 -0
+           fi
+
+           start-stop-daemon --stop --quiet \
+                   --name $WPA_SUP_PNAME --pidfile $WPA_SUP_PIDFILE
+
+           if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then
+                   rm -f $WPA_COMMON_CTRL_IFACE/$IFACE
+           fi
+
+           if [ -f "$WPA_SUP_PIDFILE" ]; then
+                   rm -f $WPA_SUP_PIDFILE
+           fi
+   fi
+
+fi
+
+exit 0
(quoted diff) +0 -0

git/wpa_supplicant.conf b/recipes/wpa-supplicant/wpa-supplicant- git/wpa_supplicant.conf
new file mode 100644
index 0000000..f0c993d

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +1 -0
@@ -0,0 +1,690 @@
+##### Example wpa_supplicant configuration file

###############################

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# This file describes configuration file format and lists all

available option.
+# Please also take a look at simpler configuration examples in 'examples'

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 5 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# subdirectory.
+#
+# Empty lines and lines starting with # are ignored
+
+# NOTE! This file may contain password information and should

probably

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 11 lines

be made

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# readable only by root user on multiuser systems.
+
+# Note: All file paths in this configuration file should use full

(absolute,
+# not relative to working directory) path in order to allow working directory
+# to be changed. This can happen if wpa_supplicant is run in the background.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+
+# Whether to allow wpa_supplicant to update (overwrite)

configuration

Quoted 6 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# This option can be used to allow wpa_supplicant to overwrite

configuration
+# file whenever configuration is changed (e.g., new network block is added with
+# wpa_cli or wpa_gui, or a password is changed). This is required

for

Quoted 10 lines

+# wpa_cli/wpa_gui to be able to store the configuration changes permanently.
+# Please note that overwriting configuration file will remove the comments from

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# it.
+#update_config=1
+
+# global configuration (shared by all network blocks)
+#
+# Parameters for the control interface. If this is specified,
Quoted 8 lines

wpa_supplicant
+# will open a control interface that is available for external programs to
+# manage wpa_supplicant. The meaning of this string depends on which control
+# interface mechanism is used. For all cases, the existance of this parameter
+# in configuration is used to determine whether the control

interface

Quoted 13 lines

is

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# enabled.
+#
+# For UNIX domain sockets (default on Linux and BSD): This is a

directory that
+# will be created for UNIX domain sockets for listening to requests from
+# external programs (CLI/GUI, etc.) for status information and configuration.
+# The socket file will be named based on the interface name, so multiple
+# wpa_supplicant processes can be run at the same time if more than one

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 2 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# interface is used.
+# /var/run/wpa_supplicant is the recommended directory for sockets

and

Quoted 7 lines

by
+# default, wpa_cli will use it when trying to connect with wpa_supplicant.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# Access control for the control interface can be configured by

setting the
+# directory to allow only members of a group to use sockets. This

way,

Quoted 8 lines

it is
+# possible to run wpa_supplicant as root (since it needs to change network
+# configuration and open raw sockets) and still allow GUI/CLI components to be
+# run as non-root users. However, since the control interface can be used to
+# change the network configuration, this access needs to be

protected

Quoted 2 lines

in many
+# cases. By default, wpa_supplicant is configured to use gid 0

(root).

Quoted 2 lines

If you
+# want to allow non-root users to use the control interface, add a

new

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 10 lines

group
+# and change this value to match with that group. Add users that should have
+# control interface access to this group. If this variable is commented out or
+# not included in the configuration file, group will not be changed from the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# value it got by default when the directory or socket was created.
+#
+# When configuring both the directory and group, use following

format:

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 5 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# DIR=/var/run/wpa_supplicant GROUP=wheel
+# DIR=/var/run/wpa_supplicant GROUP=0
+# (group can be either group name or gid)
+#
+# For UDP connections (default on Windows): The value will be

ignored.

Quoted 2 lines

This
+# variable is just used to select that the control interface is to

be

Quoted 6 lines

created.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# The value can be set to, e.g., udp (ctrl_interface=udp)
+#
+# For Windows Named Pipe: This value can be used to set the security

descriptor
+# for controlling access to the control interface. Security

descriptor

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 5 lines

can be
+# set using Security Descriptor String Format (see
http://msdn.microsoft.com/

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# library/default.asp?url=/library/en-us/secauthz/security/
+# security_descriptor_string_format.asp). The descriptor string

needs

Quoted 4 lines

to be
+# prefixed with SDDL=. For example, ctrl_interface=SDDL=D: would set an empty
+# DACL (which will reject all connections). See README-Windows.txt

for

Quoted 9 lines

more

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# information about SDDL string format.
+#
+ctrl_interface=/var/run/wpa_supplicant
+
+# IEEE 802.1X/EAPOL version
+# wpa_supplicant is implemented based on IEEE Std 802.1X-2004 which

defines
+# EAPOL version 2. However, there are many APs that do not handle

the

Quoted 2 lines

new
+# version number correctly (they seem to drop the frames

completely).

Quoted 19 lines

In order
+# to make wpa_supplicant interoperate with these APs, the version number is set
+# to 1 by default. This configuration value can be used to set it to the new

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# version (2).
+eapol_version=1
+
+# AP scanning/selection
+# By default, wpa_supplicant requests driver to perform AP scanning

and then
+# uses the scan results to select a suitable AP. Another alternative is to

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# allow the driver to take care of AP scanning and selection and use
+# wpa_supplicant just to process EAPOL frames based on IEEE 802.11

association

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# information from the driver.
+# 1: wpa_supplicant initiates scanning and AP selection
+# 0: driver takes care of scanning, AP selection, and IEEE 802.11
Quoted 2 lines

association
+# parameters (e.g., WPA IE generation); this mode can also be

used

Quoted 9 lines

with
+# non-WPA drivers when using IEEE 802.1X mode; do not try to
associate with
+# APs (i.e., external program needs to control association). This
mode must

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#    also be used when using wired Ethernet drivers.
+# 2: like 0, but associate with APs using security policy and SSID

(but not
+# BSSID); this can be used, e.g., with ndiswrapper and NDIS

drivers

Quoted 2 lines

to
+# enable operation with hidden SSIDs and optimized roaming; in

this

Quoted 2 lines

mode,
+# the network blocks in the configuration file are tried one by

one

Quoted 4 lines

until
+# the driver reports successful association; each network block
should have
+# explicit security policy (i.e., only one option in the lists)

for

Quoted 26 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#    key_mgmt, pairwise, group, proto variables
+ap_scan=1
+
+# EAP fast re-authentication
+# By default, fast re-authentication is enabled for all EAP methods

that
+# support it. This variable can be used to disable fast re- authentication.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +13 -0
+# Normally, there is no need to disable this.
+fast_reauth=1
+
+# OpenSSL Engine support
+# These options can be used to load OpenSSL engines.
+# The two engines that are supported currently are shown below:
+# They are both from the opensc project (http://www.opensc.org/)
+# By default no engines are loaded.
+# make the opensc engine available
+#opensc_engine_path=/usr/lib/opensc/engine_opensc.so
+# make the pkcs11 engine available
+#pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
+# configure the path to the pkcs11 module required by the pkcs11

engine

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
+
+# Dynamic EAP methods
+# If EAP methods were built dynamically as shared object files, they
Quoted 2 lines

need to be
+# loaded here before being used in the network blocks. By default,

EAP

Quoted 2 lines

methods
+# are included statically in the build, so these lines are not

needed

Quoted 8 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_tls.so
+#load_dynamic_eap=/usr/lib/wpa_supplicant/eap_md5.so
+
+# Driver interface parameters
+# This field can be used to configure arbitrary driver interace

parameters. The
+# format is specific to the selected driver interface. This field is not used

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 6 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+# in most cases.
+#driver_param="field=value"
+
+# Maximum lifetime for PMKSA in seconds; default 43200
+#dot11RSNAConfigPMKLifetime=43200
+# Threshold for reauthentication (percentage of PMK lifetime);

default

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 3 lines

70

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#dot11RSNAConfigPMKReauthThreshold=70
+# Timeout for security association negotiation in seconds; default

60

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 5 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#dot11RSNAConfigSATimeout=60
+
+# network block
+#
+# Each network (usually AP's sharing the same SSID) is configured as

a

Quoted 39 lines

separate
+# block in this configuration file. The network blocks are in preference order

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+# (the first match is used).
+#
+# network block fields:
+#
+# disabled:
+#  0 = this network can be used (default)
+#  1 = this network block is disabled (can be enabled through

ctrl_iface,

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#      e.g., with wpa_cli or wpa_gui)
+#
+# id_str: Network identifier string for external scripts. This value

is passed
+# to external action script through wpa_cli as WPA_ID_STR environment

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  variable to make it easier to do network specific configuration.
+#
+# ssid: SSID (mandatory); either as an ASCII string with double

quotation or

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#  as hex string; network name
+#
+# scan_ssid:
+#  0 = do not scan this SSID with specific Probe Request frames

(default)
+# 1 = scan with SSID-specific Probe Request frames (this can be used to
+# find APs that do not accept broadcast SSID or use multiple
SSIDs;
+# this will add latency to scanning, so enable this only when
needed)

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#
+# bssid: BSSID (optional); if set, this network block is used only

when

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#  associating with the AP using the configured BSSID
+#
+# priority: priority group (integer)
+# By default, all networks will get same priority group (0). If some
Quoted 4 lines

of the
+# networks are more desirable, this field can be used to change the order in
+# which wpa_supplicant goes through the networks when selecting a

BSS.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 9 lines

The
+# priority groups will be iterated in decreasing priority (i.e., the larger the
+# priority value, the sooner the network is matched against the scan results).
+# Within each priority group, networks will be selected based on security

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# policy, signal strength, etc.
+# Please note that AP scanning with scan_ssid=1 and ap_scan=2 mode

are

Quoted 2 lines

not
+# using this priority to select the order for scanning. Instead,

they

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 8 lines

try the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# networks in the order that used in the configuration file.
+#
+# mode: IEEE 802.11 operation mode
+# 0 = infrastructure (Managed) mode, i.e., associate with an AP

(default)

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# 1 = IBSS (ad-hoc, peer-to-peer)
+# Note: IBSS can only be used with key_mgmt NONE (plaintext and

static

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 12 lines

WEP)
+# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
+# to be set to 2 for IBSS. WPA-None requires following network block options:
+# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# both), and psk must also be set.
+#
+# proto: list of accepted protocols
+# WPA = WPA/IEEE 802.11i/D3.0
+# RSN = WPA2/IEEE 802.11i (also WPA2 can be used as an alias for

RSN)

Quoted 26 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+# If not set, this defaults to: WPA RSN
+#
+# key_mgmt: list of accepted authenticated key management protocols
+# WPA-PSK = WPA pre-shared key (this requires 'psk' field)
+# WPA-EAP = WPA using EAP authentication (this can use an external
+#  program, e.g., Xsupplicant, for IEEE 802.1X EAP Authentication
+# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally)

dynamically

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+#  generated WEP keys
+# NONE = WPA is not used; plaintext or static WEP could be used
+# If not set, this defaults to: WPA-PSK WPA-EAP
+#
+# auth_alg: list of allowed IEEE 802.11 authentication algorithms
+# OPEN = Open System authentication (required for WPA/WPA2)
+# SHARED = Shared Key authentication (requires static WEP keys)
+# LEAP = LEAP/Network EAP (only used with LEAP)
+# If not set, automatic selection is used (Open System with LEAP

enabled if

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# LEAP is allowed as one of the EAP methods).
+#
+# pairwise: list of accepted pairwise (unicast) ciphers for WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE

802.11i/D7.0]

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
+# NONE = Use only Group Keys (deprecated, should not be included if

APs support

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 4 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#  pairwise keys)
+# If not set, this defaults to: CCMP TKIP
+#
+# group: list of accepted group (broadcast/multicast) ciphers for

WPA

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 5 lines

+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0]
+# WEP104 = WEP (Wired Equivalent Privacy) with 104-bit key
+# WEP40 = WEP (Wired Equivalent Privacy) with 40-bit key [IEEE

802.11]

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 4 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# If not set, this defaults to: CCMP TKIP WEP104 WEP40
+#
+# psk: WPA preshared key; 256-bit pre-shared key
+# The key used in WPA-PSK mode can be entered either as 64 hex-

digits,

Quoted 2 lines

i.e.,
+# 32 bytes or as an ASCII passphrase (in which case, the real PSK

will

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 6 lines

be
+# generated using the passphrase and SSID). ASCII passphrase must be between

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+# 8 and 63 characters (inclusive).
+# This field is not needed, if WPA-EAP is used.
+# Note: Separate tool, wpa_passphrase, can be used to generate 256-

bit

Quoted 4 lines

keys
+# from ASCII passphrase. This process uses lot of CPU and wpa_supplicant
+# startup and reconfiguration time can be optimized by generating

the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 9 lines

PSK only

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+# only when the passphrase or SSID has actually changed.
+#
+# eapol_flags: IEEE 802.1X/EAPOL options (bit field)
+# Dynamic WEP key required for non-WPA mode
+# bit0 (1): require dynamically generated unicast WEP key
+# bit1 (2): require dynamically generated broadcast WEP key
+#  (3 = require both keys; default)
+# Note: When using wired authentication, eapol_flags must be set to

0

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 9 lines

for the

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+# authentication to be completed successfully.
+#
+# proactive_key_caching:
+# Enable/disable opportunistic PMKSA caching for WPA2.
+# 0 = disabled (default)
+# 1 = enabled
+#
+# wep_key0..3: Static WEP key (ASCII in double quotation, e.g.

"abcde"

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 5 lines

or

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# hex without quotation, e.g., 0102030405)
+# wep_tx_keyidx: Default WEP key index (TX) (0..3)
+#
+# peerkey: Whether PeerKey negotiation for direct links (IEEE

802.11e

Quoted 14 lines

DLS) is

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+# allowed. This is only used with RSN/WPA2.
+# 0 = disabled (default)
+# 1 = enabled
+#peerkey=1
+#
+# Following fields are only used with internal EAP implementation.
+# eap: space-separated list of accepted EAP methods
+#  MD5 = EAP-MD5 (unsecure and does not generate keying material ->
+#                  cannot be used with WPA; to be used as a Phase 2

method

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#                  with EAP-PEAP or EAP-TTLS)
+#       MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately with WPA;

to be used

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 2 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#          as a Phase 2 method with EAP-PEAP or EAP-TTLS)
+#       OTP = EAP-OTP (cannot be used separately with WPA; to be

used

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 2 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#          as a Phase 2 method with EAP-PEAP or EAP-TTLS)
+#       GTC = EAP-GTC (cannot be used separately with WPA; to be

used

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 9 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+#          as a Phase 2 method with EAP-PEAP or EAP-TTLS)
+#  TLS = EAP-TLS (client and server certificate)
+#  PEAP = EAP-PEAP (with tunnelled EAP authentication)
+#  TTLS = EAP-TTLS (with tunnelled EAP or PAP/CHAP/MSCHAP/MSCHAPV2
+#                   authentication)
+#  If not set, all compiled in methods are allowed.
+#
+# identity: Identity string for EAP
+# anonymous_identity: Anonymous identity string for EAP (to be used

as

Quoted 58 lines

the
+# unencrypted identity with EAP types that support different tunnelled

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  identity, e.g., EAP-TTLS)
+# password: Password string for EAP
+# ca_cert: File path to CA certificate file (PEM/DER). This file can

have one

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  or more trusted CA certificates. If ca_cert and ca_path are not
+#  included, server certificate will not be verified. This is

insecure and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  a trusted CA certificate should always be configured when using
+#  EAP-TLS/TTLS/PEAP. Full path should be used since working

directory may

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#  change when wpa_supplicant is run in the background.
+#  On Windows, trusted CA certificates can be loaded from the system
+#  certificate store by setting this to cert_store://<name>, e.g.,
+#  ca_cert="cert_store://CA" or ca_cert="cert_store://ROOT".
+#  Note that when running wpa_supplicant as an application, the user
+#  certificate store (My user account) is used, whereas computer

store

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  (Computer account) is used when running wpasvc as a service.
+# ca_path: Directory path for CA certificate files (PEM). This path

may
+# contain multiple CA certificates in OpenSSL format. Common use for this
+# is to point to system trusted CA list which is often installed into
+# directory like /etc/ssl/certs. If configured, these certificates are
+# added to the list of trusted CAs. ca_cert may also be included in that

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#  case, but it is not required.
+# client_cert: File path to client certificate file (PEM/DER)
+#  Full path should be used since working directory may change when
+#  wpa_supplicant is run in the background.
+#  Alternatively, a named configuration blob can be used by setting

this

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#  to blob://<blob name>.
+# private_key: File path to client private key file (PEM/DER/PFX)
+#  When PKCS#12/PFX file (.p12/.pfx) is used, client_cert should be
+#  commented out. Both the private key and certificate will be read

from
+# the PKCS#12 file in this case. Full path should be used since working
+# directory may change when wpa_supplicant is run in the background.
+# Windows certificate store can be used by leaving client_cert out and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#  configuring private_key in one of the following formats:
+#  cert://substring_to_match
+#  hash://certificate_thumbprint_in_hex
+#  for example: private_key="hash://63093aa9c47f56ae88334c7b65a4"
+#  Note that when running wpa_supplicant as an application, the user
+#  certificate store (My user account) is used, whereas computer

store

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  (Computer account) is used when running wpasvc as a service.
+#  Alternatively, a named configuration blob can be used by setting

this

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 2 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  to blob://<blob name>.
+# private_key_passwd: Password for private key file (if left out,

this

Quoted 113 lines

will be

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  asked through control interface)
+# dh_file: File path to DH/DSA parameters file (in PEM format)
+#  This is an optional configuration file for setting parameters for

an

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  ephemeral DH key exchange. In most cases, the default RSA
+#  authentication does not use this configuration. However, it is

possible
+# setup RSA to use ephemeral DH key exchange. In addition, ciphers with
+# DSA keys always use ephemeral DH keys. This can be used to achieve
+# forward secrecy. If the file is in DSA parameters format, it will be

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  automatically converted into DH params.
+# subject_match: Substring to be matched against the subject of the
+#  authentication server certificate. If this string is set, the

server
+# sertificate is only accepted if it contains this string in the subject.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  The subject string is in following format:
+#  /C=US/ST=CA/L=San Francisco/CN=Test

AS/[email protected]
+# altsubject_match: Semicolon separated string of entries to be matched against
+# the alternative subject name of the authentication server certificate.
+# If this string is set, the server sertificate is only accepted if it
+# contains one of the entries in an alternative subject name extension.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +8 -0
+#  altSubjectName string is in following format: TYPE:VALUE
+#  Example: EMAIL:[email protected]
+#  Example: DNS:server.example.com;DNS:server2.example.com
+#  Following types are supported: EMAIL, DNS, URI
+# phase1: Phase1 (outer authentication, i.e., TLS tunnel) parameters
+#  (string with field-value pairs, e.g., "peapver=0" or
+#  "peapver=1 peaplabel=1")
+#  'peapver' can be used to force which PEAP version (0 or 1) is

used.
+# 'peaplabel=1' can be used to force new label, "client PEAP encryption",
+# to be used during key derivation when PEAPv1 or newer. Most existing

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  PEAPv1 implementation seem to be using the old label, "client EAP
+#  encryption", and wpa_supplicant is now using that as the default

value.
+# Some servers, e.g., Radiator, may require peaplabel=1 configuration to

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  interoperate with PEAPv1; see eap_testing.txt for more details.
+#  'peap_outer_success=0' can be used to terminate PEAP

authentication on
+# tunneled EAP-Success. This is required with some RADIUS servers that

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  implement draft-josefsson-pppext-eap-tls-eap-05.txt (e.g.,
+#  Lucent NavisRadius v4.4.0 with PEAP in "IETF Draft 5" mode)
+#  include_tls_length=1 can be used to force wpa_supplicant to

include

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  TLS Message Length field in all TLS messages even if they are not
+#  fragmented.
+#  sim_min_num_chal=3 can be used to configure EAP-SIM to require

three

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#  challenges (by default, it accepts 2 or 3)
+# phase2: Phase2 (inner authentication with TLS tunnel) parameters
+#  (string with field-value pairs, e.g., "auth=MSCHAPV2" for EAP-

PEAP or

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#  "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS)
+# Following certificate/private key fields are used in inner Phase2
+# authentication when using EAP-TTLS or EAP-PEAP.
+# ca_cert2: File path to CA certificate file. This file can have one

or more
+# trusted CA certificates. If ca_cert2 and ca_path2 are not included,
+# server certificate will not be verified. This is insecure and a trusted

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+#  CA certificate should always be configured.
+# ca_path2: Directory path for CA certificate files (PEM)
+# client_cert2: File path to client certificate file
+# private_key2: File path to client private key file
+# private_key2_passwd: Password for private key file
+# dh_file2: File path to DH/DSA parameters file (in PEM format)
+# subject_match2: Substring to be matched against the subject of the
+#  authentication server certificate.
+# altsubject_match2: Substring to be matched against the alternative

subject

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#  name of the authentication server certificate.
+#
+# fragment_size: Maximum EAP fragment size in bytes (default 1398).
+#  This value limits the fragment size for EAP methods that support
+#  fragmentation (e.g., EAP-TLS and EAP-PEAP). This value should be

set

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +6 -0
+#  small enough to make the EAP messages fit in MTU of the network
+#  interface used for EAPOL. The default value is suitable for most
+#  cases.
+#
+# EAP-PSK variables:
+# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hex

format

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# nai: user NAI
+#
+# EAP-PAX variables:
+# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hex

format

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+#
+# EAP-SAKE variables:
+# eappsk: 32-byte (256-bit, 64 hex digits) pre-shared key in hex

format

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+#  (this is concatenation of Root-Secret-A and Root-Secret-B)
+# nai: user NAI (PEERID)
+#
+# EAP-GPSK variables:
+# eappsk: Pre-shared key in hex format (at least 128 bits, i.e., 32

hex digits)

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 4 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# nai: user NAI (ID_Client)
+#
+# EAP-FAST variables:
+# pac_file: File path for the PAC entries. wpa_supplicant will need

to

Quoted 14 lines

be able

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  to create this file and write updates to it when PAC is being
+#  provisioned or refreshed. Full path to the file should be used

since

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  working directory may change when wpa_supplicant is run in the
+#  background. Alternatively, a named configuration blob can be used

by

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +2 -0
+#  setting this to blob://<blob name>
+# phase1: fast_provisioning=1 option enables in-line provisioning of

EAP-FAST

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+#  credentials (PAC)
+#
+# wpa_supplicant supports number of "EAP workarounds" to work around
+# interoperability issues with incorrectly behaving authentication
Quoted 2 lines

servers.
+# These are enabled by default because some of the issues are

present

Quoted 2 lines

in large
+# number of authentication servers. Strict EAP conformance mode can

be

Quoted 44 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+# configured by disabling workarounds with eap_workaround=0.
+
+# Example blocks:
+
+# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid

ciphers

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+network={
+   ssid="simple"
+   psk="very secret passphrase"
+   priority=5
+}
+
+# Same as previous, but request SSID-specific scanning (for APs that

reject

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +16 -0
+# broadcast SSID)
+network={
+   ssid="second ssid"
+   scan_ssid=1
+   psk="very secret passphrase"
+   priority=2
+}
+
+# Only WPA-PSK is used. Any valid cipher combination is accepted.
+network={
+   ssid="example"
+   proto=WPA
+   key_mgmt=WPA-PSK
+   pairwise=CCMP TKIP
+   group=CCMP TKIP WEP104 WEP40
+
    psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac

7bb

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+   priority=2
+}
+
+# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An AP that

used WEP104

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +7 -0
+# or WEP40 as the group cipher will not be accepted.
+network={
+   ssid="example"
+   proto=RSN
+   key_mgmt=WPA-EAP
+   pairwise=CCMP TKIP
+   group=CCMP TKIP

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +10 -0
+   eap=TLS
+   identity="[email protected]"
+   ca_cert="/etc/cert/ca.pem"
+   client_cert="/etc/cert/user.pem"
+   private_key="/etc/cert/user.prv"
+   private_key_passwd="password"
+   priority=1
+}
+
+# EAP-PEAP/MSCHAPv2 configuration for RADIUS servers that use the

new

Quoted 5 lines

peaplabel

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# (e.g., Radiator)
+network={
+   ssid="example"
+   key_mgmt=WPA-EAP

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +10 -0
+   eap=PEAP
+   identity="[email protected]"
+   password="foobar"
+   ca_cert="/etc/cert/ca.pem"
+   phase1="peaplabel=1"
+   phase2="auth=MSCHAPV2"
+   priority=10
+}
+
+# EAP-TTLS/EAP-MD5-Challenge configuration with anonymous identity

for

Quoted 2 lines

the
+# unencrypted use. Real identity is sent only within an encrypted

TLS

Quoted 68 lines

tunnel.

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +12 -0
+network={
+   ssid="example"
+   key_mgmt=WPA-EAP
+   eap=TTLS
+   identity="[email protected]"
+   anonymous_identity="[email protected]"
+   password="foobar"
+   ca_cert="/etc/cert/ca.pem"
+   priority=2
+}
+
+# EAP-TTLS/MSCHAPv2 configuration with anonymous identity for the

unencrypted

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +13 -0
+# use. Real identity is sent only within an encrypted TLS tunnel.
+network={
+   ssid="example"
+   key_mgmt=WPA-EAP
+   eap=TTLS
+   identity="[email protected]"
+   anonymous_identity="[email protected]"
+   password="foobar"
+   ca_cert="/etc/cert/ca.pem"
+   phase2="auth=MSCHAPV2"
+}
+
+# WPA-EAP, EAP-TTLS with different CA certificate used for outer and

inner

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +18 -0
+# authentication.
+network={
+   ssid="example"
+   key_mgmt=WPA-EAP
+   eap=TTLS
+   # Phase1 / outer authentication
+   anonymous_identity="[email protected]"
+   ca_cert="/etc/cert/ca.pem"
+   # Phase 2 / inner authentication
+   phase2="autheap=TLS"
+   ca_cert2="/etc/cert/ca2.pem"
+   client_cert2="/etc/cer/user.pem"
+   private_key2="/etc/cer/user.prv"
+   private_key2_passwd="password"
+   priority=2
+}
+
+# Both WPA-PSK and WPA-EAP is accepted. Only CCMP is accepted as

pairwise and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +9 -0
+# group cipher.
+network={
+   ssid="example"
+   bssid=00:11:22:33:44:55
+   proto=WPA RSN
+   key_mgmt=WPA-PSK WPA-EAP
+   pairwise=CCMP
+   group=CCMP
+
    psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb0106c72ac

7bb

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +3 -0
+}
+
+# Special characters in SSID, so use hex string. Default to WPA-PSK,

WPA-EAP

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# and all valid ciphers.
+network={
+   ssid=00010203
+
    psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1

e1f

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 4 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+}
+
+
+# IEEE 802.1X/EAPOL with dynamically generated WEP keys (i.e., no

WPA)

Quoted 2 lines

using
+# EAP-TLS for authentication and key generation; require both

unicast

Quoted 34 lines

and

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +33 -0
+# broadcast WEP keys.
+network={
+   ssid="1x-test"
+   key_mgmt=IEEE8021X
+   eap=TLS
+   identity="[email protected]"
+   ca_cert="/etc/cert/ca.pem"
+   client_cert="/etc/cert/user.pem"
+   private_key="/etc/cert/user.prv"
+   private_key_passwd="password"
+   eapol_flags=3
+}
+
+
+# LEAP with dynamic WEP keys
+network={
+   ssid="leap-example"
+   key_mgmt=IEEE8021X
+   eap=LEAP
+   identity="user"
+   password="foobar"
+}
+
+# Plaintext connection (no WPA, no IEEE 802.1X)
+network={
+   ssid="plaintext-test"
+   key_mgmt=NONE
+}
+
+
+# Shared WEP key connection (no WPA, no IEEE 802.1X)
+network={
+   ssid="static-wep-test"

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf

Quoted 10 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +10 -0
+   key_mgmt=NONE
+   wep_key0="abcde"
+   wep_key1=0102030405
+   wep_key2="1234567890123"
+   wep_tx_keyidx=0
+   priority=5
+}
+
+
+# Shared WEP key connection (no WPA, no IEEE 802.1X) using Shared

Key

Quoted 157 lines
recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +71 -0
+# IEEE 802.11 authentication
+network={
+   ssid="static-wep-test2"
+   key_mgmt=NONE
+   wep_key0="abcde"
+   wep_key1=0102030405
+   wep_key2="1234567890123"
+   wep_tx_keyidx=0
+   priority=5
+   auth_alg=SHARED
+}
+
+
+# IBSS/ad-hoc network with WPA-None/TKIP.
+network={
+   ssid="test adhoc"
+   mode=1
+   proto=WPA
+   key_mgmt=WPA-NONE
+   pairwise=NONE
+   group=TKIP
+   psk="secret passphrase"
+}
+
+
+# Catch all example that allows more or less all configuration modes
+network={
+   ssid="example"
+   scan_ssid=1
+   key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
+   pairwise=CCMP TKIP
+   group=CCMP TKIP WEP104 WEP40
+   psk="very secret passphrase"
+   eap=TTLS PEAP TLS
+   identity="[email protected]"
+   password="foobar"
+   ca_cert="/etc/cert/ca.pem"
+   client_cert="/etc/cert/user.pem"
+   private_key="/etc/cert/user.prv"
+   private_key_passwd="password"
+   phase1="peaplabel=0"
+}
+
+# Example of EAP-TLS with smartcard (openssl engine)
+network={
+   ssid="example"
+   key_mgmt=WPA-EAP
+   eap=TLS
+   proto=RSN
+   pairwise=CCMP TKIP
+   group=CCMP TKIP
+   identity="[email protected]"
+   ca_cert="/etc/cert/ca.pem"
+   client_cert="/etc/cert/user.pem"
+
+   engine=1
+
+   # The engine configured here must be available. Look at
+   # OpenSSL engine support in the global section.
+   # The key available through the engine must be the private key
+   # matching the client certificate configured above.
+
+   # use the opensc engine
+   #engine_id="opensc"
+   #key_id="45"
+
+   # use the pkcs11 engine
+   engine_id="pkcs11"
+   key_id="id_45"
+
+   # Optional PIN configuration; this can be left out and PIN will

be

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +5 -0
+   # asked through the control interface
+   pin="1234"
+}
+
+# Example configuration showing how to use an inlined blob as a CA

certificate

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +18 -0
+# data instead of using external file
+network={
+   ssid="example"
+   key_mgmt=WPA-EAP
+   eap=TTLS
+   identity="[email protected]"
+   anonymous_identity="[email protected]"
+   password="foobar"
+   ca_cert="blob://exampleblob"
+   priority=20
+}
+
+blob-base64-exampleblob={
+SGVsbG8gV29ybGQhCg==
+}
+
+
+# Wildcard match for SSID (plaintext APs only). This example select

any

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +4 -0
+# open AP regardless of its SSID.
+network={
+   key_mgmt=NONE
+}
(quoted diff) +0 -0

git/wpa_supplicant.conf-sane b/recipes/wpa-supplicant/wpa-supplicant- git/wpa_supplicant.conf-sane
new file mode 100644
index 0000000..c91ffe0

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf- new file +0 -0

sane

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf- new file +7 -0
@@ -0,0 +1,7 @@
+ctrl_interface=/var/run/wpa_supplicant
+ctrl_interface_group=0
+update_config=1
+
+network={
+        key_mgmt=NONE
+}
recipes/wpa-supplicant/wpa-supplicant_git.bb new file +24 -0
new file mode 100644
index 0000000..7561320
@@ -0,0 +1,30 @@
+require wpa-supplicant-0.7.inc
+
+SRCREV = "b8fb017272ed4794339978c9fbc0e74571a44728"
+PR = "r0"
+PR_append = "+gitr${SRCREV}"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://w1.fi/srv/git/hostap.git;protocol=git \
+           file://defconfig \
+           file://defaults-sane \
+           file://wpa-supplicant.sh \
+           file://wpa_supplicant.conf \
+           file://wpa_supplicant.conf-sane \
+           file://99_wpa_supplicant"
+
+S = "${WORKDIR}/git/wpa_supplicant"
+
+do_configure () {
+   install -m 0755 ${WORKDIR}/defconfig .config
+   echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
+   echo "LIBS += -L${STAGING_LIBDIR}" >> .config
+   echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config
+   if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}"

= "1" ]; then

recipes/wpa-supplicant/wpa-supplicant_git.bb new file +6 -1
+           echo "CONFIG_DRIVER_MADWIFI=y" >> .config
+           echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
+   fi
+}
+
+
--

1.7.0.4

#3 lore raw
In reply to Eyal Reizer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Eyal Reizer

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Same thing as with hostap-daemon: 'git' is not a valid PV.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNrVZBMkyGM64RGpERAiFKAJ0Qogin9nEKl1EAjRyxvlXaGJAFhQCfcVf1 dOwRpnAJEiCi00ExVgZitQM=
=zcin
-----END PGP SIGNATURE-----

#4 lore raw

This naming is used in other recipes building from git.
Any suggestions of how it should be called instead?
בתאריך 2011 4 19 12:35, מאת "Koen Kooi" <[email protected]> :

Quoted 24 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Eyal Reizer

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Same thing as with hostap-daemon: 'git' is not a valid PV.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNrVZBMkyGM64RGpERAiFKAJ0Qogin9nEKl1EAjRyxvlXaGJAFhQCfcVf1 dOwRpnAJEiCi00ExVgZitQM=
=zcin
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · אייל רייזר

This naming is used in other recipes building from git. Any suggestions of how it should be called instead?

You are entirely right that the filename usually is foo_git.bb, but there would be something like PV = "x.y.z+git" inside.
This is to ensure upgrade paths from e.g. 0.7.3 to the 0.8rc and 0.8 final release. If I have '0.7.3' installed, upgrading to 'git' is no problem, but going from 'git' to '0.8.0' would be, since 'git' will sort higher.
I'm not into wpa-supplicant release versioning, so I don't have the right solution, but something like

PV = "0.7.3+0.8rc"
PR_append = "gitr${SRCPV}"

should work.

regards,

Koen

Quoted 11 lines

בתאריך 2011 4 19 12:35, מאת "Koen Kooi" <[email protected]> :

Quoted 4 lines · Eyal Reizer
Quoted 4 lines
Quoted 4 lines

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Same thing as with hostap-daemon: 'git' is not a valid PV.

Quoted 2 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNrYISMkyGM64RGpERAlbGAKCZCfCJloSSt8qNx3nclhPuG1KwKwCfYH6o dloJiapREwDLoeMUrdgWGu4=
=9v/S
-----END PGP SIGNATURE-----

#6 lore raw

Hi Koen,

adding such a PV to the recipe causes the files that are located under recipes/wpa-supplicant-git/ and are part of SRC_URI not to be found as it appears that it now looks for them under:

recipes/wpa-supplicant-0.7.3+0.8.x/

How do I work around this?

Best Regards,
Eyal

Quoted 60 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · אייל רייזר

This naming is used in other recipes building from git. Any suggestions of how it should be called instead?

You are entirely right that the filename usually is foo_git.bb, but there would be something like PV = "x.y.z+git" inside.
This is to ensure upgrade paths from e.g. 0.7.3 to the 0.8rc and 0.8 final release. If I have '0.7.3' installed, upgrading to 'git' is no problem, but going from 'git' to '0.8.0' would be, since 'git' will sort higher.
I'm not into wpa-supplicant release versioning, so I don't have the right solution, but something like

PV = "0.7.3+0.8rc"
PR_append = "gitr${SRCPV}"

should work.

regards,

Koen

Quoted 11 lines

בתאריך 2011 4 19 12:35, מאת "Koen Kooi" <[email protected]> :

Quoted 4 lines · Eyal Reizer
Quoted 4 lines
Quoted 4 lines

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Same thing as with hostap-daemon: 'git' is not a valid PV.

Quoted 2 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNrYISMkyGM64RGpERAlbGAKCZCfCJloSSt8qNx3nclhPuG1KwKwCfYH6o dloJiapREwDLoeMUrdgWGu4=
=9v/S
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw

Hi Koen,

adding such a PV to the recipe causes the files that are located under recipes/wpa-supplicant-git/ and are part of SRC_URI not to be found as it appears that it now looks for them under:

recipes/wpa-supplicant-0.7.3+0.8.x/

How do I work around this?

Best Regards,
Eyal
On Tue, Apr 19, 2011 at 7:37 AM, Koen Kooi <[email protected]<mailto:[email protected]>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · אייל רייזר

This naming is used in other recipes building from git. Any suggestions of how it should be called instead?

You are entirely right that the filename usually is foo_git.bb<http://foo_git.bb/>, but there would be something like PV = "x.y.z+git" inside.
This is to ensure upgrade paths from e.g. 0.7.3 to the 0.8rc and 0.8 final release. If I have '0.7.3' installed, upgrading to 'git' is no problem, but going from 'git' to '0.8.0' would be, since 'git' will sort higher.
I'm not into wpa-supplicant release versioning, so I don't have the
right solution, but something like

PV = "0.7.3+0.8rc"
PR_append = "gitr${SRCPV}"

should work.

regards,

Koen

Quoted 11 lines

בתאריך 2011 4 19 12:35, מאת "Koen Kooi" <[email protected]<mailto:[email protected]>> :

Quoted 4 lines · Eyal Reizer
Quoted 4 lines
Quoted 4 lines

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Same thing as with hostap-daemon: 'git' is not a valid PV.

Quoted 2 lines

_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin) iD8DBQFNrYISMkyGM64RGpERAlbGAKCZCfCJloSSt8qNx3nclhPuG1KwKwCfYH6o dloJiapREwDLoeMUrdgWGu4=
=9v/S
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#8 lore raw
Quoted 7 lines · Eyal

Hi Koen,

adding such a PV to the recipe causes the files that are located under recipes/wpa-supplicant-git/ and are part of SRC_URI not to be found as it appears that it now looks for them under:

recipes/wpa-supplicant-0.7.3+0.8.x/

You have two options:

1. Move the files under recipes/wpa-supplicant-0.7.3+0.8.x/
2. Keep them at recipes/wpa-supplicant-git/ but add to the recipe:
FILESPATHPKG .= ":wpa-supplicant-git"

And, BTW, please don't use 0.8.x in the PV! Use 0.7.3+0.8.0-rc or something.

Signature · 1 line
Denys
Quoted 65 lines

How do I work around this?

Best Regards,
Eyal
On Tue, Apr 19, 2011 at 7:37 AM, Koen Kooi <[email protected]<mailto:[email protected]>> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines · ???????? ??????????

This naming is used in other recipes building from git. Any suggestions of how it should be called instead?

You are entirely right that the filename usually is foo_git.bb<http://foo_git.bb/>, but there would be something like PV = "x.y.z+git" inside.
This is to ensure upgrade paths from e.g. 0.7.3 to the 0.8rc and 0.8 final release. If I have '0.7.3' installed, upgrading to 'git' is no problem, but going from 'git' to '0.8.0' would be, since 'git' will sort higher.
I'm not into wpa-supplicant release versioning, so I don't have the
right solution, but something like

PV = "0.7.3+0.8rc"
PR_append = "gitr${SRCPV}"

should work.

regards,

Koen

Quoted 11 lines

???????????? 2011 4 19 12:35, ?????? "Koen Kooi" <[email protected]<mailto:[email protected]>> :

Quoted 4 lines · Eyal Reizer
Quoted 4 lines
Quoted 4 lines

* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions

Same thing as with hostap-daemon: 'git' is not a valid PV.

Quoted 2 lines

_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin) iD8DBQFNrYISMkyGM64RGpERAlbGAKCZCfCJloSSt8qNx3nclhPuG1KwKwCfYH6o dloJiapREwDLoeMUrdgWGu4=
=9v/S
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list [email protected]<mailto:[email protected]>
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel