All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe.
@ 2013-03-20  2:05 Franklin S. Cooper Jr
  2013-03-20  2:05 ` [PATCH 02/17] wl12xx-firmware: Update recipe name Franklin S. Cooper Jr
                   ` (17 more replies)
  0 siblings, 18 replies; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-bsp/wl12xx-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb
@@ -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/*"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 02/17] wl12xx-firmware: Update recipe name.
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 11:47   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 03/17] ti-compat-bluetooth: Split recipe Franklin S. Cooper Jr
                   ` (16 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

* Update recipe to have a distinct name.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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%)

diff --git a/meta-arago-extras/recipes-bsp/wl12xx-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
diff --git a/meta-arago-extras/recipes-bsp/wl12xx-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



^ permalink raw reply	[flat|nested] 39+ messages in thread

* [PATCH 03/17] ti-compat-bluetooth: Split recipe
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
  2013-03-20  2:05 ` [PATCH 02/17] wl12xx-firmware: Update recipe name Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 11:56   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version Franklin S. Cooper Jr
                   ` (15 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-bsp/ti-compat-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth.inc
@@ -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
+}
+
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-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
@@ -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
-}
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.sp3.05.bb
@@ -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"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
  2013-03-20  2:05 ` [PATCH 02/17] wl12xx-firmware: Update recipe name Franklin S. Cooper Jr
  2013-03-20  2:05 ` [PATCH 03/17] ti-compat-bluetooth: Split recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 11:58   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe Franklin S. Cooper Jr
                   ` (14 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-bsp/ti-compat-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-compat-bluetooth_r5.00.18.bb
@@ -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"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (2 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 11:58   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release Franklin S. Cooper Jr
                   ` (13 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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%)

diff --git a/meta-arago-extras/recipes-bsp/ti-compat-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
diff --git 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
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
@@ -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}"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (3 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:01   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 07/17] hostap-daemon: Split recipe Franklin S. Cooper Jr
                   ` (12 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT-building.patch
@@ -0,0 +1,29 @@
+From 491bf7e73abf395f2af4a914d972dc7b73af2533 Mon Sep 17 00:00:00 2001
+From: Moosa <moosab@ti.com>
+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 <moosab@ti.com>
+---
+ 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
diff --git a/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 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
--- /dev/null
+++ 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
@@ -0,0 +1,65 @@
+From f100c47eff6a24a9594702dc72037773f7dd8911 Mon Sep 17 00:00:00 2001
+From: Eyal Reizer <eyalr@ti.com>
+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
+  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 <eyalr@ti.com>
+---
+ 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
+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)
+			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;
++			}
+		}
+	}
+
+@@ -2494,6 +2500,18 @@ static int wl1271_op_add_interface(struct ieee80211_hw *hw,
+		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;
++		}
++	}
+
+	ret = wl12xx_init_vif_data(wl, vif);
+	if (ret < 0)
+--
+1.7.0.4
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test-mode.patch
@@ -0,0 +1,29 @@
+From ca17ce77efde9a69ea4d82b86d4d51463d3e2b4a Mon Sep 17 00:00:00 2001
+From: Moosa <moosab@ti.com>
+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 <moosab@ti.com>
+---
+ 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
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd-configuration.patch
@@ -0,0 +1,27 @@
+From 74d34f0573183f3d4971fcae46ed9dadbf514626 Mon Sep 17 00:00:00 2001
+From: Eyal Reizer <eyalr@ti.com>
+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 <eyalr@ti.com>
+---
+ 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
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx-r5.00.18/0004-added-driver-version.patch
@@ -0,0 +1,36 @@
+From 6147f6523fd3e82b1bed0ea5de1c23cff808a39f Mon Sep 17 00:00:00 2001
+From: Moosa <moosa.baransi@babcomsoftware.com>
+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 <moosa.baransi@babcomsoftware.com>
+---
+ 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
diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-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
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl12xx_r5.00.18.bb
@@ -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.
+
+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"
+
+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 \
+           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 \
+           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 \
+          "
+SRC_URI_append_am335x-evm = "file://0001-wl12xx-Decrease-number-of-RX-transactions.patch \
+                             file://0002-wl12xx-Decrease-number-of-TX-transactions.patch \
+"
+
+SRC_URI[md5sum] = "9b6228d2ad39ece76ec022452df59621"
+SRC_URI[sha256sum] = "c5564cbdb5d89d488be13f8d9310242597728eb1e0918ef64a6fae55dba53f5e"
+
+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



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 07/17] hostap-daemon: Split recipe
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (4 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:06   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe Franklin S. Cooper Jr
                   ` (11 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

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

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 ...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

diff --git a/meta-arago-extras/recipes-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
diff --git a/meta-arago-extras/recipes-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
@@ -1,61 +0,0 @@
-# This is a TI specific version of the hostap-daemon recipe for use with the
-# wl12xx wlan and bluetooth module.
-
-HOMEPAGE = "http://hostap.epitest.fi"
-DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
-SECTION = "kernel/userland"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
-
-DEPENDS = "libnl openssl"
-
-# Since this is a TI customized version of hostap-daemon do not make this the
-# 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
-# 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 \
-	file://0001-hostapd-change-conf-file-for-better-oob-startup.patch;patchdir=.. \
-	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
-}
-
-# 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.
-
-updatercd_postinst () {
-:
-}
diff --git a/meta-arago-extras/recipes-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.sp4.01.bb
@@ -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"
diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap.inc b/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
new file mode 100644
index 0000000..17d18a8
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
@@ -0,0 +1,54 @@
+# This is a TI specific version of the hostap-daemon recipe for use with the
+# wl12xx wlan and bluetooth module.
+
+HOMEPAGE = "http://hostap.epitest.fi"
+DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
+SECTION = "kernel/userland"
+
+DEPENDS = "libnl openssl"
+
+# Since this is a TI customized version of hostap-daemon do not make this the
+# default
+DEFAULT_PREFERENCE = "-1"
+
+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=.. \
+           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
+}
+
+# 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.
+
+updatercd_postinst () {
+:
+}
+
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (5 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 07/17] hostap-daemon: Split recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:08   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 09/17] wpa-supplicant: Split recipe Franklin S. Cooper Jr
                   ` (10 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 ...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

diff --git a/meta-arago-extras/recipes-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob-startup.patch
@@ -0,0 +1,49 @@
+From 4c5fe9901219956fb754306a2093e78fb460bbdd Mon Sep 17 00:00:00 2001
+From: Eyal Reizer <eyalr@ti.com>
+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 <eyalr@ti.com>
+---
+ 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
diff --git a/meta-arago-extras/recipes-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon_r5.00.18.bb
@@ -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"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 09/17] wpa-supplicant: Split recipe
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (6 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:11   ` Maupin, Chase
  2013-03-21 12:13   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe Franklin S. Cooper Jr
                   ` (9 subsequent siblings)
  17 siblings, 2 replies; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-connectivity/wpa-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
diff --git a/meta-arago-extras/recipes-connectivity/wpa-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
@@ -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 () {
diff --git a/meta-arago-extras/recipes-connectivity/wpa-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.sp4.01.bb
@@ -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}"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe.
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (7 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 09/17] wpa-supplicant: Split recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:13   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 11/17] ti-wifi-utils: Split recipe Franklin S. Cooper Jr
                   ` (8 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 ...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

diff --git a/meta-arago-extras/recipes-connectivity/wpa-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch
@@ -0,0 +1,134 @@
+From 19030351b95f48714007e425eaa2163d9122d788 Mon Sep 17 00:00:00 2001
+From: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
+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 <barbieri@profusion.mobi>
+---
+ 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
diff --git a/meta-arago-extras/recipes-connectivity/wpa-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.00.18/defconfig
@@ -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.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cases, these lines should use += in order not
+# to override previous values of the variables.
+
+
+# Uncomment following two lines and fix the paths if you have installed OpenSSL
+# 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
+# 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) ######################################
+#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
+###############################################################################
+
+#### openwrt (e.g., for Linksys WRT54G) #######################################
+#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
+###############################################################################
+
+#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
+# 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
+CONFIG_DRIVER_NL80211=y
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+#CONFIG_DRIVER_BSD=y
+#CFLAGS += -I/usr/local/include
+#LIBS += -L/usr/local/lib
+#LIBS_p += -L/usr/local/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
+#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
+# 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.
+# 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
+# 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)
+# to add the needed functions.
+#CONFIG_EAP_FAST=y
+
+# EAP-GTC
+CONFIG_EAP_GTC=y
+
+# EAP-OTP
+CONFIG_EAP_OTP=y
+
+# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
+#CONFIG_EAP_SIM=y
+
+# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
+#CONFIG_EAP_PSK=y
+
+# EAP-PAX
+#CONFIG_EAP_PAX=y
+
+# LEAP
+CONFIG_EAP_LEAP=y
+
+# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
+#CONFIG_EAP_AKA=y
+
+# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
+# This requires CONFIG_EAP_AKA to be enabled, too.
+#CONFIG_EAP_AKA_PRIME=y
+
+# Enable USIM simulator (Milenage) for EAP-AKA
+#CONFIG_USIM_SIMULATOR=y
+
+# EAP-SAKE
+#CONFIG_EAP_SAKE=y
+
+# EAP-GPSK
+#CONFIG_EAP_GPSK=y
+# Include support for optional SHA256 cipher suite in EAP-GPSK
+#CONFIG_EAP_GPSK_SHA256=y
+
+# EAP-TNC and related Trusted Network Connect support (experimental)
+#CONFIG_EAP_TNC=y
+
+# Wi-Fi Protected Setup (WPS)
+CONFIG_WPS=y
+# Enable WSC 2.0 support
+CONFIG_WPS2=y
+
+# EAP-IKEv2
+#CONFIG_EAP_IKEV2=y
+
+# PKCS#12 (PFX) support (used to read private key and certificate file from
+# 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
+# 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:
+# 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
+# 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
+# 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%
+# (e.g., 90 kB).
+#CONFIG_NO_STDOUT_DEBUG=y
+
+# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
+# 35-50 kB in code size.
+#CONFIG_NO_WPA=y
+
+# Remove WPA2 support. This allows WPA to be used, but removes WPA2 code to
+# save about 1 kB in code size when building only WPA-Personal (no EAP support)
+# or 6 kB if building for WPA-Enterprise.
+#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
+# 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.
+# 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)
+# 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
+# about 3.5 kB.
+#CONFIG_NO_CONFIG_WRITE=y
+
+# Remove support for configuration blobs to reduce code size by about 1.5 kB.
+#CONFIG_NO_CONFIG_BLOBS=y
+
+# Select program entry point implementation:
+# main = UNIX/POSIX like main() function (default)
+# main_winsvc = Windows service (read parameters from registry)
+# main_none = Very basic example (development use only)
+#CONFIG_MAIN=main
+
+# Select wrapper for operatins system and C library specific functions
+# unix = UNIX/POSIX like systems (default)
+# win32 = Windows systems
+# none = Empty template
+#CONFIG_OS=unix
+
+# Select event loop implementation
+# eloop = select() loop (default)
+# eloop_win = Windows events and WaitForMultipleObject() loop
+# eloop_none = Empty template
+#CONFIG_ELOOP=eloop
+
+# Select layer 2 packet implementation
+# linux = Linux packet socket (default)
+# pcap = libpcap/libdnet/WinPcap
+# freebsd = FreeBSD libpcap
+# winpcap = WinPcap with receive thread
+# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
+# none = Empty template
+#CONFIG_L2_PACKET=linux
+
+# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
+CONFIG_PEERKEY=y
+
+# IEEE 802.11w (management frame protection)
+# This version is an experimental implementation based on IEEE 802.11w/D1.0
+# draft and is subject to change since the standard has not yet been finalized.
+# Driver support is also needed for IEEE 802.11w.
+#CONFIG_IEEE80211W=y
+
+# Select TLS implementation
+# openssl = OpenSSL (default)
+# gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
+# internal = Internal TLSv1 implementation (experimental)
+# none = Empty template
+#CONFIG_TLS=openssl
+
+# Whether to enable TLS/IA support, which is required for EAP-TTLSv1.
+# You need CONFIG_TLS=gnutls for this to have any effect. Please note that
+# even though the core GnuTLS library is released under LGPL, this extra
+# library uses GPL and as such, the terms of GPL apply to the combination
+# of wpa_supplicant and GnuTLS if this option is enabled. BSD license may not
+# 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
+# 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
+# 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
+# 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
+# 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.
+#
+# 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
+# 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)
+CONFIG_DEBUG_FILE=y
+
+# Enable privilege separation (see README 'Privilege separation' for details)
+#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
+#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.
+#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
+# 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
diff --git a/meta-arago-extras/recipes-connectivity/wpa-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
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bb
@@ -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=.. "
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 11/17] ti-wifi-utils: Split recipe
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (8 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:18   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 12/17] wilink-calibrate: Add Wilink calibration script Franklin S. Cooper Jr
                   ` (7 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc
new file mode 100644
index 0000000..4e3f628
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils.inc
@@ -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 \
+"
diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-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
@@ -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
-
diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-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
@@ -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 \
-"
diff --git 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
new file mode 100644
index 0000000..e9f5a3c
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb
@@ -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"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 12/17] wilink-calibrate: Add Wilink calibration script
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (9 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 11/17] ti-wifi-utils: Split recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:18   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate Franklin S. Cooper Jr
                   ` (6 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

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

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-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
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate/calibrate.sh
@@ -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
+
diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-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
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-calibrate_1.0.bb
@@ -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
+}
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (10 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 12/17] wilink-calibrate: Add Wilink calibration script Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:18   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (5 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb       |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git 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
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
@@ -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"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe.
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (11 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:19   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend Franklin S. Cooper Jr
                   ` (4 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../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

diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-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
--- /dev/null
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils_r5.00.18.bb
@@ -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
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (12 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:20   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend Franklin S. Cooper Jr
                   ` (3 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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%)

diff --git a/meta-arago-distro/recipes-connectivity/wpa-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



^ permalink raw reply	[flat|nested] 39+ messages in thread

* [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (13 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:20   ` Maupin, Chase
  2013-03-20  2:05 ` [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes Franklin S. Cooper Jr
                   ` (2 subsequent siblings)
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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

diff --git a/meta-arago-distro/recipes-connectivity/wpa-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
--- /dev/null
+++ b/meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_r5.00.18.bbappend
@@ -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"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (14 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend Franklin S. Cooper Jr
@ 2013-03-20  2:05 ` Franklin S. Cooper Jr
  2013-03-21 12:22   ` Maupin, Chase
  2013-03-21 11:46 ` [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Maupin, Chase
  2013-03-25 18:45 ` Denys Dmytriyenko
  17 siblings, 1 reply; 39+ messages in thread
From: Franklin S. Cooper Jr @ 2013-03-20  2:05 UTC (permalink / raw)
  To: meta-arago; +Cc: 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.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 9e43ea3..44141c1 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -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 = ""
 
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 39+ messages in thread

* Re: [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe.
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (15 preceding siblings ...)
  2013-03-20  2:05 ` [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes Franklin S. Cooper Jr
@ 2013-03-21 11:46 ` Maupin, Chase
  2013-03-25 18:45 ` Denys Dmytriyenko
  17 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 11:46 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago



Acked-by: Chase Maupin <chase.maupin@ti.com>

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

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-bsp/wl12xx-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-
> firmware_r5.00.18.bb
> @@ -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/*"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 02/17] wl12xx-firmware: Update recipe name.
  2013-03-20  2:05 ` [PATCH 02/17] wl12xx-firmware: Update recipe name Franklin S. Cooper Jr
@ 2013-03-21 11:47   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 11:47 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> Cc: Cooper Jr., Franklin
> Subject: [meta-arago] [PATCH 02/17] wl12xx-firmware: Update
> recipe name.
> 
> * Update recipe to have a distinct name.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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%)
> 
> diff --git a/meta-arago-extras/recipes-bsp/wl12xx-
> 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
> diff --git a/meta-arago-extras/recipes-bsp/wl12xx-
> 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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 03/17] ti-compat-bluetooth: Split recipe
  2013-03-20  2:05 ` [PATCH 03/17] ti-compat-bluetooth: Split recipe Franklin S. Cooper Jr
@ 2013-03-21 11:56   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 11:56 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-
> compat-bluetooth.inc
> @@ -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"

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.

> +
> +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.

> +
> +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
> +}
> +
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-
> 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
> @@ -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
> -}
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-
> compat-bluetooth_r5.sp3.05.bb
> @@ -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
> "
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version
  2013-03-20  2:05 ` [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version Franklin S. Cooper Jr
@ 2013-03-21 11:58   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 11:58 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-bluetooth/ti-
> compat-bluetooth_r5.00.18.bb
> @@ -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
> "
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe
  2013-03-20  2:05 ` [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe Franklin S. Cooper Jr
@ 2013-03-21 11:58   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 11:58 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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%)
> 
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-
> 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
> diff --git 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
> 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
> @@ -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}"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release
  2013-03-20  2:05 ` [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release Franklin S. Cooper Jr
@ 2013-03-21 12:01   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:01 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

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?

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl12xx-r5.00.18/0001-compat-wireless-exclude-BT-
> building.patch
> @@ -0,0 +1,29 @@
> +From 491bf7e73abf395f2af4a914d972dc7b73af2533 Mon Sep 17
> 00:00:00 2001
> +From: Moosa <moosab@ti.com>
> +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 <moosab@ti.com>
> +---
> + 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
> diff --git a/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 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
> --- /dev/null
> +++ 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
> @@ -0,0 +1,65 @@
> +From f100c47eff6a24a9594702dc72037773f7dd8911 Mon Sep 17
> 00:00:00 2001
> +From: Eyal Reizer <eyalr@ti.com>
> +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
> +  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 <eyalr@ti.com>
> +---
> + 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
> +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)
> +			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;
> ++			}
> +		}
> +	}
> +
> +@@ -2494,6 +2500,18 @@ static int wl1271_op_add_interface(struct
> ieee80211_hw *hw,
> +		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;
> ++		}
> ++	}
> +
> +	ret = wl12xx_init_vif_data(wl, vif);
> +	if (ret < 0)
> +--
> +1.7.0.4
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl12xx-r5.00.18/0002-compat-wireless-enable-test-
> mode.patch
> @@ -0,0 +1,29 @@
> +From ca17ce77efde9a69ea4d82b86d4d51463d3e2b4a Mon Sep 17
> 00:00:00 2001
> +From: Moosa <moosab@ti.com>
> +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 <moosab@ti.com>
> +---
> + 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
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl12xx-r5.00.18/0002-ti-compat-wireless-enable-uapsd-
> configuration.patch
> @@ -0,0 +1,27 @@
> +From 74d34f0573183f3d4971fcae46ed9dadbf514626 Mon Sep 17
> 00:00:00 2001
> +From: Eyal Reizer <eyalr@ti.com>
> +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 <eyalr@ti.com>
> +---
> + 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
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl12xx-r5.00.18/0004-added-driver-version.patch
> @@ -0,0 +1,36 @@
> +From 6147f6523fd3e82b1bed0ea5de1c23cff808a39f Mon Sep 17
> 00:00:00 2001
> +From: Moosa <moosa.baransi@babcomsoftware.com>
> +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 <moosa.baransi@babcomsoftware.com>
> +---
> + 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
> diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
> wireless-wl12xx_r5.00.18.bb
> @@ -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.
> +
> +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"
> +
> +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 \
> +           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
> \
> +           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 \
> +          "
> +SRC_URI_append_am335x-evm = "file://0001-wl12xx-Decrease-number-
> of-RX-transactions.patch \
> +                             file://0002-wl12xx-Decrease-number-
> of-TX-transactions.patch \
> +"
> +
> +SRC_URI[md5sum] = "9b6228d2ad39ece76ec022452df59621"
> +SRC_URI[sha256sum] =
> "c5564cbdb5d89d488be13f8d9310242597728eb1e0918ef64a6fae55dba53f5e
> "
> +
> +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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 07/17] hostap-daemon: Split recipe
  2013-03-20  2:05 ` [PATCH 07/17] hostap-daemon: Split recipe Franklin S. Cooper Jr
@ 2013-03-21 12:06   ` Maupin, Chase
  2013-03-21 12:12     ` Cooper Jr., Franklin
  0 siblings, 1 reply; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:06 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  ...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
> 
> diff --git a/meta-arago-extras/recipes-
> 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
> diff --git a/meta-arago-extras/recipes-
> 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
> @@ -1,61 +0,0 @@
> -# This is a TI specific version of the hostap-daemon recipe for
> use with the
> -# wl12xx wlan and bluetooth module.
> -
> -HOMEPAGE = "http://hostap.epitest.fi"
> -DESCRIPTION = "User space daemon for extended IEEE 802.11
> management"
> -SECTION = "kernel/userland"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM =
> "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
> -
> -DEPENDS = "libnl openssl"
> -
> -# Since this is a TI customized version of hostap-daemon do not
> make this the
> -# 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
> -# 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
> \
> -	file://0001-hostapd-change-conf-file-for-better-oob-
> startup.patch;patchdir=.. \
> -	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
> -}
> -
> -# 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.
> -
> -updatercd_postinst () {
> -:
> -}
> diff --git a/meta-arago-extras/recipes-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-
> daemon_r5.sp4.01.bb
> @@ -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"
> diff --git a/meta-arago-extras/recipes-
> connectivity/hostap/hostap.inc b/meta-arago-extras/recipes-
> connectivity/hostap/hostap.inc
> new file mode 100644
> index 0000000..17d18a8
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
> @@ -0,0 +1,54 @@
> +# This is a TI specific version of the hostap-daemon recipe for
> use with the
> +# wl12xx wlan and bluetooth module.
> +
> +HOMEPAGE = "http://hostap.epitest.fi"
> +DESCRIPTION = "User space daemon for extended IEEE 802.11
> management"
> +SECTION = "kernel/userland"
> +
> +DEPENDS = "libnl openssl"
> +
> +# Since this is a TI customized version of hostap-daemon do not
> make this the
> +# 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.

> +
> +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=.. \
> +           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
> +}
> +
> +# 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.
> +
> +updatercd_postinst () {
> +:
> +}
> +
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe
  2013-03-20  2:05 ` [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe Franklin S. Cooper Jr
@ 2013-03-21 12:08   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:08 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  ...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
> 
> diff --git a/meta-arago-extras/recipes-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-
> daemon-r5.00.18/0001-hostapd-change-conf-file-for-better-oob-
> startup.patch
> @@ -0,0 +1,49 @@
> +From 4c5fe9901219956fb754306a2093e78fb460bbdd Mon Sep 17
> 00:00:00 2001
> +From: Eyal Reizer <eyalr@ti.com>
> +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 <eyalr@ti.com>
> +---
> + 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
> diff --git a/meta-arago-extras/recipes-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-
> daemon_r5.00.18.bb
> @@ -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"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 09/17] wpa-supplicant: Split recipe
  2013-03-20  2:05 ` [PATCH 09/17] wpa-supplicant: Split recipe Franklin S. Cooper Jr
@ 2013-03-21 12:11   ` Maupin, Chase
  2013-04-01 12:35     ` Cooper Jr., Franklin
  2013-03-21 12:13   ` Maupin, Chase
  1 sibling, 1 reply; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:11 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> @@ -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=8835156c8ab8ca
> d6356ec7f39ebe3aba"
> +
>  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 \

Why the re-order

>            "
> 
>  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}

Same question, why the re-order?

>  }
> 
>  pkg_postinst_wpa-supplicant () {
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> supplicant_r5.sp4.01.bb
> @@ -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=8835156c8ab8ca
> d6356ec7f39ebe3aba"
> +
> +
> +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"?

> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 07/17] hostap-daemon: Split recipe
  2013-03-21 12:06   ` Maupin, Chase
@ 2013-03-21 12:12     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 39+ messages in thread
From: Cooper Jr., Franklin @ 2013-03-21 12:12 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago



> -----Original Message-----
> From: Maupin, Chase
> Sent: Thursday, March 21, 2013 7:07 AM
> To: Cooper Jr., Franklin; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH 07/17] hostap-daemon: Split recipe
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> > Sent: Tuesday, March 19, 2013 9:05 PM
> > To: meta-arago@arago-project.org
> > 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
> >
> > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > ---
> >  ...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
> >
> > diff --git a/meta-arago-extras/recipes-
> > 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
> > diff --git a/meta-arago-extras/recipes-
> > 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
> > @@ -1,61 +0,0 @@
> > -# This is a TI specific version of the hostap-daemon recipe for use
> > with the -# wl12xx wlan and bluetooth module.
> > -
> > -HOMEPAGE = "http://hostap.epitest.fi"
> > -DESCRIPTION = "User space daemon for extended IEEE 802.11
> management"
> > -SECTION = "kernel/userland"
> > -LICENSE = "GPLv2"
> > -LIC_FILES_CHKSUM =
> > "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
> > -
> > -DEPENDS = "libnl openssl"
> > -
> > -# Since this is a TI customized version of hostap-daemon do not make
> > this the -# 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 -# 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
> > \
> > -	file://0001-hostapd-change-conf-file-for-better-oob-
> > startup.patch;patchdir=.. \
> > -	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
> > -}
> > -
> > -# 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.
> > -
> > -updatercd_postinst () {
> > -:
> > -}
> > diff --git a/meta-arago-extras/recipes-
> > 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
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-
> > daemon_r5.sp4.01.bb
> > @@ -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"
> > diff --git a/meta-arago-extras/recipes- connectivity/hostap/hostap.inc
> > b/meta-arago-extras/recipes- connectivity/hostap/hostap.inc new file
> > mode 100644 index 0000000..17d18a8
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-connectivity/hostap/hostap.inc
> > @@ -0,0 +1,54 @@
> > +# This is a TI specific version of the hostap-daemon recipe for
> > use with the
> > +# wl12xx wlan and bluetooth module.
> > +
> > +HOMEPAGE = "http://hostap.epitest.fi"
> > +DESCRIPTION = "User space daemon for extended IEEE 802.11
> > management"
> > +SECTION = "kernel/userland"
> > +
> > +DEPENDS = "libnl openssl"
> > +
> > +# Since this is a TI customized version of hostap-daemon do not
> > make this the
> > +# 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.

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.

> 
> > +
> > +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=.. \
> > +           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
> > +}
> > +
> > +# 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.
> > +
> > +updatercd_postinst () {
> > +:
> > +}
> > +
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 09/17] wpa-supplicant: Split recipe
  2013-03-20  2:05 ` [PATCH 09/17] wpa-supplicant: Split recipe Franklin S. Cooper Jr
  2013-03-21 12:11   ` Maupin, Chase
@ 2013-03-21 12:13   ` Maupin, Chase
  1 sibling, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:13 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:05 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> @@ -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"

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

> -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"
> 
> @@ -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 () {
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> supplicant_r5.sp4.01.bb
> @@ -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=8835156c8ab8ca
> d6356ec7f39ebe3aba"
> +
> +
> +SRCREV = "ol_R5.SP4.01"
> +PR_append = "-a+gitr${SRCPV}"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe.
  2013-03-20  2:05 ` [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe Franklin S. Cooper Jr
@ 2013-03-21 12:13   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:13 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  ...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
> 
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> supplicant-r5.00.18/0001-wpa_supplicant-dbus-AP-Add-support-for-
> WPS-Internal-.patch
> @@ -0,0 +1,134 @@
> +From 19030351b95f48714007e425eaa2163d9122d788 Mon Sep 17
> 00:00:00 2001
> +From: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
> +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
> <barbieri@profusion.mobi>
> +---
> + 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
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> supplicant-r5.00.18/defconfig
> @@ -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.,
> +# just setting VARIABLE=n is not disabling that variable.
> +#
> +# This file is included in Makefile, so variables like CFLAGS
> and LIBS can also
> +# be modified from here. In most cases, these lines should use
> += in order not
> +# to override previous values of the variables.
> +
> +
> +# Uncomment following two lines and fix the paths if you have
> installed OpenSSL
> +# 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
> +# 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)
> ######################################
> +#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
> +################################################################
> ###############
> +
> +#### openwrt (e.g., for Linksys WRT54G)
> #######################################
> +#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
> +################################################################
> ###############
> +
> +#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
> +# 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
> +CONFIG_DRIVER_NL80211=y
> +
> +# Driver interface for FreeBSD net80211 layer (e.g., Atheros
> driver)
> +#CONFIG_DRIVER_BSD=y
> +#CFLAGS += -I/usr/local/include
> +#LIBS += -L/usr/local/lib
> +#LIBS_p += -L/usr/local/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
> +#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
> +# 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.
> +# 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
> +# 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)
> +# to add the needed functions.
> +#CONFIG_EAP_FAST=y
> +
> +# EAP-GTC
> +CONFIG_EAP_GTC=y
> +
> +# EAP-OTP
> +CONFIG_EAP_OTP=y
> +
> +# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
> +#CONFIG_EAP_SIM=y
> +
> +# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
> +#CONFIG_EAP_PSK=y
> +
> +# EAP-PAX
> +#CONFIG_EAP_PAX=y
> +
> +# LEAP
> +CONFIG_EAP_LEAP=y
> +
> +# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
> +#CONFIG_EAP_AKA=y
> +
> +# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
> +# This requires CONFIG_EAP_AKA to be enabled, too.
> +#CONFIG_EAP_AKA_PRIME=y
> +
> +# Enable USIM simulator (Milenage) for EAP-AKA
> +#CONFIG_USIM_SIMULATOR=y
> +
> +# EAP-SAKE
> +#CONFIG_EAP_SAKE=y
> +
> +# EAP-GPSK
> +#CONFIG_EAP_GPSK=y
> +# Include support for optional SHA256 cipher suite in EAP-GPSK
> +#CONFIG_EAP_GPSK_SHA256=y
> +
> +# EAP-TNC and related Trusted Network Connect support
> (experimental)
> +#CONFIG_EAP_TNC=y
> +
> +# Wi-Fi Protected Setup (WPS)
> +CONFIG_WPS=y
> +# Enable WSC 2.0 support
> +CONFIG_WPS2=y
> +
> +# EAP-IKEv2
> +#CONFIG_EAP_IKEV2=y
> +
> +# PKCS#12 (PFX) support (used to read private key and
> certificate file from
> +# 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
> +# 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:
> +# 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
> +# 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
> +# 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%
> +# (e.g., 90 kB).
> +#CONFIG_NO_STDOUT_DEBUG=y
> +
> +# Remove WPA support, e.g., for wired-only IEEE 802.1X
> supplicant, to save
> +# 35-50 kB in code size.
> +#CONFIG_NO_WPA=y
> +
> +# Remove WPA2 support. This allows WPA to be used, but removes
> WPA2 code to
> +# save about 1 kB in code size when building only WPA-Personal
> (no EAP support)
> +# or 6 kB if building for WPA-Enterprise.
> +#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
> +# 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.
> +# 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)
> +# 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
> +# about 3.5 kB.
> +#CONFIG_NO_CONFIG_WRITE=y
> +
> +# Remove support for configuration blobs to reduce code size by
> about 1.5 kB.
> +#CONFIG_NO_CONFIG_BLOBS=y
> +
> +# Select program entry point implementation:
> +# main = UNIX/POSIX like main() function (default)
> +# main_winsvc = Windows service (read parameters from registry)
> +# main_none = Very basic example (development use only)
> +#CONFIG_MAIN=main
> +
> +# Select wrapper for operatins system and C library specific
> functions
> +# unix = UNIX/POSIX like systems (default)
> +# win32 = Windows systems
> +# none = Empty template
> +#CONFIG_OS=unix
> +
> +# Select event loop implementation
> +# eloop = select() loop (default)
> +# eloop_win = Windows events and WaitForMultipleObject() loop
> +# eloop_none = Empty template
> +#CONFIG_ELOOP=eloop
> +
> +# Select layer 2 packet implementation
> +# linux = Linux packet socket (default)
> +# pcap = libpcap/libdnet/WinPcap
> +# freebsd = FreeBSD libpcap
> +# winpcap = WinPcap with receive thread
> +# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
> +# none = Empty template
> +#CONFIG_L2_PACKET=linux
> +
> +# PeerKey handshake for Station to Station Link (IEEE 802.11e
> DLS)
> +CONFIG_PEERKEY=y
> +
> +# IEEE 802.11w (management frame protection)
> +# This version is an experimental implementation based on IEEE
> 802.11w/D1.0
> +# draft and is subject to change since the standard has not yet
> been finalized.
> +# Driver support is also needed for IEEE 802.11w.
> +#CONFIG_IEEE80211W=y
> +
> +# Select TLS implementation
> +# openssl = OpenSSL (default)
> +# gnutls = GnuTLS (needed for TLS/IA, see also
> CONFIG_GNUTLS_EXTRA)
> +# internal = Internal TLSv1 implementation (experimental)
> +# none = Empty template
> +#CONFIG_TLS=openssl
> +
> +# Whether to enable TLS/IA support, which is required for EAP-
> TTLSv1.
> +# You need CONFIG_TLS=gnutls for this to have any effect. Please
> note that
> +# even though the core GnuTLS library is released under LGPL,
> this extra
> +# library uses GPL and as such, the terms of GPL apply to the
> combination
> +# of wpa_supplicant and GnuTLS if this option is enabled. BSD
> license may not
> +# 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
> +# 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
> +# 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
> +# 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
> +# 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.
> +#
> +# 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
> +# 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)
> +CONFIG_DEBUG_FILE=y
> +
> +# Enable privilege separation (see README 'Privilege separation'
> for details)
> +#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
> +#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.
> +#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
> +# 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
> diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> supplicant_r5.00.18.bb
> @@ -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=009c87d612d921
> 75fe8cd1e93137bf42"
> +
> +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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 11/17] ti-wifi-utils: Split recipe
  2013-03-20  2:05 ` [PATCH 11/17] ti-wifi-utils: Split recipe Franklin S. Cooper Jr
@ 2013-03-21 12:18   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:18 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-
> wifi-utils.inc b/meta-arago-extras/recipes-devtools/ti-wifi-
> utils/ti-wifi-utils.inc
> new file mode 100644
> index 0000000..4e3f628
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
> utils.inc
> @@ -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"

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

> +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 \
> +"
> diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-
> 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
> @@ -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
> -

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.

> diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-
> 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
> @@ -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 \
> -"
> diff --git 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
> new file mode 100644
> index 0000000..e9f5a3c
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
> utils_r5.sp3.05.bb
> @@ -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"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 12/17] wilink-calibrate: Add Wilink calibration script
  2013-03-20  2:05 ` [PATCH 12/17] wilink-calibrate: Add Wilink calibration script Franklin S. Cooper Jr
@ 2013-03-21 12:18   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:18 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago



See re-order comment from last patch

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-
> calibrate/calibrate.sh
> @@ -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
> +
> diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/wilink-
> calibrate_1.0.bb
> @@ -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
> +}
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate
  2013-03-20  2:05 ` [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate Franklin S. Cooper Jr
@ 2013-03-21 12:18   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:18 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

See re-order comment from last patch


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../ti-wifi-utils/ti-wifi-utils_r5.sp3.05.bb       |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git 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
> 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
> @@ -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"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe.
  2013-03-20  2:05 ` [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
@ 2013-03-21 12:19   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:19 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-
> 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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
> utils_r5.00.18.bb
> @@ -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
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend
  2013-03-20  2:05 ` [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend Franklin S. Cooper Jr
@ 2013-03-21 12:20   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:20 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

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


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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%)
> 
> diff --git a/meta-arago-distro/recipes-connectivity/wpa-
> 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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend
  2013-03-20  2:05 ` [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend Franklin S. Cooper Jr
@ 2013-03-21 12:20   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:20 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

Acked-by: Chase Maupin <chase.maupin@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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
> 
> diff --git a/meta-arago-distro/recipes-connectivity/wpa-
> 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
> --- /dev/null
> +++ b/meta-arago-distro/recipes-connectivity/wpa-supplicant/wpa-
> supplicant_r5.00.18.bbappend
> @@ -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"
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes
  2013-03-20  2:05 ` [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes Franklin S. Cooper Jr
@ 2013-03-21 12:22   ` Maupin, Chase
  0 siblings, 0 replies; 39+ messages in thread
From: Maupin, Chase @ 2013-03-21 12:22 UTC (permalink / raw)
  To: Cooper Jr., Franklin, meta-arago

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, March 19, 2013 9:06 PM
> To: meta-arago@arago-project.org
> 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  meta-arago-distro/conf/distro/arago.conf |   17
> +++++++++++++++++
>  1 files changed, 17 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-
> arago-distro/conf/distro/arago.conf
> index 9e43ea3..44141c1 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -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"

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.

> +
>  # Disable polkit's systemd configuration from meta-oe
>  POLKITAUTH = ""
> 
> --
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe.
  2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
                   ` (16 preceding siblings ...)
  2013-03-21 11:46 ` [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Maupin, Chase
@ 2013-03-25 18:45 ` Denys Dmytriyenko
  2013-03-27 13:37   ` Cooper Jr., Franklin
  17 siblings, 1 reply; 39+ messages in thread
From: Denys Dmytriyenko @ 2013-03-25 18:45 UTC (permalink / raw)
  To: Franklin S. Cooper Jr; +Cc: meta-arago

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


On Tue, Mar 19, 2013 at 09:05:22PM -0500, Franklin S. Cooper Jr wrote:
> * 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.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../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
> 
> diff --git a/meta-arago-extras/recipes-bsp/wl12xx-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
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-firmware_r5.00.18.bb
> @@ -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/*"
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe.
  2013-03-25 18:45 ` Denys Dmytriyenko
@ 2013-03-27 13:37   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 39+ messages in thread
From: Cooper Jr., Franklin @ 2013-03-27 13:37 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago

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

> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Monday, March 25, 2013 1:46 PM
> To: Cooper Jr., Franklin
> Cc: meta-arago@arago-project.org
> 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
> 
> 
> On Tue, Mar 19, 2013 at 09:05:22PM -0500, Franklin S. Cooper Jr wrote:
> > * 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.
> >
> > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > ---
> >  .../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
> >
> > diff --git a/meta-arago-extras/recipes-bsp/wl12xx-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
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-bsp/wl12xx-firmware/wl12xx-
> firmware_r5.00.18.bb
> > @@ -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/*"
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> >


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 09/17] wpa-supplicant: Split recipe
  2013-03-21 12:11   ` Maupin, Chase
@ 2013-04-01 12:35     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 39+ messages in thread
From: Cooper Jr., Franklin @ 2013-04-01 12:35 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago



> -----Original Message-----
> From: Maupin, Chase
> Sent: Thursday, March 21, 2013 7:12 AM
> To: Cooper Jr., Franklin; meta-arago@arago-project.org
> Subject: RE: [meta-arago] [PATCH 09/17] wpa-supplicant: Split recipe
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> > Sent: Tuesday, March 19, 2013 9:05 PM
> > To: meta-arago@arago-project.org
> > 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.
> >
> > Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> > ---
> >  .../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
> >
> > diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > 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
> > diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > 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
> > @@ -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=8835156c8ab8ca
> > d6356ec7f39ebe3aba"
> > +
> >  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 \
> 
> 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.
> 
> >            "
> >
> >  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}
> 
> Same question, why the re-order?
> 
> >  }
> >
> >  pkg_postinst_wpa-supplicant () {
> > diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > 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
> > --- /dev/null
> > +++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > supplicant_r5.sp4.01.bb
> > @@ -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=8835156c8ab8ca
> > d6356ec7f39ebe3aba"
> > +
> > +
> > +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. 
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2013-04-01 12:35 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20  2:05 [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
2013-03-20  2:05 ` [PATCH 02/17] wl12xx-firmware: Update recipe name Franklin S. Cooper Jr
2013-03-21 11:47   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 03/17] ti-compat-bluetooth: Split recipe Franklin S. Cooper Jr
2013-03-21 11:56   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 04/17] ti-compat-bluetooth: Add back old r5.00.18 compat-bluetooth release version Franklin S. Cooper Jr
2013-03-21 11:58   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 05/17] ti-compat-wireless-wl12xx: Rename recipe Franklin S. Cooper Jr
2013-03-21 11:58   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 06/17] ti-compat-wireless-wl12xx: Pull in older ti-compat-wireless-wl12xx release Franklin S. Cooper Jr
2013-03-21 12:01   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 07/17] hostap-daemon: Split recipe Franklin S. Cooper Jr
2013-03-21 12:06   ` Maupin, Chase
2013-03-21 12:12     ` Cooper Jr., Franklin
2013-03-20  2:05 ` [PATCH 08/17] hostap-daemon: Pull in old r5-00-18 recipe Franklin S. Cooper Jr
2013-03-21 12:08   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 09/17] wpa-supplicant: Split recipe Franklin S. Cooper Jr
2013-03-21 12:11   ` Maupin, Chase
2013-04-01 12:35     ` Cooper Jr., Franklin
2013-03-21 12:13   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 10/17] wpa-supplicant: Pull back in old r5-00-18 recipe Franklin S. Cooper Jr
2013-03-21 12:13   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 11/17] ti-wifi-utils: Split recipe Franklin S. Cooper Jr
2013-03-21 12:18   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 12/17] wilink-calibrate: Add Wilink calibration script Franklin S. Cooper Jr
2013-03-21 12:18   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 13/17] ti-wifi-utils: Add runtime dependency on wilink-calibrate Franklin S. Cooper Jr
2013-03-21 12:18   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 14/17] ti-wifi-utils: Pull back in old r5.00.18 recipe Franklin S. Cooper Jr
2013-03-21 12:19   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 15/17] wpa-supplicant_r5.sp4.01: Rename bbappend Franklin S. Cooper Jr
2013-03-21 12:20   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 16/17] wpa-supplicant_r5.00.18: Create bbappend Franklin S. Cooper Jr
2013-03-21 12:20   ` Maupin, Chase
2013-03-20  2:05 ` [PATCH 17/17] arago.conf: Set PREFERRED_VERSIONs for Wilink 6 recipes Franklin S. Cooper Jr
2013-03-21 12:22   ` Maupin, Chase
2013-03-21 11:46 ` [PATCH 01/17] wl12xx-firmware: Pull back in old r5.00.18 recipe Maupin, Chase
2013-03-25 18:45 ` Denys Dmytriyenko
2013-03-27 13:37   ` Cooper Jr., Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.