Skip to contentSkip to conversation

wpa-supplicant-wl18xx: Update recipe to ol_r8.a9.14 version.

PATCH Superseded Yaniv Machani 3 participants 10 messages Jul 16, 2014 – Jul 17, 2014

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/5 wpa-supplicant-wl18xx: Update recipe to ol_r8.a9.14 version.

- Changed git sources to git.ti.com
- Adjust configuration to match latest package.
- Removed redundant files and cleanup.

---
V2 Changes
- Fixed mode change
- Fixed semantics

 ....a8.10.bb => wpa-supplicant-wl18xx_r8.a9.14.bb} |   10 +-
 .../wpa-supplicant/wpa-supplicant.inc              |   91 +++++++-------------
 .../wpa-supplicant/wpa-supplicant/defaults-sane    |    8 --
 .../defconfig                                      |   69 +++++++++++----
 .../fi.epitest.hostap.WPASupplicant.service        |    4 -
 .../wpa-supplicant/fi.w1.wpa_supplicant1.service   |    4 -
 6 files changed, 90 insertions(+), 96 deletions(-)
 rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-wl18xx_r8.a8.10.bb => wpa-supplicant-wl18xx_r8.a9.14.bb} (76%)
 delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defaults-sane
 rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-wl18xx => wpa-supplicant}/defconfig (90%)
 delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.epitest.hostap.WPASupplicant.service
 delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a8.10.bb +5 -5
similarity index 76%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a8.10.bb
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb
index bfe617e..203364f 100644
@@ -5,15 +5,15 @@ require wpa-supplicant.inc
 
 LICENSE = "GPLv2 | BSD"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
-                    file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+                    file://../README;md5=ba46b65db36e3c82244a3815b3738d63 \
                     file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"
 
 FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
 
-# Tag: ol_r8.a8.10
-SRCREV = "257ab333aad993b4be81808524bc0d939c276058"
-BRANCH = "mbss_suspend"
-PR_append = "b+gitr${SRCPV}"
+# Tag: ol_r8.a9.14
+SRCREV = "281f5adb8eb7ee9e9220546c0227696b02aab332"
+BRANCH = "single_hostap_dfs_dynamic"
+PR_append = "c+gitr${SRCPV}"
 
 # Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant.
 PV = "2.0-devel-ti"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +32 -59

142 lines not on this page · raw message

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defaults-sane deleted +0 -8
deleted file mode 100644
index 67c4cbd..0000000
@@ -1,8 +0,0 @@
-# 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/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +53 -16

136 lines not on this page · raw message

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.epitest.hostap.WPASupplicant.service deleted +0 -4
deleted file mode 100644
index fb3f917..0000000
@@ -1,4 +0,0 @@
-[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/fi.w1.wpa_supplicant1.service deleted +0 -4
deleted file mode 100644
index 0bb1056..0000000
@@ -1,4 +0,0 @@
-[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
Signature · 1 line
1.7.9
#1 lore raw

PATCH v2 2/5 hostap-daemon-wl18xx: Update recipe to ol_r8.a9.14 version

- Changed git sources to git.ti.com
- Updated Defconfig.

---
V2 Changes
- Fixed mode change

 ...8.a8.10.bb => hostap-daemon-wl18xx_r8.a9.14.bb} |    8 ++++----
 .../hostap/hostap-daemon/defconfig                 |    2 +-
 .../recipes-connectivity/hostap/hostap.inc         |    7 +++----
 3 files changed, 8 insertions(+), 9 deletions(-)
 rename meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon-wl18xx_r8.a8.10.bb => hostap-daemon-wl18xx_r8.a9.14.bb} (79%)
 mode change 100644 => 100755
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a8.10.bb +4 -4
old mode 100644
new mode 100755
similarity index 79%
rename from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a8.10.bb
rename to meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a9.14.bb
index cd5d8d3..3981b78
@@ -6,7 +6,7 @@ require hostap.inc
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
 
-PR_append = "b+gitr${SRCPV}"
+PR_append = "c+gitr${SRCPV}"
 
 FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
 
@@ -14,9 +14,9 @@ FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
 # of hostap
 PV = "2.0-devel-ti"
 
-# Tag: ol_r8.a8.10
-SRCREV = "257ab333aad993b4be81808524bc0d939c276058"
-BRANCH = "mbss_suspend"
+# Tag: ol_r8.a9.14
+SRCREV = "281f5adb8eb7ee9e9220546c0227696b02aab332"
+BRANCH = "single_hostap_dfs_dynamic"
 
 PROVIDES += "hostap-daemon"
 RPROVIDES_${PN} += "hostap-daemon"
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/defconfig +1 -1
index ccc0996..3ee35bc 100644
@@ -52,7 +52,7 @@ CONFIG_LIBNL32=y
 # This version is an experimental implementation based on IEEE 802.11w/D1.0
 # draft and is subject to change since the standard has not yet been finalized.
 # Driver support is also needed for IEEE 802.11w.
-#CONFIG_IEEE80211W=y
+CONFIG_IEEE80211W=y
 
 # Integrated EAP server
 #CONFIG_EAP=y
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +3 -4
index 15e82d5..180fc01 100644
@@ -1,5 +1,5 @@
 # This is a TI specific version of the hostap-daemon recipe for use with the
-# wl12xx wlan and bluetooth module.
+# wl18xx wlan module
 
 HOMEPAGE = "http://hostap.epitest.fi"
 DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
@@ -11,15 +11,14 @@ DEPENDS = "libnl openssl"
 # default
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r5"
+PR = "r6"
 
 inherit update-rc.d
 INITSCRIPT_NAME="hostapd"
 
 CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
 
-SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git;branch=${BRANCH} \
-           file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
+SRC_URI = "git://git.ti.com/wilink8-wlan/hostap.git;protocol=git;branch=${BRANCH} \
            file://defconfig \
 	       file://init"
 
Signature · 1 line
1.7.9
#2 lore raw

Re: [PATCH 2/5 v2] hostap-daemon-wl18xx: Update recipe to ol_r8.a9.14 version

Quoted 18 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Machani, Yaniv
Sent: Wednesday, July 16, 2014 5:28 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/5 v2] hostap-daemon-wl18xx: Update recipe to ol_r8.a9.14 version

- Changed git sources to git.ti.com
- Updated Defconfig.

---
V2 Changes
- Fixed mode change

Quoted 7 lines
 ...8.a8.10.bb => hostap-daemon-wl18xx_r8.a9.14.bb} |    8 ++++----
 .../hostap/hostap-daemon/defconfig                 |    2 +-
 .../recipes-connectivity/hostap/hostap.inc         |    7 +++----
 3 files changed, 8 insertions(+), 9 deletions(-)  rename meta-arago-

extras/recipes-connectivity/hostap/{hostap-daemon-wl18xx_r8.a8.10.bb => hostap-daemon-wl18xx_r8.a9.14.bb} (79%) mode change 100644 => 100755

[Franklin] I'm assuming this lines mean ur still changing the mode.

Quoted 75 lines
(quoted diff) +0 -0

wl18xx_r8.a8.10.bb b/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon-wl18xx_r8.a9.14.bb
old mode 100644
new mode 100755
similarity index 79%
rename from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon- wl18xx_r8.a8.10.bb
rename to meta-arago-extras/recipes-connectivity/hostap/hostap-daemon- wl18xx_r8.a9.14.bb
index cd5d8d3..3981b78
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon- wl18xx_r8.a8.10.bb
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx +++ _r8.a9.14.bb

(quoted diff) +0 -0
@@ -6,7 +6,7 @@ require hostap.inc
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM =

