wlconf: configuration utility for wilink8 wireless driver
PATCH 1/9 wlconf: configuration utility for wilink8 wireless driver
Add a recipe for building and installing the wlconf configuration utility for TI Wilink8 familily of chips.
--- .../recipes-connectivity/wlconf/wlconf_git.bb | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb
meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb new file +36 -0
@@ -0,0 +1,36 @@ +DESCRIPTION = "Configuration utility for TI wireless drivers" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a9438" + +PR ="r1" +PV ="0.0" +PR_append = "+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git" + +S = "${WORKDIR}/git/wlconf" + +EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc" + +do_install() { + install -d ${D}${bindir} + install -d ${D}${bindir}/wlconf/ + install -d ${D}${bindir}/wlconf/official_inis + + install -m 0755 wlconf ${D}${bindir}/wlconf/ + install -m 0755 dictionary.txt ${D}${bindir}/wlconf/ + install -m 0755 struct.bin ${D}${bindir}/wlconf/ + install -m 0755 wl18xx-conf-default.bin ${D}${bindir}/wlconf/ + install -m 0755 README ${D}${bindir}/wlconf/ + install -m 0755 example.conf ${D}${bindir}/wlconf/ + install -m 0755 example.ini ${D}${bindir}/wlconf/ + install -m 0755 ${S}/official_inis/* ${D}${bindir}/wlconf/official_inis +} + +FILES_${PN} += " \ + ${bindir}/wlconf \ + ${bindir}/wlconf/official_inis \ +" + +FILES_${PN}-dbg += "${bindir}/wlconf/.debug"
Signature · 1 line
1.7.9.5
PATCH 2/9 wl18xx-firmware: install Wilink8 wlan firmware files
Add a recipe for installing the Wilink8 wlan firmware files into the target file system.
--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_git.bb | 28 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_git.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into the root file system + +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_git.bb new file +28 -0
@@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM = "file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969" + +PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \ + file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*"
Signature · 1 line
1.7.9.5
Re: [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware files
Quoted 40 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesAdd a recipe for installing the Wilink8 wlan firmware files into the target file system.
Signed-off-by Eyal Reizer <[email protected]>--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_git.bb | 28 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-
firmware/wl18xx-firmware_git.bb(quoted diff) +0
-0
firmware/wl18xx-firmware/Makefileb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware/Makefile
new file mode 100644
index 0000000..0bb7ab8meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0
firmware/Makefilemeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +1
-0@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into theroot file system
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +6
-0+ +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +(quoted diff) +0
-0
Quoted 2 lines
firmware/wl18xx-firmware_git.bbb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware_git.bb
Same comment as Franklin had about the wlconf recipe. Should you drop the _git version if you are going to be using releases with a version?
Quoted 10 lines
new file mode 100644
index 0000000..43c40bbmeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0firmware_git.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
Quoted 7 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +7
-0+ +PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware"
Why does this PROVIDES and RPROVIDES wl12xx-firmware? Shouldn't this be wl18xx-firmware?
Should this RCONFLICTS with wl12xx-firmware? Or is it OK to install both? Does it make sense to install both though if they cannot co-exist?
Quoted 26 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +15
-1+ file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install +} + +FILES_${PN} = "/lib/firmware/ti-connectivity/*" --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware files
Hi,
Comments inline,
Quoted 45 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:35 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesQuoted 37 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesAdd a recipe for installing the Wilink8 wlan firmware files into the target file system.
Signed-off-by Eyal Reizer <[email protected]>--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_git.bb | 28 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-
firmware/wl18xx-firmware_git.bb(quoted diff) +0
-0
firmware/wl18xx-firmware/Makefileb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware/Makefile
new file mode 100644
index 0000000..0bb7ab8meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0
firmware/Makefilemeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +1
-0@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into theroot file system
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +4
-0+ +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/
Quoted 9 lines
Quoted 5 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +2
-0+ rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +(quoted diff) +0
-0
firmware/wl18xx-firmware_git.bbb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware_git.bbSame comment as Franklin had about the wlconf recipe. Should you drop the
_gitversion if you are going to be using releases with a version?
E.R: Will be fixed
Quoted 12 lines
Quoted 12 lines
new file mode 100644
index 0000000..43c40bbmeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0firmware_git.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +2
-0+ +PACKAGE_ARCH = "all"
Quoted 8 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
Quoted 5 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +5
-0+ +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware"Why does this PROVIDES and RPROVIDES wl12xx-firmware? Shouldn't this be wl18xx-firmware?
E.R: This is the intention so it will actually provide the same packages as the wilink6 recipe and based on the PREFFERED_PROVIDER in arago.conf it will be picked up instead.
Quoted 4 lines
Should this RCONFLICTS with wl12xx-firmware? Or is it OK to install
both? Does it make sense to install both though if they cannot co-
exist?
E.R: As there is a selection in arago.conf between them is it really needed?
Quoted 30 lines
Quoted 22 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +14
-1+ file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install } + +FILES_${PN} = "/lib/firmware/ti-connectivity/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware files
Quoted 87 lines · Eyal
Hi,
Comments inline,
Quoted 45 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:35 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesQuoted 37 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesAdd a recipe for installing the Wilink8 wlan firmware files into the target file system.
Signed-off-by Eyal Reizer <[email protected]>--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7 +++++ .../wl18xx-firmware/wl18xx-firmware_git.bb | 28 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-
firmware/wl18xx-firmware_git.bb(quoted diff) +0
-0
firmware/wl18xx-firmware/Makefileb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware/Makefile
new file mode 100644
index 0000000..0bb7ab8meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0
firmware/Makefilemeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +1
-0@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files into theroot file system
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +4
-0+ +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivity + cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/Quoted 9 lines
Quoted 5 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +2
-0+ rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +(quoted diff) +0
-0
firmware/wl18xx-firmware_git.bbb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware_git.bbSame comment as Franklin had about the wlconf recipe. Should you drop the
_gitversion if you are going to be using releases with a version?E.R: Will be fixed
Quoted 12 lines
Quoted 12 lines
new file mode 100644
index 0000000..43c40bbmeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0firmware_git.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +2
-0+ +PACKAGE_ARCH = "all"Quoted 8 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
Quoted 5 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +5
-0+ +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware"Why does this PROVIDES and RPROVIDES wl12xx-firmware? Shouldn't this be wl18xx-firmware?
E.R: This is the intention so it will actually provide the same packages as the wilink6 recipe and based on the
PREFFERED_PROVIDERin arago.conf it will be picked up instead.Quoted 1 line
Quoted 5 lines
Quoted 3 lines
Should this RCONFLICTS with wl12xx-firmware? Or is it OK to install
both? Does it make sense to install both though if they cannot co-
exist?E.R: As there is a selection in arago.conf between them is it really needed?
The PREFERRED_PROVIDER or PREFERRED_VERSION selects one or another at build time. You still need to use RPROVIDES, RREPLACES and RCONFLICTS to tell the package manager (i.e. opkg) that those packages cannot be installed at the same time. That basically covers the run-time part, besides build-time.
Signature · 1 line
Denys
Re: [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware files
In reply to Reizer, EyalQuoted 95 lines
-----Original Message-----
From: Reizer, Eyal
Sent: Monday, March 18, 2013 10:42 AM
To: Maupin, Chase; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesHi,
Comments inline,
Quoted 6 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:35 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 2/9] wl18xx-firmware: installWilink8
Quoted 4 lines
wlan firmware files
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago-
Quoted 7 lines
Quoted 7 lines
[email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/9] wl18xx-firmware: install Wilink8 wlan firmware filesAdd a recipe for installing the Wilink8 wlan firmware files
into the
Quoted 5 lines
Quoted 5 lines
target file system.
Signed-off-by Eyal Reizer <[email protected]>--- .../wl18xx-firmware/wl18xx-firmware/Makefile | 7+++++
Quoted 10 lines
Quoted 10 lines
.../wl18xx-firmware/wl18xx-firmware_git.bb | 28 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware/Makefile create mode 100644 meta-arago-extras/recipes-bsp/wl18xx-
firmware/wl18xx-firmware_git.bb(quoted diff) +0
-0
firmware/wl18xx-firmware/Makefileb/meta-arago-extras/recipes-
Quoted 8 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- line 1
Quoted 8 lines
bsp/wl18xx-firmware/wl18xx-firmware/Makefile
new file mode 100644
index 0000000..0bb7ab8meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0
firmware/Makefilemeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +1
-0@@ -0,0 +1,7 @@ +# Installs the the ti-connectiviy wlan firmware files intothe
Quoted 4 lines
Quoted 4 lines
root file system
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ +install: + install -d $(DEST_DIR)/lib/firmware/ti-connectivityQuoted 8 lines
Quoted 6 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ cp -RpP * $(DEST_DIR)/lib/firmware/ti-connectivity/ + rm -f $(DEST_DIR)/lib/firmware/ti-connectivity/Makefile +(quoted diff) +0
-0
firmware/wl18xx-firmware_git.bbb/meta-arago-extras/recipes- bsp/wl18xx-firmware/wl18xx-firmware_git.bbSame comment as Franklin had about the wlconf recipe. Should
you drop
Quoted 1 line
the
_gitversion if you are going to be using releases with aversion?
Quoted 1 line
E.R: Will be fixed
Quoted 11 lines
Quoted 11 lines
new file mode 100644
index 0000000..43c40bbmeta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +0
-0firmware_git.bb
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0@@ -0,0 +1,28 @@ +DESCRIPTION = "Firmware files for use with TI wl18xx" +LICENSE = "TI-TSPA" +LIC_FILES_CHKSUM ="file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969" +
Quoted 8 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
Quoted 6 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +6
-0+PACKAGE_ARCH = "all" + +PR = "r1+gitr${SRCREV}" + +PROVIDES += "wl12xx-firmware" +RPROVIDES += "wl12xx-firmware"Why does this PROVIDES and RPROVIDES wl12xx-firmware?
Quoted 6 lines
Shouldn't this
Quoted 1 line
be wl18xx-firmware?
E.R: This is the intention so it will actually provide the same packages as the wilink6 recipe and based on the
PREFFERED_PROVIDERin arago.conf it will be picked up instead.
But in the packagegroup you are doing the selection to install either wl18xx-firmware or wl12xx-firmware. So you are installing them as different packages. In this case the wl18xx recipe provides BOTH wl18xx-firmware and wl12xx-firmware while the wl12xx recipe only does wl12xx-firmware. This seems wrong.
Quoted 41 lines
Quoted 3 lines
Should this RCONFLICTS with wl12xx-firmware? Or is it OK to
install
Quoted 1 line
both? Does it make sense to install both though if they
cannot co-
Quoted 1 line
exist?
E.R: As there is a selection in arago.conf between them is it really needed?
Quoted 30 lines
Quoted 22 lines
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +3
-0+ +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- new file +14
-1+ file://Makefile \ + " + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cp ${WORKDIR}/Makefile ${S} + oe_runmake 'DEST_DIR=${D}' install } + +FILES_${PN} = "/lib/firmware/ti-connectivity/*" --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
PATCH 3/9 hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by the hostap-daemon recipe. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- ...d-change-conf-file-for-better-oob-startup.patch | 40 +++++ .../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37 ++++ .../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob-startup.patch new file +40 -0
@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 17 00:00:00 2001 +From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdk out of box startup + +Change the default channel to 6 and change the ssid to a more +meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf +index f71a881..00843aa 100644 +--- a/hostapd/hostapd.conf ++++ b/hostapd/hostapd.conf +@@ -83,7 +83,7 @@ ctrl_interface_group=0 + ##### IEEE 802.11 related configuration ####################################### + + # SSID to be used in IEEE 802.11 management frames +-ssid=test ++ssid=TexasInstruments_0001 + + # Country code (ISO/IEC 3166-1). Used to set regulatory domain. + # Set as needed to indicate country in which device is operating. +@@ -107,7 +107,7 @@ hw_mode=g + # channel will need to be configured separately with iwconfig. + # When set to 0, automatic channel selection will be engaged. A channel + # will be selected from the desired hw_mode. +-channel=1 ++channel=6 + + # Automatic channel selection (ACS) whitelist + # (default: not set) +-- +1.7.9.5 +
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/defconfig new file +183 -0
183 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file +37 -0
@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Quoted 302 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap- daemon for ti wilink8 releaseFrom: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by the hostap-daemon recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...d-change-conf-file-for-better-oob-startup.patch | 40 +++++ .../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37 ++++ .../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob- startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdk out ofbox startup
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +17
-0+ +Change the default channel to 6 and change the ssid to a more +meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf +index f71a881..00843aa 100644 +--- a/hostapd/hostapd.conf ++++ b/hostapd/hostapd.conf +@@ -83,7 +83,7 @@ ctrl_interface_group=0 + ##### IEEE 802.11 related configuration#######################################
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+ + # SSID to be used in IEEE 802.11 management frames +-ssid=test ++ssid=TexasInstruments_0001 + + # Country code (ISO/IEC 3166-1). Used to set regulatory domain. + # Set as needed to indicate country in which device isoperating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately with iwconfig.
+ # When set to 0, automatic channel selection will be engaged. A channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+ + # Automatic channel selection (ACS) whitelist + # (default: not set) +-- +1.7.9.5 +(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/defconfig new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration +# +# This file lists the configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
+# be modified from here. In most cass, these lines should use += in order notmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +11
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver +CONFIG_DRIVER_HOSTAP=y + +# Driver interface for wired authenticator +#CONFIG_DRIVER_WIRED=y + +# Driver interface for madwifi driver +#CONFIG_DRIVER_MADWIFI=y +#CFLAGS += -I../../madwifi # change to the madwifi sourcedirectory
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version 1.1)which may not be
+# shipped with your distribution yet. If that is the case, you need to buildmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# newer libnl version and point the hostapd build to use it. +#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +16
-0+#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 no driver (e.g., RADIUS server only) +#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication +CONFIG_RSN_PREAUTH=y + +# PeerKey handshake for Station to Station Link (IEEE 802.11eDLS)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +38
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y + +# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server +CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server +CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server +CONFIG_EAP_MSCHAPV2=y + +# EAP-PEAP for the integrated EAP server +CONFIG_EAP_PEAP=y + +# EAP-GTC for the integrated EAP server +CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server +CONFIG_EAP_TTLS=y + +# EAP-SIM for the integrated EAP server +#CONFIG_EAP_SIM=y + +# EAP-AKA for the integrated EAP server +#CONFIG_EAP_AKA=y + +# EAP-AKA' for the integrated EAP server +# This requires CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server +#CONFIG_EAP_PAX=y + +# EAP-PSK for the integrated EAP server (this is _not_ neededfor WPA-PSK)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +12
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server +#CONFIG_EAP_SAKE=y + +# EAP-GPSK for the integrated EAP server +#CONFIG_EAP_GPSK=y +# Include support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server +# Note: Default OpenSSL package does not include support for allthe
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session- ticket.patch)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +17
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars +CONFIG_WPS_UPNP=y + +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) +#CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# a file that usually has extension .p12 or .pfx) +CONFIG_PKCS12=y + +# RADIUS authentication server. This provides access to theintegrated EAP
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations +CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition) +#CONFIG_IEEE80211R=y + +# Use the hostapd's IEEE 802.11 authentication (ACL), butwithout
+# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y + +# Remove debugging code that is printing out debug messages tostdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +14
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting +#CONFIG_NO_ACCOUNTING=y + +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file on SIGUSR1 signal +# This can be used to reduce binary size at the cost ofdisabling a debugging
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+# generated by CONFIG_WPA_TRACE=y.
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+#CONFIG_WPA_TRACE_BFD=y +# For BSD, comment out these. +#LIBS += -lbfd -liberty -lz +#LIBS_p += -lbfd -liberty -lz +#LIBS_c += -lbfd -liberty -lz +# +# + +CONFIG_NO_RANDOM_POOL=y +
I just eye-balled this here but the config looks the same as the config used in the hostap-daemon recipe. Same with the init file below. So then maybe the better way to do this is to add the hostap-daemon directory to the FILESEXTRAPATHS. i.e. like:
FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
I think the above line should work. Then you do not need to add this config and init files.
Quoted 47 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/init
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +37
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0(quoted diff) +0
-0
Quoted 2 lines
connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
Same question about using the _git version.
Quoted 32 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemon recipe foruse with the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE 802.11management"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemon do notmake this the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# of hostap +PV = "2.0-devel-ti" + +PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" + +PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"
If you are using a variable to select between the two versions then why set the PROVIDES and RPROVIDES name? You are already setting the packagegroups, etc to use hostap-daemon-wl18xx. Have you tested that this does become the default wl6 version as well? Although, the PV is set to the same between both versions which seems wrong.
Quoted 46 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git\
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+ file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +21
-0+ file://defconfig \ + file://init" + +S = "${WORKDIR}/git/hostapd" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config +} + +do_compile() { + make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.d + install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} + install -m 0755 ${S}/hostapd ${D}${sbindir} + install -m 0755 ${S}/hostapd_cli ${D}${sbindir} + install -m 755 ${WORKDIR}/init${D}${sysconfdir}/init.d/hostapd
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+} + +# The default hostapd.conf file that is fetched from upstream isusing
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+# "a" band which is not supported by the 1271 chip. +# modify it to use "g" band and default channel 6 and change thessid from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-1+# "test" to a more meaningful name. + +updatercd_postinst () { +: +} --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Quoted 414 lines · Chase
Quoted 302 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap- daemon for ti wilink8 releaseFrom: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by the hostap-daemon recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...d-change-conf-file-for-better-oob-startup.patch | 40 +++++ .../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37 ++++ .../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob- startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdk out ofbox startup
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +17
-0+ +Change the default channel to 6 and change the ssid to a more +meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf +index f71a881..00843aa 100644 +--- a/hostapd/hostapd.conf ++++ b/hostapd/hostapd.conf +@@ -83,7 +83,7 @@ ctrl_interface_group=0 + ##### IEEE 802.11 related configuration#######################################
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+ + # SSID to be used in IEEE 802.11 management frames +-ssid=test ++ssid=TexasInstruments_0001 + + # Country code (ISO/IEC 3166-1). Used to set regulatory domain. + # Set as needed to indicate country in which device isoperating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately with iwconfig.
+ # When set to 0, automatic channel selection will be engaged. A channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+ + # Automatic channel selection (ACS) whitelist + # (default: not set) +-- +1.7.9.5 +(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/defconfig new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration +# +# This file lists the configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
+# be modified from here. In most cass, these lines should use += in order notmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +11
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver +CONFIG_DRIVER_HOSTAP=y + +# Driver interface for wired authenticator +#CONFIG_DRIVER_WIRED=y + +# Driver interface for madwifi driver +#CONFIG_DRIVER_MADWIFI=y +#CFLAGS += -I../../madwifi # change to the madwifi sourcedirectory
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version 1.1)which may not be
+# shipped with your distribution yet. If that is the case, you need to buildmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# newer libnl version and point the hostapd build to use it. +#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +16
-0+#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 no driver (e.g., RADIUS server only) +#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication +CONFIG_RSN_PREAUTH=y + +# PeerKey handshake for Station to Station Link (IEEE 802.11eDLS)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +38
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y + +# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server +CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server +CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server +CONFIG_EAP_MSCHAPV2=y + +# EAP-PEAP for the integrated EAP server +CONFIG_EAP_PEAP=y + +# EAP-GTC for the integrated EAP server +CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server +CONFIG_EAP_TTLS=y + +# EAP-SIM for the integrated EAP server +#CONFIG_EAP_SIM=y + +# EAP-AKA for the integrated EAP server +#CONFIG_EAP_AKA=y + +# EAP-AKA' for the integrated EAP server +# This requires CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server +#CONFIG_EAP_PAX=y + +# EAP-PSK for the integrated EAP server (this is _not_ neededfor WPA-PSK)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +12
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server +#CONFIG_EAP_SAKE=y + +# EAP-GPSK for the integrated EAP server +#CONFIG_EAP_GPSK=y +# Include support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server +# Note: Default OpenSSL package does not include support for allthe
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session- ticket.patch)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +17
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars +CONFIG_WPS_UPNP=y + +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) +#CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# a file that usually has extension .p12 or .pfx) +CONFIG_PKCS12=y + +# RADIUS authentication server. This provides access to theintegrated EAP
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations +CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition) +#CONFIG_IEEE80211R=y + +# Use the hostapd's IEEE 802.11 authentication (ACL), butwithout
+# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y + +# Remove debugging code that is printing out debug messages tostdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +14
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting +#CONFIG_NO_ACCOUNTING=y + +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file on SIGUSR1 signal +# This can be used to reduce binary size at the cost ofdisabling a debugging
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+# generated by CONFIG_WPA_TRACE=y.meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+#CONFIG_WPA_TRACE_BFD=y +# For BSD, comment out these. +#LIBS += -lbfd -liberty -lz +#LIBS_p += -lbfd -liberty -lz +#LIBS_c += -lbfd -liberty -lz +# +# + +CONFIG_NO_RANDOM_POOL=y +I just eye-balled this here but the config looks the same as the config used in the hostap-daemon recipe. Same with the init file below. So then maybe the better way to do this is to add the hostap-daemon directory to the FILESEXTRAPATHS. i.e. like:
FILESEXTRAPATHS_append:= "${THISDIR}/hostap-daemon:"I think the above line should work. Then you do not need to add this config and init files.
Quoted 47 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/init
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +37
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0(quoted diff) +0
-0Quoted 2 lines
connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
Same question about using the
_gitversion.Quoted 39 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemon recipe foruse with the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE 802.11management"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemon do notmake this the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+# of hostap +PV = "2.0-devel-ti" + +PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" +
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"If you are using a variable to select between the two versions then why set the PROVIDES and RPROVIDES name? You are already setting the packagegroups, etc to use hostap-daemon-wl18xx. Have you tested that this does become the default wl6 version as well? Although, the PV is set to the same between both versions which seems wrong.
If this package completely replaces the original hostap-daemon and they cannot be installed side by side, then the correct way is to add RPROVIDES, RREPLACES, RCONFLICTS and chose one or another with PREFERRED_PROVIDER.
Signature · 1 line
Denys
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Quoted 410 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 18, 2013 5:54 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap- daemon for ti wilink8 releaseQuoted 62 lines · Chase
Quoted 62 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap- daemon for ti wilink8 releaseFrom: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by the hostap-daemon recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...d-change-conf-file-for-better-oob-startup.patch | 40 +++++ .../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37 ++++ .../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob- startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdk out ofbox startup
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +Change the default channel to 6 and change the ssid to a more +meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +---Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
+
hostapd/hostapd.conf| 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+ +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index +f71a881..00843aa 100644 +--- a/hostapd/hostapd.conf ++++ b/hostapd/hostapd.conf +@@ -83,7 +83,7 @@ ctrl_interface_group=0 ##### IEEE 802.11related
Quoted 137 lines
Quoted 137 lines
+configuration
#######################################meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+ + # SSID to be used in IEEE 802.11 management frames -ssid=test ++ssid=TexasInstruments_0001 + + # Country code (ISO/IEC 3166-1). Used to set regulatory domain. + # Set as needed to indicate country in which device isoperating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately with iwconfig.
+ # When set to 0, automatic channel selection will be engaged. A channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+ + # Automatic channel selection (ACS) whitelist # (default: not +set) +-- +1.7.9.5 +(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/defconfig new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration # # This file lists the +configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
+# be modified from here. In most cass, these lines should use += in order notmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver CONFIG_DRIVER_HOSTAP=y + +# Driver interface for wired authenticator #CONFIG_DRIVER_WIRED=y + +# Driver interface for madwifi driver #CONFIG_DRIVER_MADWIFI=y +#CFLAGS += -I../../madwifi # change to the madwifi sourcedirectory
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version 1.1)which may not be
+# shipped with your distribution yet. If that is the case, you need to buildmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# newer libnl version and point the hostapd build to use it. +#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +15
-0+#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 no driver (e.g., RADIUS server only) +#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication CONFIG_RSN_PREAUTH=y + +# PeerKey handshake for Station to Station Link (IEEE 802.11eDLS)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) # This version is an +experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +29
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y + +# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server CONFIG_EAP_MSCHAPV2=y + +# EAP-PEAP for the integrated EAP server CONFIG_EAP_PEAP=y + +# EAP-GTC for the integrated EAP server CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server CONFIG_EAP_TTLS=y + +# EAP-SIM for the integrated EAP server #CONFIG_EAP_SIM=y + +# EAP-AKA for the integrated EAP server #CONFIG_EAP_AKA=y + +# EAP-AKA' for the integrated EAP server # This requires +CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server #CONFIG_EAP_PAX=y + +# EAP-PSK for the integrated EAP server (this is _not_ neededfor WPA-PSK)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server #CONFIG_EAP_SAKE=y + +# EAP-GPSK for the integrated EAP server #CONFIG_EAP_GPSK=y # +Include support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server # Note: Default OpenSSL +package does not include support for allthe
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session- ticket.patch)Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars
CONFIG_WPS_UPNP=yQuoted 174 lines
Quoted 63 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+ +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) #CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# a file that usually has extension .p12 or .pfx) CONFIG_PKCS12=y + +# RADIUS authentication server. This provides access to theintegrated EAP
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition) #CONFIG_IEEE80211R=y + +# Use the hostapd's IEEE 802.11 authentication (ACL), butwithout
+# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support CONFIG_IEEE80211N=y + +# Remove debugging code that is printing out debug messages tostdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +13
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting #CONFIG_NO_ACCOUNTING=y + +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file on SIGUSR1 signal # +This can be used to reduce binary size at the cost ofdisabling a debugging
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging # This tracks use of +memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+# generated by CONFIG_WPA_TRACE=y.meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+#CONFIG_WPA_TRACE_BFD=y +# For BSD, comment out these. +#LIBS += -lbfd -liberty -lz +#LIBS_p += -lbfd -liberty -lz +#LIBS_c += -lbfd -liberty -lz +# +# + +CONFIG_NO_RANDOM_POOL=y +I just eye-balled this here but the config looks the same as the config used in the hostap-daemon recipe. Same with the init file below. So then maybe the better way to do this is to add the hostap-daemon directory to the FILESEXTRAPATHS. i.e. like:
FILESEXTRAPATHS_append:= "${THISDIR}/hostap-daemon:"I think the above line should work. Then you do not need to add this config and init files.
Quoted 47 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/init
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +37
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0(quoted diff) +0
-0Quoted 2 lines
connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
Same question about using the
_gitversion.Quoted 38 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemon recipe foruse with the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE 802.11management"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemon do notmake this the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# of hostap +PV = "2.0-devel-ti" + +PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01"Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 3 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+ +PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"If you are using a variable to select between the two versions then why set the PROVIDES and RPROVIDES name? You are already setting the packagegroups, etc to use hostap-daemon-wl18xx. Have you tested that this does become the default wl6 version as well? Although, the PV
Quoted 8 lines
is
Quoted 1 line
set to the same between both versions which seems wrong.
If this package completely replaces the original hostap-daemon and they cannot be installed side by side, then the correct way is to add RPROVIDES, RREPLACES, RCONFLICTS and chose one or another with
PREFERRED_PROVIDER.
OK, I will add this. Your comment in this case is true for the other recipes as well.
Regards,
Best Eyal
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
In reply to Maupin, ChaseHi,
Quoted 304 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:47 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap- daemon for ti wilink8 releaseQuoted 6 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon
Quoted 185 lines
for ti wilink8 release
From: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by the hostap-daemon recipe. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...d-change-conf-file-for-better-oob-startup.patch | 40 +++++ .../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37 ++++ .../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob- startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdk out ofbox startup
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +17
-0+ +Change the default channel to 6 and change the ssid to a more +meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index +f71a881..00843aa 100644 +--- a/hostapd/hostapd.conf ++++ b/hostapd/hostapd.conf +@@ -83,7 +83,7 @@ ctrl_interface_group=0 ##### IEEE 802.11 related +configuration#######################################
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+ + # SSID to be used in IEEE 802.11 management frames -ssid=test ++ssid=TexasInstruments_0001 + + # Country code (ISO/IEC 3166-1). Used to set regulatory domain. + # Set as needed to indicate country in which device isoperating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately with iwconfig.
+ # When set to 0, automatic channel selection will be engaged. A channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+ + # Automatic channel selection (ACS) whitelist # (default: not set) +-- +1.7.9.5 +(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/defconfig new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration # # This file lists the +configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
+# be modified from here. In most cass, these lines should use += in order notmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver CONFIG_DRIVER_HOSTAP=y + +# Driver interface for wired authenticator #CONFIG_DRIVER_WIRED=y + +# Driver interface for madwifi driver #CONFIG_DRIVER_MADWIFI=y +#CFLAGS += -I../../madwifi # change to the madwifi sourcedirectory
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version 1.1)which may not be
+# shipped with your distribution yet. If that is the case, you need to buildmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# newer libnl version and point the hostapd build to use it. +#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +15
-0+#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 no driver (e.g., RADIUS server only) +#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication CONFIG_RSN_PREAUTH=y + +# PeerKey handshake for Station to Station Link (IEEE 802.11eDLS)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) # This version is an +experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +29
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y + +# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server CONFIG_EAP_MSCHAPV2=y + +# EAP-PEAP for the integrated EAP server CONFIG_EAP_PEAP=y + +# EAP-GTC for the integrated EAP server CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server CONFIG_EAP_TTLS=y + +# EAP-SIM for the integrated EAP server #CONFIG_EAP_SIM=y + +# EAP-AKA for the integrated EAP server #CONFIG_EAP_AKA=y + +# EAP-AKA' for the integrated EAP server # This requires +CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server #CONFIG_EAP_PAX=y + +# EAP-PSK for the integrated EAP server (this is _not_ neededfor WPA-PSK)
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 5 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server #CONFIG_EAP_SAKE=y + +# EAP-GPSK for the integrated EAP server #CONFIG_EAP_GPSK=y #Include
Quoted 82 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server # Note: Default OpenSSL +package does not include support for allthe
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session- ticket.patch)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +16
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars CONFIG_WPS_UPNP=y + +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) +#CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# a file that usually has extension .p12 or .pfx) CONFIG_PKCS12=y + +# RADIUS authentication server. This provides access to theintegrated EAP
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition) #CONFIG_IEEE80211R=y + +# Use the hostapd's IEEE 802.11 authentication (ACL), butwithout
+# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support CONFIG_IEEE80211N=y + +# Remove debugging code that is printing out debug messages tostdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +13
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting #CONFIG_NO_ACCOUNTING=y + +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file on SIGUSR1 signal # +This can be used to reduce binary size at the cost ofdisabling a debugging
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging # This tracks use of +memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+# generated by CONFIG_WPA_TRACE=y.meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+#CONFIG_WPA_TRACE_BFD=y +# For BSD, comment out these. +#LIBS += -lbfd -liberty -lz +#LIBS_p += -lbfd -liberty -lz +#LIBS_c += -lbfd -liberty -lz +# +# + +CONFIG_NO_RANDOM_POOL=y +I just eye-balled this here but the config looks the same as the config used in the hostap-daemon recipe. Same with the init file below. So then maybe the better way to do this is to add the hostap-daemon directory to the FILESEXTRAPATHS. i.e. like:
Quoted 5 lines
FILESEXTRAPATHS_append:= "${THISDIR}/hostap-daemon:"I think the above line should work. Then you do not need to add this config and init files.
E.R: I will try this
Quoted 43 lines
Quoted 43 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/init
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +34
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;;
Quoted 8 lines
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+esac + +exit 0(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
Same question about using the
_gitversion.
E.R: Will be changed
Quoted 40 lines
Quoted 40 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemon recipe foruse with the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE 802.11management"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemon do notmake this the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+# of hostap +PV = "2.0-devel-ti" + +PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" +
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"If you are using a variable to select between the two versions then why set the PROVIDES and RPROVIDES name? You are already setting the packagegroups, etc to use hostap-daemon-wl18xx. Have you tested that this does become the default wl6 version as well? Although, the PV is set to the same between both versions which seems wrong.
packagegroups are not changing as the names of the packages provided by both wilink6 and wilink8 recipes are the same and there is no need to change them.
Quoted 50 lines
Quoted 42 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git\
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+ file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +20
-0+ file://defconfig \ + file://init" + +S = "${WORKDIR}/git/hostapd" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config } + +do_compile() { + make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.d + install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} + install -m 0755 ${S}/hostapd ${D}${sbindir} + install -m 0755 ${S}/hostapd_cli ${D}${sbindir} + install -m 755 ${WORKDIR}/init${D}${sysconfdir}/init.d/hostapd
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+} + +# The default hostapd.conf file that is fetched from upstream isusing
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+# "a" band which is not supported by the 1271 chip. +# modify it to use "g" band and default channel 6 and change thessid from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-1+# "test" to a more meaningful name. + +updatercd_postinst () { +: +} --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Quoted 473 lines
-----Original Message-----
From: Reizer, Eyal
Sent: Monday, March 18, 2013 10:55 AM
To: Maupin, Chase; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:
hostap-daemon for ti wilink8 releaseHi,
Quoted 6 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:47 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:hostap-
Quoted 4 lines
daemon for ti wilink8 release
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago-
Quoted 4 lines
Quoted 4 lines
[email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:hostap-
Quoted 9 lines
daemon
Quoted 8 lines
for ti wilink8 release
From: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by
the
Quoted 1 line
Quoted 1 line
hostap-daemon recipe. Selection between the two is done using
a
Quoted 5 lines
Quoted 5 lines
"
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...d-change-conf-file-for-better-oob-startup.patch | 40+++++
Quoted 3 lines
Quoted 3 lines
.../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37++++
Quoted 22 lines
Quoted 22 lines
.../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob- startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdkout of
Quoted 3 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 3 lines
box startup
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +Change the default channel to 6 and change the ssid to amore
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.confindex
Quoted 4 lines
Quoted 4 lines
+f71a881..00843aa 100644
+---a/hostapd/hostapd.conf
++++b/hostapd/hostapd.conf
+@@ -83,7 +83,7 @@ ctrl_interface_group=0 ##### IEEE 802.11related
Quoted 4 lines
Quoted 4 lines
+configuration
#######################################
+
+ # SSID to be used in IEEE 802.11 management frames -ssid=test
Quoted 3 lines
Quoted 3 lines
++ssid=TexasInstruments_0001
+
+ # Country code (ISO/IEC 3166-1). Used to set regulatorydomain.
Quoted 4 lines
Quoted 4 lines
+ # Set as needed to indicate country in which device is operating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately withiwconfig.
Quoted 1 line
Quoted 1 line
+ # When set to 0, automatic channel selection will be
engaged. A
Quoted 6 lines
Quoted 6 lines
channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6
+
+ # Automatic channel selection (ACS) whitelist # (default:not set)
Quoted 5 lines
Quoted 5 lines
+--
+1.7.9.5meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig b/meta-
arago-
Quoted 1 line
Quoted 1 line
extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx/defconfig
Quoted 7 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- line 1
Quoted 7 lines
new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration # # This filelists the
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+configuration options that are used whenbuilding the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not tobe
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
included, i.e.,
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables likeCFLAGS
Quoted 2 lines
Quoted 2 lines
and LIBS can also
+# be modified from here. In most cass, these lines shoulduse +=
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
in order not
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver CONFIG_DRIVER_HOSTAP=y + +# Driver interface for wired authenticator#CONFIG_DRIVER_WIRED=y
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for madwifi driver#CONFIG_DRIVER_MADWIFI=y
Quoted 10 lines
Quoted 10 lines
+#CFLAGS += -I../../madwifi # change to the madwifi source directory
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version 1.1)which may not be
+# shipped with your distribution yet. If that is the case,you
Quoted 13 lines
Quoted 13 lines
need to build
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# newer libnl version and point the hostapd build to use it. +#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#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/libQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# Driver interface for no driver (e.g., RADIUS server only) +#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication
CONFIG_RSN_PREAUTH=yQuoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# PeerKey handshake for Station to Station Link (IEEE802.11e
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
DLS)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) # This versionis an
Quoted 3 lines
Quoted 3 lines
+experimental implementation based on IEEE 802.11w/D1.0
+# draft and is subject to change since the standard has notyet
Quoted 4 lines
Quoted 4 lines
been finalized.
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y +Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server
CONFIG_EAP_MSCHAPV2=yQuoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+ +# EAP-PEAP for the integrated EAP server CONFIG_EAP_PEAP=y + +# EAP-GTC for the integrated EAP server CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server CONFIG_EAP_TTLS=y + +# EAP-SIM for the integrated EAP server #CONFIG_EAP_SIM=y + +# EAP-AKA for the integrated EAP server #CONFIG_EAP_AKA=yQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# EAP-AKA' for the integrated EAP server # This requires +CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server #CONFIG_EAP_PAX=y + +# EAP-PSK for the integrated EAP server (this is _not_needed
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
for WPA-PSK)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server #CONFIG_EAP_SAKE=y + +# EAP-GPSK for the integrated EAP server #CONFIG_EAP_GPSK=y#
Quoted 5 lines
Include
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server # Note: DefaultOpenSSL
Quoted 3 lines
Quoted 3 lines
+package does not include support for all
the
+# functionality needed for EAP-FAST. If EAP-FAST is enabledwith
Quoted 2 lines
Quoted 2 lines
OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session-
Quoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 9 lines
ticket.patch)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars
CONFIG_WPS_UPNP=yQuoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) +#CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
+# a file that usually has extension .p12 or .pfx)
CONFIG_PKCS12=yQuoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# RADIUS authentication server. This provides access to theintegrated EAP
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition)#CONFIG_IEEE80211R=y
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Use the hostapd's IEEE 802.11 authentication (ACL), butwithout
+# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support CONFIG_IEEE80211N=y + +# Remove debugging code that is printing out debug messagesto
Quoted 7 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 7 lines
stdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting#CONFIG_NO_ACCOUNTING=y
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file on SIGUSR1signal #
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
+This can be used to reduce binary size at the cost of disabling a debugging
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging # This tracksuse of
Quoted 11 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 11 lines
+memory allocations and other registrations
and reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+#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
Quoted 7 lines
Quoted 7 lines
+enables use of libbfd to get more detailed symbols for the backtraces
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-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 -lzQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+#LIBS_c += -lbfd -liberty -lz +# +# + +CONFIG_NO_RANDOM_POOL=y +I just eye-balled this here but the config looks the same as
the config
Quoted 1 line
used in the hostap-daemon recipe. Same with the init file
below. So
Quoted 1 line
then maybe the better way to do this is to add the hostap-
daemon
Quoted 5 lines
directory to the FILESEXTRAPATHS. i.e. like:
FILESEXTRAPATHS_append:= "${THISDIR}/hostap-daemon:"I think the above line should work. Then you do not need to
add this
Quoted 2 lines
config and init files.
E.R: I will try this
Quoted 41 lines
Quoted 41 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/init
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +32
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}"Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+ exit 1 + ;; +esac + +exit 0(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx_git.bb
Quoted 2 lines
Same question about using the
_gitversion.E.R: Will be changed
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- line 1
Quoted 8 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemon recipefor
Quoted 6 lines
Quoted 6 lines
use with the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE 802.11management"
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemon donot
Quoted 14 lines
Quoted 14 lines
make this the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# of hostap +PV = "2.0-devel-ti" +Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" + +PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"If you are using a variable to select between the two versions
then why
Quoted 1 line
set the PROVIDES and RPROVIDES name? You are already setting
the
Quoted 1 line
packagegroups, etc to use hostap-daemon-wl18xx. Have you
Quoted 8 lines
tested that
Quoted 1 line
this does become the default wl6 version as well? Although,
the PV is
Quoted 1 line
set to the same between both versions which seems wrong.
packagegroups are not changing as the names of the packages provided by both wilink6 and wilink8 recipes are the same and there is no need to change them.
Sorry, you are right. I completely misread patch 8. So for the packages that don't have wl12xx in the name the approach seems sane. I still have an issue with things like wl18xx-firmware providing wl12xx-firmware. So my feedback was based on a mis-read of what you were doing but I think you still need to fixup package names where possible to not have the wl part in the name.
Quoted 54 lines
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git
Quoted 19 lines
Quoted 19 lines
\
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+ file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +16
-0+ file://defconfig \ + file://init" + +S = "${WORKDIR}/git/hostapd" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config } + +do_compile() { + make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.dQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} + install -m 0755 ${S}/hostapd ${D}${sbindir} + install -m 0755 ${S}/hostapd_cli ${D}${sbindir} + install -m 755 ${WORKDIR}/init${D}${sysconfdir}/init.d/hostapd
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+} + +# The default hostapd.conf file that is fetched fromupstream is
Quoted 3 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 3 lines
using
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+# "a" band which is not supported by the 1271 chip. +# modify it to use "g" band and default channel 6 and changethe
Quoted 17 lines
Quoted 9 lines
ssid from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-1+# "test" to a more meaningful name. + +updatercd_postinst () { +: +} --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Quoted 489 lines
-----Original Message-----
From: Maupin, Chase
Sent: Monday, March 18, 2013 6:02 PM
To: Reizer, Eyal; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx: hostap- daemon for ti wilink8 releaseQuoted 472 lines
-----Original Message-----
From: Reizer, Eyal
Sent: Monday, March 18, 2013 10:55 AM
To: Maupin, Chase; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:
hostap-daemon for ti wilink8 releaseHi,
Quoted 6 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:47 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:hostap-
Quoted 4 lines
daemon for ti wilink8 release
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago-
Quoted 4 lines
Quoted 4 lines
[email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:hostap-
Quoted 9 lines
daemon
Quoted 8 lines
for ti wilink8 release
From: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-daemon 2.0-devel from release r8.a6.01
This package replace the wilink6 package which is provided by
the
Quoted 1 line
Quoted 1 line
hostap-daemon recipe. Selection between the two is done using
a
Quoted 5 lines
Quoted 5 lines
"
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- ...d-change-conf-file-for-better-oob-startup.patch | 40+++++
Quoted 3 lines
Quoted 3 lines
.../hostap/hostap-daemon-wl18xx/defconfig | 183 ++++++++++++++++++++ .../hostap/hostap-daemon-wl18xx/init | 37++++
Quoted 22 lines
Quoted 22 lines
.../hostap/hostap-daemon-wl18xx_git.bb | 64 +++++++ 4 files changed, 324 insertions(+) create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
daemon-wl18xx/0001-hostapd-change-conf-file-for-better-oob- startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for better sdkout of
Quoted 3 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 3 lines
box startup
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +Change the default channel to 6 and change the ssid to amore
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.confindex
Quoted 4 lines
Quoted 4 lines
+f71a881..00843aa 100644
+---a/hostapd/hostapd.conf
++++b/hostapd/hostapd.conf
+@@ -83,7 +83,7 @@ ctrl_interface_group=0 ##### IEEE 802.11related
Quoted 4 lines
Quoted 4 lines
+configuration
#######################################
+
+ # SSID to be used in IEEE 802.11 management frames -ssid=test
Quoted 3 lines
Quoted 3 lines
++ssid=TexasInstruments_0001
+
+ # Country code (ISO/IEC 3166-1). Used to set regulatorydomain.
Quoted 4 lines
Quoted 4 lines
+ # Set as needed to indicate country in which device is operating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately withiwconfig.
Quoted 1 line
Quoted 1 line
+ # When set to 0, automatic channel selection will be
engaged. A
Quoted 6 lines
Quoted 6 lines
channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6
+
+ # Automatic channel selection (ACS) whitelist # (default:not set)
Quoted 5 lines
Quoted 5 lines
+--
+1.7.9.5meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig b/meta-
arago-
Quoted 1 line
Quoted 1 line
extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx/defconfig
Quoted 7 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- line 1
Quoted 7 lines
new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration # # This filelists the
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+configuration options that are used whenbuilding the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not tobe
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
included, i.e.,
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables likeCFLAGS
Quoted 2 lines
Quoted 2 lines
and LIBS can also
+# be modified from here. In most cass, these lines shoulduse +=
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
in order not
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver CONFIG_DRIVER_HOSTAP=y + +# Driver interface for wired authenticator#CONFIG_DRIVER_WIRED=y
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for madwifi driver#CONFIG_DRIVER_MADWIFI=y
Quoted 10 lines
Quoted 10 lines
+#CFLAGS += -I../../madwifi # change to the madwifi source directory
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version 1.1)which may not be
+# shipped with your distribution yet. If that is the case,you
Quoted 13 lines
Quoted 13 lines
need to build
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# newer libnl version and point the hostapd build to use it. +#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#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/libQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# Driver interface for no driver (e.g., RADIUS server only) +#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication
CONFIG_RSN_PREAUTH=yQuoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# PeerKey handshake for Station to Station Link (IEEE802.11e
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
DLS)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) # This versionis an
Quoted 3 lines
Quoted 3 lines
+experimental implementation based on IEEE 802.11w/D1.0
+# draft and is subject to change since the standard has notyet
Quoted 4 lines
Quoted 4 lines
been finalized.
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y +Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server
CONFIG_EAP_MSCHAPV2=yQuoted 10 lines
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +10
-0+ +# EAP-PEAP for the integrated EAP server CONFIG_EAP_PEAP=y + +# EAP-GTC for the integrated EAP server CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server CONFIG_EAP_TTLS=y + +# EAP-SIM for the integrated EAP server #CONFIG_EAP_SIM=y + +# EAP-AKA for the integrated EAP server #CONFIG_EAP_AKA=yQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# EAP-AKA' for the integrated EAP server # This requires +CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server #CONFIG_EAP_PAX=y + +# EAP-PSK for the integrated EAP server (this is _not_needed
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
for WPA-PSK)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server #CONFIG_EAP_SAKE=y + +# EAP-GPSK for the integrated EAP server #CONFIG_EAP_GPSK=y#
Quoted 5 lines
Include
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server # Note: DefaultOpenSSL
Quoted 3 lines
Quoted 3 lines
+package does not include support for all
the
+# functionality needed for EAP-FAST. If EAP-FAST is enabledwith
Quoted 2 lines
Quoted 2 lines
OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session-
Quoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 9 lines
ticket.patch)
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars
CONFIG_WPS_UPNP=yQuoted 9 lines
Quoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+ +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) #CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
+# a file that usually has extension .p12 or .pfx)
CONFIG_PKCS12=yQuoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 9 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# RADIUS authentication server. This provides access to theintegrated EAP
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition)#CONFIG_IEEE80211R=y
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +# Use the hostapd's IEEE 802.11 authentication (ACL), butwithout
+# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support CONFIG_IEEE80211N=y + +# Remove debugging code that is printing out debug messagesto
Quoted 7 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 7 lines
stdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting#CONFIG_NO_ACCOUNTING=y
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +8
-0+ +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file on SIGUSR1signal #
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
+This can be used to reduce binary size at the cost of disabling a debugging
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging # This tracksuse of
Quoted 11 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 11 lines
+memory allocations and other registrations
and reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/hostap/hostap- new file +7
-0+#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
Quoted 7 lines
Quoted 7 lines
+enables use of libbfd to get more detailed symbols for the backtraces
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-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 -lzQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+#LIBS_c += -lbfd -liberty -lz +# +# + +CONFIG_NO_RANDOM_POOL=y +I just eye-balled this here but the config looks the same as
the config
Quoted 1 line
used in the hostap-daemon recipe. Same with the init file
below. So
Quoted 1 line
then maybe the better way to do this is to add the hostap-
daemon
Quoted 5 lines
directory to the FILESEXTRAPATHS. i.e. like:
FILESEXTRAPATHS_append:= "${THISDIR}/hostap-daemon:"I think the above line should work. Then you do not need to
add this
Quoted 2 lines
config and init files.
E.R: I will try this
Quoted 41 lines
Quoted 41 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-wl18xx/init new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx/init
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +32
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *) + echo "Usage: $0 {start|stop|restart|reload}"Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-0+ exit 1 + ;; +esac + +exit 0(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx_git.bb
Quoted 2 lines
Same question about using the
_gitversion.E.R: Will be changed
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- line 1
Quoted 8 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes-connectivity/hostap/hostap- new file +0
-0daemon-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemon recipefor
Quoted 6 lines
Quoted 6 lines
use with the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE 802.11management"
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemon donot
Quoted 14 lines
Quoted 14 lines
make this the
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+# of hostap +PV = "2.0-devel-ti" +Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6
-0+PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" + +PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"If you are using a variable to select between the two versions
then why
Quoted 1 line
set the PROVIDES and RPROVIDES name? You are already setting
the
Quoted 1 line
packagegroups, etc to use hostap-daemon-wl18xx. Have you
Quoted 8 lines
tested that
Quoted 1 line
this does become the default wl6 version as well? Although,
the PV is
Quoted 1 line
set to the same between both versions which seems wrong.
packagegroups are not changing as the names of the packages provided by both wilink6 and wilink8 recipes are the same and there is no need to change them.
Quoted 7 lines
Sorry, you are right. I completely misread patch 8. So for the packages that don't have wl12xx in the name the approach seems sane. I still have an issue with things like wl18xx-firmware providing wl12xx- firmware. So my feedback was based on a mis-read of what you were doing but I think you still need to fixup package names where possible to not have the wl part in the name.
You are right about the package names, I just didn't want to start modifying wilink6 recipes for changing names at this point. Wanted to work only on adding wilink8 with minimal changes to the wilink6 build and allow selecting between them.
If this is needed I would probably need to change also ti-compat-wirelss-wl12xx recipe and update the recipes dependent upon it (like ti-compat-bluetooth). Will also need to change the packagegroups for the new names.
How do you suggest we proceed?
Quoted 54 lines
Quoted 54 lines
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 4 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+ +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git
Quoted 19 lines
Quoted 19 lines
\
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1
-0+ file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +16
-0+ file://defconfig \ + file://init" + +S = "${WORKDIR}/git/hostapd" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config } + +do_compile() { + make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.dQuoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 8 lines
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4
-0+ install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} + install -m 0755 ${S}/hostapd ${D}${sbindir} + install -m 0755 ${S}/hostapd_cli ${D}${sbindir} + install -m 755 ${WORKDIR}/init${D}${sysconfdir}/init.d/hostapd
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3
-0+} + +# The default hostapd.conf file that is fetched fromupstream is
Quoted 3 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-
Quoted 3 lines
using
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2
-0+# "a" band which is not supported by the 1271 chip. +# modify it to use "g" band and default channel 6 and changethe
Quoted 17 lines
Quoted 9 lines
ssid from
meta-arago-extras/recipes-connectivity/hostap/hostap- new file +5
-1+# "test" to a more meaningful name. + +updatercd_postinst () { +: +} --1.7.9.5
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 3/9] hostap-daemon-wl18xx: hostap-daemon for ti wilink8 release
Quoted 571 lines
-----Original Message-----
From: Reizer, Eyal
Sent: Monday, March 18, 2013 11:16 AM
To: Maupin, Chase; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:
hostap-daemon for ti wilink8 releaseQuoted 5 lines
-----Original Message-----
From: Maupin, Chase
Sent: Monday, March 18, 2013 6:02 PM
To: Reizer, Eyal; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:hostap-
Quoted 13 lines
daemon for ti wilink8 release
Quoted 11 lines
-----Original Message-----
From: Reizer, Eyal
Sent: Monday, March 18, 2013 10:55 AM
To: Maupin, Chase; Eyal Reizer; [email protected]
Subject: RE: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:
hostap-daemon for ti wilink8 releaseHi,
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago-
Quoted 14 lines
Quoted 14 lines
Quoted 4 lines
[email protected]] On Behalf Of Maupin, Chase
Sent: Monday, March 18, 2013 5:47 PM
To: Eyal Reizer; [email protected]
Subject: Re: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:hostap-
Quoted 4 lines
daemon for ti wilink8 release
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago-
Quoted 4 lines
Quoted 4 lines
[email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/9] hostap-daemon-wl18xx:Quoted 7 lines
Quoted 7 lines
hostap-
Quoted 6 lines
daemon
Quoted 5 lines
for ti wilink8 release
From: Eyal Reizer <[email protected]>
Add a new recipe for building the ti version of hostap-
daemon
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
2.0-devel from release r8.a6.01
This package replace the wilink6 package which is
provided by
Quoted 2 lines
Quoted 2 lines
the
Quoted 1 line
Quoted 1 line
hostap-daemon recipe. Selection between the two is done
using
Quoted 6 lines
Quoted 6 lines
a
Quoted 5 lines
Quoted 5 lines
"
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>---
...d-change-conf-file-for-better-oob-startup.patch |40
Quoted 2 lines
Quoted 2 lines
+++++
Quoted 1 line
Quoted 1 line
.../hostap/hostap-daemon-wl18xx/defconfig |
183
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
++++++++++++++++++++
.../hostap/hostap-daemon-wl18xx/init |37
Quoted 2 lines
Quoted 2 lines
++++
Quoted 1 line
Quoted 1 line
.../hostap/hostap-daemon-wl18xx_git.bb |
64
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
+++++++
4 files changed, 324 insertions(+) create mode 100644meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-
change-
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
conf-file-for-better-oob-startup.patch
create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-wl18xx/init create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_git.bb
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/0001-hostapd-
change-
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx/0001-
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-
Quoted 5 lines
hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..824d250meta-arago-extras/recipes- new file +0
-0connectivity/hostap/hostap-
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
daemon-wl18xx/0001-hostapd-change-conf-file-for-better-
oob-
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
meta-arago-extras/recipes-
Quoted 7 lines
startup.patch
meta-arago-extras/recipes- new file +1
-0@@ -0,0 +1,40 @@ +From f7c1b9d4e18dc650dd0b9da97a91f27f6a4bb5b7 Mon Sep 1700:00:00 2001
meta-arago-extras/recipes- new file +3
-0+From: Eyal Reizer <[email protected]> +Date: Sun, 17 Mar 2013 07:18:55 -0700 +Subject: [PATCH] hostapd: change conf file for bettersdk
Quoted 16 lines
Quoted 16 lines
out of
Quoted 3 lines
meta-arago-extras/recipes-
Quoted 3 lines
box startup
meta-arago-extras/recipes- new file +2
-0+ +Change the default channel to 6 and change the ssid to amore
Quoted 10 lines
meta-arago-extras/recipes-
Quoted 10 lines
meta-arago-extras/recipes- new file +10
-0+meaningful name. + +Upstream-status: inappropriate [SDK specific patch] + +Signed-off-by: Eyal Reizer <[email protected]> +--- + hostapd/hostapd.conf | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.confindex
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
+f71a881..00843aa 100644
+---a/hostapd/hostapd.conf
++++b/hostapd/hostapd.conf
+@@ -83,7 +83,7 @@ ctrl_interface_group=0 ##### IEEE802.11
Quoted 15 lines
Quoted 15 lines
related
Quoted 4 lines
Quoted 4 lines
+configuration
#######################################
+
+ # SSID to be used in IEEE 802.11 management frames -ssid=test
Quoted 3 lines
Quoted 3 lines
++ssid=TexasInstruments_0001
+
+ # Country code (ISO/IEC 3166-1). Used to set regulatorydomain.
Quoted 4 lines
Quoted 4 lines
+ # Set as needed to indicate country in which device is operating.
+@@ -107,7 +107,7 @@ hw_mode=g
+ # channel will need to be configured separately withiwconfig.
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line
+ # When set to 0, automatic channel selection will be
engaged. A
Quoted 6 lines
Quoted 6 lines
channel
+ # will be selected from the desiredhw_mode. +-channel=1
++channel=6
+
+ # Automatic channel selection (ACS) whitelist #(default:
Quoted 6 lines
Quoted 6 lines
not set)
Quoted 5 lines
Quoted 5 lines
+--
+1.7.9.5meta-arago-extras/recipes- new file +1
-0+(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/defconfig
b/meta-
Quoted 7 lines
Quoted 7 lines
arago-
Quoted 1 line
Quoted 1 line
extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx/defconfig
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
new file mode 100644
index 0000000..1ea96c4meta-arago-extras/recipes- new file +0
-0connectivity/hostap/hostap-
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
meta-arago-extras/recipes- line 1
Quoted 3 lines
daemon-wl18xx/defconfig
meta-arago-extras/recipes- new file +1
-0@@ -0,0 +1,183 @@ +# Example hostapd build time configuration # # This filelists the
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes- new file +1
-0+configuration options that are used whenbuilding the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are notto
Quoted 3 lines
Quoted 3 lines
be
Quoted 2 lines
Quoted 2 lines
included, i.e.,
+# just setting VARIABLE=n is not disabling thatvariable.
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+# +# This file is included in Makefile, so variables likeCFLAGS
Quoted 2 lines
Quoted 2 lines
and LIBS can also
+# be modified from here. In most cass, these linesshould
Quoted 5 lines
Quoted 5 lines
use +=
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
in order not
meta-arago-extras/recipes- new file +3
-0+# to override previous values of the variables. + +# Driver interface for Host AP driver
CONFIG_DRIVER_HOSTAP=yQuoted 7 lines
Quoted 7 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# Driver interface for wired authenticator#CONFIG_DRIVER_WIRED=y
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# Driver interface for madwifi driver#CONFIG_DRIVER_MADWIFI=y
Quoted 1 line
Quoted 1 line
+#CFLAGS += -I../../madwifi # change to the madwifi
source
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
meta-arago-extras/recipes-
Quoted 7 lines
directory
meta-arago-extras/recipes- new file +2
-0+ +# Driver interface for drivers using the nl80211 kernelinterface
meta-arago-extras/recipes- new file +3
-0+CONFIG_DRIVER_NL80211=y +CONFIG_LIBNL20=y +# driver_nl80211.c requires a rather new libnl (version1.1)
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
which may not be
+# shipped with your distribution yet. If that is thecase,
Quoted 3 lines
Quoted 3 lines
you
Quoted 2 lines
Quoted 2 lines
need to build
+# newer libnl version and point the hostapd build to useit.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
meta-arago-extras/recipes-
Quoted 5 lines
meta-arago-extras/recipes- new file +5
-0+#LIBNL=/usr/src/libnl +#CFLAGS += -I$(LIBNL)/include +#LIBS += -L$(LIBNL)/lib + +# Driver interface for FreeBSD net80211 layer (e.g.,Atheros
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-
Quoted 8 lines
driver)
meta-arago-extras/recipes- new file +7
-0+#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 no driver (e.g., RADIUS serveronly)
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
meta-arago-extras/recipes-
Quoted 6 lines
meta-arago-extras/recipes- new file +6
-0+#CONFIG_DRIVER_NONE=y + +# IEEE 802.11F/IAPP +CONFIG_IAPP=y + +# WPA2/IEEE 802.11i RSN pre-authentication
CONFIG_RSN_PREAUTH=yQuoted 7 lines
Quoted 7 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# PeerKey handshake for Station to Station Link (IEEE802.11e
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
DLS)
meta-arago-extras/recipes- new file +3
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) # Thisversion
Quoted 4 lines
Quoted 4 lines
is an
Quoted 3 lines
Quoted 3 lines
+experimental implementation based on IEEE 802.11w/D1.0
+# draft and is subject to change since the standard hasnot
Quoted 14 lines
Quoted 14 lines
yet
Quoted 4 lines
Quoted 4 lines
been finalized.
meta-arago-extras/recipes- new file +3
-0+# Driver support is also needed for IEEE 802.11w. +#CONFIG_IEEE80211W=y +Quoted 8 lines
meta-arago-extras/recipes-
Quoted 8 lines
meta-arago-extras/recipes- new file +8
-0+# Integrated EAP server +CONFIG_EAP=y + +# EAP-MD5 for the integrated EAP server CONFIG_EAP_MD5=y + +# EAP-TLS for the integrated EAP server CONFIG_EAP_TLS=y + +# EAP-MSCHAPv2 for the integrated EAP server
CONFIG_EAP_MSCHAPV2=yQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# EAP-PEAP for the integrated EAP server
CONFIG_EAP_PEAP=yQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
meta-arago-extras/recipes- new file +4
-0+ +# EAP-GTC for the integrated EAP server CONFIG_EAP_GTC=y + +# EAP-TTLS for the integrated EAP server
CONFIG_EAP_TTLS=yQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# EAP-SIM for the integrated EAP server#CONFIG_EAP_SIM=y
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# EAP-AKA for the integrated EAP server#CONFIG_EAP_AKA=y
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-arago-extras/recipes-
Quoted 6 lines
meta-arago-extras/recipes- new file +6
-0+ +# EAP-AKA' for the integrated EAP server # This requires +CONFIG_EAP_AKA to be enabled, too. +#CONFIG_EAP_AKA_PRIME=y + +# EAP-PAX for the integrated EAP server#CONFIG_EAP_PAX=y
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# EAP-PSK for the integrated EAP server (this is _not_needed
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
for WPA-PSK)
meta-arago-extras/recipes- new file +3
-0+#CONFIG_EAP_PSK=y + +# EAP-SAKE for the integrated EAP server#CONFIG_EAP_SAKE=y
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# EAP-GPSK for the integrated EAP server#CONFIG_EAP_GPSK=y
Quoted 10 lines
Quoted 10 lines
#
Quoted 5 lines
Include
meta-arago-extras/recipes-
Quoted 4 lines
meta-arago-extras/recipes- new file +4
-0+support for optional SHA256 cipher suite in EAP-GPSK +#CONFIG_EAP_GPSK_SHA256=y + +# EAP-FAST for the integrated EAP server # Note: DefaultOpenSSL
Quoted 3 lines
Quoted 3 lines
+package does not include support for all the
+# functionality needed for EAP-FAST. If EAP-FAST isenabled
Quoted 24 lines
Quoted 24 lines
with
Quoted 2 lines
Quoted 2 lines
OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.9-session-
Quoted 9 lines
meta-arago-extras/recipes-
Quoted 9 lines
ticket.patch)
meta-arago-extras/recipes- new file +8
-0+# to add the needed functions. +#CONFIG_EAP_FAST=y + +# Wi-Fi Protected Setup (WPS) +CONFIG_WPS=y +# Enable WSC 2.0 support +CONFIG_WPS2=y +# Enable UPnP support for external WPS Registrars
CONFIG_WPS_UPNP=yQuoted 9 lines
Quoted 9 lines
meta-arago-extras/recipes- new file +7
-0+ +# EAP-IKEv2 +#CONFIG_EAP_IKEV2=y + +# Trusted Network Connect (EAP-TNC) #CONFIG_EAP_TNC=y + +# PKCS#12 (PFX) support (used to read private key andcertificate file from
+# a file that usually has extension .p12 or .pfx)
CONFIG_PKCS12=yQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# RADIUS authentication server. This provides access tothe
Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
meta-arago-extras/recipes-
Quoted 7 lines
integrated EAP
meta-arago-extras/recipes- new file +6
-0+# server from external hosts using RADIUS. +#CONFIG_RADIUS_SERVER=y + +# Build IPv6 support for RADIUS operations CONFIG_IPV6=y + +# IEEE Std 802.11r-2008 (Fast BSS Transition)#CONFIG_IEEE80211R=y
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# Use the hostapd's IEEE 802.11 authentication (ACL),but
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
without
+# the IEEE 802.11 Management capability (e.g., madwifior
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
FreeBSD/net80211)
meta-arago-extras/recipes- new file +3
-0+#CONFIG_DRIVER_RADIUS_ACL=y + +# IEEE 802.11n (High Throughput) support
CONFIG_IEEE80211N=yQuoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-arago-extras/recipes-
Quoted 2 lines
meta-arago-extras/recipes- new file +2
-0+ +# Remove debugging code that is printing out debugmessages
Quoted 9 lines
Quoted 9 lines
to
Quoted 7 lines
meta-arago-extras/recipes-
Quoted 7 lines
stdout.
+# This can be used to reduce the size of the hostapd considerably if debuggingmeta-arago-extras/recipes- new file +4
-0+# code is not needed. +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove support for RADIUS accounting#CONFIG_NO_ACCOUNTING=y
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-
Quoted 8 lines
meta-arago-extras/recipes- new file +8
-0+ +# Remove support for RADIUS +#CONFIG_NO_RADIUS=y + +# Remove support for VLANs +#CONFIG_NO_VLAN=y + +# Remove support for dumping state into a file onSIGUSR1
Quoted 7 lines
Quoted 7 lines
signal #
Quoted 6 lines
meta-arago-extras/recipes-
Quoted 6 lines
+This can be used to reduce binary size at the cost of disabling a debugging
meta-arago-extras/recipes- new file +4
-0+# option. +#CONFIG_NO_DUMP_STATE=y + +# Enable tracing code for developer debugging # Thistracks
Quoted 12 lines
Quoted 12 lines
use of
Quoted 11 lines
meta-arago-extras/recipes-
Quoted 11 lines
+memory allocations and other registrations
and reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes- new file +7
-0+#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#
Quoted 16 lines
Quoted 16 lines
This
Quoted 15 lines
meta-arago-extras/recipes-
Quoted 13 lines
+enables use of libbfd to get more detailed symbols for the backtraces
meta-arago-extras/recipes- new file +11
-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 +# +# + +CONFIG_NO_RANDOM_POOL=y +I just eye-balled this here but the config looks the same
as
Quoted 10 lines
Quoted 10 lines
the config
Quoted 1 line
used in the hostap-daemon recipe. Same with the init file
below. So
Quoted 1 line
then maybe the better way to do this is to add the hostap-
daemon
Quoted 5 lines
directory to the FILESEXTRAPATHS. i.e. like:
FILESEXTRAPATHS_append:= "${THISDIR}/hostap-daemon:"I think the above line should work. Then you do not need
to
Quoted 8 lines
Quoted 8 lines
add this
Quoted 2 lines
config and init files.
E.R: I will try this
Quoted 2 lines
Quoted 2 lines
(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx/init b/meta-
arago-
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx/init
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
meta-arago-extras/recipes-
Quoted 4 lines
new file mode 100644
index 0000000..79f74b6meta-arago-extras/recipes- new file +0
-0connectivity/hostap/hostap-
Quoted 33 lines
Quoted 33 lines
Quoted 33 lines
Quoted 33 lines
daemon-wl18xx/init
meta-arago-extras/recipes- new file +31
-0@@ -0,0 +1,37 @@ +#!/bin/sh +DAEMON=/usr/sbin/hostapd +NAME=hostapd +DESC="HOSTAP Daemon" +ARGS="/etc/hostapd.conf -B" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon -S -x $DAEMON -- $ARGS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon -K -x $DAEMON + echo "$NAME." + ;; + restart) + $0 stop + $0 start + ;; + reload) + echo -n "Reloading $DESC: " + killall -HUP $(basename ${DAEMON}) + echo "$NAME." + ;; + *)Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes- new file +6
-0+ echo "Usage: $0 {start|stop|restart|reload}" + exit 1 + ;; +esac + +exit 0(quoted diff) +0
-0connectivity/hostap/hostap-daemon-wl18xx_git.bb b/meta-
arago-
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
extras/recipes-connectivity/hostap/hostap-daemon-
wl18xx_git.bb
Quoted 2 lines
Same question about using the
_gitversion.Quoted 7 lines
Quoted 7 lines
E.R: Will be changed
Quoted 5 lines
meta-arago-extras/recipes-
Quoted 5 lines
new file mode 100644
index 0000000..6d1d5ebmeta-arago-extras/recipes- new file +0
-0connectivity/hostap/hostap-
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
meta-arago-extras/recipes- line 1
Quoted 3 lines
daemon-wl18xx_git.bb
meta-arago-extras/recipes- new file +1
-0@@ -0,0 +1,64 @@ +# This is a TI specific version of the hostap-daemonrecipe
Quoted 6 lines
Quoted 6 lines
for
Quoted 5 lines
meta-arago-extras/recipes-
Quoted 5 lines
use with the
meta-arago-extras/recipes- new file +4
-0+# wl18xx wlan and bluetooth module. + +HOMEPAGE = "http://hostap.epitest.fi" +DESCRIPTION = "User space daemon for extended IEEE802.11
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
meta-arago-extras/recipes-
Quoted 9 lines
management"
meta-arago-extras/recipes- new file +3
-0+SECTION = "kernel/userland" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
meta-arago-extras/recipes- new file +4
-0+ +DEPENDS = "libnl openssl" + +# Since this is a TI customized version of hostap-daemondo
Quoted 15 lines
Quoted 15 lines
not
Quoted 14 lines
Quoted 14 lines
make this the
meta-arago-extras/recipes- new file +9
-0+# default +DEFAULT_PREFERENCE = "-1" + +inherit update-rc.d +INITSCRIPT_NAME="hostapd" + +CONFFILES_${PN} += "${sysconfdir}/hostapd.conf" + +# Add TI to the end to make it clear that this is a TIcustomized version
meta-arago-extras/recipes- new file +3
-0+# of hostap +PV = "2.0-devel-ti" +Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-
Quoted 6 lines
meta-arago-extras/recipes- new file +6
-0+PR = "r1+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" + +PROVIDES += "hostap-daemon" +RPROVIDES += "hostap-daemon"If you are using a variable to select between the two
versions
Quoted 2 lines
Quoted 2 lines
then why
Quoted 1 line
set the PROVIDES and RPROVIDES name? You are already
setting
Quoted 4 lines
Quoted 4 lines
the
Quoted 1 line
packagegroups, etc to use hostap-daemon-wl18xx. Have you
tested that
Quoted 1 line
this does become the default wl6 version as well?
Although,
Quoted 4 lines
Quoted 4 lines
the PV is
Quoted 1 line
set to the same between both versions which seems wrong.
packagegroups are not changing as the names of the packages
provided
Quoted 1 line
Quoted 1 line
by both wilink6 and wilink8 recipes are the same and there is
no need
Quoted 3 lines
Quoted 1 line
to change them.
Sorry, you are right. I completely misread patch 8. So for
the
Quoted 1 line
packages that don't have wl12xx in the name the approach seems
sane. I
Quoted 1 line
still have an issue with things like wl18xx-firmware providing
wl12xx-
Quoted 1 line
firmware. So my feedback was based on a mis-read of what you
were
Quoted 1 line
doing but I think you still need to fixup package names where
possible
Quoted 2 lines
to not have the wl part in the name.
Quoted 9 lines
You are right about the package names, I just didn't want to start modifying wilink6 recipes for changing names at this point. Wanted to work only on adding wilink8 with minimal changes to the wilink6 build and allow selecting between them.
If this is needed I would probably need to change also ti-compat- wirelss-wl12xx recipe and update the recipes dependent upon it (like ti-compat-bluetooth).
Will also need to change the packagegroups for the new names. How do you suggest we proceed?
My ideal is actually to update to generic package names to avoid confusion. I'll let Franklin comment here as well though.
Quoted 58 lines
Quoted 34 lines
Quoted 34 lines
Quoted 5 lines
meta-arago-extras/recipes-
Quoted 5 lines
meta-arago-extras/recipes- new file +2
-0+ +SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git
Quoted 19 lines
Quoted 19 lines
\
meta-arago-extras/recipes- new file +1
-0+ file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
meta-arago-extras/recipes- new file +16
-0+ file://defconfig \ + file://init" + +S = "${WORKDIR}/git/hostapd" + +do_configure() { + install -m 0644 ${WORKDIR}/defconfig ${S}/.config + echo "CFLAGS += -I${STAGING_INCDIR}" >> .config + echo "LIBS += -L${STAGING_LIBDIR}" >> .config } + +do_compile() { + make +} + +do_install() { + install -d ${D}${sbindir} ${D}${sysconfdir}/init.dQuoted 8 lines
meta-arago-extras/recipes-
Quoted 8 lines
meta-arago-extras/recipes- new file +4
-0+ install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} + install -m 0755 ${S}/hostapd ${D}${sbindir} + install -m 0755 ${S}/hostapd_cli ${D}${sbindir} + install -m 755 ${WORKDIR}/init${D}${sysconfdir}/init.d/hostapd
meta-arago-extras/recipes- new file +3
-0+} + +# The default hostapd.conf file that is fetched fromupstream is
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
meta-arago-extras/recipes-
Quoted 3 lines
using
meta-arago-extras/recipes- new file +2
-0+# "a" band which is not supported by the 1271 chip. +# modify it to use "g" band and default channel 6 andchange
Quoted 10 lines
Quoted 10 lines
the
Quoted 9 lines
Quoted 9 lines
ssid from
meta-arago-extras/recipes- new file +5
-1+# "test" to a more meaningful name. + +updatercd_postinst () { +: +} --1.7.9.5
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
PATCH 4/9 wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Add a recipe for building a ti specific 2.0-devel version for Wilink8.
This package replace the wilink6 package which is provided by the wpa-supplicant recipe.
Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf.
--- .../wpa-supplicant-wl18xx/99_wpa_supplicant | 1 + .../wpa-supplicant-wl18xx/defaults-sane | 8 + .../wpa-supplicant/wpa-supplicant-wl18xx/defconfig | 430 ++++++++++++ .../fi.epitest.hostap.WPASupplicant.service | 4 + .../fi.w1.wpa_supplicant1.service | 4 + .../wpa-supplicant-wl18xx/kill_wpa_supplicant.sh | 9 + .../wpa-supplicant-wl18xx/wpa-supplicant.sh | 85 +++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf | 690 ++++++++++++++++++++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf-sane | 7 + .../wpa-supplicant/wpa-supplicant-wl18xx_git.bb | 23 + 10 files changed, 1261 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defaults-sane create mode 100755 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/fi.epitest.hostap.WPASupplicant.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant new file +1 -0
@@ -0,0 +1 @@ +d root root 0700 /var/run/wpa_supplicant none
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defaults-sane new file +8 -0
@@ -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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig new file +430 -0
430 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/fi.epitest.hostap.WPASupplicant.service new file +4 -0
@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.epitest.hostap.WPASupplicant +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -c/etc/wpa_supplicant.conf -iwlan0 -B -u +User=root
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service new file +4 -0
@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.w1.wpa_supplicant1 +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -c/etc/wpa_supplicant.conf -iwlan0 -B -u +User=root
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh new file +9 -0
@@ -0,0 +1,9 @@ +#check if the wpa_suppicant is already running +#if it does, stop it. +StationRunning=`ps | grep -c wpa_supplicant` +if [ $StationRunning -eq 2 ]; then + killall wpa_supplicant +fi + +# start the application +$*
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh new file +85 -0
85 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf new file +690 -0
690 lines not on this page · raw message
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane 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 +}
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +# This is a TI specific version of the wpa-supplicant recipe for use with the +# wl18xx wlan module. + +require wpa-supplicant.inc + +LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \ + file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \ + file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba" + +# To prevent users from accidently picking up this customized version of +# wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +SRCREV = "ol_r8.a6.01" +PR = "r3+gitr${SRCREV}" +# Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant. +PV = "2.0-devel-ti" + +PROVIDES_${PN}+= "wpa-supplicant" +RPROVIDES_${PN} += "wpa-supplicant" +RRECOMMENDS_${PN} = "wpa-supplicant" +RDEPENDS_${PN} = "wpa-supplicant-cli wpa-supplicant-passphrase"
Signature · 1 line
1.7.9.5
Re: [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
Quoted 13 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8From: Eyal Reizer <[email protected]>
Add a recipe for building a ti specific 2.0-devel version for Wilink8.
Quoted 7 lines
This package replace the wilink6 package which is provided by the wpa-supplicant recipe.
Selection between the two is done using a "WILINK_VERSION" switch added
to arago.conf.Signed-off-by Eyal Reizer <[email protected]>
Overall I have the same questions as for the hostap-daemon recipe.
Quoted 1,719 lines
--- .../wpa-supplicant-wl18xx/99_wpa_supplicant | 1 + .../wpa-supplicant-wl18xx/defaults-sane | 8 + .../wpa-supplicant/wpa-supplicant-wl18xx/defconfig | 430 ++++++++++++ .../fi.epitest.hostap.WPASupplicant.service | 4 + .../fi.w1.wpa_supplicant1.service | 4 + .../wpa-supplicant-wl18xx/kill_wpa_supplicant.sh | 9 + .../wpa-supplicant-wl18xx/wpa-supplicant.sh | 85 +++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf | 690 ++++++++++++++++++++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf-sane | 7 + .../wpa-supplicant/wpa-supplicant-wl18xx_git.bb | 23 + 10 files changed, 1261 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defaults-sane create mode 100755 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_git.bb
(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/99_wpa_supplicant
new file mode 100644
index 0000000..6ff4dd8meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/99_wpa_supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1 @@ +d root root 0700 /var/run/wpa_supplicant none(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defaults-sane b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defaults-sane
new file mode 100644
index 0000000..67c4cbdmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defaults-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0@@ -0,0 +1,8 @@ +# Useful flags: +# -i <ifname> Interface (required, unless specified inconfig)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defconfig
new file mode 100755
index 0000000..b982e2ameta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,430 @@ +# Example wpa_supplicant build time configuration +# +# This file lists the configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# be modified from here. In most cases, these lines should use += in order not +# to override previous values of the variables. + + +# Uncomment following two lines and fix the paths if you haveinstalled OpenSSL
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filesfrom OpenSSL, but
+# the kerberos files are not in the default include path. Following line can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +###############################################################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +#### openwrt (e.g., for Linksys WRT54G)#######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +###############################################################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 Linuxdriver") supportsBG
+# Linux wireless extensions and does not need (or even work) with the oldmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 kernelinterface
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DRIVER_NL80211=y + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+#CONFIG_DRIVER_BSD=y +#CFLAGS += -I/usr/local/include +#LIBS += -L/usr/local/lib +#LIBS_p += -L/usr/local/libBG +#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 formingw target
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 startingmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+# wpa_supplicant. +# CONFIG_USE_NDISUIO=y + +# Driver interface for development testing +#CONFIG_DRIVER_TEST=y + +# Include client MLME (management frame processing) for testdriver
+# This can be used to test MLME operations in hostapd with the test interface.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anyEAP method is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +20
-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 allthe
+# 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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +40
-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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+#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 andcertificate file from
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 testingBG +#CONFIG_EAPOL_TEST=y + +# Select control interface backend for external programs, e.g,
wpa_cli:meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 notincluded in the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# build. +CONFIG_CTRL_IFACE=y + +# Include support for GNU Readline and History Libraries in
wpa_cli.
+# When building awpa_clibinary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# the resulting binary. +#CONFIG_READLINE=y + +# Remove debugging code that is printing out debug message tostdout.
+# This can be used to reduce the size of thewpa_supplicantconsiderably
+# if debugging code is not needed. The size reduction can be around 35%meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# (e.g., 90 kB). +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove WPA support, e.g., for wired-only IEEE 802.1Xsupplicant, to save
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 35-50 kB in code size. +#CONFIG_NO_WPA=y + +# Remove WPA2 support. This allows WPA to be used, but removesWPA2 code to
+# save about 1 kB in code size when building only WPA-Personal (no EAP support)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 removingsupport for
+# converting ASCII passphrases into PSK. If this functionality is removed, the
+# PSK can only be configured as the 64-octet hexstring (e.g., frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 sizeby about 1 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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: theconfiguration file
+# path is given on command line, not here; this option is
just used to
+# select the backend that allows configuration files to be
used)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# winreg = Windows registry (see win_example.reg for an example) +CONFIG_BACKEND=file + +# Remove configuration write functionality (i.e., to allow theconfiguration
+# 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 bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# about 3.5 kB. +#CONFIG_NO_CONFIG_WRITE=y + +# Remove support for configuration blobs to reduce code size byabout 1.5 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 specificfunctions
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +21
-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.11eDLS)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# internal = Internal TLSv1 implementation (experimental) +# none = Empty template +#CONFIG_TLS=openssl + +# Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
+# You needCONFIG_TLS=gnutlsfor 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
+# ofwpa_supplicantand GnuTLS if this option is enabled. BSD license may notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# apply for distribution of the resulting binary. +#CONFIG_GNUTLS_EXTRA=y + +# If CONFIG_TLS=internal is used, additional library and includepaths are
+# needed for LibTomMath. Alternatively, an integrated, minimal version of
+# LibTomMath can be used. See beginning oflibtommath.cfor details on benefitsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, theinternal LibTomMath
+# can be configured to include faster routines for exptmod, sqr, and div tometa-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# speed up DH and RSA calculation considerably +#CONFIG_INTERNAL_LIBTOMMATH_FAST=y + +# Include NDIS event processing through WMI intowpa_supplicant/wpasvc.
+# This is only for Windows builds and requires WMI-related header files andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +16
-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 sharedlibraries.
+# 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
+# be loaded in the beginning of thewpa_supplicantconfiguration file
+# (seeload_dynamic_eapparameter in the example file) before being used inmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# the network blocks. +# +# Note that some shared parts of EAP methods are included in themain 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
+# in the main build to be able to load these methods dynamically.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Please also note that using dynamic libraries will increasethe total binary
+# size. Thus, it may not be the best option for targets that have limitedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DEBUG_FILE=y + +# Enable privilege separation (see README 'Privilege separation'for details)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+#CONFIG_PRIVSEP=y + +# Enable mitigation against certain attacks against TKIP bydelaying Michael
+# MIC error reports by a random amount of time between 0 and 60 secondsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+#CONFIG_DELAYED_MIC_ERROR_REPORT=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +14
-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 + +# for p2p +CONFIG_P2P=y +CONFIG_AP=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y +(quoted diff) +0
-0supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service
new file mode 100644
index 0000000..fb3f917meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.epitest.hostap.WPASupplicant.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.epitest.hostap.WPASupplicant +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx/fi.w1.wpa_supplicant1.service
new file mode 100644
index 0000000..0bb1056meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.w1.wpa_supplicant1 +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.shb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh
new file mode 100644
index 0000000..aab6474meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/kill_wpa_supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-0@@ -0,0 +1,9 @@ +#check if the wpa_suppicant is already running +#if it does, stop it. +StationRunning=`ps | grep -c wpa_supplicant` +if [ $StationRunning -eq 2 ]; then + killall wpa_supplicant +fi + +# start the application +$*(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/wpa-supplicant.shb/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh
new file mode 100644
index 0000000..4f1001emeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa-supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 ormissing from $WPA_SUP_BIN"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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")meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ elif [ -z "$IF_WPA_DRIVER" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: wpa-driver not provided,using \"wext\""
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --start --quiet \ + --name $WPA_SUP_PNAME --startas $WPA_SUP_BIN --pidfile $WPA_SUP_PIDFILE \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+ -- $WPA_SUP_OPTIONS $WPA_SUP_CONF -D$IF_WPA_DRIVER
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+ fi + + # if the interface socket exists, then wpa_supplicant wasinvoked successfully
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: ctrl_interface socketlocated at $WPA_COMMON_CTRL_IFACE/$IFACE"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --stop --quiet \ + --name $WPA_SUP_PNAME --pidfile$WPA_SUP_PIDFILE
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+ + 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
supplicant/wpa-supplicant-wl18xx/wpa_supplicant.confb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf
new file mode 100644
index 0000000..f0c993dmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa_supplicant.confmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,690 @@ +##### Example wpa_supplicant configuration file###############################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This file describes configuration file format and lists allavailable option.
+# Please also take a look at simpler configuration examples in 'examples'meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# subdirectory. +# +# Empty lines and lines starting with # are ignored + +# NOTE! This file may contain password information and shouldprobably be made
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# readable only by root user on multiuser systems. + +# Note: All file paths in this configuration file should usefull (absolute,
+# not relative to working directory) path in order to allow working directory
+# to be changed. This can happen ifwpa_supplicantis run in the background.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# Whether to allow wpa_supplicant to update (overwrite)configuration
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This option can be used to allow wpa_supplicant to overwriteconfiguration
+# file whenever configuration is changed (e.g., new network block is added with
+#wpa_cliorwpa_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 frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# managewpa_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 ismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# enabled. +# +# For UNIX domain sockets (default on Linux and BSD): This is adirectory 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_supplicantprocesses can be run at the same time if more than onemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# interface is used. +# /var/run/wpa_supplicant is the recommended directory forsockets and by
+# default,wpa_cliwill use it when trying to connect withwpa_supplicant.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Access control for the control interface can be configured bysetting the
+# directory to allow only members of a group to use sockets. This way, it is
+# possible to runwpa_supplicantas 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_supplicantis 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
+# value it got by default when the directory or socket was created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# When configuring both the directory and group, use followingformat:
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beignored. This
+# variable is just used to select that the control interface is to be created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 thesecurity descriptor
+# for controlling access to the control interface. Security descriptor can be
+# set using Security Descriptor String Format (see
http://msdn.microsoft.com/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# library/default.asp?url=/library/en-us/secauthz/security/ +# security_descriptor_string_format.asp). The descriptor stringneeds 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 moremeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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-2004which 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 makewpa_supplicantinteroperate with these APs, the version number is set
+# to 1 by default. This configuration value can be used to set it to the newmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# version (2). +eapol_version=1 + +# AP scanning/selection +# By default, wpa_supplicant requests driver to perform APscanning and then
+# uses the scan results to select a suitable AP. Another alternative is to
+# allow the driver to take care of AP scanning and selection and use
+#wpa_supplicantjust to process EAPOL frames based on IEEE 802.11 associationmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 IEEE802.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 mustmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# also be used when using wired Ethernet drivers. +# 2: like 0, but associate with APs using security policy andSSID (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
+# explicit security policy (i.e., only one option in the
lists) formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 EAPmethods that
+# support it. This variable can be used to disable fast re- authentication.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 pkcs11engine
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# are included statically in the build, so these lines are not neededmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 interaceparameters. The
+# format is specific to the selected driver interface. This field is not usedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+#dot11RSNAConfigPMKReauthThreshold=70 +# Timeout for security association negotiation in seconds;default 60
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+#dot11RSNAConfigSATimeout=60 + +# network block +# +# Each network (usually AP's sharing the same SSID) isconfigured as a separate
+# block in this configuration file. The network blocks are in preference ordermeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# e.g., with wpa_cli or wpa_gui) +# +# id_str: Network identifier string for external scripts. Thisvalue is passed
+# to external action script throughwpa_cliasWPA_ID_STR
environment
+# variable to make it easier to do network specific
configuration.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# ssid: SSID (mandatory); either as an ASCII string with doublequotation or
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# as hex string; network name +# +# scan_ssid: +# 0 = do not scan this SSID with specific Probe Requestframes (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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# bssid: BSSID (optional); if set, this network block is usedonly when
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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). Ifsome of the
+# networks are more desirable, this field can be used to change the order in
+# whichwpa_supplicantgoes 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 securitymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# policy, signal strength, etc. +# Please note that AP scanning with scan_ssid=1 and ap_scan=2mode are not
+# using this priority to select the order for scanning. Instead, they try themeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 1 = IBSS (ad-hoc, peer-to-peer) +# Note: IBSS can only be used with key_mgmt NONE (plaintext andstatic WEP)
+# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition,ap_scanhas
+# 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 notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forRSN)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# If not set, this defaults to: WPA RSN +# +# key_mgmt: list of accepted authenticated key managementprotocols
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# WPA-PSK = WPA pre-shared key (this requires 'psk' field) +# WPA-EAP = WPA using EAP authentication (this can use anexternal
+# program, e.g., Xsupplicant, for IEEE 802.1X EAP
Authentication
+# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally) dynamicallymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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 authenticationalgorithms
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 LEAPenabled if
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, IEEE802.11i/D7.0]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] +# NONE = Use only Group Keys (deprecated, should not be includedif APs support
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# pairwise keys) +# If not set, this defaults to: CCMP TKIP +# +# group: list of accepted group (broadcast/multicast) ciphersfor WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 [IEEE802.11]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, 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 betweenmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 generate256-bit keys
+# from ASCII passphrase. This process uses lot of CPU andwpa_supplicant
+# startup and reconfiguration time can be optimized by generating the PSK onlymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 setto 0 for the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 (IEEE802.11e DLS) is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# allowed. This is only used with RSN/WPA2. +# 0 = disabled (default) +# 1 = enabled +#peerkey=1 +# +# Following fields are only used with internal EAPimplementation.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# eap: space-separated list of accepted EAP methods +# MD5 = EAP-MD5 (unsecure and does not generate keyingmaterial ->
+# cannot be used with WPA; to be used as a Phase
2 methodmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# with EAP-PEAP or EAP-TTLS) +# MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately withWPA; to be used
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 orPAP/CHAP/MSCHAP/MSCHAPV2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# authentication) +# If not set, all compiled in methods are allowed. +# +# identity: Identity string for EAP +# anonymous_identity: Anonymous identity string for EAP (to beused as the
+# unencrypted identity with EAP types that support different
tunnelledmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filecan have one
+# or more trusted CA certificates. Ifca_certandca_pathare
not
+# included, server certificate will not be verified. This is
insecure and
+# a trusted CA certificate should always be configured when
using
+# EAP-TLS/TTLS/PEAP. Full path should be used since working
directory maymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# change when wpa_supplicant is run in the background. +# On Windows, trusted CA certificates can be loaded from thesystem
+# certificate store by setting this to cert_store://<name>,
e.g.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 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
+# (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_certmay also be
included in thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-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 changewhen
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# wpa_supplicant is run in the background. +# Alternatively, a named configuration blob can be used bysetting this
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 whenwpa_supplicantis run in the
background.
+# Windows certificate store can be used by leavingclient_certout andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 runningwpa_supplicantas an application,
the user
+# certificate store (My user account) is used, whereas
computer store
+# (Computer account) is used when running wpasvc as a
service.
+# Alternatively, a named configuration blob can be used by
setting thismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# to blob://<blob name>. +# private_key_passwd: Password for private key file (if leftout, this will be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 settingparameters for an
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# ephemeral DH key exchange. In most cases, the default RSA +# authentication does not use this configuration. However, itis 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 bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# automatically converted into DH params. +# subject_match: Substring to be matched against the subject ofthe
+# authentication server certificate. If this string is set,
the server
+# sertificate is only accepted if it contains this string in
the subject.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# The subject string is in following format: +# /C=US/ST=CA/L=San Francisco/CN=TestAS/[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.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# (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
+# PEAPv1 implementation seem to be using the old label,
"client EAP
+# encryption", andwpa_supplicantis now using that as the
default value.
+# Some servers, e.g., Radiator, may require peaplabel=1
configuration to
+# 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 thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 toinclude
+# TLS Message Length field in all TLS messages even if they
are notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# fragmented. +# sim_min_num_chal=3 can be used to configure EAP-SIM torequire three
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 ormeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS) +# Following certificate/private key fields are used in innerPhase2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication when using EAP-TTLS or EAP-PEAP. +# ca_cert2: File path to CA certificate file. This file can haveone or more
+# trusted CA certificates. Ifca_cert2andca_path2are not
included,
+# server certificate will not be verified. This is insecure
and a trustedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-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 ofthe
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication server certificate. +# altsubject_match2: Substring to be matched against thealternative subject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# name of the authentication server certificate. +# +# fragment_size: Maximum EAP fragment size in bytes (default1398).
+# This value limits the fragment size for EAP methods that
support
+# fragmentation (e.g., EAP-TLS and EAP-PEAP). This value
should be set
+# small enough to make the EAP messages fit in MTU of the
network
+# interface used for EAPOL. The default value is suitable for
mostmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# cases. +# +# EAP-PSK variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI +# +# EAP-PAX variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# +# EAP-SAKE variables: +# eappsk: 32-byte (256-bit, 64 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI (ID_Client) +# +# EAP-FAST variables: +# pac_file: File path for the PAC entries. wpa_supplicant willneed to be able
+# 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
+# working directory may change whenwpa_supplicantis run in
the
+# background. Alternatively, a named configuration blob can
be used bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# setting this to blob://<blob name> +# phase1: fast_provisioning=1 option enables in-lineprovisioning of EAP-FAST
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# credentials (PAC) +# +# wpa_supplicant supports number of "EAP workarounds" to workaround
+# interoperability issues with incorrectly behaving authentication servers.
+# These are enabled by default because some of the issues are present in large
+# number of authentication servers. Strict EAP conformance mode can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# configured by disabling workarounds with eap_workaround=0. + +# Example blocks: + +# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow allvalid ciphers
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="simple" + psk="very secret passphrase" + priority=5 +} + +# Same as previous, but request SSID-specific scanning (for APsthat reject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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 isaccepted.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="example" + proto=WPA + key_mgmt=WPA-PSK + pairwise=CCMP TKIP + group=CCMP TKIP WEP104 WEP40 +psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ priority=2 +} + +# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An APthat used WEP104
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 usethe new peaplabel
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anonymousidentity for the
+# unencrypted use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forthe unencrypted
+# use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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" + phase2="auth=MSCHAPV2" +} + +# WPA-EAP, EAP-TTLS with different CA certificate used for outerand inner
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 aspairwise and
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+} + +# Special characters in SSID, so use hex string. Default to WPA-PSK, WPA-EAP
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# and all valid ciphers. +network={ + ssid=00010203 +psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1
b1c1d1e1fmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +43
-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) usingShared Key
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +26
-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 configurationmodes
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +34
-0+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 privatekey
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+ # 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 PINwill be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+ # asked through the control interface + pin="1234" +} + +# Example configuration showing how to use an inlined blob as aCA certificate
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 exampleselect any
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# open AP regardless of its SSID. +network={ + key_mgmt=NONE +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane b/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/wpa_supplicant.conf-sane
new file mode 100644
index 0000000..c91ffe0meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/wpa_supplicant.conf-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx_git.bb
new file mode 100644
index 0000000..65be767meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,23 @@ +# This is a TI specific version of the wpa-supplicant recipe foruse with the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 3 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# wl18xx wlan module. + +require wpa-supplicant.inc
I'm not sure where this file is coming from. Maybe something in Franklin's tree?
Quoted 19 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+ +LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
+
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+ file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# To prevent users from accidently picking up this customizedversion of
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +SRCREV = "ol_r8.a6.01" +PR = "r3+gitr${SRCREV}" +# Add ti to the PV to indicate that this is a TI modify versionof wpa-supplicant.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 5 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+PV = "2.0-devel-ti" + +PROVIDES_${PN}+= "wpa-supplicant" +RPROVIDES_${PN} += "wpa-supplicant" +RRECOMMENDS_${PN} = "wpa-supplicant"
Why would you RRECOMMENDS wpa-supplicant. Wouldn't this give you the wl6 version?
Quoted 1 line
+RDEPENDS_${PN} = "wpa-supplicant-cli wpa-supplicant-passphrase"
This seems likely to hurt you as well.
Quoted 7 lines
--
1.7.9.5_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
Quoted 19 lines · Chase
Quoted 19 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8From: Eyal Reizer <[email protected]>
Add a recipe for building a ti specific 2.0-devel version for Wilink8.
This package replace the wilink6 package which is provided by the wpa-supplicant recipe.
Selection between the two is done using a "WILINK_VERSION" switch added
to arago.conf.
Quoted 4 lines
Quoted 1 line
Signed-off-by Eyal Reizer <[email protected]>Overall I have the same questions as for the hostap-daemon recipe.
See way below...
Quoted 1,717 lines
Quoted 1,717 lines
--- .../wpa-supplicant-wl18xx/99_wpa_supplicant | 1 + .../wpa-supplicant-wl18xx/defaults-sane | 8 + .../wpa-supplicant/wpa-supplicant-wl18xx/defconfig | 430 ++++++++++++ .../fi.epitest.hostap.WPASupplicant.service | 4 + .../fi.w1.wpa_supplicant1.service | 4 + .../wpa-supplicant-wl18xx/kill_wpa_supplicant.sh | 9 + .../wpa-supplicant-wl18xx/wpa-supplicant.sh | 85 +++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf | 690 ++++++++++++++++++++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf-sane | 7 + .../wpa-supplicant/wpa-supplicant-wl18xx_git.bb | 23 + 10 files changed, 1261 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defaults-sane create mode 100755 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_git.bb
(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/99_wpa_supplicant
new file mode 100644
index 0000000..6ff4dd8meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/99_wpa_supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1 @@ +d root root 0700 /var/run/wpa_supplicant none(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defaults-sane b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defaults-sane
new file mode 100644
index 0000000..67c4cbdmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defaults-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0@@ -0,0 +1,8 @@ +# Useful flags: +# -i <ifname> Interface (required, unless specified inconfig)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defconfig
new file mode 100755
index 0000000..b982e2ameta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,430 @@ +# Example wpa_supplicant build time configuration +# +# This file lists the configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# be modified from here. In most cases, these lines should use += in order not +# to override previous values of the variables. + + +# Uncomment following two lines and fix the paths if you haveinstalled OpenSSL
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filesfrom OpenSSL, but
+# the kerberos files are not in the default include path. Following line can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +###############################################################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +#### openwrt (e.g., for Linksys WRT54G)#######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +###############################################################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 Linuxdriver") supportsBG
+# Linux wireless extensions and does not need (or even work) with the oldmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 kernelinterface
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DRIVER_NL80211=y + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+#CONFIG_DRIVER_BSD=y +#CFLAGS += -I/usr/local/include +#LIBS += -L/usr/local/lib +#LIBS_p += -L/usr/local/libBG +#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 formingw target
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 startingmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+# wpa_supplicant. +# CONFIG_USE_NDISUIO=y + +# Driver interface for development testing +#CONFIG_DRIVER_TEST=y + +# Include client MLME (management frame processing) for testdriver
+# This can be used to test MLME operations in hostapd with the test interface.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anyEAP method is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +20
-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 allthe
+# 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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +40
-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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+#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 andcertificate file from
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 testingBG +#CONFIG_EAPOL_TEST=y + +# Select control interface backend for external programs, e.g,
wpa_cli:meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 notincluded in the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# build. +CONFIG_CTRL_IFACE=y + +# Include support for GNU Readline and History Libraries in
wpa_cli.
+# When building awpa_clibinary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# the resulting binary. +#CONFIG_READLINE=y + +# Remove debugging code that is printing out debug message tostdout.
+# This can be used to reduce the size of thewpa_supplicantconsiderably
+# if debugging code is not needed. The size reduction can be around 35%meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# (e.g., 90 kB). +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove WPA support, e.g., for wired-only IEEE 802.1Xsupplicant, to save
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 35-50 kB in code size. +#CONFIG_NO_WPA=y + +# Remove WPA2 support. This allows WPA to be used, but removesWPA2 code to
+# save about 1 kB in code size when building only WPA-Personal (no EAP support)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 removingsupport for
+# converting ASCII passphrases into PSK. If this functionality is removed, the
+# PSK can only be configured as the 64-octet hexstring (e.g., frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 sizeby about 1 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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: theconfiguration file
+# path is given on command line, not here; this option is
just used to
+# select the backend that allows configuration files to be
used)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# winreg = Windows registry (see win_example.reg for an example) +CONFIG_BACKEND=file + +# Remove configuration write functionality (i.e., to allow theconfiguration
+# 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 bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# about 3.5 kB. +#CONFIG_NO_CONFIG_WRITE=y + +# Remove support for configuration blobs to reduce code size byabout 1.5 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 specificfunctions
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +21
-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.11eDLS)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# internal = Internal TLSv1 implementation (experimental) +# none = Empty template +#CONFIG_TLS=openssl + +# Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
+# You needCONFIG_TLS=gnutlsfor 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
+# ofwpa_supplicantand GnuTLS if this option is enabled. BSD license may notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# apply for distribution of the resulting binary. +#CONFIG_GNUTLS_EXTRA=y + +# If CONFIG_TLS=internal is used, additional library and includepaths are
+# needed for LibTomMath. Alternatively, an integrated, minimal version of
+# LibTomMath can be used. See beginning oflibtommath.cfor details on benefitsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, theinternal LibTomMath
+# can be configured to include faster routines for exptmod, sqr, and div tometa-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# speed up DH and RSA calculation considerably +#CONFIG_INTERNAL_LIBTOMMATH_FAST=y + +# Include NDIS event processing through WMI intowpa_supplicant/wpasvc.
+# This is only for Windows builds and requires WMI-related header files andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +16
-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 sharedlibraries.
+# 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
+# be loaded in the beginning of thewpa_supplicantconfiguration file
+# (seeload_dynamic_eapparameter in the example file) before being used inmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# the network blocks. +# +# Note that some shared parts of EAP methods are included in themain 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
+# in the main build to be able to load these methods dynamically.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Please also note that using dynamic libraries will increasethe total binary
+# size. Thus, it may not be the best option for targets that have limitedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DEBUG_FILE=y + +# Enable privilege separation (see README 'Privilege separation'for details)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+#CONFIG_PRIVSEP=y + +# Enable mitigation against certain attacks against TKIP bydelaying Michael
+# MIC error reports by a random amount of time between 0 and 60 secondsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+#CONFIG_DELAYED_MIC_ERROR_REPORT=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +14
-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 + +# for p2p +CONFIG_P2P=y +CONFIG_AP=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y +(quoted diff) +0
-0supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service
new file mode 100644
index 0000000..fb3f917meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.epitest.hostap.WPASupplicant.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.epitest.hostap.WPASupplicant +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx/fi.w1.wpa_supplicant1.service
new file mode 100644
index 0000000..0bb1056meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.w1.wpa_supplicant1 +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.shb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh
new file mode 100644
index 0000000..aab6474meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/kill_wpa_supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-0@@ -0,0 +1,9 @@ +#check if the wpa_suppicant is already running +#if it does, stop it. +StationRunning=`ps | grep -c wpa_supplicant` +if [ $StationRunning -eq 2 ]; then + killall wpa_supplicant +fi + +# start the application +$*(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/wpa-supplicant.shb/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh
new file mode 100644
index 0000000..4f1001emeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa-supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 ormissing from $WPA_SUP_BIN"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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")meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ elif [ -z "$IF_WPA_DRIVER" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: wpa-driver not provided,using \"wext\""
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --start --quiet \ + --name $WPA_SUP_PNAME --startas $WPA_SUP_BIN --pidfile $WPA_SUP_PIDFILE \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+ -- $WPA_SUP_OPTIONS $WPA_SUP_CONF -D$IF_WPA_DRIVER
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+ fi + + # if the interface socket exists, then wpa_supplicant wasinvoked successfully
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: ctrl_interface socketlocated at $WPA_COMMON_CTRL_IFACE/$IFACE"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --stop --quiet \ + --name $WPA_SUP_PNAME --pidfile$WPA_SUP_PIDFILE
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+ + 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
supplicant/wpa-supplicant-wl18xx/wpa_supplicant.confb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf
new file mode 100644
index 0000000..f0c993dmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa_supplicant.confmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,690 @@ +##### Example wpa_supplicant configuration file###############################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This file describes configuration file format and lists allavailable option.
+# Please also take a look at simpler configuration examples in 'examples'meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# subdirectory. +# +# Empty lines and lines starting with # are ignored + +# NOTE! This file may contain password information and shouldprobably be made
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# readable only by root user on multiuser systems. + +# Note: All file paths in this configuration file should usefull (absolute,
+# not relative to working directory) path in order to allow working directory
+# to be changed. This can happen ifwpa_supplicantis run in the background.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# Whether to allow wpa_supplicant to update (overwrite)configuration
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This option can be used to allow wpa_supplicant to overwriteconfiguration
+# file whenever configuration is changed (e.g., new network block is added with
+#wpa_cliorwpa_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 frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# managewpa_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 ismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# enabled. +# +# For UNIX domain sockets (default on Linux and BSD): This is adirectory 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_supplicantprocesses can be run at the same time if more than onemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# interface is used. +# /var/run/wpa_supplicant is the recommended directory forsockets and by
+# default,wpa_cliwill use it when trying to connect withwpa_supplicant.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Access control for the control interface can be configured bysetting the
+# directory to allow only members of a group to use sockets. This way, it is
+# possible to runwpa_supplicantas 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_supplicantis 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
+# value it got by default when the directory or socket was created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# When configuring both the directory and group, use followingformat:
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beignored. This
+# variable is just used to select that the control interface is to be created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 thesecurity descriptor
+# for controlling access to the control interface. Security descriptor can be
+# set using Security Descriptor String Format (see
http://msdn.microsoft.com/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# library/default.asp?url=/library/en-us/secauthz/security/ +# security_descriptor_string_format.asp). The descriptor stringneeds 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 moremeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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-2004which 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 makewpa_supplicantinteroperate with these APs, the version number is set
+# to 1 by default. This configuration value can be used to set it to the newmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# version (2). +eapol_version=1 + +# AP scanning/selection +# By default, wpa_supplicant requests driver to perform APscanning and then
+# uses the scan results to select a suitable AP. Another alternative is to
+# allow the driver to take care of AP scanning and selection and use
+#wpa_supplicantjust to process EAPOL frames based on IEEE 802.11 associationmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 IEEE802.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 mustmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# also be used when using wired Ethernet drivers. +# 2: like 0, but associate with APs using security policy andSSID (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
+# explicit security policy (i.e., only one option in the
lists) formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 EAPmethods that
+# support it. This variable can be used to disable fast re- authentication.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 pkcs11engine
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# are included statically in the build, so these lines are not neededmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 interaceparameters. The
+# format is specific to the selected driver interface. This field is not usedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+#dot11RSNAConfigPMKReauthThreshold=70 +# Timeout for security association negotiation in seconds;default 60
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+#dot11RSNAConfigSATimeout=60 + +# network block +# +# Each network (usually AP's sharing the same SSID) isconfigured as a separate
+# block in this configuration file. The network blocks are in preference ordermeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# e.g., with wpa_cli or wpa_gui) +# +# id_str: Network identifier string for external scripts. Thisvalue is passed
+# to external action script throughwpa_cliasWPA_ID_STR
environment
+# variable to make it easier to do network specific
configuration.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# ssid: SSID (mandatory); either as an ASCII string with doublequotation or
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# as hex string; network name +# +# scan_ssid: +# 0 = do not scan this SSID with specific Probe Requestframes (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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# bssid: BSSID (optional); if set, this network block is usedonly when
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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). Ifsome of the
+# networks are more desirable, this field can be used to change the order in
+# whichwpa_supplicantgoes 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 securitymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# policy, signal strength, etc. +# Please note that AP scanning with scan_ssid=1 and ap_scan=2mode are not
+# using this priority to select the order for scanning. Instead, they try themeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 1 = IBSS (ad-hoc, peer-to-peer) +# Note: IBSS can only be used with key_mgmt NONE (plaintext andstatic WEP)
+# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition,ap_scanhas
+# 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 notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forRSN)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# If not set, this defaults to: WPA RSN +# +# key_mgmt: list of accepted authenticated key managementprotocols
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# WPA-PSK = WPA pre-shared key (this requires 'psk' field) +# WPA-EAP = WPA using EAP authentication (this can use anexternal
+# program, e.g., Xsupplicant, for IEEE 802.1X EAP
Authentication
+# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally) dynamicallymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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 authenticationalgorithms
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 LEAPenabled if
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, IEEE802.11i/D7.0]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] +# NONE = Use only Group Keys (deprecated, should not be includedif APs support
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# pairwise keys) +# If not set, this defaults to: CCMP TKIP +# +# group: list of accepted group (broadcast/multicast) ciphersfor WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 [IEEE802.11]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, 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 betweenmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 generate256-bit keys
+# from ASCII passphrase. This process uses lot of CPU andwpa_supplicant
+# startup and reconfiguration time can be optimized by generating the PSK onlymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 setto 0 for the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 (IEEE802.11e DLS) is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# allowed. This is only used with RSN/WPA2. +# 0 = disabled (default) +# 1 = enabled +#peerkey=1 +# +# Following fields are only used with internal EAPimplementation.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# eap: space-separated list of accepted EAP methods +# MD5 = EAP-MD5 (unsecure and does not generate keyingmaterial ->
+# cannot be used with WPA; to be used as a Phase
2 methodmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# with EAP-PEAP or EAP-TTLS) +# MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately withWPA; to be used
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 orPAP/CHAP/MSCHAP/MSCHAPV2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# authentication) +# If not set, all compiled in methods are allowed. +# +# identity: Identity string for EAP +# anonymous_identity: Anonymous identity string for EAP (to beused as the
+# unencrypted identity with EAP types that support different
tunnelledmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filecan have one
+# or more trusted CA certificates. Ifca_certandca_pathare
not
+# included, server certificate will not be verified. This is
insecure and
+# a trusted CA certificate should always be configured when
using
+# EAP-TLS/TTLS/PEAP. Full path should be used since working
directory maymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# change when wpa_supplicant is run in the background. +# On Windows, trusted CA certificates can be loaded from thesystem
+# certificate store by setting this to cert_store://<name>,
e.g.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 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
+# (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_certmay also be
included in thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-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 changewhen
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# wpa_supplicant is run in the background. +# Alternatively, a named configuration blob can be used bysetting this
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 whenwpa_supplicantis run in the
background.
+# Windows certificate store can be used by leavingclient_certout andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 runningwpa_supplicantas an application,
the user
+# certificate store (My user account) is used, whereas
computer store
+# (Computer account) is used when running wpasvc as a
service.
+# Alternatively, a named configuration blob can be used by
setting thismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# to blob://<blob name>. +# private_key_passwd: Password for private key file (if leftout, this will be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 settingparameters for an
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# ephemeral DH key exchange. In most cases, the default RSA +# authentication does not use this configuration. However, itis 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 bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# automatically converted into DH params. +# subject_match: Substring to be matched against the subject ofthe
+# authentication server certificate. If this string is set,
the server
+# sertificate is only accepted if it contains this string in
the subject.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# The subject string is in following format: +# /C=US/ST=CA/L=San Francisco/CN=TestAS/[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.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# (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
+# PEAPv1 implementation seem to be using the old label,
"client EAP
+# encryption", andwpa_supplicantis now using that as the
default value.
+# Some servers, e.g., Radiator, may require peaplabel=1
configuration to
+# 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 thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 toinclude
+# TLS Message Length field in all TLS messages even if they
are notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# fragmented. +# sim_min_num_chal=3 can be used to configure EAP-SIM torequire three
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 ormeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS) +# Following certificate/private key fields are used in innerPhase2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication when using EAP-TTLS or EAP-PEAP. +# ca_cert2: File path to CA certificate file. This file can haveone or more
+# trusted CA certificates. Ifca_cert2andca_path2are not
included,
+# server certificate will not be verified. This is insecure
and a trustedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-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 ofthe
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication server certificate. +# altsubject_match2: Substring to be matched against thealternative subject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# name of the authentication server certificate. +# +# fragment_size: Maximum EAP fragment size in bytes (default1398).
+# This value limits the fragment size for EAP methods that
support
+# fragmentation (e.g., EAP-TLS and EAP-PEAP). This value
should be set
+# small enough to make the EAP messages fit in MTU of the
network
+# interface used for EAPOL. The default value is suitable for
mostmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# cases. +# +# EAP-PSK variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI +# +# EAP-PAX variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# +# EAP-SAKE variables: +# eappsk: 32-byte (256-bit, 64 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI (ID_Client) +# +# EAP-FAST variables: +# pac_file: File path for the PAC entries. wpa_supplicant willneed to be able
+# 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
+# working directory may change whenwpa_supplicantis run in
the
+# background. Alternatively, a named configuration blob can
be used bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# setting this to blob://<blob name> +# phase1: fast_provisioning=1 option enables in-lineprovisioning of EAP-FAST
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# credentials (PAC) +# +# wpa_supplicant supports number of "EAP workarounds" to workaround
+# interoperability issues with incorrectly behaving authentication servers.
+# These are enabled by default because some of the issues are present in large
+# number of authentication servers. Strict EAP conformance mode can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# configured by disabling workarounds with eap_workaround=0. + +# Example blocks: + +# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow allvalid ciphers
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="simple" + psk="very secret passphrase" + priority=5 +} + +# Same as previous, but request SSID-specific scanning (for APsthat reject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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 isaccepted.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="example" + proto=WPA + key_mgmt=WPA-PSK + pairwise=CCMP TKIP + group=CCMP TKIP WEP104 WEP40 +psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ priority=2 +} + +# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An APthat used WEP104
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 usethe new peaplabel
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anonymousidentity for the
+# unencrypted use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forthe unencrypted
+# use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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" + phase2="auth=MSCHAPV2" +} + +# WPA-EAP, EAP-TTLS with different CA certificate used for outerand inner
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 aspairwise and
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+} + +# Special characters in SSID, so use hex string. Default to WPA-PSK, WPA-EAP
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# and all valid ciphers. +network={ + ssid=00010203 +psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1
b1c1d1e1fmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +43
-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) usingShared Key
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +26
-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 configurationmodes
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +34
-0+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 privatekey
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+ # 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 PINwill be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+ # asked through the control interface + pin="1234" +} + +# Example configuration showing how to use an inlined blob as aCA certificate
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 exampleselect any
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# open AP regardless of its SSID. +network={ + key_mgmt=NONE +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane b/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/wpa_supplicant.conf-sane
new file mode 100644
index 0000000..c91ffe0meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/wpa_supplicant.conf-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx_git.bb
new file mode 100644
index 0000000..65be767meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx_git.bb
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0@@ -0,0 +1,23 @@
Quoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 5 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+# This is a TI specific version of the wpa-supplicant recipe foruse with the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# wl18xx wlan module. + +require wpa-supplicant.incI'm not sure where this file is coming from. Maybe something in Franklin's tree?
If it's not in the main meta-arago tree or oe-core, then you would need to add it to the patch series. If the file is pending submission from Franklin, then you need to specify the dependency. If this series is meant for Franklin's tree only, then we need to have a serious discussion... :)
Quoted 30 lines
Quoted 18 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
+
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+ file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# To prevent users from accidently picking up this customizedversion of
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +SRCREV = "ol_r8.a6.01" +PR = "r3+gitr${SRCREV}" +# Add ti to the PV to indicate that this is a TI modify versionof wpa-supplicant.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 5 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+PV = "2.0-devel-ti" + +PROVIDES_${PN}+= "wpa-supplicant" +RPROVIDES_${PN} += "wpa-supplicant" +RRECOMMENDS_${PN} = "wpa-supplicant"Why would you RRECOMMENDS wpa-supplicant. Wouldn't this give you the wl6 version?
Quoted 1 line
+RDEPENDS_${PN} = "wpa-supplicant-cli wpa-supplicant-passphrase"
This seems likely to hurt you as well.
Signature · 1 line
Denys
Re: [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
Quoted 1,764 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 18, 2013 5:59 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8Quoted 19 lines · Chase
Quoted 19 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8From: Eyal Reizer <[email protected]>
Add a recipe for building a ti specific 2.0-devel version for Wilink8.
This package replace the wilink6 package which is provided by the wpa-supplicant recipe.
Selection between the two is done using a "WILINK_VERSION" switch added
to arago.conf.Quoted 4 lines
Quoted 1 line
Signed-off-by Eyal Reizer <[email protected]>Overall I have the same questions as for the hostap-daemon recipe.
See way below...
Quoted 1,716 lines
Quoted 1,716 lines
--- .../wpa-supplicant-wl18xx/99_wpa_supplicant | 1 + .../wpa-supplicant-wl18xx/defaults-sane | 8 + .../wpa-supplicant/wpa-supplicant-wl18xx/defconfig | 430 ++++++++++++ .../fi.epitest.hostap.WPASupplicant.service | 4 + .../fi.w1.wpa_supplicant1.service | 4 + .../wpa-supplicant-wl18xx/kill_wpa_supplicant.sh | 9 + .../wpa-supplicant-wl18xx/wpa-supplicant.sh | 85 +++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf | 690 ++++++++++++++++++++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf-sane | 7 + .../wpa-supplicant/wpa-supplicant-wl18xx_git.bb | 23 + 10 files changed, 1261 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defaults-sane create mode 100755 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_git.bb
(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/99_wpa_supplicant
new file mode 100644
index 0000000..6ff4dd8meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/99_wpa_supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1 @@ +d root root 0700 /var/run/wpa_supplicant none(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defaults-sane b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defaults-sane
new file mode 100644
index 0000000..67c4cbdmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defaults-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0@@ -0,0 +1,8 @@ +# Useful flags: +# -i <ifname> Interface (required, unless specified inconfig)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defconfig
new file mode 100755
index 0000000..b982e2ameta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,430 @@ +# Example wpa_supplicant build time configuration +# +# This file lists the configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# be modified from here. In most cases, these lines should use += in order not +# to override previous values of the variables. + + +# Uncomment following two lines and fix the paths if you haveinstalled OpenSSL
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filesfrom OpenSSL, but
+# the kerberos files are not in the default include path. Following line can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +###############################################################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +#### openwrt (e.g., for Linksys WRT54G)#######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +###############################################################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 Linuxdriver") supportsBG
+# Linux wireless extensions and does not need (or even work) with the oldmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 kernelinterface
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DRIVER_NL80211=y + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+#CONFIG_DRIVER_BSD=y +#CFLAGS += -I/usr/local/include +#LIBS += -L/usr/local/lib +#LIBS_p += -L/usr/local/libBG +#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 formingw target
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 startingmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+# wpa_supplicant. +# CONFIG_USE_NDISUIO=y + +# Driver interface for development testing +#CONFIG_DRIVER_TEST=y + +# Include client MLME (management frame processing) for testdriver
+# This can be used to test MLME operations in hostapd with the test interface.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anyEAP method is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +20
-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 allthe
+# 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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +40
-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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+#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 andcertificate file from
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 testingBG +#CONFIG_EAPOL_TEST=y + +# Select control interface backend for external programs, e.g,
wpa_cli:meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 notincluded in the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# build. +CONFIG_CTRL_IFACE=y + +# Include support for GNU Readline and History Libraries in
wpa_cli.
+# When building awpa_clibinary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# the resulting binary. +#CONFIG_READLINE=y + +# Remove debugging code that is printing out debug message tostdout.
+# This can be used to reduce the size of thewpa_supplicantconsiderably
+# if debugging code is not needed. The size reduction can be around 35%meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# (e.g., 90 kB). +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove WPA support, e.g., for wired-only IEEE 802.1Xsupplicant, to save
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 35-50 kB in code size. +#CONFIG_NO_WPA=y + +# Remove WPA2 support. This allows WPA to be used, but removesWPA2 code to
+# save about 1 kB in code size when building only WPA-Personal (no EAP support)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 removingsupport for
+# converting ASCII passphrases into PSK. If this functionality is removed, the
+# PSK can only be configured as the 64-octet hexstring (e.g., frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 sizeby about 1 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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: theconfiguration file
+# path is given on command line, not here; this option is
just used to
+# select the backend that allows configuration files to be
used)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# winreg = Windows registry (see win_example.reg for an example) +CONFIG_BACKEND=file + +# Remove configuration write functionality (i.e., to allow theconfiguration
+# 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 bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# about 3.5 kB. +#CONFIG_NO_CONFIG_WRITE=y + +# Remove support for configuration blobs to reduce code size byabout 1.5 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 specificfunctions
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +21
-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.11eDLS)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# internal = Internal TLSv1 implementation (experimental) +# none = Empty template +#CONFIG_TLS=openssl + +# Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
+# You needCONFIG_TLS=gnutlsfor 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
+# ofwpa_supplicantand GnuTLS if this option is enabled. BSD license may notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# apply for distribution of the resulting binary. +#CONFIG_GNUTLS_EXTRA=y + +# If CONFIG_TLS=internal is used, additional library and includepaths are
+# needed for LibTomMath. Alternatively, an integrated, minimal version of
+# LibTomMath can be used. See beginning oflibtommath.cfor details on benefitsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, theinternal LibTomMath
+# can be configured to include faster routines for exptmod, sqr, and div tometa-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# speed up DH and RSA calculation considerably +#CONFIG_INTERNAL_LIBTOMMATH_FAST=y + +# Include NDIS event processing through WMI intowpa_supplicant/wpasvc.
+# This is only for Windows builds and requires WMI-related header files andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +16
-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 sharedlibraries.
+# 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
+# be loaded in the beginning of thewpa_supplicantconfiguration file
+# (seeload_dynamic_eapparameter in the example file) before being used inmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# the network blocks. +# +# Note that some shared parts of EAP methods are included in themain 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
+# in the main build to be able to load these methods dynamically.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Please also note that using dynamic libraries will increasethe total binary
+# size. Thus, it may not be the best option for targets that have limitedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DEBUG_FILE=y + +# Enable privilege separation (see README 'Privilege separation'for details)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+#CONFIG_PRIVSEP=y + +# Enable mitigation against certain attacks against TKIP bydelaying Michael
+# MIC error reports by a random amount of time between 0 and 60 secondsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+#CONFIG_DELAYED_MIC_ERROR_REPORT=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +14
-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 + +# for p2p +CONFIG_P2P=y +CONFIG_AP=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y +(quoted diff) +0
-0supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service
new file mode 100644
index 0000000..fb3f917meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.epitest.hostap.WPASupplicant.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.epitest.hostap.WPASupplicant +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx/fi.w1.wpa_supplicant1.service
new file mode 100644
index 0000000..0bb1056meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.w1.wpa_supplicant1 +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.shb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh
new file mode 100644
index 0000000..aab6474meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/kill_wpa_supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-0@@ -0,0 +1,9 @@ +#check if the wpa_suppicant is already running +#if it does, stop it. +StationRunning=`ps | grep -c wpa_supplicant` +if [ $StationRunning -eq 2 ]; then + killall wpa_supplicant +fi + +# start the application +$*(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/wpa-supplicant.shb/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh
new file mode 100644
index 0000000..4f1001emeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa-supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 ormissing from $WPA_SUP_BIN"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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")meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ elif [ -z "$IF_WPA_DRIVER" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: wpa-driver not provided,using \"wext\""
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --start --quiet \ + --name $WPA_SUP_PNAME --startas $WPA_SUP_BIN --pidfile $WPA_SUP_PIDFILE \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+ -- $WPA_SUP_OPTIONS $WPA_SUP_CONF -D$IF_WPA_DRIVER
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+ fi + + # if the interface socket exists, then wpa_supplicant wasinvoked successfully
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: ctrl_interface socketlocated at $WPA_COMMON_CTRL_IFACE/$IFACE"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --stop --quiet \ + --name $WPA_SUP_PNAME --pidfile$WPA_SUP_PIDFILE
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+ + 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
supplicant/wpa-supplicant-wl18xx/wpa_supplicant.confb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf
new file mode 100644
index 0000000..f0c993dmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa_supplicant.confmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,690 @@ +##### Example wpa_supplicant configuration file###############################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This file describes configuration file format and lists allavailable option.
+# Please also take a look at simpler configuration examples in 'examples'meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# subdirectory. +# +# Empty lines and lines starting with # are ignored + +# NOTE! This file may contain password information and shouldprobably be made
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# readable only by root user on multiuser systems. + +# Note: All file paths in this configuration file should usefull (absolute,
+# not relative to working directory) path in order to allow working directory
+# to be changed. This can happen ifwpa_supplicantis run in the background.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# Whether to allow wpa_supplicant to update (overwrite)configuration
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This option can be used to allow wpa_supplicant to overwriteconfiguration
+# file whenever configuration is changed (e.g., new network block is added with
+#wpa_cliorwpa_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 frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# managewpa_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 ismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# enabled. +# +# For UNIX domain sockets (default on Linux and BSD): This is adirectory 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_supplicantprocesses can be run at the same time if more than onemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# interface is used. +# /var/run/wpa_supplicant is the recommended directory forsockets and by
+# default,wpa_cliwill use it when trying to connect withwpa_supplicant.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Access control for the control interface can be configured bysetting the
+# directory to allow only members of a group to use sockets. This way, it is
+# possible to runwpa_supplicantas 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_supplicantis 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
+# value it got by default when the directory or socket was created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# When configuring both the directory and group, use followingformat:
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beignored. This
+# variable is just used to select that the control interface is to be created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 thesecurity descriptor
+# for controlling access to the control interface. Security descriptor can be
+# set using Security Descriptor String Format (see
http://msdn.microsoft.com/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# library/default.asp?url=/library/en-us/secauthz/security/ +# security_descriptor_string_format.asp). The descriptor stringneeds 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 moremeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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-2004which 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 makewpa_supplicantinteroperate with these APs, the version number is set
+# to 1 by default. This configuration value can be used to set it to the newmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# version (2). +eapol_version=1 + +# AP scanning/selection +# By default, wpa_supplicant requests driver to perform APscanning and then
+# uses the scan results to select a suitable AP. Another alternative is to
+# allow the driver to take care of AP scanning and selection and use
+#wpa_supplicantjust to process EAPOL frames based on IEEE 802.11 associationmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 IEEE802.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 mustmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# also be used when using wired Ethernet drivers. +# 2: like 0, but associate with APs using security policy andSSID (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
+# explicit security policy (i.e., only one option in the
lists) formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 EAPmethods that
+# support it. This variable can be used to disable fast re- authentication.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 pkcs11engine
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# are included statically in the build, so these lines are not neededmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 interaceparameters. The
+# format is specific to the selected driver interface. This field is not usedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+#dot11RSNAConfigPMKReauthThreshold=70 +# Timeout for security association negotiation in seconds;default 60
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+#dot11RSNAConfigSATimeout=60 + +# network block +# +# Each network (usually AP's sharing the same SSID) isconfigured as a separate
+# block in this configuration file. The network blocks are in preference ordermeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# e.g., with wpa_cli or wpa_gui) +# +# id_str: Network identifier string for external scripts. Thisvalue is passed
+# to external action script throughwpa_cliasWPA_ID_STR
environment
+# variable to make it easier to do network specific
configuration.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# ssid: SSID (mandatory); either as an ASCII string with doublequotation or
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# as hex string; network name +# +# scan_ssid: +# 0 = do not scan this SSID with specific Probe Requestframes (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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# bssid: BSSID (optional); if set, this network block is usedonly when
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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). Ifsome of the
+# networks are more desirable, this field can be used to change the order in
+# whichwpa_supplicantgoes 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 securitymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# policy, signal strength, etc. +# Please note that AP scanning with scan_ssid=1 and ap_scan=2mode are not
+# using this priority to select the order for scanning. Instead, they try themeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 1 = IBSS (ad-hoc, peer-to-peer) +# Note: IBSS can only be used with key_mgmt NONE (plaintext andstatic WEP)
+# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition,ap_scanhas
+# 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 notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forRSN)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# If not set, this defaults to: WPA RSN +# +# key_mgmt: list of accepted authenticated key managementprotocols
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# WPA-PSK = WPA pre-shared key (this requires 'psk' field) +# WPA-EAP = WPA using EAP authentication (this can use anexternal
+# program, e.g., Xsupplicant, for IEEE 802.1X EAP
Authentication
+# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally) dynamicallymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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 authenticationalgorithms
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 LEAPenabled if
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, IEEE802.11i/D7.0]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] +# NONE = Use only Group Keys (deprecated, should not be includedif APs support
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# pairwise keys) +# If not set, this defaults to: CCMP TKIP +# +# group: list of accepted group (broadcast/multicast) ciphersfor WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 [IEEE802.11]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, 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 betweenmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 generate256-bit keys
+# from ASCII passphrase. This process uses lot of CPU andwpa_supplicant
+# startup and reconfiguration time can be optimized by generating the PSK onlymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 setto 0 for the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 (IEEE802.11e DLS) is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# allowed. This is only used with RSN/WPA2. +# 0 = disabled (default) +# 1 = enabled +#peerkey=1 +# +# Following fields are only used with internal EAPimplementation.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# eap: space-separated list of accepted EAP methods +# MD5 = EAP-MD5 (unsecure and does not generate keyingmaterial ->
+# cannot be used with WPA; to be used as a Phase
2 methodmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# with EAP-PEAP or EAP-TTLS) +# MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately withWPA; to be used
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 orPAP/CHAP/MSCHAP/MSCHAPV2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# authentication) +# If not set, all compiled in methods are allowed. +# +# identity: Identity string for EAP +# anonymous_identity: Anonymous identity string for EAP (to beused as the
+# unencrypted identity with EAP types that support different
tunnelledmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filecan have one
+# or more trusted CA certificates. Ifca_certandca_pathare
not
+# included, server certificate will not be verified. This is
insecure and
+# a trusted CA certificate should always be configured when
using
+# EAP-TLS/TTLS/PEAP. Full path should be used since working
directory maymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# change when wpa_supplicant is run in the background. +# On Windows, trusted CA certificates can be loaded from thesystem
+# certificate store by setting this to cert_store://<name>,
e.g.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 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
+# (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_certmay also be
included in thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-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 changewhen
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# wpa_supplicant is run in the background. +# Alternatively, a named configuration blob can be used bysetting this
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 whenwpa_supplicantis run in the
background.
+# Windows certificate store can be used by leavingclient_certout andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 runningwpa_supplicantas an application,
the user
+# certificate store (My user account) is used, whereas
computer store
+# (Computer account) is used when running wpasvc as a
service.
+# Alternatively, a named configuration blob can be used by
setting thismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# to blob://<blob name>. +# private_key_passwd: Password for private key file (if leftout, this will be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 settingparameters for an
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# ephemeral DH key exchange. In most cases, the default RSA +# authentication does not use this configuration. However, itis 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 bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# automatically converted into DH params. +# subject_match: Substring to be matched against the subject ofthe
+# authentication server certificate. If this string is set,
the server
+# sertificate is only accepted if it contains this string in
the subject.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# The subject string is in following format: +# /C=US/ST=CA/L=San Francisco/CN=TestAS/[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.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# (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
+# PEAPv1 implementation seem to be using the old label,
"client EAP
+# encryption", andwpa_supplicantis now using that as the
default value.
+# Some servers, e.g., Radiator, may require peaplabel=1
configuration to
+# 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 thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 toinclude
+# TLS Message Length field in all TLS messages even if they
are notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# fragmented. +# sim_min_num_chal=3 can be used to configure EAP-SIM torequire three
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 ormeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS) +# Following certificate/private key fields are used in innerPhase2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication when using EAP-TTLS or EAP-PEAP. +# ca_cert2: File path to CA certificate file. This file can haveone or more
+# trusted CA certificates. Ifca_cert2andca_path2are not
included,
+# server certificate will not be verified. This is insecure
and a trustedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-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 ofthe
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication server certificate. +# altsubject_match2: Substring to be matched against thealternative subject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# name of the authentication server certificate. +# +# fragment_size: Maximum EAP fragment size in bytes (default1398).
+# This value limits the fragment size for EAP methods that
support
+# fragmentation (e.g., EAP-TLS and EAP-PEAP). This value
should be set
+# small enough to make the EAP messages fit in MTU of the
network
+# interface used for EAPOL. The default value is suitable for
mostmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# cases. +# +# EAP-PSK variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI +# +# EAP-PAX variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# +# EAP-SAKE variables: +# eappsk: 32-byte (256-bit, 64 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI (ID_Client) +# +# EAP-FAST variables: +# pac_file: File path for the PAC entries. wpa_supplicant willneed to be able
+# 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
+# working directory may change whenwpa_supplicantis run in
the
+# background. Alternatively, a named configuration blob can
be used bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# setting this to blob://<blob name> +# phase1: fast_provisioning=1 option enables in-lineprovisioning of EAP-FAST
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# credentials (PAC) +# +# wpa_supplicant supports number of "EAP workarounds" to workaround
+# interoperability issues with incorrectly behaving authentication servers.
+# These are enabled by default because some of the issues are present in large
+# number of authentication servers. Strict EAP conformance mode can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# configured by disabling workarounds with eap_workaround=0. + +# Example blocks: + +# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow allvalid ciphers
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="simple" + psk="very secret passphrase" + priority=5 +} + +# Same as previous, but request SSID-specific scanning (for APsthat reject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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 isaccepted.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="example" + proto=WPA + key_mgmt=WPA-PSK + pairwise=CCMP TKIP + group=CCMP TKIP WEP104 WEP40 +psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ priority=2 +} + +# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An APthat used WEP104
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 usethe new peaplabel
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anonymousidentity for the
+# unencrypted use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forthe unencrypted
+# use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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" + phase2="auth=MSCHAPV2" +} + +# WPA-EAP, EAP-TTLS with different CA certificate used for outerand inner
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 aspairwise and
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+} + +# Special characters in SSID, so use hex string. Default to WPA-PSK, WPA-EAP
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# and all valid ciphers. +network={ + ssid=00010203 +psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1
b1c1d1e1fmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +43
-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) usingShared Key
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +26
-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 configurationmodes
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +34
-0+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 privatekey
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+ # 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 PINwill be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+ # asked through the control interface + pin="1234" +} + +# Example configuration showing how to use an inlined blob as aCA certificate
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 exampleselect any
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# open AP regardless of its SSID. +network={ + key_mgmt=NONE +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane b/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/wpa_supplicant.conf-sane
new file mode 100644
index 0000000..c91ffe0meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/wpa_supplicant.conf-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx_git.bb
new file mode 100644
index 0000000..65be767meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx_git.bb
Quoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 6 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,23 @@ +# This is a TI specific version of the wpa-supplicant recipe foruse with the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# wl18xx wlan module. + +require wpa-supplicant.incI'm not sure where this file is coming from. Maybe something in
Franklin's
Quoted 1 line
tree?
Quoted 9 lines
If it's not in the main meta-arago tree or oe-core, then you would need to add
it to the patch series. If the file is pending submission from Franklin, then
you need to specify the dependency. If this series is meant for Franklin's
tree only, then we need to have a serious discussion... :)
Yes I guess it is dependent on a set of patches Franklin is about to send As it did use his branch. I was not aware it was not submitted yet.
Franklin, Are you sending this patch set soon?
Quoted 30 lines
Quoted 17 lines
Quoted 17 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
+
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+ file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# To prevent users from accidently picking up this customizedversion of
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +SRCREV = "ol_r8.a6.01" +PR = "r3+gitr${SRCREV}" +# Add ti to the PV to indicate that this is a TI modify versionQuoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 6 lines
of wpa-supplicant.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+PV = "2.0-devel-ti" + +PROVIDES_${PN}+= "wpa-supplicant" +RPROVIDES_${PN} += "wpa-supplicant" +RRECOMMENDS_${PN} = "wpa-supplicant"Why would you RRECOMMENDS wpa-supplicant. Wouldn't this give you the
wl6
Quoted 4 lines
version?
Quoted 1 line
+RDEPENDS_${PN} = "wpa-supplicant-cli wpa-supplicant-passphrase"
Quoted 8 lines
Quoted 1 line
This seems likely to hurt you as well.
--
Denys
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Best Regards,
Eyal
Re: [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
Quoted 1,790 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Reizer, Eyal
Sent: Monday, March 18, 2013 11:42 AM
To: Dmytriyenko, Denys; Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0- devel version for wilink8Quoted 145 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Monday, March 18, 2013 5:59 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8Quoted 19 lines · Chase
Quoted 19 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8From: Eyal Reizer <[email protected]>
Add a recipe for building a ti specific 2.0-devel version for Wilink8.
This package replace the wilink6 package which is provided by the wpa-supplicant recipe.
Selection between the two is done using a "WILINK_VERSION" switch added
to arago.conf.Quoted 4 lines
Quoted 1 line
Signed-off-by Eyal Reizer <[email protected]>Overall I have the same questions as for the hostap-daemon recipe.
See way below...
Quoted 108 lines
Quoted 108 lines
--- .../wpa-supplicant-wl18xx/99_wpa_supplicant | 1 + .../wpa-supplicant-wl18xx/defaults-sane | 8 + .../wpa-supplicant/wpa-supplicant-wl18xx/defconfig | 430 ++++++++++++ .../fi.epitest.hostap.WPASupplicant.service | 4 + .../fi.w1.wpa_supplicant1.service | 4 + .../wpa-supplicant-wl18xx/kill_wpa_supplicant.sh | 9 + .../wpa-supplicant-wl18xx/wpa-supplicant.sh | 85 +++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf | 690 ++++++++++++++++++++ .../wpa-supplicant-wl18xx/wpa_supplicant.conf-sane | 7 + .../wpa-supplicant/wpa-supplicant-wl18xx_git.bb | 23 + 10 files changed, 1261 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defaults-sane create mode 100755 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/defconfig create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_git.bb
(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/99_wpa_supplicant b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/99_wpa_supplicant
new file mode 100644
index 0000000..6ff4dd8meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/99_wpa_supplicant
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1 @@ +d root root 0700 /var/run/wpa_supplicant none(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defaults-sane b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defaults-sane
new file mode 100644
index 0000000..67c4cbdmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defaults-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0@@ -0,0 +1,8 @@ +# Useful flags: +# -i <ifname> Interface (required, unless specified inconfig)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/defconfig b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defconfig
new file mode 100755
index 0000000..b982e2ameta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/defconfig
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,430 @@ +# Example wpa_supplicant build time configuration +# +# This file lists the configuration options that are used whenbuilding 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.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# just setting VARIABLE=n is not disabling that variable. +# +# This file is included in Makefile, so variables like CFLAGSand LIBS can also
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# be modified from here. In most cases, these lines should use += in order not +# to override previous values of the variables. + + +# Uncomment following two lines and fix the paths if you haveinstalled OpenSSL
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filesfrom OpenSSL, but
+# the kerberos files are not in the default include path. Following line can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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 +Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 8 lines
+#### sveasoft (e.g., for Linksys WRT54G)
######################################meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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+###############################################################
#Quoted 11 lines
Quoted 11 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 11 lines
###############
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +#### openwrt (e.g., for Linksys WRT54G)#######################################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 1,017 lines
Quoted 1,017 lines
Quoted 1,017 lines
###############
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 Linuxdriver") supportsBG
+# Linux wireless extensions and does not need (or even work) with the oldmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 kernelinterface
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DRIVER_NL80211=y + +# Driver interface for FreeBSD net80211 layer (e.g., Atherosdriver)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+#CONFIG_DRIVER_BSD=y +#CFLAGS += -I/usr/local/include +#LIBS += -L/usr/local/lib +#LIBS_p += -L/usr/local/libBG +#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 formingw target
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 startingmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+# wpa_supplicant. +# CONFIG_USE_NDISUIO=y + +# Driver interface for development testing +#CONFIG_DRIVER_TEST=y + +# Include client MLME (management frame processing) for testdriver
+# This can be used to test MLME operations in hostapd with the test interface.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anyEAP method is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +20
-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 allthe
+# 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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +40
-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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+#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 andcertificate file from
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 testingBG +#CONFIG_EAPOL_TEST=y + +# Select control interface backend for external programs, e.g,
wpa_cli:meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 notincluded in the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# build. +CONFIG_CTRL_IFACE=y + +# Include support for GNU Readline and History Libraries in
wpa_cli.
+# When building awpa_clibinary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# the resulting binary. +#CONFIG_READLINE=y + +# Remove debugging code that is printing out debug message tostdout.
+# This can be used to reduce the size of thewpa_supplicantconsiderably
+# if debugging code is not needed. The size reduction can be around 35%meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# (e.g., 90 kB). +#CONFIG_NO_STDOUT_DEBUG=y + +# Remove WPA support, e.g., for wired-only IEEE 802.1Xsupplicant, to save
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 35-50 kB in code size. +#CONFIG_NO_WPA=y + +# Remove WPA2 support. This allows WPA to be used, but removesWPA2 code to
+# save about 1 kB in code size when building only WPA-Personal (no EAP support)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 removingsupport for
+# converting ASCII passphrases into PSK. If this functionality is removed, the
+# PSK can only be configured as the 64-octet hexstring (e.g., frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 sizeby about 1 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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: theconfiguration file
+# path is given on command line, not here; this option is
just used to
+# select the backend that allows configuration files to be
used)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# winreg = Windows registry (see win_example.reg for an example) +CONFIG_BACKEND=file + +# Remove configuration write functionality (i.e., to allow theconfiguration
+# 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 bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# about 3.5 kB. +#CONFIG_NO_CONFIG_WRITE=y + +# Remove support for configuration blobs to reduce code size byabout 1.5 kB.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 specificfunctions
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +21
-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.11eDLS)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+CONFIG_PEERKEY=y + +# IEEE 802.11w (management frame protection) +# This version is an experimental implementation based on IEEE802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# internal = Internal TLSv1 implementation (experimental) +# none = Empty template +#CONFIG_TLS=openssl + +# Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
+# You needCONFIG_TLS=gnutlsfor 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
+# ofwpa_supplicantand GnuTLS if this option is enabled. BSD license may notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# apply for distribution of the resulting binary. +#CONFIG_GNUTLS_EXTRA=y + +# If CONFIG_TLS=internal is used, additional library and includepaths are
+# needed for LibTomMath. Alternatively, an integrated, minimal version of
+# LibTomMath can be used. See beginning oflibtommath.cfor details on benefitsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, theinternal LibTomMath
+# can be configured to include faster routines for exptmod, sqr, and div tometa-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# speed up DH and RSA calculation considerably +#CONFIG_INTERNAL_LIBTOMMATH_FAST=y + +# Include NDIS event processing through WMI intowpa_supplicant/wpasvc.
+# This is only for Windows builds and requires WMI-related header files andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +16
-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 sharedlibraries.
+# 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
+# be loaded in the beginning of thewpa_supplicantconfiguration file
+# (seeload_dynamic_eapparameter in the example file) before being used inmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# the network blocks. +# +# Note that some shared parts of EAP methods are included in themain 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
+# in the main build to be able to load these methods dynamically.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Please also note that using dynamic libraries will increasethe total binary
+# size. Thus, it may not be the best option for targets that have limitedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+CONFIG_DEBUG_FILE=y + +# Enable privilege separation (see README 'Privilege separation'for details)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+#CONFIG_PRIVSEP=y + +# Enable mitigation against certain attacks against TKIP bydelaying Michael
+# MIC error reports by a random amount of time between 0 and 60 secondsmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+#CONFIG_DELAYED_MIC_ERROR_REPORT=y + +# Enable tracing code for developer debugging +# This tracks use of memory allocations and other registrationsand reports
+# incorrect use with a backtrace of call (or allocation) location.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +8
-0+#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 forthe backtraces
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +14
-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 + +# for p2p +CONFIG_P2P=y +CONFIG_AP=y + +# IEEE 802.11n (High Throughput) support +CONFIG_IEEE80211N=y +(quoted diff) +0
-0supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/fi.epitest.hostap.WPASupplicant.service
new file mode 100644
index 0000000..fb3f917meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.epitest.hostap.WPASupplicant.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.epitest.hostap.WPASupplicant +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/fi.w1.wpa_supplicant1.service b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx/fi.w1.wpa_supplicant1.service
new file mode 100644
index 0000000..0bb1056meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0@@ -0,0 +1,4 @@ +[D-BUS Service] +Name=fi.w1.wpa_supplicant1 +Exec=/usr/sbin/wpa_supplicant -d -Dnl80211 -
c/etc/wpa_supplicant.conf-iwlan0 -B -umeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+User=root(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.shb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/kill_wpa_supplicant.sh
new file mode 100644
index 0000000..aab6474meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/kill_wpa_supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-0@@ -0,0 +1,9 @@ +#check if the wpa_suppicant is already running +#if it does, stop it. +StationRunning=`ps | grep -c wpa_supplicant` +if [ $StationRunning -eq 2 ]; then + killall wpa_supplicant +fi + +# start the application +$*(quoted diff) +0
-0
supplicant/wpa-supplicant-wl18xx/wpa-supplicant.shb/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa-supplicant.sh
new file mode 100644
index 0000000..4f1001emeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa-supplicant.shmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 ormissing from $WPA_SUP_BIN"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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")meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ elif [ -z "$IF_WPA_DRIVER" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: wpa-driver not provided,using \"wext\""
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --start --quiet \ + --name $WPA_SUP_PNAME --startas $WPA_SUP_BIN --pidfile $WPA_SUP_PIDFILE \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0+ -- $WPA_SUP_OPTIONS $WPA_SUP_CONF -D$IF_WPA_DRIVER
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+ fi + + # if the interface socket exists, then wpa_supplicant wasinvoked successfully
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ if [ -S "$WPA_COMMON_CTRL_IFACE/$IFACE" ]; then + + if [ "$VERBOSITY" = "1" ]; then + echo "$WPA_SUP_PNAME: ctrl_interface socketlocated at $WPA_COMMON_CTRL_IFACE/$IFACE"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ fi + + start-stop-daemon --stop --quiet \ + --name $WPA_SUP_PNAME --pidfile$WPA_SUP_PIDFILE
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +13
-0+ + 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
supplicant/wpa-supplicant-wl18xx/wpa_supplicant.confb/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf
new file mode 100644
index 0000000..f0c993dmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0
supplicant-wl18xx/wpa_supplicant.confmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,690 @@ +##### Example wpa_supplicant configuration file###############################
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This file describes configuration file format and lists allavailable option.
+# Please also take a look at simpler configuration examples in 'examples'meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# subdirectory. +# +# Empty lines and lines starting with # are ignored + +# NOTE! This file may contain password information and shouldprobably be made
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# readable only by root user on multiuser systems. + +# Note: All file paths in this configuration file should usefull (absolute,
+# not relative to working directory) path in order to allow working directory
+# to be changed. This can happen ifwpa_supplicantis run in the background.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# Whether to allow wpa_supplicant to update (overwrite)configuration
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# This option can be used to allow wpa_supplicant to overwriteconfiguration
+# file whenever configuration is changed (e.g., new network block is added with
+#wpa_cliorwpa_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 frommeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# managewpa_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 ismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# enabled. +# +# For UNIX domain sockets (default on Linux and BSD): This is adirectory 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_supplicantprocesses can be run at the same time if more than onemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# interface is used. +# /var/run/wpa_supplicant is the recommended directory forsockets and by
+# default,wpa_cliwill use it when trying to connect withwpa_supplicant.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# Access control for the control interface can be configured bysetting the
+# directory to allow only members of a group to use sockets. This way, it is
+# possible to runwpa_supplicantas 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_supplicantis 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
+# value it got by default when the directory or socket was created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# When configuring both the directory and group, use followingformat:
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beignored. This
+# variable is just used to select that the control interface is to be created.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 thesecurity descriptor
+# for controlling access to the control interface. Security descriptor can be
+# set using Security Descriptor String Format (see
http://msdn.microsoft.com/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# library/default.asp?url=/library/en-us/secauthz/security/ +# security_descriptor_string_format.asp). The descriptor stringneeds 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 moremeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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-2004which 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 makewpa_supplicantinteroperate with these APs, the version number is set
+# to 1 by default. This configuration value can be used to set it to the newmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# version (2). +eapol_version=1 + +# AP scanning/selection +# By default, wpa_supplicant requests driver to perform APscanning and then
+# uses the scan results to select a suitable AP. Another alternative is to
+# allow the driver to take care of AP scanning and selection and use
+#wpa_supplicantjust to process EAPOL frames based on IEEE 802.11 associationmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 IEEE802.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 mustmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# also be used when using wired Ethernet drivers. +# 2: like 0, but associate with APs using security policy andSSID (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
+# explicit security policy (i.e., only one option in the
lists) formeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 EAPmethods that
+# support it. This variable can be used to disable fast re- authentication.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 pkcs11engine
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
+# are included statically in the build, so these lines are not neededmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 interaceparameters. The
+# format is specific to the selected driver interface. This field is not usedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+#dot11RSNAConfigPMKReauthThreshold=70 +# Timeout for security association negotiation in seconds;default 60
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+#dot11RSNAConfigSATimeout=60 + +# network block +# +# Each network (usually AP's sharing the same SSID) isconfigured as a separate
+# block in this configuration file. The network blocks are in preference ordermeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# e.g., with wpa_cli or wpa_gui) +# +# id_str: Network identifier string for external scripts. Thisvalue is passed
+# to external action script throughwpa_cliasWPA_ID_STR
environment
+# variable to make it easier to do network specific
configuration.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# ssid: SSID (mandatory); either as an ASCII string with doublequotation or
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# as hex string; network name +# +# scan_ssid: +# 0 = do not scan this SSID with specific Probe Requestframes (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)meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# +# bssid: BSSID (optional); if set, this network block is usedonly when
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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). Ifsome of the
+# networks are more desirable, this field can be used to change the order in
+# whichwpa_supplicantgoes 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 securitymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# policy, signal strength, etc. +# Please note that AP scanning with scan_ssid=1 and ap_scan=2mode are not
+# using this priority to select the order for scanning. Instead, they try themeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 1 = IBSS (ad-hoc, peer-to-peer) +# Note: IBSS can only be used with key_mgmt NONE (plaintext andstatic WEP)
+# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition,ap_scanhas
+# 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 notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forRSN)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# If not set, this defaults to: WPA RSN +# +# key_mgmt: list of accepted authenticated key managementprotocols
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# WPA-PSK = WPA pre-shared key (this requires 'psk' field) +# WPA-EAP = WPA using EAP authentication (this can use anexternal
+# program, e.g., Xsupplicant, for IEEE 802.1X EAP
Authentication
+# IEEE8021X = IEEE 802.1X using EAP authentication and (optionally) dynamicallymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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 authenticationalgorithms
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# 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 LEAPenabled if
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, IEEE802.11i/D7.0]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# TKIP = Temporal Key Integrity Protocol [IEEE 802.11i/D7.0] +# NONE = Use only Group Keys (deprecated, should not be includedif APs support
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# pairwise keys) +# If not set, this defaults to: CCMP TKIP +# +# group: list of accepted group (broadcast/multicast) ciphersfor WPA
+# CCMP = AES in Counter mode with CBC-MAC [RFC 3610, IEEE 802.11i/D7.0]meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 [IEEE802.11]
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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, 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 betweenmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 generate256-bit keys
+# from ASCII passphrase. This process uses lot of CPU andwpa_supplicant
+# startup and reconfiguration time can be optimized by generating the PSK onlymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 setto 0 for the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 (IEEE802.11e DLS) is
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# allowed. This is only used with RSN/WPA2. +# 0 = disabled (default) +# 1 = enabledQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+#peerkey=1 +# +# Following fields are only used with internal EAPimplementation.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# eap: space-separated list of accepted EAP methods +# MD5 = EAP-MD5 (unsecure and does not generate keyingmaterial ->
+# cannot be used with WPA; to be used as aPhase
Quoted 575 lines
Quoted 564 lines
Quoted 564 lines
2 method
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# with EAP-PEAP or EAP-TTLS) +# MSCHAPV2 = EAP-MSCHAPv2 (cannot be used separately withWPA; to be used
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 beused
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 orPAP/CHAP/MSCHAP/MSCHAPV2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# authentication) +# If not set, all compiled in methods are allowed. +# +# identity: Identity string for EAP +# anonymous_identity: Anonymous identity string for EAP (to beused as the
+# unencrypted identity with EAP types that support different
tunnelledmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 filecan have one
+# or more trusted CA certificates. Ifca_certandca_pathare
not
+# included, server certificate will not be verified. This is
insecure and
+# a trusted CA certificate should always be configured when
using
+# EAP-TLS/TTLS/PEAP. Full path should be used since working
directory maymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# change when wpa_supplicant is run in the background. +# On Windows, trusted CA certificates can be loaded from thesystem
+# certificate store by setting this to cert_store://<name>,
e.g.,meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# 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
+# (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_certmay also be
included in thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-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 changewhen
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# wpa_supplicant is run in the background. +# Alternatively, a named configuration blob can be used bysetting this
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 whenwpa_supplicantis run in the
background.
+# Windows certificate store can be used by leavingclient_certout andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-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 runningwpa_supplicantas an application,
the user
+# certificate store (My user account) is used, whereas
computer store
+# (Computer account) is used when running wpasvc as a
service.
+# Alternatively, a named configuration blob can be used by
setting thismeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# to blob://<blob name>. +# private_key_passwd: Password for private key file (if leftout, this will be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 settingparameters for an
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# ephemeral DH key exchange. In most cases, the default RSA +# authentication does not use this configuration. However, itis 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 bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# automatically converted into DH params. +# subject_match: Substring to be matched against the subject ofthe
+# authentication server certificate. If this string is set,
the server
+# sertificate is only accepted if it contains this string in
the subject.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# The subject string is in following format: +# /C=US/ST=CA/L=San Francisco/CN=TestAS/[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.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-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
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# (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
+# PEAPv1 implementation seem to be using the old label,
"client EAP
+# encryption", andwpa_supplicantis now using that as the
default value.
+# Some servers, e.g., Radiator, may require peaplabel=1
configuration to
+# 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 thatmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 toinclude
+# TLS Message Length field in all TLS messages even if they
are notmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# fragmented. +# sim_min_num_chal=3 can be used to configure EAP-SIM torequire three
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-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 ormeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# "autheap=MSCHAPV2 autheap=MD5" for EAP-TTLS) +# Following certificate/private key fields are used in innerPhase2
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication when using EAP-TTLS or EAP-PEAP. +# ca_cert2: File path to CA certificate file. This file can haveone or more
+# trusted CA certificates. Ifca_cert2andca_path2are not
included,
+# server certificate will not be verified. This is insecure
and a trustedmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-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 ofthe
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# authentication server certificate. +# altsubject_match2: Substring to be matched against thealternative subject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# name of the authentication server certificate. +# +# fragment_size: Maximum EAP fragment size in bytes (default1398).
+# This value limits the fragment size for EAP methods that
support
+# fragmentation (e.g., EAP-TLS and EAP-PEAP). This value
should be set
+# small enough to make the EAP messages fit in MTU of the
network
+# interface used for EAPOL. The default value is suitable for
mostmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# cases. +# +# EAP-PSK variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI +# +# EAP-PAX variables: +# eappsk: 16-byte (128-bit, 32 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# +# EAP-SAKE variables: +# eappsk: 32-byte (256-bit, 64 hex digits) pre-shared key in hexformat
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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)
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# nai: user NAI (ID_Client) +# +# EAP-FAST variables: +# pac_file: File path for the PAC entries. wpa_supplicant willneed to be able
+# 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
+# working directory may change whenwpa_supplicantis run in
the
+# background. Alternatively, a named configuration blob can
be used bymeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+# setting this to blob://<blob name> +# phase1: fast_provisioning=1 option enables in-lineprovisioning of EAP-FAST
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# credentials (PAC) +# +# wpa_supplicant supports number of "EAP workarounds" to workaround
+# interoperability issues with incorrectly behaving authentication servers.
+# These are enabled by default because some of the issues are present in large
+# number of authentication servers. Strict EAP conformance mode can bemeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+# configured by disabling workarounds with eap_workaround=0. + +# Example blocks: + +# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow allvalid ciphers
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="simple" + psk="very secret passphrase" + priority=5 +} + +# Same as previous, but request SSID-specific scanning (for APsthat reject
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +9
-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 isaccepted.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +7
-0+network={ + ssid="example" + proto=WPA + key_mgmt=WPA-PSK + pairwise=CCMP TKIP + group=CCMP TKIP WEP104 WEP40 +psk=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+ priority=2 +} + +# Only WPA-EAP is used. Both CCMP and TKIP is accepted. An APthat used WEP104
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 usethe new peaplabel
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 anonymousidentity for the
+# unencrypted use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 forthe unencrypted
+# use. Real identity is sent only within an encrypted TLS tunnel.meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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" + phase2="auth=MSCHAPV2" +} + +# WPA-EAP, EAP-TTLS with different CA certificate used for outerand inner
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 aspairwise and
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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=06b4be19da289f475aa46a33cb793029d4ab3db7a23ee92382eb010
6c72ac7bbmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+} + +# Special characters in SSID, so use hex string. Default to WPA-PSK, WPA-EAP
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# and all valid ciphers. +network={ + ssid=00010203 +psk=000102030405060708090a0b0c0d0e0f101112131415161718191a1
b1c1d1e1fmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 andmeta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +43
-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) usingShared Key
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +26
-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 configurationmodes
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +34
-0+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 privatekey
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +11
-0+ # 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 PINwill be
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+ # asked through the control interface + pin="1234" +} + +# Example configuration showing how to use an inlined blob as aCA certificate
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 exampleselect any
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4
-0+# open AP regardless of its SSID. +network={ + key_mgmt=NONE +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx/wpa_supplicant.conf-sane b/meta- arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/wpa_supplicant.conf-sane
new file mode 100644
index 0000000..c91ffe0meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx/wpa_supplicant.conf-sane
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- 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 +}(quoted diff) +0
-0supplicant/wpa-supplicant-wl18xx_git.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx_git.bb
new file mode 100644
index 0000000..65be767meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0
-0supplicant-wl18xx_git.bb
Quoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 6 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1
-0@@ -0,0 +1,23 @@ +# This is a TI specific version of the wpa-supplicant recipe foruse with the
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3
-0+# wl18xx wlan module. + +require wpa-supplicant.incI'm not sure where this file is coming from. Maybe something in
Franklin's
Quoted 1 line
tree?
Quoted 9 lines
If it's not in the main meta-arago tree or oe-core, then you would need to add
it to the patch series. If the file is pending submission from Franklin, then
you need to specify the dependency. If this series is meant for Franklin's
tree only, then we need to have a serious discussion... :)
Quoted 4 lines
Yes I guess it is dependent on a set of patches Franklin is about to send As it did use his branch.
I was not aware it was not submitted yet.
Franklin, Are you sending this patch set soon?
I can send those patches. Its 17 patches total that includes all of the changes. Those patches depended on the 4 patches I sent earlier today.
Denys,
If you can commit those patches today I'll send my next patch set that Eyal's patches depend on.
Quoted 46 lines
Quoted 31 lines
Quoted 18 lines
Quoted 18 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+LICENSE = "GPLv2 | BSD" +LIC_FILES_CHKSUM ="file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
+
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+ file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2
-0+ +# To prevent users from accidently picking up this customizedversion of
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6
-0+# wpa-supplicant the DEFAULT_PREFERENCE will be set to -1. +DEFAULT_PREFERENCE = "-1" + +SRCREV = "ol_r8.a6.01" +PR = "r3+gitr${SRCREV}" +# Add ti to the PV to indicate that this is a TI modify versionQuoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
Quoted 6 lines
of wpa-supplicant.
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5
-0+PV = "2.0-devel-ti" + +PROVIDES_${PN}+= "wpa-supplicant" +RPROVIDES_${PN} += "wpa-supplicant" +RRECOMMENDS_${PN} = "wpa-supplicant"Why would you RRECOMMENDS wpa-supplicant. Wouldn't this give you the
wl6
Quoted 4 lines
version?
Quoted 1 line
+RDEPENDS_${PN} = "wpa-supplicant-cli wpa-supplicant-passphrase"
Quoted 8 lines
Quoted 1 line
This seems likely to hurt you as well.
--
Denys
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-aragoBest Regards,
Eyal
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [PATCH 4/9] wpa-supplicant-wl18xx: build ti 2.0-devel version for wilink8
On Mon, Mar 18, 2013 at 01:46:52PM -0400, Cooper Jr., Franklin wrote:
[snip]
Quoted 15 lines
Quoted 10 lines
Quoted 9 lines
If it's not in the main meta-arago tree or oe-core, then you would need to add
it to the patch series. If the file is pending submission from Franklin, then
you need to specify the dependency. If this series is meant for Franklin's
tree only, then we need to have a serious discussion... :)Quoted 4 lines
Yes I guess it is dependent on a set of patches Franklin is about to send As it did use his branch.
I was not aware it was not submitted yet.
Franklin, Are you sending this patch set soon?
Quoted 7 lines
I can send those patches. Its 17 patches total that includes all of the changes. Those patches depended on the 4 patches I sent earlier today.
Denys,
If you can commit those patches today I'll send my next patch set that Eyal's patches depend on.
Ok, fair enough.
Speaking of patches - how soon will you be submitting the patch to make linux-libc-headers machine-specific, as we are now seeing weird issues with different machines using different kernel versions and ltp-ddt trying to support them all... Thanks.
Signature · 1 line
Denys
PATCH 5/9 ti-wifi-utils-wl18xx: build the calibrator tool for wilin8
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Add a recipe for building and installing the calibrator tool used with the wilink8 family of chips.
This package replace the wilink6 package which is provided by the ti-wifi-utils. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- .../ti-wifi-utils/ti-wifi-utils-wl18xx_git.bb | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_git.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_git.bb new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d" + +DEPENDS = "libnl" +RDEPENDS = "ti-compat-wireless-wl12xx wl12xx-firmware" + +PR ="r1+gitr${SRCREV}" +PV ="0.0" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git \ +" + +PROVIDES += "ti-wifi-utils" +RPROVIDES += "ti-wifi-utils" + +S = "${WORKDIR}/git" + +export CROSS_COMPILE = "${TARGET_PREFIX}" +CFLAGS += " -DCONFIG_LIBNL20" + +do_install() { + install -d ${D}${bindir} + install -m 0755 calibrator ${D}${bindir}/ +}
Signature · 1 line
1.7.9.5
Re: [PATCH 5/9] ti-wifi-utils-wl18xx: build the calibrator tool for wilin8
Quoted 32 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 5/9] ti-wifi-utils-wl18xx: build the calibrator tool for wilin8From: Eyal Reizer <[email protected]>
Add a recipe for building and installing the calibrator tool used with the wilink8 family of chips.
This package replace the wilink6 package which is provided by the ti-wifi-utils. Selection between the two is done using a "
WILINK_VERSION" switch added to arago.confSigned-off-by Eyal Reizer <[email protected]>--- .../ti-wifi-utils/ti-wifi-utils-wl18xx_git.bb | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_git.bb
(quoted diff) +0
-0wifi-utils-wl18xx_git.bb b/meta-arago-extras/recipes-devtools/ti- wifi-utils/ti-wifi-utils-wl18xx_git.bb
new file mode 100644
index 0000000..3d2d6f1meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +0
-0
Quoted 1 line
utils-wl18xx_git.bb
Same comments as before about _git versions.
Quoted 9 lines
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +1
-0@@ -0,0 +1,26 @@ +DESCRIPTION = "The calibrator and other useful utilities for TIwireless solution based on wl12xx driver"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +2
-0+LICENSE = "BSD" +LIC_FILES_CHKSUM ="file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +3
-0+ +DEPENDS = "libnl" +RDEPENDS = "ti-compat-wireless-wl12xx wl12xx-firmware"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
Quoted 10 lines
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +10
-0+ +PR ="r1+gitr${SRCREV}" +PV ="0.0" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git \ +" + +PROVIDES += "ti-wifi-utils" +RPROVIDES += "ti-wifi-utils"
Same comments as before. This seems like it should also RCONFLICT with ti-wifi-utils.
Quoted 17 lines
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +10
-1+ +S = "${WORKDIR}/git" + +export CROSS_COMPILE = "${TARGET_PREFIX}" +CFLAGS += " -DCONFIG_LIBNL20" + +do_install() { + install -d ${D}${bindir} + install -m 0755 calibrator ${D}${bindir}/ +} --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
PATCH 6/9 ti-compat-wireless-wl18xx: build Wilink8 drivers from TI-OpenLink
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Add a new recipe for fetching the Wilink8 drivers from TI-Openlink in github by creating a compat-wireless package and building with the target linux kernel source.
This package replace the wilink6 package which is provided by the ti-compat-wireless-wl12xx. Selection between the two is done using a "WILINK_VERSION" switch added to arago.conf
--- ...1-git-version-wl18xx-use-compat-base-tree.patch | 68 ++++++++++++++++++++ .../ti-compat-wireless-wl18xx_git.bb | 64 ++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/files/0001-git-version-wl18xx-use-compat-base-tree.patch create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_git.bb
meta-arago-extras/recipes-bsp/ti-compat-wireless/files/0001-git-version-wl18xx-use-compat-base-tree.patch new file +68 -0
@@ -0,0 +1,68 @@ +From bb09bbce828112d81ae473d10a07736e73704ac4 Mon Sep 17 00:00:00 2001 +From: Eyal Reizer <[email protected]> +Date: Sun, 10 Mar 2013 04:42:58 -0700 +Subject: [PATCH] git-version-wl18xx: use compat base tree + +For compat-wireless based builds use compat_base_tree_version in version.h +When building with compat-wireless mechanism, the version info captured +in version.h reflects target kernel and not the wl18xx version. + +Signed-off-by: Eyal Reizer <[email protected]> +--- + drivers/net/wireless/ti/wl18xx/Makefile | 12 ++++++++---- + drivers/net/wireless/ti/wlcore/Makefile | 12 ++++++++---- + 2 files changed, 16 insertions(+), 8 deletions(-) + +diff --git a/drivers/net/wireless/ti/wl18xx/Makefile b/drivers/net/wireless/ti/wl18xx/Makefile +index 4ddb258..55cc561 100644 +--- a/drivers/net/wireless/ti/wl18xx/Makefile ++++ b/drivers/net/wireless/ti/wl18xx/Makefile +@@ -1,12 +1,16 @@ + wl18xx-objs = main.o acx.o tx.o io.o debugfs.o + + define filechk_version.h +- (echo 'static const char *wl18xx_git_head = \ +- "$(shell git describe --dirty)";') ++ echo '#ifdef COMPAT_BASE_TREE_VERSION'; \ ++ echo 'static const char *wl18xx_git_head = COMPAT_BASE_TREE_VERSION;'; \ ++ echo '#else'; \ ++ echo 'static const char *wl18xx_git_head = \ ++ "$(shell git describe --dirty)";'; \ ++ echo '#endif') + endef + +-$(obj)/version.h: .git/HEAD .git/index .git/refs/tags +- @$(call filechk,version.h) ++#$(obj)/version.h: .git/HEAD .git/index .git/refs/tags ++# @$(call filechk,version.h) + + $(obj)/main.c: $(src)/version.h + +diff --git a/drivers/net/wireless/ti/wlcore/Makefile b/drivers/net/wireless/ti/wlcore/Makefile +index 9923a1a..647489c 100644 +--- a/drivers/net/wireless/ti/wlcore/Makefile ++++ b/drivers/net/wireless/ti/wlcore/Makefile +@@ -3,12 +3,16 @@ wlcore-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \ + + define filechk_version.h + (echo 'static const char *wlcore_timestamp = __TIMESTAMP__;'; \ +- echo 'static const char *wlcore_git_head = \ +- "$(shell git describe --dirty)";') ++ echo '#ifdef COMPAT_BASE_TREE_VERSION'; \ ++ echo 'static const char *wl12xx_git_head = COMPAT_BASE_TREE_VERSION;'; \ ++ echo '#else'; \ ++ echo 'static const char *wl12xx_git_head = \ ++ "$(shell git describe --dirty)";'; \ ++ echo '#endif') + endef + +-$(obj)/version.h: .git/HEAD .git/index .git/refs/tags +- @$(call filechk,version.h) ++#$(obj)/version.h: .git/HEAD .git/index .git/refs/tags ++# @$(call filechk,version.h) + + $(obj)/main.c: $(src)/version.h + +-- +1.7.9.5 +
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_git.bb new file +64 -0
64 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH 7/9 bt-firmware: update for including the wl18xx bt firmware
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Update the recipe for including the wl18xx bluetooth firmware files from SP-2.8 into the target root file system
--- .../recipes-bsp/bt-firmware/bt-firmware_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb +2 -2
@@ -13,11 +13,11 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" RCONFLICTS_${PN} = "linux-firmware-wl12xx" RREPLACES_${PN} = "linux-firmware-wl12xx" -PR = "r0+gitr${SRCREV}" +PR = "r1+gitr${SRCREV}" COMPATIBLE_MACHINE = "omap3|omapl138|da850-omapl138-evm|ti33x" -SRCREV = "db43d1f05efda9777d7ac1ac366637e29e21f77f" +SRCREV = "adbc27c11d5c5c8c20a93a8beca647b4a6aaa03b" SRC_URI = "git://github.com/TI-ECS/bt-firmware.git;protocol=git \ file://0001-Makefile-allow-building-within-the-OE.patch"
Signature · 1 line
1.7.9.5
PATCH 8/9 arago conf: add rule for selecting between wilink chips
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Add a configuration variable for selecting between wilink6 and wilink8 support.
Based on this variable the right version will be picked for the recipes which are different between wilink versions.
The default is currently set to "WILINK-6" until the next SDK release which is going to switch to using WILINK-8.
--- meta-arago-distro/conf/distro/arago.conf | 7 +++++++ 1 file changed, 7 insertions(+)
meta-arago-distro/conf/distro/arago.conf +7 -0
@@ -43,6 +43,13 @@ PREFERRED_VERSION_nativesdk-qt4-tools = "4.8.3" PREFERRED_VERSION_wpa-supplicant = "2.0-devel-ti" PREFERRED_VERSION_hostap-daemon = "2.0-devel-ti" +WILINK_VERSION = "WILINK-6" +PREFERRED_PROVIDER_wl12xx-firmware = "${@base_contains('WILINK_VERSION','WILINK-8','wl18xx-firmware','wl12xx-firmware',d)}" +PREFERRED_PROVIDER_ti-compat-wireless-wl12xx = "${@base_contains('WILINK_VERSION','WILINK-8','ti-compat-wireless-wl18xx','ti-compat-wireless-wl12xx',d)}" +PREFERRED_PROVIDER_hostap-daemon = "${@base_contains('WILINK_VERSION','WILINK-8','hostap-daemon-wl18xx','hostap-daemon',d)}" +PREFERRED_PROVIDER_wpa-supplicant = "${@base_contains('WILINK_VERSION','WILINK-8','wpa-supplicant-wl18xx','wpa-supplicant',d)}" +PREFERRED_PROVIDER_ti-wifi-utils = "${@base_contains('WILINK_VERSION','WILINK-8','ti-wifi-utils-wl18xx','ti-wifi-utils',d)}" + # Use v4.08.00.02 of the Graphics SDK PREFERRED_VERSION_omap3-sgx-modules = "4.08.00.02" PREFERRED_VERSION_libgles-omap3 = "4.08.00.02"
Signature · 1 line
1.7.9.5
PATCH 9/9 connectivity packagegroup: add wlconf for wilink8
In reply to Eyal ReizerFrom: Eyal Reizer <[email protected]>
Add the wlconf configuration utility which is used for wilink8 only.
The package is added based on the WILINK_VERSION switch added to arago.conf
--- .../packagegroup-arago-tisdk-connectivity.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb +2 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install wlan and bluetooth packages into the target FS" LICENSE = "MIT" -PR = "r5" +PR = "r6" inherit packagegroup
@@ -28,6 +28,7 @@ WLAN_COMMON = "\ pulseaudio-module-bluetooth-device \ eventdump \ wpa-supplicant \ + ${@base_contains('WILINK_VERSION','WILINK-8','wlconf','',d)} \ " FIRMWARE_AND_DRIVERS = "\
Signature · 1 line
1.7.9.5
If this program is going to be updated based on an actual "release" then let's get away from using wlconf_git.bb and move to wlconf_r8.a6.01.bb or whatever way want to format it.
Quoted 46 lines
-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Eyal Reizer
Sent: Monday, March 18, 2013 8:36 AM
To: [email protected]
Subject: [meta-arago] [PATCH 1/9] wlconf: configuration utility for wilink8 wireless driverAdd a recipe for building and installing the wlconf configuration utility for TI Wilink8 familily of chips.
Signed-off-by Eyal Reizer <[email protected]>--- .../recipes-connectivity/wlconf/wlconf_git.bb | 36 ++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb
meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb new file +3
-0@@ -0,0 +1,36 @@ +DESCRIPTION = "Configuration utility for TI wireless drivers" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM ="file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a 9438"
meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb new file +16
-0+ +PR ="r1" +PV ="0.0" +PR_append = "+gitr${SRCREV}" + +SRCREV = "ol_r8.a6.01" +SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git" + +S = "${WORKDIR}/git/wlconf" + +EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc" + +do_install() { + install -d ${D}${bindir} + install -d ${D}${bindir}/wlconf/ + install -d ${D}${bindir}/wlconf/official_inis
meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb
Quoted 10 lines
meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb new file +10
-0+ + install -m 0755 wlconf ${D}${bindir}/wlconf/ + install -m 0755 dictionary.txt ${D}${bindir}/wlconf/ + install -m 0755 struct.bin ${D}${bindir}/wlconf/ + install -m 0755 wl18xx-conf-default.bin ${D}${bindir}/wlconf/ + install -m 0755 README ${D}${bindir}/wlconf/ + install -m 0755 example.conf ${D}${bindir}/wlconf/ + install -m 0755 example.ini ${D}${bindir}/wlconf/ + install -m 0755 ${S}/official_inis/* +${D}${bindir}/wlconf/official_inis
FC: Formatting seems off can you indent this file.
Quoted 15 lines
meta-arago-extras/recipes-connectivity/wlconf/wlconf_git.bb new file +8
-1+} + +FILES_${PN} += " \ + ${bindir}/wlconf \ + ${bindir}/wlconf/official_inis \ +" + +FILES_${PN}-dbg += "${bindir}/wlconf/.debug" --1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago