Skip to contentSkip to conversation

wl12xx-firmware: Pull back in old r5.00.18 recipe.

PATCH Superseded Franklin S. Cooper Jr 3 participants 39 messages Mar 20, 2013 – Apr 1, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/17 wl12xx-firmware: Pull back in old r5.00.18 recipe.

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 wl12x-firmware recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 .../wl12xx-firmware/wl12xx-firmware_r5.00.18.bb    |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb new file +28 -0
new file mode 100644
index 0000000..12df963
@@ -0,0 +1,28 @@
+DESCRIPTION = "Firmware files for use with TI wl12xx"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=ba590e1d103f891d0151609046aef9e8"
+
+PACKAGE_ARCH = "all"
+
+PR = "r0+gitr${SRCREV}"
+
+# This recipe provides the latest firmware files for wl12xx.
+# Therefore, use the contents of this recipe instead of the contents
+# of linux-firmware-wl12xx.
+RCONFLICTS_${PN} = "linux-firmware-wl12xx"
+RPROVIDES_${PN}  = "linux-firmware-wl12xx"
+
+SRCREV = "38e0dd7999b9087e00d1a59306a7c22fd23246cf"
+SRC_URI = "git://github.com/TI-ECS/ti-utils.git;protocol=git"
+
+S = "${WORKDIR}/git/hw/firmware"
+
+do_compile() {
+    :
+}
+
+do_install() {
+    oe_runmake 'DEST_DIR=${D}' install
+}
+
+FILES_${PN} = "/lib/firmware/ti-connectivity/*"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/17 wl12xx-firmware: Update recipe name.

* Update recipe to have a distinct name.

---
 .../Makefile                                       |    0
 ...irmware_git.bb => wl12xx-firmware_r5.sp4.01.bb} |    0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-arago-extras/recipes-bsp/wl12xx-firmware/{wl12xx-firmware => wl12xx-firmware-r5.sp4.01}/Makefile (100%)
 rename meta-arago-extras/recipes-bsp/wl12xx-firmware/{wl12xx-firmware_git.bb => wl12xx-firmware_r5.sp4.01.bb} (100%)
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware-r5.sp4.01/Makefile renamed from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware/Makefile +0 -0
similarity index 100%
rename from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware/Makefile
rename to meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware-r5.sp4.01/Makefile
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.sp4.01.bb renamed from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb +0 -0
similarity index 100%
rename from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_git.bb
rename to meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.sp4.01.bb
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 3/17 ti-compat-bluetooth: Split recipe

In reply to Franklin S. Cooper Jr

* Generate a common .inc file to allow support for multiple versions of the ti-compat-bluetooth recipe.
* Change the recipe name to reflect the specific TI compat-bluetooth release

---
 .../ti-compat-bluetooth/ti-compat-bluetooth.inc    |   31 ++++++++++++++++
 .../ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb |   39 --------------------
 .../ti-compat-bluetooth_r5.sp3.05.bb               |    8 ++++
 3 files changed, 39 insertions(+), 39 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc
 delete mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc new file +31 -0
new file mode 100644
index 0000000..bdffeeb
@@ -0,0 +1,31 @@
+DESCRIPTION = "TI compat-bluetooth drivers"
+HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
+SECTION = "kernel/modules"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+inherit module
+
+RDEPENDS_${PN} = "ti-compat-wireless-wl12xx"
+
+PR = "${MACHINE_KERNEL_PR}+b"
+
+SRC_URI = "file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \
+            file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \
+            file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \
+           "
+
+S = "${WORKDIR}/compat-bluetooth/"
+
+EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
+
+do_configure() {
+    cd ${S}
+    ./scripts/driver-select bt
+}
+
+do_install() {
+    oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules
+    find ${D} -name compat.ko | xargs rm
+}
+
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -39
deleted file mode 100644
index 9ce50f7..0000000
@@ -1,39 +0,0 @@
-DESCRIPTION = "TI compat-bluetooth drivers"
-HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
-SECTION = "kernel/modules"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
-
-inherit module
-
-RDEPENDS_${PN} = "ti-compat-wireless-wl12xx"
-
-PR = "${MACHINE_KERNEL_PR}"
-PR_append = "b"
-
-COMPAT_BLUETOOTH_VERSION = "2012-11-19-r5-sp3"
-TAG = "${@'${COMPAT_BLUETOOTH_VERSION}'.replace('-', '')}"
-PV = "0.${TAG}"
-
-SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz \
-           file://0001-compat-bluetooth-2.6-removed-unused-BT-modules-from-.patch \
-           file://0002-Bluetooth-Fix-l2cap-conn-failures-for-ssp-devices.patch \
-           file://0001-compat-bluetooth-fixing-kernel-panic-in-l2cap.patch \
-          "
-
-SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd"
-SRC_URI[sha256sum] = "d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350"
-
-S = "${WORKDIR}/compat-bluetooth/"
-
-EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
-
-do_configure() {
-    cd ${S}
-    ./scripts/driver-select bt
-}
-
-do_install() {
-    oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules
-    find ${D} -name compat.ko | xargs rm
-}
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb new file +8 -0
new file mode 100644
index 0000000..2df61c2
@@ -0,0 +1,8 @@
+require ti-compat-bluetooth.inc
+
+PR_append = "-r0"
+
+SRC_URI += "https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat-bluetooth-2012-02-20.tar.gz"
+
+SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd"
+SRC_URI[sha256sum] = "d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350"
Signature · 1 line
1.7.0.4
#5 lore raw

PATCH 4/17 ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version

In reply to Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 ti-compat-bluetooth recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 .../ti-compat-bluetooth_r5.00.18.bb                |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.00.18.bb
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.00.18.bb new file +8 -0
new file mode 100644
index 0000000..eee79d0
@@ -0,0 +1,8 @@
+require ti-compat-bluetooth.inc
+
+PR_append = "-r0"
+
+SRC_URI += "https://gforge.ti.com/gf/download/frsrelease/865/5622/compat-bluetooth-wl12xx-2012-05-22-r5-18.tgz"
+
+SRC_URI[md5sum] = "85118756a605ebd8f4fbff19995368a6"
+SRC_URI[sha256sum] = "d250a6447de54f0776a12ca604bf2a2a48b022108b699de5008f48462e535393"
Signature · 1 line
1.7.0.4
#7 lore raw

PATCH 5/17 ti-compat-wireless-wl12xx: Rename recipe

In reply to Franklin S. Cooper Jr

* Rename recipe so that PV matches the release version of compat-wireless-wl12xx.

---
 ...wl12xx-Decrease-number-of-TX-transactions.patch |    0
 ...5.bb => ti-compat-wireless-wl12xx_r5.sp4.01.bb} |    2 --
 2 files changed, 0 insertions(+), 2 deletions(-)
 rename meta-arago-extras/recipes-bsp/ti-compat-wireless/{files => ti-compat-wireless-wl12xx-r5.sp4.01}/0002-wl12xx-Decrease-number-of-TX-transactions.patch (100%)
 rename meta-arago-extras/recipes-bsp/ti-compat-wireless/{ti-compat-wireless-wl12xx_r5.bb => ti-compat-wireless-wl12xx_r5.sp4.01.bb} (99%)
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.sp4.01/0002-wl12xx-Decrease-number-of-TX-transactions.patch renamed from meta-arago-extras/recipes-bsp/ti-compat-wireless/files/0002-wl12xx-Decrease-number-of-TX-transactions.patch +0 -0
similarity index 100%
rename from meta-arago-extras/recipes-bsp/ti-compat-wireless/files/0002-wl12xx-Decrease-number-of-TX-transactions.patch
rename to meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.sp4.01/0002-wl12xx-Decrease-number-of-TX-transactions.patch
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.sp4.01.bb renamed from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.bb +0 -2
similarity index 99%
rename from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.bb
rename to meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.sp4.01.bb
index 1886e00..afbfa9c 100644
@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
 RDEPENDS_${PN} = "wireless-tools"
 
-PV = "r5.sp4.01"
-
 inherit module
 
 PR = "${MACHINE_KERNEL_PR}"
Signature · 1 line
1.7.0.4
#9 lore raw

PATCH 6/17 ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release

In reply to Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 ti-compat-wireless-wl12xx recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 .../0001-compat-wireless-exclude-BT-building.patch |   29 +++++++++
 ...xx-detect-between-wl1271-PG-3.0-and-lower.patch |   65 ++++++++++++++++++++
 .../0002-compat-wireless-enable-test-mode.patch    |   29 +++++++++
 ...ompat-wireless-enable-uapsd-configuration.patch |   27 ++++++++
 .../0004-added-driver-version.patch                |   36 +++++++++++
 .../ti-compat-wireless-wl12xx_r5.00.18.bb          |   49 +++++++++++++++
 6 files changed, 235 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT-building.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-wl12xx-detect-between-wl1271-PG-3.0-and-lower.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test-mode.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd-configuration.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0004-added-driver-version.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.00.18.bb
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT-building.patch new file +29 -0
new file mode 100644
index 0000000..731da28
@@ -0,0 +1,29 @@
+From 491bf7e73abf395f2af4a914d972dc7b73af2533 Mon Sep 17 00:00:00 2001
+From: Moosa <[email protected]>
+Date: Thu, 24 May 2012 11:53:07 +0300
+Subject: [PATCH 1/2] compat-wireless: exclude BT building
+
+* Exclude Bluetooth components building from compat-wireless
+
+Upstream-Status: Pending
+
+Signed-off-by: Moosa Baransi <[email protected]>
+---
+ Makefile |    2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index a020661..ac75fb0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -37,8 +37,6 @@ endif
+
+ endif
+
+-obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/
+-obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/
+
+ else
+
+--
+1.7.1
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-wl12xx-detect-between-wl1271-PG-3.0-and-lower.patch new file +65 -0

65 lines not on this page · raw message

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test-mode.patch new file +29 -0
new file mode 100644
index 0000000..556ec8a
@@ -0,0 +1,29 @@
+From ca17ce77efde9a69ea4d82b86d4d51463d3e2b4a Mon Sep 17 00:00:00 2001
+From: Moosa <[email protected]>
+Date: Thu, 24 May 2012 11:54:06 +0300
+Subject: [PATCH 2/2] compat-wireless: enable test mode
+
+* Enable test mode switch. Needed for the calibration process
+
+Upstream-Status: Pending
+
+Signed-off-by: Moosa Baransi <[email protected]>
+---
+ config.mk |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index f09d16d..65b485e 100644
+--- a/config.mk
++++ b/config.mk
+@@ -198,7 +198,7 @@ CONFIG_MAC80211_MESH=y
+ CONFIG_CFG80211=m
+ CONFIG_CFG80211_DEFAULT_PS=y
+ # CONFIG_CFG80211_DEBUGFS=y
+-# CONFIG_NL80211_TESTMODE=y
++CONFIG_NL80211_TESTMODE=y
+ # CONFIG_CFG80211_DEVELOPER_WARNINGS=y
+ # CONFIG_CFG80211_REG_DEBUG=y
+ # CONFIG_CFG80211_INTERNAL_REGDB=y
+--
+1.7.1
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd-configuration.patch new file +27 -0
new file mode 100644
index 0000000..2cd3502
@@ -0,0 +1,27 @@
+From 74d34f0573183f3d4971fcae46ed9dadbf514626 Mon Sep 17 00:00:00 2001
+From: Eyal Reizer <[email protected]>
+Date: Sun, 12 Jun 2011 17:33:09 +0300
+Subject: [PATCH] ti-compat-wireless:enable uapsd configuration
+
+this switch activates the wlan uapsd_queues settings
+
+Signed-off-by: Eyal Reizer <[email protected]>
+---
+ config.mk |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index f4cf832..a464b99 100644
+--- a/config.mk
++++ b/config.mk
+@@ -110,7 +110,7 @@ endif #CONFIG_COMPAT_KERNEL_33
+ # Wireless subsystem stuff
+ CONFIG_MAC80211=m
+
+-# CONFIG_MAC80211_DEBUGFS=y
++CONFIG_MAC80211_DEBUGFS=y
+ # CONFIG_MAC80211_NOINLINE=y
+ # CONFIG_MAC80211_VERBOSE_DEBUG=y
+ # CONFIG_MAC80211_HT_DEBUG=y
+--
+1.7.0.4
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0004-added-driver-version.patch new file +36 -0
new file mode 100644
index 0000000..b118166
@@ -0,0 +1,36 @@
+From 6147f6523fd3e82b1bed0ea5de1c23cff808a39f Mon Sep 17 00:00:00 2001
+From: Moosa <[email protected]>
+Date: Thu, 29 Dec 2011 09:26:16 +0200
+Subject: [PATCH] added driver version
+
+* Add printing of driver version after printing FW version.
+
+Upstream-Status: Pending
+
+Signed-off-by: Moosa <[email protected]>
+---
+ drivers/net/wireless/wl12xx/main.c |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
+index aae6a74..fbf754b 100644
+--- a/drivers/net/wireless/wl12xx/main.c
++++ b/drivers/net/wireless/wl12xx/main.c
+@@ -49,6 +49,7 @@
+ #include "scan.h"
+
+ #define WL1271_BOOT_RETRIES 3
++#define WLAN_DRIVER_VERSION "R5_00_18"
+
+ static struct conf_drv_settings default_conf = {
+	.sg = {
+@@ -2227,6 +2228,7 @@ power_off:
+	wl->state = WL1271_STATE_ON;
+	set_bit(WL1271_FLAG_IF_INITIALIZED, &wl->flags);
+	wl1271_info("firmware booted (%s)", wl->chip.fw_ver_str);
++	wl1271_info("Driver version: %s", WLAN_DRIVER_VERSION);
+
+	/* update hw/fw version info in wiphy struct */
+	wiphy->hw_version = wl->chip.id;
+--
+1.7.0.4
meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.00.18.bb new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#11 lore raw

PATCH 7/17 hostap-daemon: Split recipe

In reply to Franklin S. Cooper Jr

* Split recipe to allow multiple hostap-daemon recipes to share a common .inc

---
 ...d-change-conf-file-for-better-oob-startup.patch |    0
 .../hostap/hostap-daemon_git.bb                    |   61 --------------------
 .../hostap/hostap-daemon_r5.sp4.01.bb              |   11 ++++
 .../recipes-connectivity/hostap/hostap.inc         |   54 +++++++++++++++++
 4 files changed, 65 insertions(+), 61 deletions(-)
 rename meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon => hostap-daemon-r5.sp4.01}/0001-hostapd-change-conf-file-for-better-oob-startup.patch (100%)
 delete mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb
 create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb
 create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap.inc
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-startup.patch renamed from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/0001-hostapd-change-conf-file-for-better-oob-startup.patch +0 -0
similarity index 100%
rename from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon/0001-hostapd-change-conf-file-for-better-oob-startup.patch
rename to meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-startup.patch
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -61

61 lines not on this page · raw message

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb new file +11 -0
new file mode 100644
index 0000000..a84c333
@@ -0,0 +1,11 @@
+# This is a TI specific version of the hostap-daemon recipe for use with the
+# wl12xx wlan and bluetooth module.
+
+require hostap.inc
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
+
+PR_append = "a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.SP4.01"
meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +54 -0

54 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#14 lore raw

PATCH 8/17 hostap-daemon: Pull in old r5-00-18 recipe

In reply to Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 hostap-daemon recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 ...d-change-conf-file-for-better-oob-startup.patch |   49 ++++++++++++++++++++
 .../hostap/hostap-daemon_r5.00.18.bb               |   11 ++++
 2 files changed, 60 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob-startup.patch
 create mode 100644 meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.00.18.bb
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob-startup.patch new file +49 -0
new file mode 100644
index 0000000..fa68357
@@ -0,0 +1,49 @@
+From 4c5fe9901219956fb754306a2093e78fb460bbdd Mon Sep 17 00:00:00 2001
+From: Eyal Reizer <[email protected]>
+Date: Thu, 23 Jun 2011 10:13:44 +0300
+Subject: [PATCH] hostapd: change conf file for better sdk out of box startup
+
+The default hostapd.conf file that is fetched from upstream is using
+a band which is not supported by the 1271 chip.
+I am using this amend.inc in order to modify it to use g band and default
+channel 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 |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
+index 6d7263a..bb27beb 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.
+@@ -99,14 +99,14 @@ ssid=test
+
+ # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,
+ # Default: IEEE 802.11b
+-hw_mode=a
++hw_mode=g
+
+ # Channel number (IEEE 802.11)
+ # (default: 0, i.e., not set)
+ # Please note that some drivers (e.g., madwifi) do not use this value from
+ # hostapd and the channel will need to be configuration separately with
+ # iwconfig.
+-channel=60
++channel=6
+
+ # Beacon interval in kus (1.024 ms) (default: 100; range 15..65535)
+ beacon_int=100
+--
+1.7.0.4
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.00.18.bb new file +11 -0
new file mode 100644
index 0000000..aa6f5bb
@@ -0,0 +1,11 @@
+# This is a TI specific version of the hostap-daemon recipe for use with the
+# wl12xx wlan and bluetooth module.
+
+require hostap.inc
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58"
+
+PR_append = "a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.00.18"
Signature · 1 line
1.7.0.4
#16 lore raw

PATCH 9/17 wpa-supplicant: Split recipe

In reply to Franklin S. Cooper Jr

* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa-supplicant.

---
 .../defconfig                                      |    0
 .../{wpa-supplicant_git.bb => wpa-supplicant.inc}  |   15 +++++----------
 .../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb     |   13 +++++++++++++
 3 files changed, 18 insertions(+), 10 deletions(-)
 rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant => wpa-supplicant-r5.sp4.01}/defconfig (100%)
 rename meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant_git.bb => wpa-supplicant.inc} (91%)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig +0 -0