"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a8.10.bb +1 -1
-PR_append = "b+gitr${SRCPV}"
+PR_append = "c+gitr${SRCPV}"
 
 FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
@@ -14,9 +14,9 @@ FILESEXTRAPATHS_append := "${THISDIR}/hostap-

daemon:"

 # of hostap
 PV = "2.0-devel-ti"
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a8.10.bb +3 -3
-# Tag: ol_r8.a8.10
-SRCREV = "257ab333aad993b4be81808524bc0d939c276058"
-BRANCH = "mbss_suspend"
+# Tag: ol_r8.a9.14
+SRCREV = "281f5adb8eb7ee9e9220546c0227696b02aab332"
+BRANCH = "single_hostap_dfs_dynamic"
 
 PROVIDES += "hostap-daemon"
 RPROVIDES_${PN} += "hostap-daemon"
(quoted diff) +0 -0

daemon/defconfig b/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon/defconfig
index ccc0996..3ee35bc 100644
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon/defconfig
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/defcon +++ fig

(quoted diff) +0 -0
@@ -52,7 +52,7 @@ CONFIG_LIBNL32=y
 # This version is an experimental implementation based on IEEE

802.11w/D1.0 # draft and is subject to change since the standard has not yet been finalized.
# Driver support is also needed for IEEE 802.11w.

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/defconfig +1 -1
-#CONFIG_IEEE80211W=y
+CONFIG_IEEE80211W=y
 
 # Integrated EAP server
 #CONFIG_EAP=y
meta- renamed from meta-arago-extras/recipes-connectivity/hostap/hostap.inc +0 -0

arago-extras/recipes-connectivity/hostap/hostap.inc index 15e82d5..180fc01 100644

meta-arago-extras/recipes-connectivity/hostap/hostap.inc +0 -0
@@ -1,5 +1,5 @@
 # This is a TI specific version of the hostap-daemon recipe for use with the -#

wl12xx wlan and bluetooth module.

meta-arago-extras/recipes-connectivity/hostap/hostap.inc +2 -1
+# wl18xx wlan module
 
 HOMEPAGE = "http://hostap.epitest.fi"
 DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
@@ -11,15 +11,14 @@ DEPENDS = "libnl openssl"
 # default
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r5"
+PR = "r6"

meta-arago-extras/recipes-connectivity/hostap/hostap.inc DEPENDS = "libnl openssl" · line 22

Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +0 -2
 
 inherit update-rc.d
 INITSCRIPT_NAME="hostapd"
 
 CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
 
-SRC_URI = "git://github.com/TI-
 OpenLink/hostap.git;protocol=git;branch=${BRANCH} \
-           file://0001-hostapd-change-conf-file-for-better-oob-
 startup.patch;patchdir=.. \

[Franklin] Just reiterating Deny's comment about deleting the patch if you no longer need it.

Quoted 13 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +3 -1
+SRC_URI =
+"git://git.ti.com/wilink8-wlan/hostap.git;protocol=git;branch=${BRANCH}
+\
            file://defconfig \
 	       file://init"
 
--

1.7.9

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw

Re: [PATCH 2/5 v2] hostap-daemon-wl18xx: Update recipe to ol_r8.a9.14 version

Quoted 123 lines

-----Original Message-----
From: Cooper Jr., Franklin
Sent: Wednesday, July 16, 2014 4:57 PM
To: Machani, Yaniv; [email protected]
Subject: RE: [meta-arago] [PATCH 2/5 v2] hostap-daemon-wl18xx: Update recipe to ol_r8.a9.14 version

Quoted 16 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Machani, Yaniv
Sent: Wednesday, July 16, 2014 5:28 AM
To: [email protected]
Subject: [meta-arago] [PATCH 2/5 v2] hostap-daemon-wl18xx: Update recipe to ol_r8.a9.14 version

- Changed git sources to git.ti.com
- Updated Defconfig.

---
V2 Changes
- Fixed mode change

Quoted 8 lines
 ...8.a8.10.bb => hostap-daemon-wl18xx_r8.a9.14.bb} |    8 ++++----
 .../hostap/hostap-daemon/defconfig                 |    2 +-
 .../recipes-connectivity/hostap/hostap.inc         |    7 +++----
 3 files changed, 8 insertions(+), 9 deletions(-)  rename meta-arago-

extras/recipes-connectivity/hostap/{hostap-daemon-wl18xx_r8.a8.10.bb => hostap-daemon-wl18xx_r8.a9.14.bb} (79%) mode change 100644 => 100755

[Franklin] I'm assuming this lines mean ur still changing the mode.

Quoted 4 lines

diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon- wl18xx_r8.a8.10.bb b/meta-arago-extras/recipes-connectivity/hostap/hostap-

Quoted 8 lines

daemon-wl18xx_r8.a9.14.bb
old mode 100644
new mode 100755
similarity index 79%
rename from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon- wl18xx_r8.a8.10.bb
rename to meta-arago-extras/recipes-connectivity/hostap/hostap-

daemon-

Quoted 5 lines

wl18xx_r8.a9.14.bb
index cd5d8d3..3981b78
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon- wl18xx_r8.a8.10.bb
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-

wl18

Quoted 27 lines

+++ xx
+++ _r8.a9.14.bb

(quoted diff) +0 -0
@@ -6,7 +6,7 @@ require hostap.inc
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM =

"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a8.10.bb +1 -1
-PR_append = "b+gitr${SRCPV}"
+PR_append = "c+gitr${SRCPV}"
 
 FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
@@ -14,9 +14,9 @@ FILESEXTRAPATHS_append := "${THISDIR}/hostap-

daemon:"

 # of hostap
 PV = "2.0-devel-ti"
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a8.10.bb +3 -3
-# Tag: ol_r8.a8.10
-SRCREV = "257ab333aad993b4be81808524bc0d939c276058"
-BRANCH = "mbss_suspend"
+# Tag: ol_r8.a9.14
+SRCREV = "281f5adb8eb7ee9e9220546c0227696b02aab332"
+BRANCH = "single_hostap_dfs_dynamic"
 
 PROVIDES += "hostap-daemon"
 RPROVIDES_${PN} += "hostap-daemon"
(quoted diff) +0 -0
Quoted 7 lines

daemon/defconfig b/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon/defconfig
index ccc0996..3ee35bc 100644
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon/defconfig
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-

daemon/defc

Quoted 22 lines

+++ on
+++ fig

(quoted diff) +0 -0
@@ -52,7 +52,7 @@ CONFIG_LIBNL32=y
 # This version is an experimental implementation based on IEEE

802.11w/D1.0 # draft and is subject to change since the standard has not yet been finalized.
# Driver support is also needed for IEEE 802.11w.

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/defconfig +1 -1
-#CONFIG_IEEE80211W=y
+CONFIG_IEEE80211W=y
 
 # Integrated EAP server
 #CONFIG_EAP=y
(quoted diff) +0 -0

b/meta- arago-extras/recipes-connectivity/hostap/hostap.inc index 15e82d5..180fc01 100644

meta-arago-extras/recipes-connectivity/hostap/hostap.inc +0 -0
@@ -1,5 +1,5 @@
 # This is a TI specific version of the hostap-daemon recipe for use

with the -# wl12xx wlan and bluetooth module.
+# wl18xx wlan module

Quoted 2 lines

HOMEPAGE = "http://hostap.epitest.fi" DESCRIPTION = "User space daemon for extended IEEE 802.11

management"

Quoted 10 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +1 -1
@@ -11,15 +11,14 @@ DEPENDS = "libnl openssl"
 # default
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r5"
+PR = "r6"
 
 inherit update-rc.d
 INITSCRIPT_NAME="hostapd"
 
Quoted 8 lines

meta-arago-extras/recipes-connectivity/hostap/hostap.inc DEPENDS = "libnl openssl" · line 22

Quoted 6 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +0 -2
 CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
 
-SRC_URI = "git://github.com/TI-
 OpenLink/hostap.git;protocol=git;branch=${BRANCH} \
-           file://0001-hostapd-change-conf-file-for-better-oob-
 startup.patch;patchdir=.. \

[Franklin] Just reiterating Deny's comment about deleting the patch if you no longer need it.

[Yaniv] We will keep this patch, as it changes some cosmetic values.

Quoted 14 lines
Quoted 14 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc +4 -1
+SRC_URI =
+"git://git.ti.com/wilink8-wlan/hostap.git;protocol=git;branch=${BRANC
+H}
+\
            file://defconfig \
 	       file://init"
 
--

1.7.9

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#4 lore raw

PATCH v2 3/5 wl18xx : update to ol_r8.a9.14

In reply to Yaniv Machani

- Changed git sources to git.ti.com
- Updated to latest release.

---
V2 Changes
- Fixed mode change

 ...are_r8.a8.10.bb => wl18xx-firmware_r8.a9.14.bb} |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
 rename meta-arago-extras/recipes-bsp/wl18xx-firmware/{wl18xx-firmware_r8.a8.10.bb => wl18xx-firmware_r8.a9.14.bb} (72%)
meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a9.14.bb renamed from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a8.10.bb +5 -4
similarity index 72%
rename from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a8.10.bb
rename to meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a9.14.bb
index b59f1c4..45d4ea7 100644
@@ -4,16 +4,17 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"
 
 PACKAGE_ARCH = "all"
 
-PR = "r3+gitr${SRCPV}"
+PR = "r4+gitr${SRCPV}"
 
 PROVIDES += "wl12xx-firmware"
 RPROVIDES_${PN} += "wl12xx-firmware"
 RREPLACES_${PN} += "wl12xx-firmware"
 RCONFLICTS_${PN} += "wl12xx-firmware"
 
-# Tag: ol_r8.a8.10
-SRCREV = "89dc93a5c23fd69ebacd64c936ba5aabf173c29b"
-SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git;branch=mbss \
+# Tag: ol_r8.a9.14
+SRCREV = "2568d8f61fd509eabb112110c20ea31c088ef6b9"
+BRANCH = "ap_dfs"
+SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRANCH} \
            file://0001-Add-Makefile-for-SDK.patch \
           "
 
Signature · 1 line
1.7.9
Acked-by on v2 3/5
#5 lore raw

Re: [PATCH 3/5 v2] wl18xx : update to ol_r8.a9.14

Quoted 65 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Machani, Yaniv
Sent: Wednesday, July 16, 2014 5:29 AM
To: [email protected]
Subject: [meta-arago] [PATCH 3/5 v2] wl18xx : update to ol_r8.a9.14

- Changed git sources to git.ti.com
- Updated to latest release.

---
V2 Changes
- Fixed mode change

 ...are_r8.a8.10.bb => wl18xx-firmware_r8.a9.14.bb} |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)  rename meta-arago-

extras/recipes-bsp/wl18xx-firmware/{wl18xx-firmware_r8.a8.10.bb => wl18xx- firmware_r8.a9.14.bb} (72%)

(quoted diff) +0 -0

firmware_r8.a8.10.bb b/meta-arago-extras/recipes-bsp/wl18xx- firmware/wl18xx-firmware_r8.a9.14.bb
similarity index 72%
rename from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- firmware_r8.a8.10.bb
rename to meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- firmware_r8.a9.14.bb
index b59f1c4..45d4ea7 100644
--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx- firmware_r8.a8.10.bb
+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a +++ 9.14.bb

(quoted diff) +0 -0
@@ -4,16 +4,17 @@ LIC_FILES_CHKSUM =

"file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e"

PACKAGE_ARCH = "all"

meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a9.14.bb renamed from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a8.10.bb +1 -4
-PR = "r3+gitr${SRCPV}"
+PR = "r4+gitr${SRCPV}"
 
 PROVIDES += "wl12xx-firmware"
 RPROVIDES_${PN} += "wl12xx-firmware"
 RREPLACES_${PN} += "wl12xx-firmware"
 RCONFLICTS_${PN} += "wl12xx-firmware"
 
-# Tag: ol_r8.a8.10
-SRCREV = "89dc93a5c23fd69ebacd64c936ba5aabf173c29b"
-SRC_URI = "git://github.com/TI-

OpenLink/wl18xx_fw.git;protocol=git;branch=mbss \

meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a9.14.bb renamed from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a8.10.bb +6 -1
+# Tag: ol_r8.a9.14
+SRCREV = "2568d8f61fd509eabb112110c20ea31c088ef6b9"
+BRANCH = "ap_dfs"
+SRC_URI =
+"git://git.ti.com/wilink8-wlan/wl18xx_fw.git;protocol=git;branch=${BRAN
+CH} \
            file://0001-Add-Makefile-for-SDK.patch \
           "
 
--

1.7.9

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#6 lore raw

PATCH v2 5/5 wl18xx-target-scripts : Add new WiFi related scripts

In reply to Yaniv Machani

New scripts to ease the use of wifi modes-
Start/Stop - Station, AP, P2P and Multi Role.
Station connection scripts.
Driver load/unload.

---
V2 Changes
- Fixed mode change
- Fixed semantics for proper install

 .../packagegroup-arago-tisdk-connectivity.bb       |    1 +
 .../wl18xx-target-scripts_r8.a9.14.bb              |   25 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb
 create mode 100755 meta-arago-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_r8.a9.14.bb
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb +1 -0
old mode 100644
new mode 100755
index 7b3480c..4b8fb00
@@ -24,6 +24,7 @@ WLAN_COMMON = "\
     crda \
     hostap-daemon-wl18xx \
     ti-wifi-utils-wl18xx \
+    wl18xx-target-scripts \
 "
 
 # netperf has non-standard license, needs verifying
meta-arago-extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target-scripts_r8.a9.14.bb new file +25 -0
new file mode 100755
index 0000000..8ba0092
@@ -0,0 +1,25 @@
+DESCRIPTION = "Scripts and configuration files for TI wireless drivers"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c0d175d1f4a705"
+
+PR ="r1+gitr${SRCPV}"
+
+# Tag: ol_r8.a9.14
+SRCREV = "4d9f47235501fb2c665b6336a54e0ba152e8e941"
+BRANCH = "sitara-mbss"
+SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-scripts.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN} += "${datadir}/wl18xx/"
+
+do_install() {
+	install -d ${D}${datadir}/wl18xx/
+
+	scripts=`find ./ -type f -name "*\.sh"`
+	for s in $scripts
+	do
+		install -m 0755 $s ${D}${datadir}/wl18xx/
+	done
+}
+
Signature · 1 line
1.7.9
#7 lore raw

Re: [PATCH 5/5 v2] wl18xx-target-scripts : Add new WiFi related scripts

Quoted 30 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Machani, Yaniv
Sent: Wednesday, July 16, 2014 5:29 AM
To: [email protected]
Subject: [meta-arago] [PATCH 5/5 v2] wl18xx-target-scripts : Add new WiFi related scripts

New scripts to ease the use of wifi modes- Start/Stop - Station, AP, P2P and Multi Role.
Station connection scripts.
Driver load/unload.

---
V2 Changes
- Fixed mode change
- Fixed semantics for proper install

 .../packagegroup-arago-tisdk-connectivity.bb       |    1 +
 .../wl18xx-target-scripts_r8.a9.14.bb              |   25 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)  mode change 100644 =>
100755 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
tisdk-connectivity.bb
 create mode 100755 meta-arago-extras/recipes-connectivity/wl18xx-target-