similarity index 100%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +5 -10
similarity index 91%
rename from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb
rename to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc
index 927a556..21ec6a3 100644
@@ -5,10 +5,7 @@ DESCRIPTION = "A 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"
-LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
-                    file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
-                    file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"
+
 DEPENDS = "gnutls dbus libnl openssl ${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
 RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
 
@@ -16,22 +13,19 @@ RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
 # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1.
 DEFAULT_PREFERENCE = "-1"
 
-SRCREV = "ol_R5.SP4.01"
-PR = "r3+gitr${SRCPV}"
-# Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant.
-PV = "2.0-devel-ti"
+PR = "r4"
 
 SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git \
            file://defconfig \
            file://defaults-sane \
            file://wpa-supplicant.sh \
-           file://kill_wpa_supplicant.sh \
            file://wpa_supplicant.conf \
            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 \
+           file://kill_wpa_supplicant.sh \
           "
 
 S = "${WORKDIR}/git/wpa_supplicant"
@@ -54,7 +48,6 @@ do_install () {
 	install -m 755 wpa_supplicant ${D}${sbindir}
 	install -m 755 wpa_passphrase ${D}${sbindir}
 	install -m 755 wpa_cli        ${D}${sbindir}
-	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh ${D}${sbindir}
 
 	install -d ${D}${docdir}/wpa_supplicant
 	install -m 644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant
@@ -93,6 +86,8 @@ do_install () {
 	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
 	install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service ${D}/usr/share/dbus-1/system-services
+
+	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh ${D}${sbindir}
 }
 
 pkg_postinst_wpa-supplicant () {
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb new file +13 -0
new file mode 100644
index 0000000..e23f3df
@@ -0,0 +1,13 @@
+# This is a TI specific version of the wpa-supplicant recipe for use with the
+# wl12xx wlan and bluetooth 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"
+
+
+SRCREV = "ol_R5.SP4.01"
+PR_append = "-a+gitr${SRCPV}"
Signature · 1 line
1.7.0.4
#20 lore raw

PATCH 10/17 wpa-supplicant: Pull back in old r5-00-18 recipe.

In reply to Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 wpa-supplicant recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 ...ant-dbus-AP-Add-support-for-WPS-Internal-.patch |  134 ++++++
 .../wpa-supplicant-r5.00.18/defconfig              |  426 ++++++++++++++++++++
 .../wpa-supplicant/wpa-supplicant_r5.00.18.bb      |   14 +
 3 files changed, 574 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch
 create mode 100755 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/defconfig
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bb
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch new file +134 -0
new file mode 100644
index 0000000..15ec6fe
@@ -0,0 +1,134 @@
+From 19030351b95f48714007e425eaa2163d9122d788 Mon Sep 17 00:00:00 2001
+From: Gustavo Sverzut Barbieri <[email protected]>
+Date: Sun, 18 Dec 2011 17:06:31 +0200
+Subject: [PATCH] wpa_supplicant/dbus AP: Add support for WPS Internal
+ Registrar
+
+When in AP mode, wpa_supplicant is now enabling WPS (only Internal
+Registrar). WPS.Start() call can be used to initiate WPS negotiation
+similarly to how this is done in station mode.
+
+This was done to ctrl_iface by Jouni Malinen on April 21, 2009 (commit
+3ec97afe571f159ea95213262c1c6b89965827d4)
+
+Upstream-Status: Submitted [http://lists.shmoo.com/pipermail/hostap/2011-December/024947.html]
+
+Signed-hostap: Gustavo Sverzut Barbieri <[email protected]>
+---
+ wpa_supplicant/dbus/dbus_new_handlers_wps.c |   72 +++++++++++++++++++++++++--
+ 1 file changed, 67 insertions(+), 5 deletions(-)
+
+diff --git a/wpa_supplicant/dbus/dbus_new_handlers_wps.c b/wpa_supplicant/dbus/dbus_new_handlers_wps.c
+index d8b74d0..a72cfb3 100644
+--- a/wpa_supplicant/dbus/dbus_new_handlers_wps.c
++++ b/wpa_supplicant/dbus/dbus_new_handlers_wps.c
+@@ -19,6 +19,8 @@
+ #include "../config.h"
+ #include "../wpa_supplicant_i.h"
+ #include "../wps_supplicant.h"
++#include "../driver_i.h"
++#include "../ap.h"
+ #include "dbus_new_helpers.h"
+ #include "dbus_new.h"
+ #include "dbus_new_handlers.h"
+@@ -30,6 +32,7 @@ struct wps_start_params {
+	int type; /* 0 - not set, 1 - pin,      2 - pbc       */
+	u8 *bssid;
+	char *pin;
++	u8 *p2p_dev_addr;
+ };
+
+
+@@ -148,6 +151,41 @@ static int wpas_dbus_handler_wps_pin(DBusMessage *message,
+ }
+
+
++#ifdef CONFIG_P2P
++static int wpas_dbus_handler_wps_p2p_dev_addr(DBusMessage *message,
++					      DBusMessageIter *entry_iter,
++					      struct wps_start_params *params,
++					      DBusMessage **reply)
++{
++	DBusMessageIter variant_iter, array_iter;
++	int len;
++
++	dbus_message_iter_recurse(entry_iter, &variant_iter);
++	if (dbus_message_iter_get_arg_type(&variant_iter) != DBUS_TYPE_ARRAY ||
++	    dbus_message_iter_get_element_type(&variant_iter) !=
++	    DBUS_TYPE_BYTE) {
++		wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong "
++			   "P2PDeviceAddress type, byte array required");
++		*reply = wpas_dbus_error_invalid_args(
++			message, "P2PDeviceAddress must be a byte array");
++		return -1;
++	}
++	dbus_message_iter_recurse(&variant_iter, &array_iter);
++	dbus_message_iter_get_fixed_array(&array_iter, &params->p2p_dev_addr,
++					  &len);
++	if (len != ETH_ALEN) {
++		wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong "
++			   "P2PDeviceAddress length %d", len);
++		*reply = wpas_dbus_error_invalid_args(message,
++						      "P2PDeviceAddress "
++						      "has wrong length");
++		return -1;
++	}
++	return 0;
++}
++#endif /* CONFIG_P2P */
++
++
+ static int wpas_dbus_handler_wps_start_entry(DBusMessage *message, char *key,
+					     DBusMessageIter *entry_iter,
+					     struct wps_start_params *params,
+@@ -165,6 +203,11 @@ static int wpas_dbus_handler_wps_start_entry(DBusMessage *message, char *key,
+	else if (os_strcmp(key, "Pin") == 0)
+		return wpas_dbus_handler_wps_pin(message, entry_iter,
+						 params, reply);
++#ifdef CONFIG_P2P
++	else if (os_strcmp(key, "P2PDeviceAddress") == 0)
++		return wpas_dbus_handler_wps_p2p_dev_addr(message, entry_iter,
++							  params, reply);
++#endif /* CONFIG_P2P */
+
+	wpa_printf(MSG_DEBUG, "dbus: WPS.Start - unknown key %s", key);
+	*reply = wpas_dbus_error_invalid_args(message, key);
+@@ -231,12 +274,31 @@ DBusMessage * wpas_dbus_handler_wps_start(DBusMessage *message,
+		ret = wpas_wps_start_reg(wpa_s, params.bssid, params.pin,
+					 NULL);
+	else if (params.type == 1) {
+-		ret = wpas_wps_start_pin(wpa_s, params.bssid, params.pin, 0,
+-					 DEV_PW_DEFAULT);
+-		if (ret > 0)
+-			os_snprintf(npin, sizeof(npin), "%08d", ret);
+-	} else
++#ifdef CONFIG_AP
++		if (wpa_s->ap_iface)
++			ret = wpa_supplicant_ap_wps_pin(wpa_s,
++							params.bssid,
++							params.pin,
++							npin, sizeof(npin));
++		else
++#endif /* CONFIG_AP */
++		{
++			ret = wpas_wps_start_pin(wpa_s, params.bssid,
++						 params.pin, 0,
++						 DEV_PW_DEFAULT);
++			if (ret > 0)
++				os_snprintf(npin, sizeof(npin), "%08d", ret);
++		}
++	} else {
++#ifdef CONFIG_AP
++		if (wpa_s->ap_iface)
++			ret = wpa_supplicant_ap_wps_pbc(wpa_s,
++							params.bssid,
++							params.p2p_dev_addr);
++		else
++#endif /* CONFIG_AP */
+		ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0);
++	}
+
+	if (ret < 0) {
+		wpa_printf(MSG_DEBUG, "dbus: WPS.Start wpas_wps_failed in "
+--
+1.7.10
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/defconfig new file +426 -0

426 lines not on this page · raw message

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bb new file +14 -0
new file mode 100644
index 0000000..063c653
@@ -0,0 +1,14 @@
+# This is a TI specific version of the wpa-supplicant recipe for use with the
+# wl12xx wlan and bluetooth module.
+
+require wpa-supplicant.inc
+
+LICENSE = "GPLv2 | BSD"
+LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
+                    file://../README;md5=79cddd95f8b7539aced400f6aab996e9 \
+                    file://wpa_supplicant.c;beginline=1;endline=17;md5=009c87d612d92175fe8cd1e93137bf42"
+
+SRCREV = "ol_R5.00.18"
+PR_append = "-a+gitr${SRCPV}"
+
+SRC_URI += "file://0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch;patchdir=.. "
Signature · 1 line
1.7.0.4
#22 lore raw

PATCH 11/17 ti-wifi-utils: Split recipe

In reply to Franklin S. Cooper Jr

* Split recipe to create a generic .inc file to allow support for multiple versions of ti-wifi-utils.
* Rename recipe to use the specific version of ti-wifi-utils.

---
 .../ti-wifi-utils/ti-wifi-utils.inc                |   29 ++++++++++++++
 .../ti-wifi-utils/ti-wifi-utils/calibrate.sh       |    7 ---
 .../ti-wifi-utils/ti-wifi-utils_git.bb             |   40 --------------------
 .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb       |    8 ++++
 4 files changed, 37 insertions(+), 47 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc
 delete mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh
 delete mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc new file +29 -0
new file mode 100644
index 0000000..4e3f628
@@ -0,0 +1,29 @@
+DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver"
+
+DEPENDS = "libnl"
+RDEPENDS_${PN} = "ti-compat-wireless-wl12xx wl12xx-firmware"
+
+PR ="r1"
+
+SRCREV = "ol_R5.00.18"
+SRC_URI = "git://github.com/TI-OpenLink/ti-utils.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+export CROSS_COMPILE = "${TARGET_PREFIX}"
+CFLAGS += " -DCONFIG_LIBNL20"
+
+do_install() {
+	install -d ${D}${bindir}
+	install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x
+	install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x
+
+	install -m 0755 calibrator ${D}${bindir}/
+	install -m 0755 ${S}/hw/ini_files/127x/* ${D}${datadir}/ti/wifi-utils/ini_files/127x
+	install -m 0755 ${S}/hw/ini_files/128x/* ${D}${datadir}/ti/wifi-utils/ini_files/128x
+}
+
+FILES_${PN} += " \
+	${datadir}/ti/wifi-utils/ini_files/127x \
+	${datadir}/ti/wifi-utils/ini_files/128x \
+"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh deleted +0 -7
deleted file mode 100644
index b028435..0000000
@@ -1,7 +0,0 @@
-#!/bin/sh
-echo "Performing wifi calibration..."
-rm /lib/firmware/ti-connectivity/wl1271-nvs.bin
-rmmod wl12xx_sdio.ko
-calibrator plt autocalibrate wlan0 /lib/modules/$(uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00
-modprobe wl12xx_sdio
-
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb deleted +0 -40
deleted file mode 100644
index 142a720..0000000
@@ -1,40 +0,0 @@
-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"
-
-inherit update-rc.d
-INITSCRIPT_NAME="calibrate.sh"
-INITSCRIPT_PARAMS = "start 20 2 3 4 5 ."
-
-PR ="r2+gitr${SRCPV}"
-PV ="0.0"
-
-SRCREV = "ol_R5.SP3.05"
-SRC_URI = "git://github.com/TI-OpenLink/ti-utils.git;protocol=git \
-           file://calibrate.sh \
-"
-
-S = "${WORKDIR}/git"
-
-export CROSS_COMPILE = "${TARGET_PREFIX}"
-CFLAGS += " -DCONFIG_LIBNL20"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x
-    install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x
-    install -d ${D}${sysconfdir}/init.d
-
-    install -m 0755 calibrator ${D}${bindir}/
-    install -m 0755 ${S}/hw/ini_files/127x/* ${D}${datadir}/ti/wifi-utils/ini_files/127x
-    install -m 0755 ${S}/hw/ini_files/128x/* ${D}${datadir}/ti/wifi-utils/ini_files/128x
-    install -m 0755 ${WORKDIR}/calibrate.sh ${D}${sysconfdir}/init.d
-}
-
-FILES_${PN} += " \
-    ${datadir}/ti/wifi-utils/ini_files/127x \
-    ${datadir}/ti/wifi-utils/ini_files/128x \
-"
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb new file +8 -0
new file mode 100644
index 0000000..e9f5a3c
@@ -0,0 +1,8 @@
+require ti-wifi-utils.inc
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
+
+PR_append ="a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.SP3.05"
Signature · 1 line
1.7.0.4
#24 lore raw

PATCH 12/17 wilink-calibrate: Add Wilink calibration script

In reply to Franklin S. Cooper Jr

* Add a script that runs at startup that insures that the wilink MAC address used is unique.

---
 .../ti-wifi-utils/wilink-calibrate/calibrate.sh    |    7 +++++++
 .../ti-wifi-utils/wilink-calibrate_1.0.bb          |   17 +++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate/calibrate.sh
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate_1.0.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate/calibrate.sh new file +7 -0
new file mode 100644
index 0000000..b028435
@@ -0,0 +1,7 @@
+#!/bin/sh
+echo "Performing wifi calibration..."
+rm /lib/firmware/ti-connectivity/wl1271-nvs.bin
+rmmod wl12xx_sdio.ko
+calibrator plt autocalibrate wlan0 /lib/modules/$(uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00
+modprobe wl12xx_sdio
+
meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate_1.0.bb new file +17 -0
new file mode 100644
index 0000000..d0aadfb
@@ -0,0 +1,17 @@
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+inherit update-rc.d
+INITSCRIPT_NAME="calibrate.sh"
+INITSCRIPT_PARAMS = "start 20 2 3 4 5 ."
+
+PR ="r0"
+
+SRC_URI = "file://calibrate.sh"
+
+S = "${WORKDIR}"
+
+do_install() {
+    install -d ${D}${sysconfdir}/init.d
+    install -m 0755 ${WORKDIR}/calibrate.sh ${D}${sysconfdir}/init.d
+}
Signature · 1 line
1.7.0.4
#26 lore raw

PATCH 13/17 ti-wifi-utils: Add runtime dependency on wilink-calibrate

In reply to Franklin S. Cooper Jr

* Install the wilink calibrate script to insure that the wilink module is using a unique MAC address.
* By default this script only works for the wilink module that comes with the am335x evms.

---
 .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb       |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb +3 -1
index e9f5a3c..6f46910 100644
@@ -3,6 +3,8 @@ require ti-wifi-utils.inc
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
 
-PR_append ="a+gitr${SRCPV}"
+PR_append ="b+gitr${SRCPV}"
 
 SRCREV = "ol_R5.SP3.05"
+
+RDEPENDS_${PN}_am335x-evm_append = " wilink-calibrate"
Signature · 1 line
1.7.0.4
#28 lore raw

PATCH 14/17 ti-wifi-utils: Pull back in old r5.00.18 recipe.

In reply to Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 ti-wifi-utils recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 .../ti-wifi-utils/ti-wifi-utils_r5.00.18.bb        |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.00.18.bb
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.00.18.bb new file +8 -0
new file mode 100644
index 0000000..cdb1e91
@@ -0,0 +1,8 @@
+require ti-wifi-utils.inc
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
+
+PR_append ="a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.00.18"
\ No newline at end of file
Signature · 1 line
1.7.0.4
#30 lore raw

PATCH 15/17 wpa-supplicant_r5.sp4.01: Rename bbappend

In reply to Franklin S. Cooper Jr

* Rename bbappend to match recipe name change.

---
 ....bbappend => wpa-supplicant_r5.sp4.01.bbappend} |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-arago-distro/recipes-connectivity/wpa-supplicant/{wpa-supplicant_git.bbappend => wpa-supplicant_r5.sp4.01.bbappend} (100%)
meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbappend renamed from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bbappend +0 -0
similarity index 100%
rename from meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bbappend
rename to meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bbappend
Signature · 1 line
1.7.0.4
#32 lore raw

PATCH 16/17 wpa-supplicant_r5.00.18: Create bbappend

In reply to Franklin S. Cooper Jr

* Create a bbappend to insure that any version changes to the wpa-supplicant recipe will result in a new TSU exemption will be filed.

---
 .../wpa-supplicant_r5.00.18.bbappend               |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100755 meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bbappend
meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bbappend new file +11 -0
new file mode 100755
index 0000000..6fe2023
@@ -0,0 +1,11 @@
+################################################################################
+######################### TSU EXEMPTION REQUIRED ###############################
+################################################################################
+# Versions of wpa_supplicant that are TSU Exempted:
+# wpa_supplicant-0.7.3
+
+# This package requires TSU exemption. Any update to the version of
+# wpa_supplicant must be double checked to see if a new TSU exemption must be made.
+################################################################################
+
+PR_append = "-arago0"
Signature · 1 line
1.7.0.4
#34 lore raw

PATCH 17/17 arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes

In reply to Franklin S. Cooper Jr

* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that comes with the am180x-evm.
* Specifying the PREFERRED_VERSION to match this requirement.

---
 meta-arago-distro/conf/distro/arago.conf |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +17 -0
index 9e43ea3..44141c1 100644
@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2"
 PREFERRED_VERSION_bash = "3.2.48"
 PREFERRED_VERSION_gettext = "0.16.1"
 
+# Support Wilink 6 PG 3 modules
+PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05"
+PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01"
+PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01"
+PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01"
+PREFERRED_VERSION_hostap-daemon = "r5.sp4.01"
+PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05"
+
+# Support Wilink 6 PG 2 modules
+# By default am180x-evms come with an outdated wilink 6 module
+PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18"
+
 # Disable polkit's systemd configuration from meta-oe
 POLKITAUTH = ""
 
Signature · 1 line
1.7.0.4
Acked-by on v1 1/17
#36 lore raw
In reply to Franklin S. Cooper Jr

NOTE: Some question about the TI-TSPA license but I think you have already been asking wireless group about this right?

Quoted 73 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe.

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in
newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be
purchased separately..
* Bring old r5.00.18 wl12x-firmware recipe with updated recipe name to add
support for am180x-evm default wilink 6 module.

---
 .../wl12xx-firmware/wl12xx-firmware_r5.00.18.bb    |   28
++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/wl12xx-

firmware/wl12xx-firmware_r5.00.18.bb

(quoted diff) +0 -0

firmware/wl12xx-firmware_r5.00.18.bb b/meta-arago-extras/recipes- bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb
new file mode 100644
index 0000000..12df963

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +0 -0

firmware_r5.00.18.bb

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +3 -0
@@ -0,0 +1,28 @@
+DESCRIPTION = "Firmware files for use with TI wl12xx"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM =

"file://LICENCE;md5=ba590e1d103f891d0151609046aef9e8"

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +7 -0
+
+PACKAGE_ARCH = "all"
+
+PR = "r0+gitr${SRCREV}"
+
+# This recipe provides the latest firmware files for wl12xx.
+# Therefore, use the contents of this recipe instead of the

contents

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +18 -1
+# of linux-firmware-wl12xx.
+RCONFLICTS_${PN} = "linux-firmware-wl12xx"
+RPROVIDES_${PN}  = "linux-firmware-wl12xx"
+
+SRCREV = "38e0dd7999b9087e00d1a59306a7c22fd23246cf"
+SRC_URI = "git://github.com/TI-ECS/ti-utils.git;protocol=git"
+
+S = "${WORKDIR}/git/hw/firmware"
+
+do_compile() {
+    :
+}
+
+do_install() {
+    oe_runmake 'DEST_DIR=${D}' install
+}
+
+FILES_${PN} = "/lib/firmware/ti-connectivity/*"
--

1.7.0.4

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

Acked-by on v1 2/17
#2 lore raw

Re: [PATCH 02/17] wl12xx-firmware: Update recipe name.

In reply to Franklin S. Cooper Jr
Quoted 44 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 02/17] wl12xx-firmware: Update recipe name.

* Update recipe to have a distinct name.

---
 .../Makefile                                       |    0
 ...irmware_git.bb => wl12xx-firmware_r5.sp4.01.bb} |    0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-arago-extras/recipes-bsp/wl12xx-firmware/{wl12xx-
firmware => wl12xx-firmware-r5.sp4.01}/Makefile (100%)
 rename meta-arago-extras/recipes-bsp/wl12xx-firmware/{wl12xx-

firmware_git.bb => wl12xx-firmware_r5.sp4.01.bb} (100%)

(quoted diff) +0 -0

firmware/wl12xx-firmware/Makefile b/meta-arago-extras/recipes- bsp/wl12xx-firmware/wl12xx-firmware-r5.sp4.01/Makefile similarity index 100%
rename from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- firmware/Makefile
rename to meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- firmware-r5.sp4.01/Makefile

(quoted diff) +0 -0

firmware/wl12xx-firmware_git.bb b/meta-arago-extras/recipes- bsp/wl12xx-firmware/wl12xx-firmware_r5.sp4.01.bb similarity index 100%
rename from meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- firmware_git.bb
rename to meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- firmware_r5.sp4.01.bb
--
1.7.0.4

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

#4 lore raw

Re: [PATCH 03/17] ti-compat-bluetooth: Split recipe

In reply to Franklin S. Cooper Jr
Quoted 45 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 03/17] ti-compat-bluetooth: Split recipe

* Generate a common .inc file to allow support for multiple versions of the
ti-compat-bluetooth recipe.
* Change the recipe name to reflect the specific TI compat- bluetooth release

---
 .../ti-compat-bluetooth/ti-compat-bluetooth.inc    |   31
++++++++++++++++
 .../ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb |   39 ------
--------------
 .../ti-compat-bluetooth_r5.sp3.05.bb               |    8 ++++
 3 files changed, 39 insertions(+), 39 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
bluetooth/ti-compat-bluetooth.inc
 delete mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
bluetooth/ti-compat-bluetooth_1.0.bb
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-

bluetooth/ti-compat-bluetooth_r5.sp3.05.bb

(quoted diff) +0 -0

bluetooth/ti-compat-bluetooth.inc b/meta-arago-extras/recipes- bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc
new file mode 100644
index 0000000..bdffeeb

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +0 -0

compat-bluetooth.inc

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +5 -0
@@ -0,0 +1,31 @@
+DESCRIPTION = "TI compat-bluetooth drivers"
+HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
+SECTION = "kernel/modules"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-

Quoted 6 lines
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +6 -0
+
+inherit module
+
+RDEPENDS_${PN} = "ti-compat-wireless-wl12xx"
+
+PR = "${MACHINE_KERNEL_PR}+b"

Just a question about whether you want to use +b or just ${MACHINE_KERNEL_PR}b. For example many of the kernel recipes just append the letter to the end of the PR. Not a huge deal though so you call.

Quoted 8 lines
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +2 -0
+
+SRC_URI = "file://0001-compat-bluetooth-2.6-removed-unused-BT-

modules-from-.patch \
+ file://0002-Bluetooth-Fix-l2cap-conn-failures-for-
ssp-devices.patch \
+ file://0001-compat-bluetooth-fixing-kernel-panic-in-
l2cap.patch \
+ "

If you expect the SRC_URI base tarball to change, which is why you don't include it here but instead in the actual recipe is it a good idea to keep the patch list in the include file as well? This may not become an issue until later.

Quoted 102 lines
meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +12 -0
+
+S = "${WORKDIR}/compat-bluetooth/"
+
+EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
+
+do_configure() {
+    cd ${S}
+    ./scripts/driver-select bt
+}
+
+do_install() {
+    oe_runmake DEPMOD=echo DESTDIR="${D}"

INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +3 -0
+    find ${D} -name compat.ko | xargs rm
+}
+
(quoted diff) +0 -0

bluetooth/ti-compat-bluetooth_1.0.bb b/meta-arago-extras/recipes- bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted file mode 100644
index 9ce50f7..0000000
--- a/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- compat-bluetooth_1.0.bb
+++ /dev/null

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -5
@@ -1,39 +0,0 @@
-DESCRIPTION = "TI compat-bluetooth drivers"
-HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
-SECTION = "kernel/modules"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM =

"file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -13
-
-inherit module
-
-RDEPENDS_${PN} = "ti-compat-wireless-wl12xx"
-
-PR = "${MACHINE_KERNEL_PR}"
-PR_append = "b"
-
-COMPAT_BLUETOOTH_VERSION = "2012-11-19-r5-sp3"
-TAG = "${@'${COMPAT_BLUETOOTH_VERSION}'.replace('-', '')}"
-PV = "0.${TAG}"
-
-SRC_URI =

"https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat- bluetooth-2012-02-20.tar.gz \
- file://0001-compat-bluetooth-2.6-removed-unused-BT-
modules-from-.patch \
- file://0002-Bluetooth-Fix-l2cap-conn-failures-for-
ssp-devices.patch \
- file://0001-compat-bluetooth-fixing-kernel-panic-in-
l2cap.patch \

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -4
-          "
-
-SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd"
-SRC_URI[sha256sum] =

"d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350 "

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -12
-
-S = "${WORKDIR}/compat-bluetooth/"
-
-EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
-
-do_configure() {
-    cd ${S}
-    ./scripts/driver-select bt
-}
-
-do_install() {
-    oe_runmake DEPMOD=echo DESTDIR="${D}"

INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_1.0.bb deleted +0 -2
-    find ${D} -name compat.ko | xargs rm
-}
(quoted diff) +0 -0

bluetooth/ti-compat-bluetooth_r5.sp3.05.bb b/meta-arago- extras/recipes-bsp/ti-compat-bluetooth/ti-compat- bluetooth_r5.sp3.05.bb
new file mode 100644
index 0000000..2df61c2

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +0 -0

compat-bluetooth_r5.sp3.05.bb

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +5 -0
@@ -0,0 +1,8 @@
+require ti-compat-bluetooth.inc
+
+PR_append = "-r0"
+
+SRC_URI +=

"https://gforge.ti.com/gf/download/frsrelease/802/5435/ti-compat- bluetooth-2012-02-20.tar.gz"

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +3 -0
+
+SRC_URI[md5sum] = "7c231b35a2297391b5192f86ff4f10dd"
+SRC_URI[sha256sum] =

"d8882da8bb37821bfd0b9334b859f64d0ce82ae5262360367a3f3fdf31c7f350 "
--
1.7.0.4

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

Acked-by on v1 4/17
#6 lore raw

Re: [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version

In reply to Franklin S. Cooper Jr
Quoted 56 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in
newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be
purchased separately..
* Bring old r5.00.18 ti-compat-bluetooth recipe with updated recipe name to add
support for am180x-evm default wilink 6 module.

---
 .../ti-compat-bluetooth_r5.00.18.bb                |    8
++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-

bluetooth/ti-compat-bluetooth_r5.00.18.bb

(quoted diff) +0 -0

bluetooth/ti-compat-bluetooth_r5.00.18.bb b/meta-arago- extras/recipes-bsp/ti-compat-bluetooth/ti-compat- bluetooth_r5.00.18.bb
new file mode 100644
index 0000000..eee79d0

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +0 -0

compat-bluetooth_r5.00.18.bb

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +5 -0
@@ -0,0 +1,8 @@
+require ti-compat-bluetooth.inc
+
+PR_append = "-r0"
+
+SRC_URI +=

"https://gforge.ti.com/gf/download/frsrelease/865/5622/compat- bluetooth-wl12xx-2012-05-22-r5-18.tgz"

meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti- new file +3 -0
+
+SRC_URI[md5sum] = "85118756a605ebd8f4fbff19995368a6"
+SRC_URI[sha256sum] =

"d250a6447de54f0776a12ca604bf2a2a48b022108b699de5008f48462e535393 "
--
1.7.0.4

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

Acked-by on v1 5/17
#8 lore raw

Re: [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe

In reply to Franklin S. Cooper Jr
Quoted 64 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 05/17] ti-compat-wireless-wl12xx:
Rename recipe

* Rename recipe so that PV matches the release version of compat-wireless-wl12xx.

---
 ...wl12xx-Decrease-number-of-TX-transactions.patch |    0
 ...5.bb => ti-compat-wireless-wl12xx_r5.sp4.01.bb} |    2 --
 2 files changed, 0 insertions(+), 2 deletions(-)
 rename meta-arago-extras/recipes-bsp/ti-compat-wireless/{files
=> ti-compat-wireless-wl12xx-r5.sp4.01}/0002-wl12xx-Decrease-
number-of-TX-transactions.patch (100%)
 rename meta-arago-extras/recipes-bsp/ti-compat-wireless/{ti-

compat-wireless-wl12xx_r5.bb => ti-compat-wireless- wl12xx_r5.sp4.01.bb} (99%)

(quoted diff) +0 -0

wireless/files/0002-wl12xx-Decrease-number-of-TX- transactions.patch b/meta-arago-extras/recipes-bsp/ti-compat- wireless/ti-compat-wireless-wl12xx-r5.sp4.01/0002-wl12xx- Decrease-number-of-TX-transactions.patch
similarity index 100%
rename from meta-arago-extras/recipes-bsp/ti-compat- wireless/files/0002-wl12xx-Decrease-number-of-TX- transactions.patch
rename to meta-arago-extras/recipes-bsp/ti-compat-wireless/ti- compat-wireless-wl12xx-r5.sp4.01/0002-wl12xx-Decrease-number-of- TX-transactions.patch

(quoted diff) +0 -0

compat-wireless-wl12xx_r5.bb b/meta-arago-extras/recipes-bsp/ti- compat-wireless/ti-compat-wireless-wl12xx_r5.sp4.01.bb similarity index 99%
rename from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti- compat-wireless-wl12xx_r5.bb
rename to meta-arago-extras/recipes-bsp/ti-compat-wireless/ti- compat-wireless-wl12xx_r5.sp4.01.bb
index 1886e00..afbfa9c 100644
--- a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- wireless-wl12xx_r5.bb
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- wireless-wl12xx_r5.sp4.01.bb

(quoted diff) +0 -0
@@ -9,8 +9,6 @@ LIC_FILES_CHKSUM =

"file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"

RDEPENDS_${PN} = "wireless-tools"

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.sp4.01.bb renamed from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.bb +0 -3
-PV = "r5.sp4.01"
-
 inherit module
 
 PR = "${MACHINE_KERNEL_PR}"
--

1.7.0.4

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

Acked-by on v1 6/17
#10 lore raw

Re: [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release

In reply to Franklin S. Cooper Jr

NOTE: The PR is being done as an append to MACHINE_KERNEL_PR with no "+" sign. Should this be consistent between ti-compat-bluetooth and ti-compat-wireless?

Quoted 393 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 06/17] ti-compat-wireless-wl12xx:
Pull in older ti-compat-wireless-wl12xx release

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in
newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be
purchased separately..
* Bring old r5.00.18 ti-compat-wireless-wl12xx recipe with updated recipe name
to add support for am180x-evm default wilink 6 module.

---
 .../0001-compat-wireless-exclude-BT-building.patch |   29
+++++++++
 ...xx-detect-between-wl1271-PG-3.0-and-lower.patch |   65
++++++++++++++++++++
 .../0002-compat-wireless-enable-test-mode.patch    |   29
+++++++++
 ...ompat-wireless-enable-uapsd-configuration.patch |   27
++++++++
 .../0004-added-driver-version.patch                |   36
+++++++++++
 .../ti-compat-wireless-wl12xx_r5.00.18.bb          |   49
+++++++++++++++
 6 files changed, 235 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-
exclude-BT-building.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-wl12xx-detect-
between-wl1271-PG-3.0-and-lower.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-
enable-test-mode.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti-compat-
wireless-enable-uapsd-configuration.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-
wireless/ti-compat-wireless-wl12xx-r5.00.18/0004-added-driver-
version.patch
 create mode 100644 meta-arago-extras/recipes-bsp/ti-compat-

wireless/ti-compat-wireless-wl12xx_r5.00.18.bb

(quoted diff) +0 -0

compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT- building.patch b/meta-arago-extras/recipes-bsp/ti-compat- wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless- exclude-BT-building.patch
new file mode 100644
index 0000000..731da28

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0 -0

wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT- building.patch

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1 -0
@@ -0,0 +1,29 @@
+From 491bf7e73abf395f2af4a914d972dc7b73af2533 Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +28 -0
+From: Moosa <[email protected]>
+Date: Thu, 24 May 2012 11:53:07 +0300
+Subject: [PATCH 1/2] compat-wireless: exclude BT building
+
+* Exclude Bluetooth components building from compat-wireless
+
+Upstream-Status: Pending
+
+Signed-off-by: Moosa Baransi <[email protected]>
+---
+ Makefile |    2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index a020661..ac75fb0 100644
+--- a/Makefile
++++ b/Makefile
+@@ -37,8 +37,6 @@ endif
+
+ endif
+
+-obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/
+-obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/
+
+ else
+
+--
+1.7.1
(quoted diff) +0 -0

compat-wireless-wl12xx-r5.00.18/0001-wl12xx-detect-between- wl1271-PG-3.0-and-lower.patch b/meta-arago-extras/recipes-bsp/ti- compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-wl12xx- detect-between-wl1271-PG-3.0-and-lower.patch
new file mode 100644
index 0000000..13bce85

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0 -0

wireless-wl12xx-r5.00.18/0001-wl12xx-detect-between-wl1271-PG- 3.0-and-lower.patch

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1 -0
@@ -0,0 +1,65 @@
+From f100c47eff6a24a9594702dc72037773f7dd8911 Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +5 -0
+From: Eyal Reizer <[email protected]>
+Date: Tue, 29 May 2012 14:45:07 +0300
+Subject: [PATCH] wl12xx: detect between wl1271 PG 3.0 and lower
+
+* Detect between wl1271 PG version 3.0 and lower for using the

right

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +11 -1
+  firmware with R5 based releases
+* Do not allow activating multi-role on PG 2.0(and lower)
+
+Upstream-Status: Pending
+
+Signed-off-by: Eyal Reizer <[email protected]>
+---
+ drivers/net/wireless/wl12xx/main.c |   22 ++++++++++++++++++++-
-
+ 1 files changed, 20 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/net/wireless/wl12xx/main.c

b/drivers/net/wireless/wl12xx/main.c

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +9 -0
+index 3f05874..db50bf0 100644
+--- a/drivers/net/wireless/wl12xx/main.c
++++ b/drivers/net/wireless/wl12xx/main.c
+@@ -51,6 +51,8 @@
+ #include "scan.h"
+ #include "version.h"
+
++#define WL1271_PG_VERSION_2 2
++#define WL127X_PG20_FW_NAME_SINGLE	"ti-

connectivity/wl127x-fw-4-pg2-0-sr.bin"
+ #define WL1271_BOOT_RETRIES 3
+
+ static struct conf_drv_settings default_conf = { +@@ -1081,8 +1083,12 @@ static int wl12xx_fetch_firmware(struct wl1271 *wl, bool plt)

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +10 -0
+			fw_type = WL12XX_FW_TYPE_NORMAL;
+			if (wl->chip.id == CHIP_ID_1283_PG20)
+				fw_name = WL128X_FW_NAME_SINGLE;
+-			else
+-				fw_name = WL127X_FW_NAME_SINGLE;
++			else {
++				if (wl->hw_pg_ver > WL1271_PG_VERSION_2)
++					fw_name = WL127X_FW_NAME_SINGLE;
++				else
++					fw_name =

WL127X_PG20_FW_NAME_SINGLE;
++ }

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +4 -0
+		}
+	}
+
+@@ -2494,6 +2500,18 @@ static int wl1271_op_add_interface(struct

ieee80211_hw *hw,

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +5 -0
+		goto out;
+	}
+
++	/*
++	 * Only WL127x PG 3.0 supports multi-role. Do not allow

bringing up more
++ * than one interface at a time in-case of using an older
version.
++ */
++ if ((wl->chip.id == CHIP_ID_1271_PG20) && (wl->hw_pg_ver <=
WL1271_PG_VERSION_2)) {
++ open_count = ieee80211_get_open_count(hw, vif);
++ if (open_count) {
++ wl1271_error("WL127x PG %d.0 doesn't support
multi-role",wl->hw_pg_ver + 1);
++ ret = -EBUSY;
++ goto out;
++ }
++ }

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +5 -0
+
+	ret = wl12xx_init_vif_data(wl, vif);
+	if (ret < 0)
+--
+1.7.0.4
(quoted diff) +0 -0

compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test- mode.patch b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti- compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test- mode.patch
new file mode 100644
index 0000000..556ec8a

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0 -0

wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test- mode.patch

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1 -0
@@ -0,0 +1,29 @@
+From ca17ce77efde9a69ea4d82b86d4d51463d3e2b4a Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +28 -0
+From: Moosa <[email protected]>
+Date: Thu, 24 May 2012 11:54:06 +0300
+Subject: [PATCH 2/2] compat-wireless: enable test mode
+
+* Enable test mode switch. Needed for the calibration process
+
+Upstream-Status: Pending
+
+Signed-off-by: Moosa Baransi <[email protected]>
+---
+ config.mk |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index f09d16d..65b485e 100644
+--- a/config.mk
++++ b/config.mk
+@@ -198,7 +198,7 @@ CONFIG_MAC80211_MESH=y
+ CONFIG_CFG80211=m
+ CONFIG_CFG80211_DEFAULT_PS=y
+ # CONFIG_CFG80211_DEBUGFS=y
+-# CONFIG_NL80211_TESTMODE=y
++CONFIG_NL80211_TESTMODE=y
+ # CONFIG_CFG80211_DEVELOPER_WARNINGS=y
+ # CONFIG_CFG80211_REG_DEBUG=y
+ # CONFIG_CFG80211_INTERNAL_REGDB=y
+--
+1.7.1
(quoted diff) +0 -0

compat-wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable- uapsd-configuration.patch b/meta-arago-extras/recipes-bsp/ti- compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti- compat-wireless-enable-uapsd-configuration.patch
new file mode 100644
index 0000000..2cd3502

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0 -0

wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd- configuration.patch

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1 -0
@@ -0,0 +1,27 @@
+From 74d34f0573183f3d4971fcae46ed9dadbf514626 Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +26 -0
+From: Eyal Reizer <[email protected]>
+Date: Sun, 12 Jun 2011 17:33:09 +0300
+Subject: [PATCH] ti-compat-wireless:enable uapsd configuration
+
+this switch activates the wlan uapsd_queues settings
+
+Signed-off-by: Eyal Reizer <[email protected]>
+---
+ config.mk |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index f4cf832..a464b99 100644
+--- a/config.mk
++++ b/config.mk
+@@ -110,7 +110,7 @@ endif #CONFIG_COMPAT_KERNEL_33
+ # Wireless subsystem stuff
+ CONFIG_MAC80211=m
+
+-# CONFIG_MAC80211_DEBUGFS=y
++CONFIG_MAC80211_DEBUGFS=y
+ # CONFIG_MAC80211_NOINLINE=y
+ # CONFIG_MAC80211_VERBOSE_DEBUG=y
+ # CONFIG_MAC80211_HT_DEBUG=y
+--
+1.7.0.4
(quoted diff) +0 -0

compat-wireless-wl12xx-r5.00.18/0004-added-driver-version.patch b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- wireless-wl12xx-r5.00.18/0004-added-driver-version.patch new file mode 100644
index 0000000..b118166

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0 -0

wireless-wl12xx-r5.00.18/0004-added-driver-version.patch

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1 -0
@@ -0,0 +1,36 @@
+From 6147f6523fd3e82b1bed0ea5de1c23cff808a39f Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +14 -0
+From: Moosa <[email protected]>
+Date: Thu, 29 Dec 2011 09:26:16 +0200
+Subject: [PATCH] added driver version
+
+* Add printing of driver version after printing FW version.
+
+Upstream-Status: Pending
+
+Signed-off-by: Moosa <[email protected]>
+---
+ drivers/net/wireless/wl12xx/main.c |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/net/wireless/wl12xx/main.c

b/drivers/net/wireless/wl12xx/main.c

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +21 -0
+index aae6a74..fbf754b 100644
+--- a/drivers/net/wireless/wl12xx/main.c
++++ b/drivers/net/wireless/wl12xx/main.c
+@@ -49,6 +49,7 @@
+ #include "scan.h"
+
+ #define WL1271_BOOT_RETRIES 3
++#define WLAN_DRIVER_VERSION "R5_00_18"
+
+ static struct conf_drv_settings default_conf = {
+	.sg = {
+@@ -2227,6 +2228,7 @@ power_off:
+	wl->state = WL1271_STATE_ON;
+	set_bit(WL1271_FLAG_IF_INITIALIZED, &wl->flags);
+	wl1271_info("firmware booted (%s)", wl->chip.fw_ver_str);
++	wl1271_info("Driver version: %s", WLAN_DRIVER_VERSION);
+
+	/* update hw/fw version info in wiphy struct */
+	wiphy->hw_version = wl->chip.id;
+--
+1.7.0.4
(quoted diff) +0 -0

compat-wireless-wl12xx_r5.00.18.bb b/meta-arago-extras/recipes- bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.00.18.bb new file mode 100644
index 0000000..6b39806

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +0 -0

wireless-wl12xx_r5.00.18.bb

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +1 -0
@@ -0,0 +1,49 @@
+# This is a TI specific version of the compat-wireless recipe

using a
+# compat-wireless package created from the TI Systems Tested mac80211 releases.

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +6 -0
+
+DESCRIPTION = "ti compat-wireless drivers"
+HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
+SECTION = "kernel/modules"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +11 -0
+
+RDEPENDS_${PN} = "wireless-tools"
+
+inherit module
+
+PR = "${MACHINE_KERNEL_PR}"
+PR_append = "a"
+
+S = "${WORKDIR}/compat-wireless"
+
+SRC_URI =

"https://gforge.ti.com/gf/download/frsrelease/864/5621/ti-compat- wireless-wl12xx-2012-05-17-r5-18.tar.gz \

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +2 -0
+           file://0001-git-version-use-compat-base-tree.patch \
+           file://0001-compat-wireless-add-

pm_runtime_enabled.patch \
+ file://0001-compat-wireless-exclude-BT-building.patch
\

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +3 -0
+           file://0002-compat-wireless-enable-test-mode.patch \
+           file://0004-added-driver-version.patch \
+           file://0002-ti-compat-wireless-enable-uapsd-

configuration.patch \
+ file://0001-wl12xx-detect-between-wl1271-PG-3.0-and-
lower.patch \
+ file://0001-wl12xx-additional-two-members-for-
wl12xx_platform_da.patch \

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +2 -0
+          "
+SRC_URI_append_am335x-evm = "file://0001-wl12xx-Decrease-number-

of-RX-transactions.patch \
+ file://0002-wl12xx-Decrease-number-
of-TX-transactions.patch \
+"

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +3 -0
+
+SRC_URI[md5sum] = "9b6228d2ad39ece76ec022452df59621"
+SRC_URI[sha256sum] =

"c5564cbdb5d89d488be13f8d9310242597728eb1e0918ef64a6fae55dba53f5e "

meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat- new file +14 -0
+
+EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
+
+do_configure() {
+    cd ${S}
+    ./scripts/driver-select wl12xx
+}
+
+do_configure_append() {
+    sed -i "s#@./scripts/update-initramfs## " Makefile
+}
+
+do_install() {
+    oe_runmake DEPMOD=echo DESTDIR="${D}"

INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules +}
--
1.7.0.4

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

#12 lore raw

Re: [PATCH 07/17] hostap-daemon: Split recipe

In reply to Franklin S. Cooper Jr
Quoted 164 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 07/17] hostap-daemon: Split recipe

* Split recipe to allow multiple hostap-daemon recipes to share a common .inc

---
 ...d-change-conf-file-for-better-oob-startup.patch |    0
 .../hostap/hostap-daemon_git.bb                    |   61 ------
--------------
 .../hostap/hostap-daemon_r5.sp4.01.bb              |   11 ++++
 .../recipes-connectivity/hostap/hostap.inc         |   54
+++++++++++++++++
 4 files changed, 65 insertions(+), 61 deletions(-)
 rename meta-arago-extras/recipes-connectivity/hostap/{hostap-
daemon => hostap-daemon-r5.sp4.01}/0001-hostapd-change-conf-file-
for-better-oob-startup.patch (100%)
 delete mode 100644 meta-arago-extras/recipes-
connectivity/hostap/hostap-daemon_git.bb
 create mode 100644 meta-arago-extras/recipes-
connectivity/hostap/hostap-daemon_r5.sp4.01.bb
 create mode 100644 meta-arago-extras/recipes-

connectivity/hostap/hostap.inc

(quoted diff) +0 -0

connectivity/hostap/hostap-daemon/0001-hostapd-change-conf-file- for-better-oob-startup.patch b/meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change- conf-file-for-better-oob-startup.patch
similarity index 100%
rename from meta-arago-extras/recipes-connectivity/hostap/hostap- daemon/0001-hostapd-change-conf-file-for-better-oob-startup.patch rename to meta-arago-extras/recipes-connectivity/hostap/hostap- daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob- startup.patch

(quoted diff) +0 -0

connectivity/hostap/hostap-daemon_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted file mode 100644
index 424d55d..0000000
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon_git.bb
+++ /dev/null

(quoted diff) +0 -1
@@ -1,61 +0,0 @@
-# This is a TI specific version of the hostap-daemon recipe for

use with the

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -4
-# wl12xx wlan and bluetooth module.
-
-HOMEPAGE = "http://hostap.epitest.fi"
-DESCRIPTION = "User space daemon for extended IEEE 802.11

management"

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -3
-SECTION = "kernel/userland"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -4
-
-DEPENDS = "libnl openssl"
-
-# Since this is a TI customized version of hostap-daemon do not

make this the

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -9
-# 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 TI

customized version

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -8
-# of hostap
-PV = "2.0-devel-ti"
-
-PR = "r2+gitr${SRCPV}"
-
-SRCREV = "ol_R5.SP4.01"
-
-SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git

\

(quoted diff) +0 -1
-	file://0001-hostapd-change-conf-file-for-better-oob-

startup.patch;patchdir=.. \

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -21
-	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-daemon_git.bb deleted +0 -3
-}
-
-# The default hostapd.conf file that is fetched from upstream is

using

(quoted diff) +0 -2
-# "a" band which is not supported by the 1271 chip.
-# modify it to use "g" band and default channel 6 and change the

ssid from

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -5
-# "test" to a more meaningful name.
-
-updatercd_postinst () {
-:
-}
(quoted diff) +0 -0

connectivity/hostap/hostap-daemon_r5.sp4.01.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb new file mode 100644
index 0000000..a84c333

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0 -0

daemon_r5.sp4.01.bb

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1 -0
@@ -0,0 +1,11 @@
+# This is a TI specific version of the hostap-daemon recipe for

use with the

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6 -0
+# wl12xx wlan and bluetooth module.
+
+require hostap.inc
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4 -0
+
+PR_append = "a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.SP4.01"
(quoted diff) +0 -0

connectivity/hostap/hostap.inc b/meta-arago-extras/recipes- connectivity/hostap/hostap.inc
new file mode 100644
index 0000000..17d18a8

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

use with the

meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +4 -0
+# wl12xx wlan and bluetooth module.
+
+HOMEPAGE = "http://hostap.epitest.fi"
+DESCRIPTION = "User space daemon for extended IEEE 802.11

management"

meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +5 -0
+SECTION = "kernel/userland"
+
+DEPENDS = "libnl openssl"
+
+# Since this is a TI customized version of hostap-daemon do not

make this the

meta-arago-extras/recipes-connectivity/hostap/hostap.inc line 12

Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +2 -0
+# default
+DEFAULT_PREFERENCE = "-1"

This may raise an old discussion, but is the purpose of this to make sure that this recipe is not used by default even for people using Arago? I'm assuming you want to make this available for people using custom distros, which is why this is not in the meta-arago-distro layer?

Just checking if this is where you want to put the recipe and if you think the .inc file should set this DEFAULT_PREFERENCE because it will be common for all TI versions.

Quoted 54 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +9 -0
+
+PR = "r3"
+
+inherit update-rc.d
+INITSCRIPT_NAME="hostapd"
+
+CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
+
+SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git

\
+ file://0001-hostapd-change-conf-file-for-better-oob-
startup.patch;patchdir=.. \

meta-arago-extras/recipes-connectivity/hostap/hostap.inc 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.inc new file +3 -0
+}
+
+# The default hostapd.conf file that is fetched from upstream is

using

meta-arago-extras/recipes-connectivity/hostap/hostap.inc 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 the

ssid from

meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +6 -1
+# "test" to a more meaningful name.
+
+updatercd_postinst () {
+:
+}
+
--

1.7.0.4

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

Acked-by on v1 8/17
#15 lore raw

Re: [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe

In reply to Franklin S. Cooper Jr
Quoted 131 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in
newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be
purchased separately..
* Bring old r5.00.18 hostap-daemon recipe with updated recipe name
to add support for am180x-evm default wilink 6 module.

---
 ...d-change-conf-file-for-better-oob-startup.patch |   49
++++++++++++++++++++
 .../hostap/hostap-daemon_r5.00.18.bb               |   11 ++++
 2 files changed, 60 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-
connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change-
conf-file-for-better-oob-startup.patch
 create mode 100644 meta-arago-extras/recipes-

connectivity/hostap/hostap-daemon_r5.00.18.bb

(quoted diff) +0 -0

connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change- conf-file-for-better-oob-startup.patch b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon-r5.00.18/0001- hostapd-change-conf-file-for-better-oob-startup.patch new file mode 100644
index 0000000..fa68357

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0 -0

daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob- startup.patch

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1 -0
@@ -0,0 +1,49 @@
+From 4c5fe9901219956fb754306a2093e78fb460bbdd Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +3 -0
+From: Eyal Reizer <[email protected]>
+Date: Thu, 23 Jun 2011 10:13:44 +0300
+Subject: [PATCH] hostapd: change conf file for better sdk out of

box startup

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2 -0
+
+The default hostapd.conf file that is fetched from upstream is

using

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +2 -0
+a band which is not supported by the 1271 chip.
+I am using this amend.inc in order to modify it to use g band

and default

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +15 -0
+channel 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 |    6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
+index 6d7263a..bb27beb 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 is

operating.
+@@ -99,14 +99,14 @@ ssid=test
+
+ # Operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g,
+ # Default: IEEE 802.11b
+-hw_mode=a
++hw_mode=g
+
+ # Channel number (IEEE 802.11)
+ # (default: 0, i.e., not set)
+ # Please note that some drivers (e.g., madwifi) do not use this value from
+ # hostapd and the channel will need to be configuration separately with
+ # iwconfig.
+-channel=60
++channel=6
+
+ # Beacon interval in kus (1.024 ms) (default: 100; range 15..65535)
+ beacon_int=100
+--
+1.7.0.4

(quoted diff) +0 -0

connectivity/hostap/hostap-daemon_r5.00.18.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon_r5.00.18.bb new file mode 100644
index 0000000..aa6f5bb

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0 -0

daemon_r5.00.18.bb

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1 -0
@@ -0,0 +1,11 @@
+# This is a TI specific version of the hostap-daemon recipe for

use with the

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6 -0
+# wl12xx wlan and bluetooth module.
+
+require hostap.inc
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4 -1
+
+PR_append = "a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.00.18"
--

1.7.0.4

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

#17 lore raw

Re: [PATCH 09/17] wpa-supplicant: Split recipe

In reply to Franklin S. Cooper Jr
Quoted 87 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 09/17] wpa-supplicant: Split recipe

* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa-supplicant.

---
 .../defconfig                                      |    0
 .../{wpa-supplicant_git.bb => wpa-supplicant.inc}  |   15 +++++-
---------
 .../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb     |   13
+++++++++++++
 3 files changed, 18 insertions(+), 10 deletions(-)
 rename meta-arago-extras/recipes-connectivity/wpa-
supplicant/{wpa-supplicant => wpa-supplicant-r5.sp4.01}/defconfig
(100%)
 rename meta-arago-extras/recipes-connectivity/wpa-
supplicant/{wpa-supplicant_git.bb => wpa-supplicant.inc} (91%)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-

supplicant/wpa-supplicant_r5.sp4.01.bb

(quoted diff) +0 -0

supplicant/wpa-supplicant/defconfig b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig similarity index 100%
rename from meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-r5.sp4.01/defconfig

(quoted diff) +0 -0

supplicant/wpa-supplicant_git.bb b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant.inc similarity index 91%
rename from meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb
rename to meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant.inc
index 927a556..21ec6a3 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc

(quoted diff) +0 -0
@@ -5,10 +5,7 @@ DESCRIPTION = "A Client for Wi-Fi Protected

Access (WPA)."
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" BUGTRACKER = "http://hostap.epitest.fi/bugz/" SECTION = "network"

(quoted diff) +0 -2
-LICENSE = "GPLv2 | BSD"
-LIC_FILES_CHKSUM =

"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
-
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
- file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8ca d6356ec7f39ebe3aba"
+
DEPENDS = "gnutls dbus libnl openssl
${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-
cli"

(quoted diff) +0 -0
@@ -16,22 +13,19 @@ RRECOMMENDS_${PN} = "wpa-supplicant-

passphrase wpa-supplicant-cli"

 # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1.
 DEFAULT_PREFERENCE = "-1"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +0 -3
-SRCREV = "ol_R5.SP4.01"
-PR = "r3+gitr${SRCPV}"
-# Add ti to the PV to indicate that this is a TI modify version

of wpa-supplicant.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +1 -1
-PV = "2.0-devel-ti"
+PR = "r4"
 
 SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git
\
            file://defconfig \
            file://defaults-sane \
            file://wpa-supplicant.sh \

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" · line 28

Quoted 8 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +1 -1
-           file://kill_wpa_supplicant.sh \
            file://wpa_supplicant.conf \
            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 \
+           file://kill_wpa_supplicant.sh \

Why the re-order

Quoted 22 lines
           "

S = "${WORKDIR}/git/wpa_supplicant"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +0 -1
@@ -54,7 +48,6 @@ do_install () {
 	install -m 755 wpa_supplicant ${D}${sbindir}
 	install -m 755 wpa_passphrase ${D}${sbindir}
 	install -m 755 wpa_cli        ${D}${sbindir}
-	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh
 ${D}${sbindir}
 
 	install -d ${D}${docdir}/wpa_supplicant

install -m 644 README ${WORKDIR}/wpa_supplicant.conf
${D}${docdir}/wpa_supplicant

(quoted diff) +0 -0
@@ -93,6 +86,8 @@ do_install () {
 	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
install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service
${D}/usr/share/dbus-1/system-services

(quoted diff) +2 -0
+
+	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh
Quoted 1 line

${D}${sbindir}

Same question, why the re-order?

Quoted 27 lines

}

pkg_postinst_wpa-supplicant () {

(quoted diff) +0 -0

supplicant/wpa-supplicant_r5.sp4.01.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.sp4.01.bb
new file mode 100644
index 0000000..e23f3df

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant_r5.sp4.01.bb

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
@@ -0,0 +1,13 @@
+# This is a TI specific version of the wpa-supplicant recipe for

use with the

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6 -0
+# wl12xx wlan and bluetooth 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=8835156c8ab8ca d6356ec7f39ebe3aba"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-

Quoted 4 lines
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4 -0
+
+
+SRCREV = "ol_R5.SP4.01"
+PR_append = "-a+gitr${SRCPV}"

Question about the PR append consistency with other recipes. Same as previous feedback, do you need the "-" or just append the "a"?

Quoted 7 lines

--
1.7.0.4

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

#13 lore raw

Re: [PATCH 07/17] hostap-daemon: Split recipe

In reply to Maupin, Chase
Quoted 171 lines

-----Original Message-----
From: Maupin, Chase
Sent: Thursday, March 21, 2013 7:07 AM
To: Cooper Jr., Franklin; [email protected]
Subject: RE: [meta-arago] [PATCH 07/17] hostap-daemon: Split recipe

Quoted 52 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 07/17] hostap-daemon: Split recipe

* Split recipe to allow multiple hostap-daemon recipes to share a common .inc

---
 ...d-change-conf-file-for-better-oob-startup.patch |    0
 .../hostap/hostap-daemon_git.bb                    |   61 ------
--------------
 .../hostap/hostap-daemon_r5.sp4.01.bb              |   11 ++++
 .../recipes-connectivity/hostap/hostap.inc         |   54
+++++++++++++++++
 4 files changed, 65 insertions(+), 61 deletions(-)  rename
meta-arago-extras/recipes-connectivity/hostap/{hostap-
daemon => hostap-daemon-r5.sp4.01}/0001-hostapd-change-conf-file-
for-better-oob-startup.patch (100%)
 delete mode 100644 meta-arago-extras/recipes-
connectivity/hostap/hostap-daemon_git.bb
 create mode 100644 meta-arago-extras/recipes-
connectivity/hostap/hostap-daemon_r5.sp4.01.bb
 create mode 100644 meta-arago-extras/recipes-

connectivity/hostap/hostap.inc

(quoted diff) +0 -0

connectivity/hostap/hostap-daemon/0001-hostapd-change-conf-file- for-better-oob-startup.patch b/meta-arago-extras/recipes- connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change- conf-file-for-better-oob-startup.patch
similarity index 100%
rename from meta-arago-extras/recipes-connectivity/hostap/hostap- daemon/0001-hostapd-change-conf-file-for-better-oob-startup.patch rename to meta-arago-extras/recipes-connectivity/hostap/hostap- daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob- startup.patch

(quoted diff) +0 -0

connectivity/hostap/hostap-daemon_git.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted file mode 100644
index 424d55d..0000000
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap- daemon_git.bb
+++ /dev/null

(quoted diff) +0 -1
@@ -1,61 +0,0 @@
-# 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-daemon_git.bb

Quoted 3 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -3
-
-HOMEPAGE = "http://hostap.epitest.fi"
-DESCRIPTION = "User space daemon for extended IEEE 802.11

management"

Quoted 99 lines
meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -3
-SECTION = "kernel/userland"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -4
-
-DEPENDS = "libnl openssl"
-
-# Since this is a TI customized version of hostap-daemon do not make

this the -# default -DEFAULT_PREFERENCE = "-1"

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -7
-
-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 TI customized

version -# of hostap -PV = "2.0-devel-ti"

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -6
-
-PR = "r2+gitr${SRCPV}"
-
-SRCREV = "ol_R5.SP4.01"
-
-SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git

\

(quoted diff) +0 -1
-	file://0001-hostapd-change-conf-file-for-better-oob-

startup.patch;patchdir=.. \

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -21
-	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-daemon_git.bb deleted +0 -3
-}
-
-# The default hostapd.conf file that is fetched from upstream is

using -# "a" band which is not supported by the 1271 chip. -# modify it to use "g" band and default channel 6 and change the ssid from -# "test" to a more meaningful name.

meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_git.bb deleted +0 -4
-
-updatercd_postinst () {
-:
-}
(quoted diff) +0 -0

connectivity/hostap/hostap-daemon_r5.sp4.01.bb b/meta-arago- extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb new file mode 100644
index 0000000..a84c333

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +0 -0

daemon_r5.sp4.01.bb

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +1 -0
@@ -0,0 +1,11 @@
+# This is a TI specific version of the hostap-daemon recipe for

use with the

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +6 -0
+# wl12xx wlan and bluetooth module.
+
+require hostap.inc
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-connectivity/hostap/hostap- new file +4 -0
+
+PR_append = "a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.SP4.01"
connectivity/hostap/hostap.inc renamed from meta-arago-extras/recipes- +0 -0

b/meta-arago-extras/recipes- connectivity/hostap/hostap.inc new file mode 100644 index 0000000..17d18a8

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

use with the

meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +4 -0
+# wl12xx wlan and bluetooth module.
+
+HOMEPAGE = "http://hostap.epitest.fi"
+DESCRIPTION = "User space daemon for extended IEEE 802.11

management"

meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +5 -0
+SECTION = "kernel/userland"
+
+DEPENDS = "libnl openssl"
+
+# Since this is a TI customized version of hostap-daemon do not

make this the

meta-arago-extras/recipes-connectivity/hostap/hostap.inc line 12

Quoted 2 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +2 -0
+# default
+DEFAULT_PREFERENCE = "-1"

This may raise an old discussion, but is the purpose of this to make sure that this recipe is not used by default even for people using Arago? I'm assuming you want to make this available for people using custom distros, which is why this is not in the meta-arago-distro layer?

Quoted 3 lines

Just checking if this is where you want to put the recipe and if you think the .inc file should set this DEFAULT_PREFERENCE because it will be common for all TI versions.

FC: Since this recipe is located in meta-arago-extras people should be able to use this layer without using meta-arago-distro/Arago Distro. So since this is a TI hacked version we don't want to force people to take our version unless they planned on doing so since this is meant for wilink 6 devices only.

Quoted 54 lines
Quoted 54 lines
meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +9 -0
+
+PR = "r3"
+
+inherit update-rc.d
+INITSCRIPT_NAME="hostapd"
+
+CONFFILES_${PN} += "${sysconfdir}/hostapd.conf"
+
+SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git

\
+ file://0001-hostapd-change-conf-file-for-better-oob-
startup.patch;patchdir=.. \

meta-arago-extras/recipes-connectivity/hostap/hostap.inc 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.inc new file +3 -0
+}
+
+# The default hostapd.conf file that is fetched from upstream is

using

meta-arago-extras/recipes-connectivity/hostap/hostap.inc 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 the

ssid from

meta-arago-extras/recipes-connectivity/hostap/hostap.inc new file +6 -1
+# "test" to a more meaningful name.
+
+updatercd_postinst () {
+:
+}
+
--

1.7.0.4

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

#19 lore raw

Re: [PATCH 09/17] wpa-supplicant: Split recipe

In reply to Franklin S. Cooper Jr
Quoted 51 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 09/17] wpa-supplicant: Split recipe

* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa-supplicant.

---
 .../defconfig                                      |    0
 .../{wpa-supplicant_git.bb => wpa-supplicant.inc}  |   15 +++++-
---------
 .../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb     |   13
+++++++++++++
 3 files changed, 18 insertions(+), 10 deletions(-)
 rename meta-arago-extras/recipes-connectivity/wpa-
supplicant/{wpa-supplicant => wpa-supplicant-r5.sp4.01}/defconfig
(100%)
 rename meta-arago-extras/recipes-connectivity/wpa-
supplicant/{wpa-supplicant_git.bb => wpa-supplicant.inc} (91%)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-

supplicant/wpa-supplicant_r5.sp4.01.bb

(quoted diff) +0 -0

supplicant/wpa-supplicant/defconfig b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig similarity index 100%
rename from meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-r5.sp4.01/defconfig

(quoted diff) +0 -0

supplicant/wpa-supplicant_git.bb b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant.inc similarity index 91%
rename from meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb
rename to meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant.inc
index 927a556..21ec6a3 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc

(quoted diff) +0 -0
@@ -5,10 +5,7 @@ DESCRIPTION = "A Client for Wi-Fi Protected
Quoted 5 lines

Access (WPA)."
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" BUGTRACKER = "http://hostap.epitest.fi/bugz/" SECTION = "network"
-LICENSE = "GPLv2 | BSD"

One more thought. Can this line stay in the include file since both versions keep the same LICENSE, just different file checksums?

Quoted 100 lines

-LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
-
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
- file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8ca d6356ec7f39ebe3aba"
+
DEPENDS = "gnutls dbus libnl openssl
${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-
cli"

(quoted diff) +0 -0
@@ -16,22 +13,19 @@ RRECOMMENDS_${PN} = "wpa-supplicant-

passphrase wpa-supplicant-cli"

 # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1.
 DEFAULT_PREFERENCE = "-1"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +0 -3
-SRCREV = "ol_R5.SP4.01"
-PR = "r3+gitr${SRCPV}"
-# Add ti to the PV to indicate that this is a TI modify version

of wpa-supplicant.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +1 -1
-PV = "2.0-devel-ti"
+PR = "r4"
 
 SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git
\
            file://defconfig \
            file://defaults-sane \
            file://wpa-supplicant.sh \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +1 -2
-           file://kill_wpa_supplicant.sh \
            file://wpa_supplicant.conf \
            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 \
+           file://kill_wpa_supplicant.sh \
           "
 
 S = "${WORKDIR}/git/wpa_supplicant"
@@ -54,7 +48,6 @@ do_install () {
 	install -m 755 wpa_supplicant ${D}${sbindir}
 	install -m 755 wpa_passphrase ${D}${sbindir}
 	install -m 755 wpa_cli        ${D}${sbindir}
-	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh
 ${D}${sbindir}
 
 	install -d ${D}${docdir}/wpa_supplicant

install -m 644 README ${WORKDIR}/wpa_supplicant.conf
${D}${docdir}/wpa_supplicant

(quoted diff) +0 -0
@@ -93,6 +86,8 @@ do_install () {
 	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
install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service
${D}/usr/share/dbus-1/system-services

(quoted diff) +2 -0
+
+	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh

${D}${sbindir}
}

pkg_postinst_wpa-supplicant () {

(quoted diff) +0 -0

supplicant/wpa-supplicant_r5.sp4.01.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.sp4.01.bb
new file mode 100644
index 0000000..e23f3df

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant_r5.sp4.01.bb

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
@@ -0,0 +1,13 @@
+# This is a TI specific version of the wpa-supplicant recipe for

use with the

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6 -0
+# wl12xx wlan and bluetooth 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=8835156c8ab8ca d6356ec7f39ebe3aba"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4 -1
+
+
+SRCREV = "ol_R5.SP4.01"
+PR_append = "-a+gitr${SRCPV}"
--

1.7.0.4

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

Acked-by on v1 10/17
#21 lore raw

Re: [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe.

In reply to Franklin S. Cooper Jr
Quoted 772 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe.

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in
newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be
purchased separately..
* Bring old r5.00.18 wpa-supplicant recipe with updated recipe name
to add support for am180x-evm default wilink 6 module.

---
 ...ant-dbus-AP-Add-support-for-WPS-Internal-.patch |  134 ++++++
 .../wpa-supplicant-r5.00.18/defconfig              |  426
++++++++++++++++++++
 .../wpa-supplicant/wpa-supplicant_r5.00.18.bb      |   14 +
 3 files changed, 574 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-
supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-
Add-support-for-WPS-Internal-.patch
 create mode 100755 meta-arago-extras/recipes-connectivity/wpa-
supplicant/wpa-supplicant-r5.00.18/defconfig
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-

supplicant/wpa-supplicant_r5.00.18.bb

(quoted diff) +0 -0

supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP- Add-support-for-WPS-Internal-.patch b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/0001- wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch new file mode 100644
index 0000000..15ec6fe

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for- WPS-Internal-.patch

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
@@ -0,0 +1,134 @@
+From 19030351b95f48714007e425eaa2163d9122d788 Mon Sep 17

00:00:00 2001

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3 -0
+From: Gustavo Sverzut Barbieri <[email protected]>
+Date: Sun, 18 Dec 2011 17:06:31 +0200
+Subject: [PATCH] wpa_supplicant/dbus AP: Add support for WPS

Internal
+ Registrar

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+
+When in AP mode, wpa_supplicant is now enabling WPS (only

Internal
+Registrar). WPS.Start() call can be used to initiate WPS negotiation

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3 -0
+similarly to how this is done in station mode.
+
+This was done to ctrl_iface by Jouni Malinen on April 21, 2009

(commit
+3ec97afe571f159ea95213262c1c6b89965827d4)

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+
+Upstream-Status: Submitted

[http://lists.shmoo.com/pipermail/hostap/2011-
December/024947.html]

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+
+Signed-hostap: Gustavo Sverzut Barbieri

<[email protected]>

+---
+ wpa_supplicant/dbus/dbus_new_handlers_wps.c |   72

+++++++++++++++++++++++++--
+ 1 file changed, 67 insertions(+), 5 deletions(-)

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+
+diff --git a/wpa_supplicant/dbus/dbus_new_handlers_wps.c

b/wpa_supplicant/dbus/dbus_new_handlers_wps.c

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +21 -0
+index d8b74d0..a72cfb3 100644
+--- a/wpa_supplicant/dbus/dbus_new_handlers_wps.c
++++ b/wpa_supplicant/dbus/dbus_new_handlers_wps.c
+@@ -19,6 +19,8 @@
+ #include "../config.h"
+ #include "../wpa_supplicant_i.h"
+ #include "../wps_supplicant.h"
++#include "../driver_i.h"
++#include "../ap.h"
+ #include "dbus_new_helpers.h"
+ #include "dbus_new.h"
+ #include "dbus_new_handlers.h"
+@@ -30,6 +32,7 @@ struct wps_start_params {
+	int type; /* 0 - not set, 1 - pin,      2 - pbc       */
+	u8 *bssid;
+	char *pin;
++	u8 *p2p_dev_addr;
+ };
+
+
+@@ -148,6 +151,41 @@ static int

wpas_dbus_handler_wps_pin(DBusMessage *message,
+ }

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4 -0
+
+
++#ifdef CONFIG_P2P
++static int wpas_dbus_handler_wps_p2p_dev_addr(DBusMessage

*message,
++ DBusMessageIter *entry_iter,
++ struct wps_start_params
*params,
++ DBusMessage **reply)
++{
++ DBusMessageIter variant_iter, array_iter;
++ int len;
++
++ dbus_message_iter_recurse(entry_iter, &variant_iter);
++ if (dbus_message_iter_get_arg_type(&variant_iter) !=
DBUS_TYPE_ARRAY ||
++ dbus_message_iter_get_element_type(&variant_iter) !=
++ DBUS_TYPE_BYTE) {
++ wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong "
++ "P2PDeviceAddress type, byte array
required");
++ *reply = wpas_dbus_error_invalid_args(
++ message, "P2PDeviceAddress must be a byte
array");
++ return -1;
++ }
++ dbus_message_iter_recurse(&variant_iter, &array_iter);
++ dbus_message_iter_get_fixed_array(&array_iter, &params-

Quoted 1 line

p2p_dev_addr,

++ &len);
++ if (len != ETH_ALEN) {
++ wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong "
++ "P2PDeviceAddress length %d", len);
++ *reply = wpas_dbus_error_invalid_args(message,
++ "P2PDeviceAddress "
++ "has wrong length");
++ return -1;
++ }
++ return 0;
++}
++#endif /* CONFIG_P2P */
++
++
+ static int wpas_dbus_handler_wps_start_entry(DBusMessage *message, char *key,

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+					     DBusMessageIter *entry_iter,
+					     struct wps_start_params

*params,
+@@ -165,6 +203,11 @@ static int wpas_dbus_handler_wps_start_entry(DBusMessage *message, char *key,

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6 -0
+	else if (os_strcmp(key, "Pin") == 0)
+		return wpas_dbus_handler_wps_pin(message, entry_iter,
+						 params, reply);
++#ifdef CONFIG_P2P
++	else if (os_strcmp(key, "P2PDeviceAddress") == 0)
++		return wpas_dbus_handler_wps_p2p_dev_addr(message,

entry_iter,
++ params, reply);
++#endif /* CONFIG_P2P */

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+
+	wpa_printf(MSG_DEBUG, "dbus: WPS.Start - unknown key %s",

key);

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +2 -0
+	*reply = wpas_dbus_error_invalid_args(message, key);
+@@ -231,12 +274,31 @@ DBusMessage *

wpas_dbus_handler_wps_start(DBusMessage *message,

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
+		ret = wpas_wps_start_reg(wpa_s, params.bssid,

params.pin,

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3 -0
+					 NULL);
+	else if (params.type == 1) {
+-		ret = wpas_wps_start_pin(wpa_s, params.bssid,

params.pin, 0,

+-					 DEV_PW_DEFAULT);
+-		if (ret > 0)
+-			os_snprintf(npin, sizeof(npin), "%08d", ret);
+-	} else

++#ifdef CONFIG_AP
++ if (wpa_s->ap_iface)
++ ret = wpa_supplicant_ap_wps_pin(wpa_s,
++ params.bssid,
++ params.pin,
++ npin, sizeof(npin));
++ else
++#endif /* CONFIG_AP */
++ {
++ ret = wpas_wps_start_pin(wpa_s, params.bssid,
++ params.pin, 0,
++ DEV_PW_DEFAULT);
++ if (ret > 0)
++ os_snprintf(npin, sizeof(npin), "%08d",
ret);
++ }
++ } else {
++#ifdef CONFIG_AP
++ if (wpa_s->ap_iface)
++ ret = wpa_supplicant_ap_wps_pbc(wpa_s,
++ params.bssid,
++ params.p2p_dev_addr);
++ else
++#endif /* CONFIG_AP */

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5 -0
+		ret = wpas_wps_start_pbc(wpa_s, params.bssid, 0);
++	}
+
+	if (ret < 0) {
+		wpa_printf(MSG_DEBUG, "dbus: WPS.Start

wpas_wps_failed in "
+--
+1.7.10

(quoted diff) +0 -0

supplicant/wpa-supplicant-r5.00.18/defconfig b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa-supplicant- r5.00.18/defconfig
new file mode 100755
index 0000000..9b9882a

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant-r5.00.18/defconfig

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3 -0
@@ -0,0 +1,426 @@
+# Example wpa_supplicant build time configuration
+#
+# This file lists the configuration options that are used when

building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,

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 CFLAGS

and 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 have

installed 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 files

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

meta-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 Linux

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

meta-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 kernel

interface

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +3 -0
+CONFIG_DRIVER_NL80211=y
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros

driver)

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 for

mingw 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 starting

meta-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 test

driver
+# 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 any

EAP 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 all

the
+# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
+# the OpenSSL library must be patched (openssl-0.9.8d-tls- extensions.patch)

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 and

certificate 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 not

included 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 a wpa_cli binary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply for

meta-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 to

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

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.1X

supplicant, 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 removes

WPA2 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 removing

support for
+# converting ASCII passphrases into PSK. If this functionality is removed, the
+# PSK can only be configured as the 64-octet hexstring (e.g., from

meta-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 size

by 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: the

configuration 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 the

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

meta-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 by

about 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 specific

functions

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.11e

DLS)

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 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- 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 need CONFIG_TLS=gnutls for this to have any effect. Please note that
+# even though the core GnuTLS library is released under LGPL, this extra
+# library uses GPL and as such, the terms of GPL apply to the combination
+# of wpa_supplicant and GnuTLS if this option is enabled. BSD license may not

meta-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 include

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

meta-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, the

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

meta-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 into

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

meta-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 shared

libraries.
+# When this option is enabled, each EAP method can be either included
+# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
+# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
+# be loaded in the beginning of the wpa_supplicant configuration file
+# (see load_dynamic_eap parameter in the example file) before being used in

meta-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 the

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

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

meta-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 by

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

meta-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 registrations

and 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 for

the backtraces

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +10 -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
(quoted diff) +0 -0

supplicant/wpa-supplicant_r5.00.18.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.00.18.bb
new file mode 100644
index 0000000..063c653

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant_r5.00.18.bb

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
@@ -0,0 +1,14 @@
+# This is a TI specific version of the wpa-supplicant recipe for

use with the

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6 -0
+# wl12xx wlan and bluetooth module.
+
+require wpa-supplicant.inc
+
+LICENSE = "GPLv2 | BSD"
+LIC_FILES_CHKSUM =

"file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
+
file://../README;md5=79cddd95f8b7539aced400f6aab996e9 \
+ file://wpa_supplicant.c;beginline=1;endline=17;md5=009c87d612d921 75fe8cd1e93137bf42"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +5 -0
+
+SRCREV = "ol_R5.00.18"
+PR_append = "-a+gitr${SRCPV}"
+
+SRC_URI += "file://0001-wpa_supplicant-dbus-AP-Add-support-for-

WPS-Internal-.patch;patchdir=.. "
--
1.7.0.4

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

#23 lore raw

Re: [PATCH 11/17] ti-wifi-utils: Split recipe

In reply to Franklin S. Cooper Jr
Quoted 42 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 11/17] ti-wifi-utils: Split recipe

* Split recipe to create a generic .inc file to allow support for multiple
versions of ti-wifi-utils.
* Rename recipe to use the specific version of ti-wifi-utils.

---
 .../ti-wifi-utils/ti-wifi-utils.inc                |   29
++++++++++++++
 .../ti-wifi-utils/ti-wifi-utils/calibrate.sh       |    7 ---
 .../ti-wifi-utils/ti-wifi-utils_git.bb             |   40 ------
--------------
 .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb       |    8 ++++
 4 files changed, 37 insertions(+), 47 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-
utils/ti-wifi-utils.inc
 delete mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-
utils/ti-wifi-utils/calibrate.sh
 delete mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-
utils/ti-wifi-utils_git.bb
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-

utils/ti-wifi-utils_r5.sp3.05.bb

(quoted diff) +0 -0

wifi-utils.inc b/meta-arago-extras/recipes-devtools/ti-wifi- utils/ti-wifi-utils.inc
new file mode 100644
index 0000000..4e3f628

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +0 -0

utils.inc

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +1 -0
@@ -0,0 +1,29 @@
+DESCRIPTION = "The calibrator and other useful utilities for TI

wireless solution based on wl12xx driver"

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-

Quoted 7 lines
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +7 -0
+
+DEPENDS = "libnl"
+RDEPENDS_${PN} = "ti-compat-wireless-wl12xx wl12xx-firmware"
+
+PR ="r1"
+
+SRCREV = "ol_R5.00.18"

I don't think you want to set a SRCREV in the .inc file.

Quoted 41 lines

+SRC_URI = "git://github.com/TI-OpenLink/ti-
utils.git;protocol=git"

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +13 -0
+
+S = "${WORKDIR}/git"
+
+export CROSS_COMPILE = "${TARGET_PREFIX}"
+CFLAGS += " -DCONFIG_LIBNL20"
+
+do_install() {
+	install -d ${D}${bindir}
+	install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x
+	install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x
+
+	install -m 0755 calibrator ${D}${bindir}/
+	install -m 0755 ${S}/hw/ini_files/127x/*

${D}${datadir}/ti/wifi-utils/ini_files/127x

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +1 -0
+	install -m 0755 ${S}/hw/ini_files/128x/*

${D}${datadir}/ti/wifi-utils/ini_files/128x

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +6 -0
+}
+
+FILES_${PN} += " \
+	${datadir}/ti/wifi-utils/ini_files/127x \
+	${datadir}/ti/wifi-utils/ini_files/128x \
+"
(quoted diff) +0 -0

wifi-utils/calibrate.sh b/meta-arago-extras/recipes-devtools/ti- wifi-utils/ti-wifi-utils/calibrate.sh
deleted file mode 100644
index b028435..0000000
--- a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- utils/calibrate.sh
+++ /dev/null

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh deleted +0 -5
@@ -1,7 +0,0 @@
-#!/bin/sh
-echo "Performing wifi calibration..."
-rm /lib/firmware/ti-connectivity/wl1271-nvs.bin
-rmmod wl12xx_sdio.ko
-calibrator plt autocalibrate wlan0 /lib/modules/$(uname -

r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh line 7

Quoted 2 lines
meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils/calibrate.sh deleted +0 -2
-modprobe wl12xx_sdio
-

I think you need to re-order your patches so that the wilink-calibrate patch comes first, then you can combine this patch with patch 13 that adds runtime dependency on wilink-calibrate.

So in your patch sequence this would go from 11, 12, 13 to 12, 11+13.

This is so that there isn't a commit in time where this script has disappeared.

Quoted 80 lines
(quoted diff) +0 -0

wifi-utils_git.bb b/meta-arago-extras/recipes-devtools/ti-wifi- utils/ti-wifi-utils_git.bb
deleted file mode 100644
index 142a720..0000000
--- a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- utils_git.bb
+++ /dev/null

(quoted diff) +0 -1
@@ -1,40 +0,0 @@
-DESCRIPTION = "The calibrator and other useful utilities for TI

wireless solution based on wl12xx driver"

(quoted diff) +0 -2
-LICENSE = "BSD"
-LIC_FILES_CHKSUM =

"file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb deleted +0 -13
-
-DEPENDS = "libnl"
-RDEPENDS = "ti-compat-wireless-wl12xx wl12xx-firmware"
-
-inherit update-rc.d
-INITSCRIPT_NAME="calibrate.sh"
-INITSCRIPT_PARAMS = "start 20 2 3 4 5 ."
-
-PR ="r2+gitr${SRCPV}"
-PV ="0.0"
-
-SRCREV = "ol_R5.SP3.05"
-SRC_URI = "git://github.com/TI-OpenLink/ti-

utils.git;protocol=git \

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb deleted +0 -16
-           file://calibrate.sh \
-"
-
-S = "${WORKDIR}/git"
-
-export CROSS_COMPILE = "${TARGET_PREFIX}"
-CFLAGS += " -DCONFIG_LIBNL20"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -d ${D}${datadir}/ti/wifi-utils/ini_files/127x
-    install -d ${D}${datadir}/ti/wifi-utils/ini_files/128x
-    install -d ${D}${sysconfdir}/init.d
-
-    install -m 0755 calibrator ${D}${bindir}/
-    install -m 0755 ${S}/hw/ini_files/127x/*

${D}${datadir}/ti/wifi-utils/ini_files/127x
- install -m 0755 ${S}/hw/ini_files/128x/*
${D}${datadir}/ti/wifi-utils/ini_files/128x
- install -m 0755 ${WORKDIR}/calibrate.sh
${D}${sysconfdir}/init.d

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_git.bb deleted +0 -6
-}
-
-FILES_${PN} += " \
-    ${datadir}/ti/wifi-utils/ini_files/127x \
-    ${datadir}/ti/wifi-utils/ini_files/128x \
-"
(quoted diff) +0 -0

wifi-utils_r5.sp3.05.bb b/meta-arago-extras/recipes-devtools/ti- wifi-utils/ti-wifi-utils_r5.sp3.05.bb
new file mode 100644
index 0000000..e9f5a3c

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +0 -0

utils_r5.sp3.05.bb

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +4 -0
@@ -0,0 +1,8 @@
+require ti-wifi-utils.inc
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +4 -1
+
+PR_append ="a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.SP3.05"
--

1.7.0.4

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

#25 lore raw

Re: [PATCH 12/17] wilink-calibrate: Add Wilink calibration script

In reply to Franklin S. Cooper Jr

See re-order comment from last patch

Quoted 79 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 12/17] wilink-calibrate: Add Wilink calibration script

* Add a script that runs at startup that insures that the wilink MAC address used
is unique.

---
 .../ti-wifi-utils/wilink-calibrate/calibrate.sh    |    7
+++++++
 .../ti-wifi-utils/wilink-calibrate_1.0.bb          |   17
+++++++++++++++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-
utils/wilink-calibrate/calibrate.sh
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-

utils/wilink-calibrate_1.0.bb

(quoted diff) +0 -0

utils/wilink-calibrate/calibrate.sh b/meta-arago-extras/recipes- devtools/ti-wifi-utils/wilink-calibrate/calibrate.sh new file mode 100644
index 0000000..b028435

meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink- new file +0 -0

calibrate/calibrate.sh

meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink- new file +5 -0
@@ -0,0 +1,7 @@
+#!/bin/sh
+echo "Performing wifi calibration..."
+rm /lib/firmware/ti-connectivity/wl1271-nvs.bin
+rmmod wl12xx_sdio.ko
+calibrator plt autocalibrate wlan0 /lib/modules/$(uname -

r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00

meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink- new file +2 -0
+modprobe wl12xx_sdio
+
(quoted diff) +0 -0

utils/wilink-calibrate_1.0.bb b/meta-arago-extras/recipes- devtools/ti-wifi-utils/wilink-calibrate_1.0.bb new file mode 100644
index 0000000..d0aadfb

meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink- new file +0 -0

calibrate_1.0.bb

meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink- new file +2 -0
@@ -0,0 +1,17 @@
+LICENSE = "MIT"
+LIC_FILES_CHKSUM =

"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"

meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink- new file +14 -0
+
+inherit update-rc.d
+INITSCRIPT_NAME="calibrate.sh"
+INITSCRIPT_PARAMS = "start 20 2 3 4 5 ."
+
+PR ="r0"
+
+SRC_URI = "file://calibrate.sh"
+
+S = "${WORKDIR}"
+
+do_install() {
+    install -d ${D}${sysconfdir}/init.d
+    install -m 0755 ${WORKDIR}/calibrate.sh

${D}${sysconfdir}/init.d
+}
--
1.7.0.4

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

#27 lore raw

Re: [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate

In reply to Franklin S. Cooper Jr

See re-order comment from last patch

Quoted 47 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate

* Install the wilink calibrate script to insure that the wilink module is using
a unique MAC address.
* By default this script only works for the wilink module that comes with
the am335x evms.

---
 .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb       |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

wifi-utils_r5.sp3.05.bb b/meta-arago-extras/recipes-devtools/ti- wifi-utils/ti-wifi-utils_r5.sp3.05.bb
index e9f5a3c..6f46910 100644
--- a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- utils_r5.sp3.05.bb
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- utils_r5.sp3.05.bb

(quoted diff) +0 -0
@@ -3,6 +3,8 @@ require ti-wifi-utils.inc
 LICENSE = "BSD"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb +3 -2
-PR_append ="a+gitr${SRCPV}"
+PR_append ="b+gitr${SRCPV}"
 
 SRCREV = "ol_R5.SP3.05"
+
+RDEPENDS_${PN}_am335x-evm_append = " wilink-calibrate"
--

1.7.0.4

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

Acked-by on v1 14/17
#29 lore raw

Re: [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe.

In reply to Franklin S. Cooper Jr
Quoted 53 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe.

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in
newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be
purchased separately..
* Bring old r5.00.18 ti-wifi-utils recipe with updated recipe name
to add support for am180x-evm default wilink 6 module.

---
 .../ti-wifi-utils/ti-wifi-utils_r5.00.18.bb        |    8
++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-devtools/ti-wifi-

utils/ti-wifi-utils_r5.00.18.bb

(quoted diff) +0 -0

wifi-utils_r5.00.18.bb b/meta-arago-extras/recipes-devtools/ti- wifi-utils/ti-wifi-utils_r5.00.18.bb
new file mode 100644
index 0000000..cdb1e91

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +0 -0

utils_r5.00.18.bb

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +4 -0
@@ -0,0 +1,8 @@
+require ti-wifi-utils.inc
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi- new file +4 -1
+
+PR_append ="a+gitr${SRCPV}"
+
+SRCREV = "ol_R5.00.18"
\ No newline at end of file
--

1.7.0.4

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

#31 lore raw

Re: [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend

In reply to Franklin S. Cooper Jr

Why not combine this with the rename so it doesn't break in between these commits?

Quoted 33 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 15/17] wpa-supplicant_r5.sp4.01:
Rename bbappend

* Rename bbappend to match recipe name change.

---
 ....bbappend => wpa-supplicant_r5.sp4.01.bbappend} |    0
 1 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-arago-distro/recipes-connectivity/wpa-

supplicant/{wpa-supplicant_git.bbappend => wpa-
supplicant_r5.sp4.01.bbappend} (100%)

(quoted diff) +0 -0

supplicant/wpa-supplicant_git.bbappend b/meta-arago- distro/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.sp4.01.bbappend
similarity index 100%
rename from meta-arago-distro/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bbappend
rename to meta-arago-distro/recipes-connectivity/wpa- supplicant/wpa-supplicant_r5.sp4.01.bbappend --
1.7.0.4

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

Acked-by on v1 16/17
#33 lore raw

Re: [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend

In reply to Franklin S. Cooper Jr
Quoted 53 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 16/17] wpa-supplicant_r5.00.18:
Create bbappend

* Create a bbappend to insure that any version changes to the wpa-supplicant
recipe will result in a new TSU exemption will be filed.

---
 .../wpa-supplicant_r5.00.18.bbappend               |   11
+++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
 create mode 100755 meta-arago-distro/recipes-connectivity/wpa-

supplicant/wpa-supplicant_r5.00.18.bbappend

(quoted diff) +0 -0

supplicant/wpa-supplicant_r5.00.18.bbappend b/meta-arago- distro/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.00.18.bbappend
new file mode 100755
index 0000000..6fe2023

meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant_r5.00.18.bbappend

meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
@@ -0,0 +1,11 @@
+################################################################

################
+######################### TSU EXEMPTION REQUIRED
###############################
+################################################################
################

meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- new file +4 -0
+# Versions of wpa_supplicant that are TSU Exempted:
+# wpa_supplicant-0.7.3
+
+# This package requires TSU exemption. Any update to the version

of
+# wpa_supplicant must be double checked to see if a new TSU exemption must be made.
+################################################################
################

meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa- new file +2 -1
+
+PR_append = "-arago0"
--

1.7.0.4

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

#35 lore raw

Re: [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes

In reply to Franklin S. Cooper Jr
Quoted 46 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:06 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes

* Currently two versions of Wilink 6 need to be supported.
* The latest version supports the PG 3 wilink 6 module which is the version that
comes with the am37x-evm and am335x-evm .
* An older version supports the PG 2 wilink 6 module which is the version that
comes with the am180x-evm.
* Specifying the PREFERRED_VERSION to match this requirement.

---
 meta-arago-distro/conf/distro/arago.conf |   17
+++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
meta- renamed from meta-arago-distro/conf/distro/arago.conf +0 -0

arago-distro/conf/distro/arago.conf
index 9e43ea3..44141c1 100644

meta-arago-distro/conf/distro/arago.conf +12 -0
@@ -105,6 +105,23 @@ PREFERRED_VERSION_bluez-hcidump = "2.2"
 PREFERRED_VERSION_bash = "3.2.48"
 PREFERRED_VERSION_gettext = "0.16.1"
 
+# Support Wilink 6 PG 3 modules
+PREFERRED_VERSION_ti-compat-bluetooth = "r5.sp3.05"
+PREFERRED_VERSION_ti-compat-wireless-wl12xx = "r5.sp4.01"
+PREFERRED_VERSION_wl12xx-firmware = "r5.sp4.01"
+PREFERRED_VERSION_wpa-supplicant = "r5.sp4.01"
+PREFERRED_VERSION_hostap-daemon = "r5.sp4.01"
+PREFERRED_VERSION_ti-wifi-utils = "r5.sp3.05"
+
+# Support Wilink 6 PG 2 modules
+# By default am180x-evms come with an outdated wilink 6 module
+PREFERRED_VERSION_ti-compat-bluetooth_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_ti-compat-wireless-wl12xx_am180x-evm =

"r5.00.18"

meta-arago-distro/conf/distro/arago.conf PREFERRED_VERSION_bluez-hcidump = "2.2" · line 123

Quoted 4 lines
meta-arago-distro/conf/distro/arago.conf +4 -0
+PREFERRED_VERSION_wl12xx-firmware_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_wpa-supplicant_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_hostap-daemon_am180x-evm = "r5.00.18"
+PREFERRED_VERSION_ti-wifi-utils_am180x-evm = "r5.00.18"

Could you use a variable here? I see for the PG3 modules that the versions don't all match, but I'm thinking it might be nice to have only one update place. That being said I don't expect this to change going forward so I'm OK if you want to leave it alone.

Quoted 11 lines

+
# Disable polkit's systemd configuration from meta-oe POLKITAUTH = ""

--
1.7.0.4

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

#37 lore raw
In reply to Franklin S. Cooper Jr

So, due to all the comments from Chase, should I expect a v2 for all the 17 patches?

Moreover, if I remember correctly, these 17 patches are required to go in before the 9 patches from Eyal, correct?

Signature · 1 line
Denys
Quoted 55 lines · Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't supported in newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to be purchased separately..
* Bring old r5.00.18 wl12x-firmware recipe with updated recipe name to add support for am180x-evm default wilink 6 module.

---
 .../wl12xx-firmware/wl12xx-firmware_r5.00.18.bb    |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb new file +28 -0
new file mode 100644
index 0000000..12df963
@@ -0,0 +1,28 @@
+DESCRIPTION = "Firmware files for use with TI wl12xx"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=ba590e1d103f891d0151609046aef9e8"
+
+PACKAGE_ARCH = "all"
+
+PR = "r0+gitr${SRCREV}"
+
+# This recipe provides the latest firmware files for wl12xx.
+# Therefore, use the contents of this recipe instead of the contents
+# of linux-firmware-wl12xx.
+RCONFLICTS_${PN} = "linux-firmware-wl12xx"
+RPROVIDES_${PN}  = "linux-firmware-wl12xx"
+
+SRCREV = "38e0dd7999b9087e00d1a59306a7c22fd23246cf"
+SRC_URI = "git://github.com/TI-ECS/ti-utils.git;protocol=git"
+
+S = "${WORKDIR}/git/hw/firmware"
+
+do_compile() {
+    :
+}
+
+do_install() {
+    oe_runmake 'DEST_DIR=${D}' install
+}
+
+FILES_${PN} = "/lib/firmware/ti-connectivity/*"
Signature · 6 lines
1.7.0.4

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

Yes. I'll send update patches today. Probably less than 17 patches if I squash some of the patches Chase mentioned.

Quoted 83 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, March 25, 2013 1:46 PM
To: Cooper Jr., Franklin
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe.

So, due to all the comments from Chase, should I expect a v2 for all the 17 patches?

Moreover, if I remember correctly, these 17 patches are required to go in before the 9 patches from Eyal, correct?

--
Denys

Quoted 1 line · Franklin S. Cooper Jr

* Current am180x-evm ships with a PG 2 wilink 6 module that isn't

supported in

Quoted 2 lines

newer wilink 6 releases.
* A newer PG 3 wilink 6 module is available for am180x-evm but needs to

be

Quoted 2 lines

purchased separately..
* Bring old r5.00.18 wl12x-firmware recipe with updated recipe name to

add

Quoted 5 lines

support for am180x-evm default wilink 6 module.

---
 .../wl12xx-firmware/wl12xx-firmware_r5.00.18.bb    |   28

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

Quoted 2 lines
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/wl12xx-

firmware/wl12xx-firmware_r5.00.18.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

firmware_r5.00.18.bb b/meta-arago-extras/recipes-bsp/wl12xx- firmware/wl12xx-firmware_r5.00.18.bb

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-

Quoted 4 lines

new file mode 100644
index 0000000..12df963

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +0 -0

firmware_r5.00.18.bb

meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- line 3

Quoted 4 lines
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +3 -0
@@ -0,0 +1,28 @@
+DESCRIPTION = "Firmware files for use with TI wl12xx"
+LICENSE = "TI-TSPA"
+LIC_FILES_CHKSUM =

"file://LICENCE;md5=ba590e1d103f891d0151609046aef9e8"

Quoted 33 lines
meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx- new file +25 -1
+
+PACKAGE_ARCH = "all"
+
+PR = "r0+gitr${SRCREV}"
+
+# This recipe provides the latest firmware files for wl12xx.
+# Therefore, use the contents of this recipe instead of the contents
+# of linux-firmware-wl12xx.
+RCONFLICTS_${PN} = "linux-firmware-wl12xx"
+RPROVIDES_${PN}  = "linux-firmware-wl12xx"
+
+SRCREV = "38e0dd7999b9087e00d1a59306a7c22fd23246cf"
+SRC_URI = "git://github.com/TI-ECS/ti-utils.git;protocol=git"
+
+S = "${WORKDIR}/git/hw/firmware"
+
+do_compile() {
+    :
+}
+
+do_install() {
+    oe_runmake 'DEST_DIR=${D}' install
+}
+
+FILES_${PN} = "/lib/firmware/ti-connectivity/*"
--

1.7.0.4

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

#18 lore raw

Re: [PATCH 09/17] wpa-supplicant: Split recipe

In reply to Maupin, Chase
Quoted 89 lines

-----Original Message-----
From: Maupin, Chase
Sent: Thursday, March 21, 2013 7:12 AM
To: Cooper Jr., Franklin; [email protected]
Subject: RE: [meta-arago] [PATCH 09/17] wpa-supplicant: Split recipe

Quoted 57 lines

-----Original Message-----
From: [email protected] [mailto:meta-arago- [email protected]] On Behalf Of Cooper Jr., Franklin
Sent: Tuesday, March 19, 2013 9:05 PM
To: [email protected]
Cc: Cooper Jr., Franklin
Subject: [meta-arago] [PATCH 09/17] wpa-supplicant: Split recipe

* Split recipe to allow multiple versions of wpa-supplicant to exist.
* Rename recipe to match the actual version of the TI modified wpa-supplicant.

---
 .../defconfig                                      |    0
 .../{wpa-supplicant_git.bb => wpa-supplicant.inc}  |   15 +++++-
---------
 .../wpa-supplicant/wpa-supplicant_r5.sp4.01.bb     |   13
+++++++++++++
 3 files changed, 18 insertions(+), 10 deletions(-)  rename
meta-arago-extras/recipes-connectivity/wpa-
supplicant/{wpa-supplicant => wpa-supplicant-r5.sp4.01}/defconfig
(100%)
 rename meta-arago-extras/recipes-connectivity/wpa-

supplicant/{wpa-supplicant_git.bb => wpa-supplicant.inc} (91%) create mode 100644 meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_r5.sp4.01.bb

(quoted diff) +0 -0

supplicant/wpa-supplicant/defconfig b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig similarity index 100%
rename from meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant/defconfig
rename to meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant-r5.sp4.01/defconfig

(quoted diff) +0 -0

supplicant/wpa-supplicant_git.bb b/meta-arago-extras/recipes- connectivity/wpa-supplicant/wpa-supplicant.inc similarity index 91%
rename from meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant_git.bb
rename to meta-arago-extras/recipes-connectivity/wpa- supplicant/wpa-supplicant.inc
index 927a556..21ec6a3 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_git.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- supplicant.inc

(quoted diff) +0 -0
@@ -5,10 +5,7 @@ DESCRIPTION = "A Client for Wi-Fi Protected Access

(WPA)."
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/" BUGTRACKER = "http://hostap.epitest.fi/bugz/" SECTION = "network"

(quoted diff) +0 -2
-LICENSE = "GPLv2 | BSD"
-LIC_FILES_CHKSUM =

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

Quoted 8 lines

-
file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
- file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8ca d6356ec7f39ebe3aba"
+
DEPENDS = "gnutls dbus libnl openssl
${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng",

"",d)}"

Review RRECOMMENDS_${PN} = "wpa-supplicant-

Quoted 3 lines

RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant- cli"

(quoted diff) +0 -0
@@ -16,22 +13,19 @@ RRECOMMENDS_${PN} = "wpa-supplicant-

passphrase

Quoted 11 lines

wpa-supplicant-cli"

 # wpa-supplicant the DEFAULT_PREFERENCE will be set to -1.
 DEFAULT_PREFERENCE = "-1"
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +0 -3
-SRCREV = "ol_R5.SP4.01"
-PR = "r3+gitr${SRCPV}"
-# Add ti to the PV to indicate that this is a TI modify version of

wpa-supplicant.

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +1 -1
-PV = "2.0-devel-ti"
+PR = "r4"
Quoted 15 lines

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli" · line 28

Quoted 13 lines

SRC_URI = "git://github.com/TI-OpenLink/hostap.git;protocol=git

\
            file://defconfig \
            file://defaults-sane \
            file://wpa-supplicant.sh \
meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +1 -1
-           file://kill_wpa_supplicant.sh \
            file://wpa_supplicant.conf \
            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 \
+           file://kill_wpa_supplicant.sh \

Why the re-order

Not sure why things got reordered. I ended up moving kill_wpa_supplicant to its own recipe so this issue is fixed in my updated patches.

Quoted 52 lines
Quoted 22 lines
           "

S = "${WORKDIR}/git/wpa_supplicant"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant.inc renamed from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_git.bb +0 -1
@@ -54,7 +48,6 @@ do_install () {
 	install -m 755 wpa_supplicant ${D}${sbindir}
 	install -m 755 wpa_passphrase ${D}${sbindir}
 	install -m 755 wpa_cli        ${D}${sbindir}
-	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh
 ${D}${sbindir}
 
 	install -d ${D}${docdir}/wpa_supplicant

install -m 644 README ${WORKDIR}/wpa_supplicant.conf
${D}${docdir}/wpa_supplicant @@ -93,6 +86,8 @@ do_install () {

(quoted diff) +0 -0
 	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
install -m 644 ${WORKDIR}/fi.w1.wpa_supplicant1.service
${D}/usr/share/dbus-1/system-services

(quoted diff) +2 -0
+
+	install -m 755 ${WORKDIR}/kill_wpa_supplicant.sh
Quoted 1 line

${D}${sbindir}

Same question, why the re-order?

Quoted 26 lines

}

pkg_postinst_wpa-supplicant () {

(quoted diff) +0 -0

supplicant/wpa-supplicant_r5.sp4.01.bb b/meta-arago- extras/recipes-connectivity/wpa-supplicant/wpa- supplicant_r5.sp4.01.bb
new file mode 100644
index 0000000..e23f3df

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +0 -0

supplicant_r5.sp4.01.bb

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +1 -0
@@ -0,0 +1,13 @@
+# This is a TI specific version of the wpa-supplicant recipe for

use with the

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +6 -0
+# wl12xx wlan and bluetooth 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=8835156c8ab8ca

Quoted 9 lines

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-

Quoted 5 lines

d6356ec7f39ebe3aba"

meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa- new file +4 -0
+
+
+SRCREV = "ol_R5.SP4.01"
+PR_append = "-a+gitr${SRCPV}"

Question about the PR append consistency with other recipes. Same as previous feedback, do you need the "-" or just append the "a"?

My recipes with PR_append usually includes the dash. I made the changes to recipes that have MACHINE_KERNEL_PR since you mentioned that is the style used in meta-ti. But in meta-arago usually the dash is added and in some instances a dot is used. I am going to leave the dash as is for now but I don't mind creating patch later on that uses 1 particular append style for all recipes/appends in meta-arago.

Quoted 7 lines
Quoted 7 lines

--
1.7.0.4

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