scripts/wl18xx-target-scripts_r8.a9.14.bb

(quoted diff) +0 -0
Quoted 9 lines

arago-tisdk-connectivity.bb b/meta-arago-distro/recipes- core/packagegroups/packagegroup-arago-tisdk-connectivity.bb old mode 100644
new mode 100755
index 7b3480c..4b8fb00
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago- tisdk-connectivity.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti +++ sdk-connectivity.bb

[Franklin] Bump the PR

Quoted 52 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-connectivity.bb +1 -0
@@ -24,6 +24,7 @@ WLAN_COMMON = "\
     crda \
     hostap-daemon-wl18xx \
     ti-wifi-utils-wl18xx \
+    wl18xx-target-scripts \
 "
 
 # netperf has non-standard license, needs verifying diff --git a/meta-arago-

extras/recipes-connectivity/wl18xx-target-scripts/wl18xx-target- scripts_r8.a9.14.bb b/meta-arago-extras/recipes-connectivity/wl18xx-target- scripts/wl18xx-target-scripts_r8.a9.14.bb
new file mode 100755
index 0000000..8ba0092

meta-arago-extras/recipes-connectivity/wl18xx-target-scripts/wl18x new file +4 -0
+++ x-target-scripts_r8.a9.14.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Scripts and configuration files for TI wireless drivers"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://README;beginline=1;endline=21;md5=b8d6a0865f50159bf5c0d175d1f4 a705"

meta-arago-extras/recipes-connectivity/wl18xx-target-scripts/wl18x new file +7 -0
+
+PR ="r1+gitr${SRCPV}"
+
+# Tag: ol_r8.a9.14
+SRCREV = "4d9f47235501fb2c665b6336a54e0ba152e8e941"
+BRANCH = "sitara-mbss"
+SRC_URI = "git://git.ti.com/wilink8-wlan/wl18xx-target-

scripts.git;protocol=git;branch=${BRANCH}"

meta-arago-extras/recipes-connectivity/wl18xx-target-scripts/wl18x new file +15 -1
+
+S = "${WORKDIR}/git"
+
+FILES_${PN} += "${datadir}/wl18xx/"
+
+do_install() {
+	install -d ${D}${datadir}/wl18xx/
+
+	scripts=`find ./ -type f -name "*\.sh"`
+	for s in $scripts
+	do
+		install -m 0755 $s ${D}${datadir}/wl18xx/
+	done
+}
+
--

1.7.9

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#8 lore raw
In reply to Yaniv Machani
Quoted 119 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Machani, Yaniv
Sent: Wednesday, July 16, 2014 5:28 AM
To: [email protected]
Subject: [meta-arago] [PATCH 1/5 v2] wpa-supplicant-wl18xx: Update recipe to ol_r8.a9.14 version.

- Changed git sources to git.ti.com
- Adjust configuration to match latest package.
- Removed redundant files and cleanup.

---
V2 Changes
- Fixed mode change
- Fixed semantics

 ....a8.10.bb => wpa-supplicant-wl18xx_r8.a9.14.bb} |   10 +-
 .../wpa-supplicant/wpa-supplicant.inc              |   91 +++++++-------------
 .../wpa-supplicant/wpa-supplicant/defaults-sane    |    8 --
 .../defconfig                                      |   69 +++++++++++----
 .../fi.epitest.hostap.WPASupplicant.service        |    4 -
 .../wpa-supplicant/fi.w1.wpa_supplicant1.service   |    4 -
 6 files changed, 90 insertions(+), 96 deletions(-)  rename meta-arago-

extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant- wl18xx_r8.a8.10.bb => wpa-supplicant-wl18xx_r8.a9.14.bb} (76%) delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defaults-sane

 rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
supplicant-wl18xx => wpa-supplicant}/defconfig (90%)  delete mode 100644
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
supplicant/fi.epitest.hostap.WPASupplicant.service
 delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-

supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service

(quoted diff) +0 -0

supplicant-wl18xx_r8.a8.10.bb b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb
similarity index 76%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx_r8.a8.10.bb
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx_r8.a9.14.bb
index bfe617e..203364f 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx_r8.a8.10.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica +++ nt-wl18xx_r8.a9.14.bb

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a8.10.bb +2 -1
@@ -5,15 +5,15 @@ require wpa-supplicant.inc
 
 LICENSE = "GPLv2 | BSD"
 LIC_FILES_CHKSUM =
 "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
-                    file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+
+ file://../README;md5=ba46b65db36e3c82244a3815b3738d63 \
 

file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec 7f39ebe3aba"

FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a8.10.bb +4 -4
-# Tag: ol_r8.a8.10
-SRCREV = "257ab333aad993b4be81808524bc0d939c276058"
-BRANCH = "mbss_suspend"
-PR_append = "b+gitr${SRCPV}"
+# Tag: ol_r8.a9.14
+SRCREV = "281f5adb8eb7ee9e9220546c0227696b02aab332"
+BRANCH = "single_hostap_dfs_dynamic"
+PR_append = "c+gitr${SRCPV}"
 
 # Add ti to the PV to indicate that this is a TI modify version of wpa-

supplicant.
PV = "2.0-devel-ti"

(quoted diff) +0 -0

supplicant.inc b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc
index e0bda11..c8611ea 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica +++ nt.inc

(quoted diff) +0 -0
@@ -1,47 +1,47 @@
 # This is a TI specific version of the wpa-supplicant recipe for use with the -#

wl12xx wlan and bluetooth module.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -2
+# wl18xx wlan.
 
-DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)."
+SUMMARY = "Client for Wi-Fi Protected Access (WPA)"
 HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
 BUGTRACKER = "http://hostap.epitest.fi/bugz/"
 SECTION = "network"
 LICENSE = "GPLv2 | BSD"
 
-DEPENDS = "gnutls dbus libnl openssl

${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}" +DEPENDS = "gnutls dbus libnl openssl libgcrypt"
RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"

# To prevent users from accidently picking up this customized version of #
wpa-supplicant the DEFAULT_PREFERENCE will be set to -1.
DEFAULT_PREFERENCE = "-1"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -2
-PR = "r6"
+PR = "r7"
 
-SRC_URI = "git://github.com/TI-

OpenLink/hostap.git;protocol=git;branch=${BRANCH} \

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +3 -1
+SRC_URI =
+"git://git.ti.com/wilink8-wlan/hostap.git;protocol=git;branch=${BRANCH}
+\
            file://defconfig \
-           file://defaults-sane \
            file://wpa-supplicant.sh \
            file://wpa_supplicant.conf \
            file://p2p_supplicant.conf \

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc line 29

Quoted 10 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -4
-           file://wpa_supplicant.conf-sane \
            file://99_wpa_supplicant \
-           file://wpa_supplicant.conf \
-           file://fi.epitest.hostap.WPASupplicant.service \
-           file://fi.w1.wpa_supplicant1.service \
           "
 
 S = "${WORKDIR}/git/wpa_supplicant"
 
 PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "

[Franklin] PACKAGES_prepend = "${PN}-passphrase ${PN}-cli"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc line 31

Quoted 5 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -3
-FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase"
-FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli"
-FILES_${PN} += " /usr/share/dbus-1/system-services/*"
+FILES_wpa-supplicant-passphrase = "${sbindir}/wpa_passphrase"
+FILES_wpa-supplicant-cli = "${sbindir}/wpa_cli"

[Franklin] You can probably just use the below
FILES_${PN}-passphrase ....
FILES_${PN}-cli .....

Quoted 67 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -1
+FILES_${PN} += "${datadir}/dbus-1/system-services/*"
 
-#we introduce MY_ARCH to get 'armv5te' as arch instead of the misleading

'arm' on armv5te builds -MY_ARCH := "${PACKAGE_ARCH}" -PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'madwifi', '${MACHINE_ARCH}', '${MY_ARCH}', d)}"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +8 -1
+do_configure () {
+	install -m 0755 ${WORKDIR}/defconfig .config
+	echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> .config }
 
+export EXTRA_CFLAGS = "${CFLAGS}"
+export BINDIR = "${sbindir}"
 do_compile () {
-	make
+	unset CFLAGS CPPFLAGS CXXFLAGS
+	sed -e "s:CFLAGS\ =.*:& \$(EXTRA_CFLAGS):g" -i ${S}/src/lib.rules
+	oe_runmake
 }
 
 do_install () {
@@ -54,63 +54,36 @@ do_install () {
 	install -m 644 README ${WORKDIR}/wpa_supplicant.conf

${D}${docdir}/wpa_supplicant

(quoted diff) +0 -1
 	install -d ${D}${sysconfdir}/default
-	install -m 600 ${WORKDIR}/defaults-sane

${D}${sysconfdir}/default/wpa

(quoted diff) +0 -1
-	install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane

${D}${sysconfdir}/wpa_supplicant.conf

(quoted diff) +2 -0
+	install -m 600 ${WORKDIR}/wpa_supplicant.conf
+${D}${sysconfdir}/wpa_supplicant.conf
 	install -m 600 ${WORKDIR}/p2p_supplicant.conf

${D}${sysconfdir}/p2p_supplicant.conf

(quoted diff) +0 -1
-	if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q

^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then

(quoted diff) +0 -2
-		install -d ${D}/${sysconfdir}/dbus-1/system.d
-		install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf

${D}/${sysconfdir}/dbus-1/system.d

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -3
-		install -d ${D}/${datadir}/dbus-1/system-services
-		if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then
-			sed -i -e s:/sbin:${sbindir}:g

${S}/dbus/fi.epitest.hostap.WPASupplicant.service

(quoted diff) +0 -1
-			install -m 644

${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus- 1/system-services

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -3
-		fi
-		if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
-			sed -i -e s:/sbin:${sbindir}:g

${S}/dbus/fi.w1.wpa_supplicant1.service

(quoted diff) +0 -1
-			install -m 644 ${S}/dbus/fi.w1.wpa_supplicant1.service

${D}/${datadir}/dbus-1/system-services

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -4
-		fi
-	fi
-
 	install -d ${D}${sysconfdir}/network/if-pre-up.d/
 	install -d ${D}${sysconfdir}/network/if-post-down.d/
 	install -d ${D}${sysconfdir}/network/if-down.d/
-	install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir}
 	install -m 755 ${WORKDIR}/wpa-supplicant.sh

${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -0
 	cd ${D}${sysconfdir}/network/ && \
 	ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
 
+	install -d ${D}/${sysconfdir}/dbus-1/system.d
+	install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf

${D}/${sysconfdir}/dbus-1/system.d

Review

Quoted 3 lines
(quoted diff) +3 -0
+	install -d ${D}/${datadir}/dbus-1/system-services
+	install -m 644 ${S}/dbus/*.service
+${D}/${datadir}/dbus-1/system-services

[Franklin] Any reason not to move all of the system d logic under this DISTRO_FEATURES if statement below?
No reason to create directories and install files used by system.d if the distro doesn't support it.

Quoted 249 lines
(quoted diff) +2 -0
+
+	if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)};

then

(quoted diff) +2 -0
+		install -d ${D}/${systemd_unitdir}/system
+		install -m 644 ${S}/systemd/*.service

${D}/${systemd_unitdir}/system

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -0
+	fi
+
 	install -d ${D}/etc/default/volatiles
 	install -m 0644 ${WORKDIR}/99_wpa_supplicant

${D}/etc/default/volatiles

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -5
-
-	install -d 2755 ${D}/usr/share/dbus-1/system-services
-	install -d 2755 ${D}/etc
-	install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}/etc
-	install -m 644 ${WORKDIR}/fi.epitest.hostap.WPASupplicant.service

${D}/usr/share/dbus-1/system-services

(quoted diff) +0 -1
-	install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service

${D}/usr/share/dbus-1/system-services
}

pkg_postinst_wpa-supplicant () {

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +4 -15
-	# can't do this offline
-	if [ "x$D" != "x" ]; then
-		exit 1
+	# If we're offline, we don't need to do this.
+	if [ "x$D" = "x" ]; then
+		killall -q -HUP dbus-daemon || true
 	fi
+}
 
-	DBUSPID=`pidof dbus-daemon`
 
-	if [ "x$DBUSPID" != "x" ]; then
-		/etc/init.d/dbus-1 reload
-	fi
-}
 
-do_configure () {
-	install -m 0755 ${WORKDIR}/defconfig .config
-	echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
-	echo "CFLAGS += -I${STAGING_INCDIR}/libnl3/" >> .config
-	echo "LIBS += -L${STAGING_LIBDIR}" >> .config
-	echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config
-	if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}" =

"1" ]; then

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -4
-		echo "CONFIG_DRIVER_MADWIFI=y" >> .config
-		echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
-	fi
-}
(quoted diff) +0 -0

supplicant/defaults-sane b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defaults-sane
deleted file mode 100644
index 67c4cbd..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defaults-sane
+++ /dev/null

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defaults-sane deleted +0 -8
@@ -1,8 +0,0 @@
-# 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"
(quoted diff) +0 -0

supplicant-wl18xx/defconfig b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defconfig
similarity index 90%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defconfig
index f357b79..fcbe06d 100755
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defconfig
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica +++ nt/defconfig

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +2 -0
@@ -176,7 +176,7 @@ CONFIG_EAP_PWD=y
 CONFIG_EAP_LEAP=y
 
 # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) -#CONFIG_EAP_AKA=y
+CONFIG_EAP_AKA=y
 
 # EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
 # This requires CONFIG_EAP_AKA to be enabled, too.
@@ -201,10 +201,12 @@ CONFIG_WPS=y
 # Enable WSC 2.0 support
 CONFIG_WPS2=y
 # Enable WPS external registrar functionality -#CONFIG_WPS_ER=y
+CONFIG_WPS_ER=y
 # Disable credentials for an open network by default when acting as a WPS  #

registrar.
#CONFIG_WPS_REG_DISABLE_OPEN=y

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +4 -0
+# Enable WPS support with NFC config method #CONFIG_WPS_NFC=y
 
 # EAP-IKEv2
 #CONFIG_EAP_IKEV2=y
@@ -224,6 +226,9 @@ CONFIG_SMARTCARD=y
 # Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
 #CONFIG_HT_OVERRIDES=y
 
+# Support VHT overrides (disable VHT, mask MCS rates, etc.)
+#CONFIG_VHT_OVERRIDES=y
+
 # Development testing
 #CONFIG_EAPOL_TEST=y
 
@@ -231,6 +236,7 @@ CONFIG_SMARTCARD=y
 # 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)

(quoted diff) +2 -0
+# udp-remote = UDP sockets with remote access (only for tests
+systems/purpose)
 # y = use default (backwards compatibility)  # If this option is commented

out, control interface is not included in the # build.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +0 -1
@@ -256,11 +262,6 @@ CONFIG_WPA_CLI_EDIT=y  # 35-50 kB in code size.
 #CONFIG_NO_WPA=y
 
-# Remove WPA2 support. This allows WPA to be used, but removes WPA2

code to -# save about 1 kB in code size when building only WPA-Personal (no EAP support) -# or 6 kB if building for WPA-Enterprise.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +0 -2
-#CONFIG_NO_WPA2=y
-
 # Remove IEEE 802.11i/WPA-Personal ASCII passphrase support  # This option

can be used to reduce code size by removing support for # converting ASCII passphrases into PSK. If this functionality is removed, the @@ -304,7 +305,6 @@ 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

# Should we use poll instead of select? Select is used by default.

(quoted diff) +0 -0
@@ -322,11 +322,9 @@ CONFIG_L2_PACKET=linux  # PeerKey handshake for

Station to Station Link (IEEE 802.11e DLS) CONFIG_PEERKEY=y

-# IEEE 802.11w (management frame protection) -# This version is an experimental implementation based on IEEE 802.11w/D1.0 -# draft and is subject to change since the standard has not yet been finalized.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +3 -1
+# IEEE 802.11w (management frame protection), also known as PMF
 # Driver support is also needed for IEEE 802.11w.
-#CONFIG_IEEE80211W=y
+CONFIG_IEEE80211W=y
 
 # Select TLS implementation
 # openssl = OpenSSL (default)
@@ -404,7 +402,7 @@ CONFIG_PEERKEY=y
 #CONFIG_DYNAMIC_EAP_METHODS=y
 
 # IEEE Std 802.11r-2008 (Fast BSS Transition) -#CONFIG_IEEE80211R=y
+CONFIG_IEEE80211R=y
 
 # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
 #CONFIG_DEBUG_FILE=y @@ -483,6 +481,10 @@ CONFIG_ANDROID_LOG=y  #

IEEE 802.11n (High Throughput) support (mainly for AP mode) CONFIG_IEEE80211N=y

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +4 -0
+# Wireless Network Management (IEEE Std 802.11v-2011) # Note: This is
+experimental and not complete implementation.
+CONFIG_WNM=y
+
 # Interworking (IEEE 802.11u)
 # This can be used to enable functionality to improve interworking with  #

external networks (GAS/ANQP to learn more about the networks and network

(quoted diff) +0 -0
@@ -495,12 +497,47 @@ CONFIG_HS20=y  # Disable roaming in

wpa_supplicant #CONFIG_NO_ROAMING=y

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +16 -2
-# Enable P2P
-CONFIG_P2P=y
+# AP mode operations with wpa_supplicant # This can be used for
+controlling AP mode operations with wpa_supplicant. It # should be
+noted that this is mainly aimed at simple cases like # WPA2-Personal
+while more complex configurations like WPA2-Enterprise with an #
+external RADIUS server can be supported with hostapd.
 CONFIG_AP=y
 
+# P2P (Wi-Fi Direct)
+# This can be used to enable P2P support in wpa_supplicant. See
+README-P2P for # more information on P2P operations.
+CONFIG_P2P=y
+
+# Enable TDLS support
+CONFIG_TDLS=y
+
+# Wi-Fi Direct
+# This can be used to enable Wi-Fi Direct extensions for P2P using an
+external # program to control the additional information exchanges in the

messages.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +21 -1
+CONFIG_WIFI_DISPLAY=y
+
+# Autoscan
+# This can be used to enable automatic scan support in wpa_supplicant.
+# See wpa_supplicant.conf for more information on autoscan usage.
+#
+# Enabling directly a module will enable autoscan support.
+# For exponential module:
+#CONFIG_AUTOSCAN_EXPONENTIAL=y
+# For periodic module:
+#CONFIG_AUTOSCAN_PERIODIC=y
+
+# Password (and passphrase, etc.) backend for external storage # These
+optional mechanisms can be used to add support for storing passwords #
+and other secrets in external (to wpa_supplicant) location. This
+allows, for # example, operating system specific key storage to be used
+# # External password backend for testing purposes (developer use)
+#CONFIG_EXT_PASSWORD_TEST=y
+
+include $(wildcard $(LOCAL_PATH)/android_config_*.inc)
+
 # bgscan
 NEED_BGSCAN=y
 CONFIG_BGSCAN_LEARN=y
 CONFIG_BGSCAN_SIMPLE=y
-
(quoted diff) +0 -0

supplicant/fi.epitest.hostap.WPASupplicant.service b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.epitest.hostap.WPASupplicant.service deleted file mode 100644
index fb3f917..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.epitest.hostap.WPASupplicant.service
+++ /dev/null

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.epitest.hostap.WPASupplicant.service deleted +0 -3
@@ -1,4 +0,0 @@
-[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 diff --git a/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.w1.wpa_supplicant1.service
deleted file mode 100644
index 0bb1056..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.w1.wpa_supplicant1.service
+++ /dev/null

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service deleted +0 -3
@@ -1,4 +0,0 @@
-[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
--
1.7.9

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#9 lore raw
Quoted 203 lines · Franklin
Quoted 119 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Machani, Yaniv
Sent: Wednesday, July 16, 2014 5:28 AM
To: [email protected]
Subject: [meta-arago] [PATCH 1/5 v2] wpa-supplicant-wl18xx: Update recipe to ol_r8.a9.14 version.

- Changed git sources to git.ti.com
- Adjust configuration to match latest package.
- Removed redundant files and cleanup.

---
V2 Changes
- Fixed mode change
- Fixed semantics

 ....a8.10.bb => wpa-supplicant-wl18xx_r8.a9.14.bb} |   10 +-
 .../wpa-supplicant/wpa-supplicant.inc              |   91 +++++++-------------
 .../wpa-supplicant/wpa-supplicant/defaults-sane    |    8 --
 .../defconfig                                      |   69 +++++++++++----
 .../fi.epitest.hostap.WPASupplicant.service        |    4 -
 .../wpa-supplicant/fi.w1.wpa_supplicant1.service   |    4 -
 6 files changed, 90 insertions(+), 96 deletions(-)  rename meta-arago-

extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant- wl18xx_r8.a8.10.bb => wpa-supplicant-wl18xx_r8.a9.14.bb} (76%) delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defaults-sane

 rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
supplicant-wl18xx => wpa-supplicant}/defconfig (90%)  delete mode 100644
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
supplicant/fi.epitest.hostap.WPASupplicant.service
 delete mode 100644 meta-arago-extras/recipes-connectivity/wpa-

supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service

(quoted diff) +0 -0

supplicant-wl18xx_r8.a8.10.bb b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb
similarity index 76%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx_r8.a8.10.bb
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx_r8.a9.14.bb
index bfe617e..203364f 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx_r8.a8.10.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica +++ nt-wl18xx_r8.a9.14.bb

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a8.10.bb +2 -1
@@ -5,15 +5,15 @@ require wpa-supplicant.inc
 
 LICENSE = "GPLv2 | BSD"
 LIC_FILES_CHKSUM =
 "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
-                    file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
+
+ file://../README;md5=ba46b65db36e3c82244a3815b3738d63 \
 

file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec 7f39ebe3aba"

FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a9.14.bb renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a8.10.bb +4 -4
-# Tag: ol_r8.a8.10
-SRCREV = "257ab333aad993b4be81808524bc0d939c276058"
-BRANCH = "mbss_suspend"
-PR_append = "b+gitr${SRCPV}"
+# Tag: ol_r8.a9.14
+SRCREV = "281f5adb8eb7ee9e9220546c0227696b02aab332"
+BRANCH = "single_hostap_dfs_dynamic"
+PR_append = "c+gitr${SRCPV}"
 
 # Add ti to the PV to indicate that this is a TI modify version of wpa-

supplicant.
PV = "2.0-devel-ti"

(quoted diff) +0 -0

supplicant.inc b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc
index e0bda11..c8611ea 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica +++ nt.inc

(quoted diff) +0 -0
@@ -1,47 +1,47 @@
 # This is a TI specific version of the wpa-supplicant recipe for use with the -#

wl12xx wlan and bluetooth module.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -2
+# wl18xx wlan.
 
-DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)."
+SUMMARY = "Client for Wi-Fi Protected Access (WPA)"
 HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
 BUGTRACKER = "http://hostap.epitest.fi/bugz/"
 SECTION = "network"
 LICENSE = "GPLv2 | BSD"
 
-DEPENDS = "gnutls dbus libnl openssl

${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}" +DEPENDS = "gnutls dbus libnl openssl libgcrypt"
RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"

# To prevent users from accidently picking up this customized version of #
wpa-supplicant the DEFAULT_PREFERENCE will be set to -1.
DEFAULT_PREFERENCE = "-1"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -2
-PR = "r6"
+PR = "r7"
 
-SRC_URI = "git://github.com/TI-

OpenLink/hostap.git;protocol=git;branch=${BRANCH} \

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +3 -1
+SRC_URI =
+"git://git.ti.com/wilink8-wlan/hostap.git;protocol=git;branch=${BRANCH}
+\
            file://defconfig \
-           file://defaults-sane \
            file://wpa-supplicant.sh \
            file://wpa_supplicant.conf \
            file://p2p_supplicant.conf \

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc line 29

Quoted 10 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -4
-           file://wpa_supplicant.conf-sane \
            file://99_wpa_supplicant \
-           file://wpa_supplicant.conf \
-           file://fi.epitest.hostap.WPASupplicant.service \
-           file://fi.w1.wpa_supplicant1.service \
           "
 
 S = "${WORKDIR}/git/wpa_supplicant"
 
 PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "

[Franklin] PACKAGES_prepend = "${PN}-passphrase ${PN}-cli"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc line 31

Quoted 5 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -3
-FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase"
-FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli"
-FILES_${PN} += " /usr/share/dbus-1/system-services/*"
+FILES_wpa-supplicant-passphrase = "${sbindir}/wpa_passphrase"
+FILES_wpa-supplicant-cli = "${sbindir}/wpa_cli"

[Franklin] You can probably just use the below
FILES_${PN}-passphrase ....
FILES_${PN}-cli .....

Quoted 64 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +1 -1
+FILES_${PN} += "${datadir}/dbus-1/system-services/*"
 
-#we introduce MY_ARCH to get 'armv5te' as arch instead of the misleading

'arm' on armv5te builds -MY_ARCH := "${PACKAGE_ARCH}" -PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'madwifi', '${MACHINE_ARCH}', '${MY_ARCH}', d)}"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +8 -1
+do_configure () {
+	install -m 0755 ${WORKDIR}/defconfig .config
+	echo "CFLAGS +=\"-I${STAGING_INCDIR}/libnl3\"" >> .config }
 
+export EXTRA_CFLAGS = "${CFLAGS}"
+export BINDIR = "${sbindir}"
 do_compile () {
-	make
+	unset CFLAGS CPPFLAGS CXXFLAGS
+	sed -e "s:CFLAGS\ =.*:& \$(EXTRA_CFLAGS):g" -i ${S}/src/lib.rules
+	oe_runmake
 }
 
 do_install () {
@@ -54,63 +54,36 @@ do_install () {
 	install -m 644 README ${WORKDIR}/wpa_supplicant.conf

${D}${docdir}/wpa_supplicant

(quoted diff) +0 -1
 	install -d ${D}${sysconfdir}/default
-	install -m 600 ${WORKDIR}/defaults-sane

${D}${sysconfdir}/default/wpa

(quoted diff) +0 -1
-	install -m 600 ${WORKDIR}/wpa_supplicant.conf-sane

${D}${sysconfdir}/wpa_supplicant.conf

(quoted diff) +2 -0
+	install -m 600 ${WORKDIR}/wpa_supplicant.conf
+${D}${sysconfdir}/wpa_supplicant.conf
 	install -m 600 ${WORKDIR}/p2p_supplicant.conf

${D}${sysconfdir}/p2p_supplicant.conf

(quoted diff) +0 -1
-	if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config || grep -q

^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then

(quoted diff) +0 -2
-		install -d ${D}/${sysconfdir}/dbus-1/system.d
-		install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf

${D}/${sysconfdir}/dbus-1/system.d

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -3
-		install -d ${D}/${datadir}/dbus-1/system-services
-		if grep -q ^CONFIG_CTRL_IFACE_DBUS=y .config; then
-			sed -i -e s:/sbin:${sbindir}:g

${S}/dbus/fi.epitest.hostap.WPASupplicant.service

(quoted diff) +0 -1
-			install -m 644

${S}/dbus/fi.epitest.hostap.WPASupplicant.service ${D}/${datadir}/dbus- 1/system-services

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -3
-		fi
-		if grep -q ^CONFIG_CTRL_IFACE_DBUS_NEW=y .config; then
-			sed -i -e s:/sbin:${sbindir}:g

${S}/dbus/fi.w1.wpa_supplicant1.service

(quoted diff) +0 -1
-			install -m 644 ${S}/dbus/fi.w1.wpa_supplicant1.service

${D}/${datadir}/dbus-1/system-services

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -4
-		fi
-	fi
-
 	install -d ${D}${sysconfdir}/network/if-pre-up.d/
 	install -d ${D}${sysconfdir}/network/if-post-down.d/
 	install -d ${D}${sysconfdir}/network/if-down.d/
-	install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir}
 	install -m 755 ${WORKDIR}/wpa-supplicant.sh

${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -0
 	cd ${D}${sysconfdir}/network/ && \
 	ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
Quoted 8 lines

Review

Quoted 6 lines
(quoted diff) +2 -0
+	install -d ${D}/${sysconfdir}/dbus-1/system.d
+	install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf

${D}/${sysconfdir}/dbus-1/system.d

(quoted diff) +3 -0
+	install -d ${D}/${datadir}/dbus-1/system-services
+	install -m 644 ${S}/dbus/*.service
+${D}/${datadir}/dbus-1/system-services

[Franklin] Any reason not to move all of the system d logic under this DISTRO_FEATURES if statement below?
No reason to create directories and install files used by system.d if the distro doesn't support it.

I believe this code is just copied verbatim from oe-core...

Quoted 252 lines
Quoted 244 lines
(quoted diff) +1 -0
+	if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)};

then

(quoted diff) +2 -0
+		install -d ${D}/${systemd_unitdir}/system
+		install -m 644 ${S}/systemd/*.service

${D}/${systemd_unitdir}/system

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +2 -0
+	fi
+
 	install -d ${D}/etc/default/volatiles
 	install -m 0644 ${WORKDIR}/99_wpa_supplicant

${D}/etc/default/volatiles

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -5
-
-	install -d 2755 ${D}/usr/share/dbus-1/system-services
-	install -d 2755 ${D}/etc
-	install -m 644 ${WORKDIR}/wpa_supplicant.conf ${D}/etc
-	install -m 644 ${WORKDIR}/fi.epitest.hostap.WPASupplicant.service

${D}/usr/share/dbus-1/system-services

(quoted diff) +0 -1
-	install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service

${D}/usr/share/dbus-1/system-services
}

pkg_postinst_wpa-supplicant () {

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +4 -15
-	# can't do this offline
-	if [ "x$D" != "x" ]; then
-		exit 1
+	# If we're offline, we don't need to do this.
+	if [ "x$D" = "x" ]; then
+		killall -q -HUP dbus-daemon || true
 	fi
+}
 
-	DBUSPID=`pidof dbus-daemon`
 
-	if [ "x$DBUSPID" != "x" ]; then
-		/etc/init.d/dbus-1 reload
-	fi
-}
 
-do_configure () {
-	install -m 0755 ${WORKDIR}/defconfig .config
-	echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
-	echo "CFLAGS += -I${STAGING_INCDIR}/libnl3/" >> .config
-	echo "LIBS += -L${STAGING_LIBDIR}" >> .config
-	echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config
-	if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}" =

"1" ]; then

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc +0 -4
-		echo "CONFIG_DRIVER_MADWIFI=y" >> .config
-		echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
-	fi
-}
(quoted diff) +0 -0

supplicant/defaults-sane b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defaults-sane
deleted file mode 100644
index 67c4cbd..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defaults-sane
+++ /dev/null

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defaults-sane deleted +0 -8
@@ -1,8 +0,0 @@
-# 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"
(quoted diff) +0 -0

supplicant-wl18xx/defconfig b/meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defconfig
similarity index 90%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant-wl18xx/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/defconfig
index f357b79..fcbe06d 100755
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- wl18xx/defconfig
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplica +++ nt/defconfig

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +2 -0
@@ -176,7 +176,7 @@ CONFIG_EAP_PWD=y
 CONFIG_EAP_LEAP=y
 
 # EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used) -#CONFIG_EAP_AKA=y
+CONFIG_EAP_AKA=y
 
 # EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
 # This requires CONFIG_EAP_AKA to be enabled, too.
@@ -201,10 +201,12 @@ CONFIG_WPS=y
 # Enable WSC 2.0 support
 CONFIG_WPS2=y
 # Enable WPS external registrar functionality -#CONFIG_WPS_ER=y
+CONFIG_WPS_ER=y
 # Disable credentials for an open network by default when acting as a WPS  #

registrar.
#CONFIG_WPS_REG_DISABLE_OPEN=y

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +4 -0
+# Enable WPS support with NFC config method #CONFIG_WPS_NFC=y
 
 # EAP-IKEv2
 #CONFIG_EAP_IKEV2=y
@@ -224,6 +226,9 @@ CONFIG_SMARTCARD=y
 # Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
 #CONFIG_HT_OVERRIDES=y
 
+# Support VHT overrides (disable VHT, mask MCS rates, etc.)
+#CONFIG_VHT_OVERRIDES=y
+
 # Development testing
 #CONFIG_EAPOL_TEST=y
 
@@ -231,6 +236,7 @@ CONFIG_SMARTCARD=y
 # 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)

(quoted diff) +2 -0
+# udp-remote = UDP sockets with remote access (only for tests
+systems/purpose)
 # y = use default (backwards compatibility)  # If this option is commented

out, control interface is not included in the # build.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +0 -1
@@ -256,11 +262,6 @@ CONFIG_WPA_CLI_EDIT=y  # 35-50 kB in code size.
 #CONFIG_NO_WPA=y
 
-# Remove WPA2 support. This allows WPA to be used, but removes WPA2

code to -# save about 1 kB in code size when building only WPA-Personal (no EAP support) -# or 6 kB if building for WPA-Enterprise.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +0 -2
-#CONFIG_NO_WPA2=y
-
 # Remove IEEE 802.11i/WPA-Personal ASCII passphrase support  # This option

can be used to reduce code size by removing support for # converting ASCII passphrases into PSK. If this functionality is removed, the @@ -304,7 +305,6 @@ 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

# Should we use poll instead of select? Select is used by default.

(quoted diff) +0 -0
@@ -322,11 +322,9 @@ CONFIG_L2_PACKET=linux  # PeerKey handshake for

Station to Station Link (IEEE 802.11e DLS) CONFIG_PEERKEY=y

-# IEEE 802.11w (management frame protection) -# This version is an experimental implementation based on IEEE 802.11w/D1.0 -# draft and is subject to change since the standard has not yet been finalized.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +3 -1
+# IEEE 802.11w (management frame protection), also known as PMF
 # Driver support is also needed for IEEE 802.11w.
-#CONFIG_IEEE80211W=y
+CONFIG_IEEE80211W=y
 
 # Select TLS implementation
 # openssl = OpenSSL (default)
@@ -404,7 +402,7 @@ CONFIG_PEERKEY=y
 #CONFIG_DYNAMIC_EAP_METHODS=y
 
 # IEEE Std 802.11r-2008 (Fast BSS Transition) -#CONFIG_IEEE80211R=y
+CONFIG_IEEE80211R=y
 
 # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
 #CONFIG_DEBUG_FILE=y @@ -483,6 +481,10 @@ CONFIG_ANDROID_LOG=y  #

IEEE 802.11n (High Throughput) support (mainly for AP mode) CONFIG_IEEE80211N=y

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +4 -0
+# Wireless Network Management (IEEE Std 802.11v-2011) # Note: This is
+experimental and not complete implementation.
+CONFIG_WNM=y
+
 # Interworking (IEEE 802.11u)
 # This can be used to enable functionality to improve interworking with  #

external networks (GAS/ANQP to learn more about the networks and network

(quoted diff) +0 -0
@@ -495,12 +497,47 @@ CONFIG_HS20=y  # Disable roaming in

wpa_supplicant #CONFIG_NO_ROAMING=y

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +16 -2
-# Enable P2P
-CONFIG_P2P=y
+# AP mode operations with wpa_supplicant # This can be used for
+controlling AP mode operations with wpa_supplicant. It # should be
+noted that this is mainly aimed at simple cases like # WPA2-Personal
+while more complex configurations like WPA2-Enterprise with an #
+external RADIUS server can be supported with hostapd.
 CONFIG_AP=y
 
+# P2P (Wi-Fi Direct)
+# This can be used to enable P2P support in wpa_supplicant. See
+README-P2P for # more information on P2P operations.
+CONFIG_P2P=y
+
+# Enable TDLS support
+CONFIG_TDLS=y
+
+# Wi-Fi Direct
+# This can be used to enable Wi-Fi Direct extensions for P2P using an
+external # program to control the additional information exchanges in the

messages.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx/defconfig +21 -1
+CONFIG_WIFI_DISPLAY=y
+
+# Autoscan
+# This can be used to enable automatic scan support in wpa_supplicant.
+# See wpa_supplicant.conf for more information on autoscan usage.
+#
+# Enabling directly a module will enable autoscan support.
+# For exponential module:
+#CONFIG_AUTOSCAN_EXPONENTIAL=y
+# For periodic module:
+#CONFIG_AUTOSCAN_PERIODIC=y
+
+# Password (and passphrase, etc.) backend for external storage # These
+optional mechanisms can be used to add support for storing passwords #
+and other secrets in external (to wpa_supplicant) location. This
+allows, for # example, operating system specific key storage to be used
+# # External password backend for testing purposes (developer use)
+#CONFIG_EXT_PASSWORD_TEST=y
+
+include $(wildcard $(LOCAL_PATH)/android_config_*.inc)
+
 # bgscan
 NEED_BGSCAN=y
 CONFIG_BGSCAN_LEARN=y
 CONFIG_BGSCAN_SIMPLE=y
-
(quoted diff) +0 -0

supplicant/fi.epitest.hostap.WPASupplicant.service b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.epitest.hostap.WPASupplicant.service deleted file mode 100644
index fb3f917..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.epitest.hostap.WPASupplicant.service
+++ /dev/null

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.epitest.hostap.WPASupplicant.service deleted +0 -3
@@ -1,4 +0,0 @@
-[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 diff --git a/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.w1.wpa_supplicant1.service
deleted file mode 100644
index 0bb1056..0000000
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant/fi.w1.wpa_supplicant1.service
+++ /dev/null

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/fi.w1.wpa_supplicant1.service deleted +0 -3
@@ -1,4 +0,0 @@
-[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
--
1.7.9

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