All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 ` [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 15:07   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:07 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 01/11] ti-connectivity/ti-compat-
>wireless-wl18xx: Add Wilink8 r8.a7.02
>
>   * Add v r8.a7.02 engineering release
>   * This release supports the omap-a15 devices (omap5-evm/dra7-
>evm) with ES 2.1 WL8
>   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8
>TDK 18xx module
>      * OMAP5432x-xx-x1-xx
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...01.bb => ti-compat-wireless-wl18xx_r8.a7.02.bb} |   30
>+++++++++++---------
> 1 file changed, 17 insertions(+), 13 deletions(-)
> copy meta-arago-extras/recipes-bsp/ti-compat-wireless/{ti-compat-
>wireless-wl18xx_r8.a6.01.bb => ti-compat-wireless-
>wl18xx_r8.a7.02.bb} (73%)
>
>diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
>compat-wireless-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-
>bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a7.02.bb
>similarity index 73%
>copy from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
>compat-wireless-wl18xx_r8.a6.01.bb
>copy to meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-
>compat-wireless-wl18xx_r8.a7.02.bb
>index a69b7d6..295dd9c 100644
>--- a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
>wireless-wl18xx_r8.a6.01.bb
>+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-
>wireless-wl18xx_r8.a7.02.bb
>@@ -5,7 +5,7 @@ DESCRIPTION = "ti compat-wireless drivers for
>wl18xx"
> HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
> SECTION = "kernel/modules"
> LICENSE = "GPLv2"
>-LIC_FILES_CHKSUM =
>"file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
>+LIC_FILES_CHKSUM =
>"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
>
> RDEPENDS_${PN} = "wireless-tools"
>
>@@ -14,16 +14,18 @@ RPROVIDES_${PN} += "ti-compat-wireless-wl12xx"
> RREPLACES_${PN} += "ti-compat-wireless-wl12xx"
> RCONFLICTS_${PN} += "ti-compat-wireless-wl12xx"
>
>-PV = "r8.a6.01"
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
>+PV = "r8.a7.02"
> inherit module
>
> PR = "${MACHINE_KERNEL_PR}"
>-PR_append = "c"
>+PR_append = "a"
>
>-# Tags: ol_r8.a6.01
>-SRCREV_wl18xx = "f076cdad1988daf207ad560db2fe96caaa7c596e"
>-SRCREV_compat = "c37c46c4ab5085ba50f650d15854404983b8d09b"
>-SRCREV_compat-wireless =
>"3ec9ecca2cb07584e115ba53117f0084fc8faa25"
>+# Tags: ol_r8.a7.02
>+SRCREV_wl18xx = "e611d18893fbd66f6c303e111955d8a732fd0c34"
>+SRCREV_compat = "595b13b80f9b922d9e3a1c6e7b75c38b471b2b44"
>+SRCREV_compat-wireless =
>"40d5abd0fe6c89a2afd993f633924e716453a09e"
>
> SRCREV_FORMAT = "compat-wireless"
>
>@@ -32,10 +34,7 @@ S = "${WORKDIR}/compat-wireless"
> SRC_URI = "git://github.com/TI-OpenLink/compat-
>wireless.git;destsuffix=compat-wireless;name=compat-wireless \
>            git://github.com/TI-
>OpenLink/compat.git;destsuffix=compat;name=compat \
>            git://github.com/TI-
>OpenLink/wl18xx.git;destsuffix=wl18xx;name=wl18xx \
>-           file://0001-git-version-wl18xx-use-compat-base-
>tree.patch;patchdir=../wl18xx \
>-           file://0001-wl12xx-additional-two-members-for-
>wl12xx_platform_da.patch;patchdir=../wl18xx \
>-          "
>-
>+"
>
> EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
>
>@@ -48,11 +47,11 @@ adjust_git() {
>
> do_configure() {
>     cd ${S}
>-    GIT_TREE="${WORKDIR}/wl18xx"
>GIT_COMPAT_TREE="${WORKDIR}/compat" ./scripts/admin-refresh.sh
>+    GIT_TREE="${WORKDIR}/wl18xx"
>GIT_COMPAT_TREE="${WORKDIR}/compat" ./scripts/admin-refresh.sh
>network
>     ./scripts/driver-select wl18xx
>
>     # Delete the .git repository since it should no longer be
>needed.
>-    rm -rf ${S}/.git ${S}/.gitignore
>+    #rm -rf ${S}/.git ${S}/.gitignore

Why leave this comment?

>
>     # Now generate the sourceipk with the properly configured
>sources
>     sourceipk_do_create_srcipk
>@@ -63,5 +62,10 @@ do_configure_append() {
> }
>
> do_install() {
>+    # Remove hardcoded references to host depmod
>+    sed -i "s#@/sbin/depmod -a## " Makefile
>+    sed -i "s#@/sbin/depmod -ae## " Makefile
>+
>+    # Install modules
>     oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}"
>LDFLAGS="" install-modules
> }
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 02/11] ti-connectivity/wl18xx-firmware: Add Wilink8 r8.a7.02
  2013-10-10 16:02 ` [PATCHv2 02/11] ti-connectivity/wl18xx-firmware: " Roger Monk
@ 2013-10-10 15:07   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:07 UTC (permalink / raw)
  To: Monk, Roger, 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 Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 02/11] ti-connectivity/wl18xx-
>firmware: Add Wilink8 r8.a7.02
>
>   * Add v r8.a7.02 engineering release wifi firmware
>   * This release supports the omap-a15 devices (omap5-evm/dra7-
>evm) with ES 2.1 WL8
>      * OMAP5432 UEVMs with the following SKU contain ES2.1
>Wilink8 TDK 18xx module
>         * OMAP5432x-xx-x1-xx
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...are_r8.a6.01.bb => wl18xx-firmware_r8.a7.02.bb} |    8 +++++--
>-
> 1 file changed, 5 insertions(+), 3 deletions(-)
> copy meta-arago-extras/recipes-bsp/wl18xx-firmware/{wl18xx-
>firmware_r8.a6.01.bb => wl18xx-firmware_r8.a7.02.bb} (82%)
>
>diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a6.01.bb b/meta-arago-extras/recipes-bsp/wl18xx-
>firmware/wl18xx-firmware_r8.a7.02.bb
>similarity index 82%
>copy from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a6.01.bb
>copy to meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a7.02.bb
>index 4b3f22a..f41edd5 100644
>--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a6.01.bb
>+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a7.02.bb
>@@ -4,15 +4,17 @@ LIC_FILES_CHKSUM =
>"file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
>
> PACKAGE_ARCH = "all"
>
>-PR = "r2+gitr${SRCPV}"
>+PR = "r1+gitr${SRCPV}"
>
> PROVIDES += "wl12xx-firmware"
> RPROVIDES_${PN} += "wl12xx-firmware"
> RREPLACES_${PN} += "wl12xx-firmware"
> RCONFLICTS_${PN} += "wl12xx-firmware"
>
>-# Tag: ol_r8.a6.01
>-SRCREV = "1c0f45f0e8aec0823175f7ac977908888c424aa1"
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
>+# Tag: ol_r8.a7.02
>+SRCREV = "f3fe754d585f9af821c244a606761c5f69278ed6"
> SRC_URI = "git://github.com/TI-
>OpenLink/wl18xx_fw.git;protocol=git \
>            file://Makefile \
>           "
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix
  2013-10-10 16:02 ` [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix Roger Monk
@ 2013-10-10 15:09   ` Maupin, Chase
  2013-10-10 15:11     ` Monk, Roger
  0 siblings, 1 reply; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:09 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 03/11] ti-connectivity/wl18xx-
>firmware: Apply Workaround PD Recovery Fix
>
>   * Update to custom firmware version (ol_r8.a7.02_pd_fix) to fix
>     power-down recovery seen on some boards/ap configurations
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> .../wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb    |    6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
>diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a7.02.bb b/meta-arago-extras/recipes-bsp/wl18xx-
>firmware/wl18xx-firmware_r8.a7.02.bb
>index f41edd5..0f8dd9d 100644
>--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a7.02.bb
>+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>firmware_r8.a7.02.bb
>@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM =
>"file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
>
> PACKAGE_ARCH = "all"
>
>-PR = "r1+gitr${SRCPV}"
>+PR = "r2+gitr${SRCPV}"
>
> PROVIDES += "wl12xx-firmware"
> RPROVIDES_${PN} += "wl12xx-firmware"
>@@ -13,8 +13,8 @@ RCONFLICTS_${PN} += "wl12xx-firmware"
>
> COMPATIBLE_MACHINE = "(omap-a15)"
>
>-# Tag: ol_r8.a7.02
>-SRCREV = "f3fe754d585f9af821c244a606761c5f69278ed6"
>+# Tag: ol_r8.a7.02_pd_fix (workaround powerdown recovery fix)
>+SRCREV = "3fb3bd321f89f9910f25d3006668b831df944a7f"
> SRC_URI = "git://github.com/TI-

Why not squash this with patch 02/11?  Do you forsee needing to revert or remove this in the future?

>OpenLink/wl18xx_fw.git;protocol=git \
>            file://Makefile \
>           "
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 ` [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 15:10   ` Maupin, Chase
  2013-10-17 22:32     ` Denys Dmytriyenko
  0 siblings, 1 reply; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:10 UTC (permalink / raw)
  To: Monk, Roger, meta-arago



>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 04/11] ti-connectivity/wpa-
>supplicant-wl18xx: Add Wilink8 r8.a7.02
>
>   * Add v r8.a7.02 engineering release wpa supplicant
>   * This release supports the omap-a15 devices (omap5-evm/dra7-
>evm) with ES 2.1 WL8
>      * OMAP5432 UEVMs with the following SKU contain ES2.1
>Wilink8 TDK 18xx module
>      * OMAP5432x-xx-x1-xx
>   * Bump PR
>   * Replace defconfig with original wpa-supplicant defconfig
>   * Add back SDK specific defconfig changes
>   * Enable WFD (WiFi Display)
>   * Revert some android patches which prevent WFD
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
> .../defconfig                                      |  150
>+++++++++++++++-----
> ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   11 +-
> 3 files changed, 166 insertions(+), 39 deletions(-)
> create mode 100644 meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
>patches-to-enable-wfd.patch
> copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
>supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig
>(74%)
> mode change 100755 => 100644
> copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
>supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant-
>wl18xx_r8.a7.02.bb} (78%)
>
>diff --git a/meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
>patches-to-enable-wfd.patch b/meta-arago-extras/recipes-
>connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-
>revert-android-patches-to-enable-wfd.patch
>new file mode 100644
>index 0000000..29528b4
>--- /dev/null
>+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-
>wfd.patch
>@@ -0,0 +1,44 @@
>+
>+diff -rupN a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
>+--- a/src/common/wpa_ctrl.c	2013-09-02 16:46:22.708023057 +0100
>++++ b/src/common/wpa_ctrl.c	2013-08-30 10:22:19.811255355 +0100
>+@@ -164,6 +164,10 @@ try_again:
>+ 		return NULL;
>+ 	}
>+
>++#if 0
>++//IH this code is introduced in recent supplicant that appears
>to make RMD app calls to wpa_ctrl_recv() fail and
>++// the supplicant fails to write to the same socket!!!
>++// Temp fix to remove it, probably solution will be in app set
>up/usage??
>+ 	/*
>+ 	 * Make socket non-blocking so that we don't hang forever if
>+ 	 * target dies unexpectedly.
>+@@ -176,7 +180,7 @@ try_again:
>+ 			/* Not fatal, continue on.*/
>+ 		}
>+ 	}
>+-
>++#endif
>+ 	return ctrl;
>+ }
>+
>+diff -rupN a/wpa_supplicant/wpa_supplicant.c
>b/wpa_supplicant/wpa_supplicant.c
>+--- a/wpa_supplicant/wpa_supplicant.c	2013-09-04
>16:57:26.000000000 +0100
>++++ b/wpa_supplicant/wpa_supplicant.c	2013-09-04
>17:02:02.256720695 +0100
>+@@ -3025,13 +3025,15 @@ next_driver:
>+ 	}
>+
>+ #ifdef CONFIG_P2P
>++ #ifdef ANDROID
>+ 	if (os_strncmp(iface->ifname, "wlan0", 4) == 0) {
>+ 		wpa_printf(MSG_DEBUG, "Disable P2P on wlan0");
>+ 		wpa_s->conf->p2p_disabled = 1;
>+ 	}
>+
>+ 	if (os_strncmp(iface->ifname, "p2p0", 4) == 0)
>+-		if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
>++#endif
>++	    if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
>+ 			wpa_msg(wpa_s, MSG_ERROR, "Failed to init P2P");
>+ 			return -1;
>+ 		}
>diff --git a/meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-r5.sp4.01/defconfig b/meta-arago-
>extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-
>r8.a7.02/defconfig
>old mode 100755
>new mode 100644
>similarity index 74%
>copy from meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-r5.sp4.01/defconfig
>copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx-r8.a7.02/defconfig
>index b982e2a..80d2f63
>--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-r5.sp4.01/defconfig
>+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx-r8.a7.02/defconfig
>@@ -39,18 +39,6 @@
> #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
>@@ -75,7 +63,7 @@ CONFIG_BGSCAN_LEARN=y
> #CONFIG_DRIVER_ATMEL=y
>
> # Driver interface for old Broadcom driver
>-# Please note that the newer Broadcom driver ("hybrid Linux
>driver") supportsBG
>+# Please note that the newer Broadcom driver ("hybrid Linux
>driver") supports
> # 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
>@@ -90,16 +78,22 @@ CONFIG_BGSCAN_LEARN=y
> #CONFIG_DRIVER_RALINK=y
>
> # Driver interface for generic Linux wireless extensions
>+# Note: WEXT is deprecated in the current Linux kernel version
>and no new
>+# functionality is added to it. nl80211-based interface is the
>new
>+# replacement for WEXT and its use allows wpa_supplicant to
>properly control
>+# the driver to improve existing functionality like roaming and
>to support new
>+# functionality.
> CONFIG_DRIVER_WEXT=y
>
> # Driver interface for Linux drivers using the nl80211 kernel
>interface
> CONFIG_DRIVER_NL80211=y
>+CONFIG_LIBNL20=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_p += -L/usr/local/lib
> #LIBS_c += -L/usr/local/lib
>
> # Driver interface for Windows NDIS
>@@ -121,11 +115,6 @@ CONFIG_DRIVER_NL80211=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
>
>@@ -177,6 +166,9 @@ CONFIG_EAP_OTP=y
> # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
> #CONFIG_EAP_PSK=y
>
>+# EAP-pwd (secure authentication using only a password)
>+#CONFIG_EAP_PWD=y
>+
> # EAP-PAX
> #CONFIG_EAP_PAX=y
>
>@@ -208,6 +200,11 @@ CONFIG_EAP_LEAP=y
> CONFIG_WPS=y
> # Enable WSC 2.0 support
> CONFIG_WPS2=y
>+# Enable WPS external registrar functionality
>+#CONFIG_WPS_ER=y
>+# Disable credentials for an open network by default when acting
>as a WPS
>+# registrar.
>+#CONFIG_WPS_REG_DISABLE_OPEN=y
>
> # EAP-IKEv2
> #CONFIG_EAP_IKEV2=y
>@@ -224,7 +221,10 @@ CONFIG_SMARTCARD=y
> # Enable this if EAP-SIM or EAP-AKA is included
> #CONFIG_PCSC=y
>
>-# Development testingBG
>+# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
>+#CONFIG_HT_OVERRIDES=y
>+
>+# Development testing
> #CONFIG_EAPOL_TEST=y
>
> # Select control interface backend for external programs, e.g,
>wpa_cli:
>@@ -242,6 +242,10 @@ CONFIG_CTRL_IFACE=y
> # the resulting binary.
> #CONFIG_READLINE=y
>
>+# Include internal line edit mode in wpa_cli. This can be used as
>a replacement
>+# for GNU Readline to provide limited command line editing and
>history support.
>+#CONFIG_WPA_CLI_EDIT=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%
>@@ -295,13 +299,16 @@ CONFIG_BACKEND=file
> # unix = UNIX/POSIX like systems (default)
> # win32 = Windows systems
> # none = Empty template
>-#CONFIG_OS=unix
>+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
>+CONFIG_ELOOP=eloop
>+
>+# Should we use poll instead of select? Select is used by
>default.
>+#CONFIG_ELOOP_POLL=y
>
> # Select layer 2 packet implementation
> # linux = Linux packet socket (default)
>@@ -310,7 +317,7 @@ CONFIG_BACKEND=file
> # winpcap = WinPcap with receive thread
> # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
> # none = Empty template
>-#CONFIG_L2_PACKET=linux
>+CONFIG_L2_PACKET=linux
>
> # PeerKey handshake for Station to Station Link (IEEE 802.11e
>DLS)
> CONFIG_PEERKEY=y
>@@ -323,18 +330,24 @@ CONFIG_PEERKEY=y
>
> # Select TLS implementation
> # openssl = OpenSSL (default)
>-# gnutls = GnuTLS (needed for TLS/IA, see also
>CONFIG_GNUTLS_EXTRA)
>+# gnutls = GnuTLS
> # 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
>+# TLS-based EAP methods require at least TLS v1.0. Newer version
>of TLS (v1.1)
>+# can be enabled to get a stronger construction of messages when
>block ciphers
>+# are used. It should be noted that some existing TLS v1.0 -based
>+# implementation may not be compatible with TLS v1.1 message
>(ClientHello is
>+# sent prior to negotiating which version will be used)
>+#CONFIG_TLSV11=y
>+
>+# TLS-based EAP methods require at least TLS v1.0. Newer version
>of TLS (v1.2)
>+# can be enabled to enable use of stronger crypto algorithms. It
>should be
>+# noted that some existing TLS v1.0 -based implementation may not
>be compatible
>+# with TLS v1.2 message (ClientHello is sent prior to negotiating
>which version
>+# will be used)
>+#CONFIG_TLSV12=y
>
> # If CONFIG_TLS=internal is used, additional library and include
>paths are
> # needed for LibTomMath. Alternatively, an integrated, minimal
>version of
>@@ -396,6 +409,21 @@ CONFIG_CTRL_IFACE_DBUS_INTRO=y
> # Add support for writing debug log to a file
>(/tmp/wpa_supplicant-log-#.txt)
> CONFIG_DEBUG_FILE=y
>
>+# Send debug messages to syslog instead of stdout
>+#CONFIG_DEBUG_SYSLOG=y
>+# Set syslog facility for debug messages
>+#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
>+
>+# Add support for sending all debug messages (regardless of debug
>verbosity)
>+# to the Linux kernel tracing facility. This helps debug the
>entire stack by
>+# making it easy to record everything happening from the driver
>up into the
>+# same file, e.g., using trace-cmd.
>+#CONFIG_DEBUG_LINUX_TRACING=y
>+
>+# Add support for writing debug log to Android logcat instead of
>standard
>+# output
>+#CONFIG_ANDROID_LOG=y
>+
> # Enable privilege separation (see README 'Privilege separation'
>for details)
> #CONFIG_PRIVSEP=y
>
>@@ -407,7 +435,7 @@ CONFIG_DEBUG_FILE=y
> # 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.
>+# For BSD, uncomment these.
> #LIBS += -lexecinfo
> #LIBS_p += -lexecinfo
> #LIBS_c += -lexecinfo
>@@ -416,15 +444,65 @@ CONFIG_DEBUG_FILE=y
> # 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.
>+# For BSD, uncomment these.
> #LIBS += -lbfd -liberty -lz
> #LIBS_p += -lbfd -liberty -lz
> #LIBS_c += -lbfd -liberty -lz
>
>-# for p2p
>+# wpa_supplicant depends on strong random number generation being
>available
>+# from the operating system. os_get_random() function is used to
>fetch random
>+# data when needed, e.g., for key generation. On Linux and BSD
>systems, this
>+# works by reading /dev/urandom. It should be noted that the OS
>entropy pool
>+# needs to be properly initialized before wpa_supplicant is
>started. This is
>+# important especially on embedded devices that do not have a
>hardware random
>+# number generator and may by default start up with minimal
>entropy available
>+# for random number generation.
>+#
>+# As a safety net, wpa_supplicant is by default trying to
>internally collect
>+# additional entropy for generating random data to mix in with
>the data fetched
>+# from the OS. This by itself is not considered to be very
>strong, but it may
>+# help in cases where the system pool is not initialized
>properly. However, it
>+# is very strongly recommended that the system pool is
>initialized with enough
>+# entropy either by using hardware assisted random number
>generator or by
>+# storing state over device reboots.
>+#
>+# wpa_supplicant can be configured to maintain its own entropy
>store over
>+# restarts to enhance random number generation. This is not
>perfect, but it is
>+# much more secure than using the same sequence of random numbers
>after every
>+# reboot. This can be enabled with -e<entropy file> command line
>option. The
>+# specified file needs to be readable and writable by
>wpa_supplicant.
>+#
>+# If the os_get_random() is known to provide strong random data
>(e.g., on
>+# Linux/BSD, the board in question is known to have reliable
>source of random
>+# data from /dev/urandom), the internal wpa_supplicant random
>pool can be
>+# disabled. This will save some in binary size and CPU use.
>However, this
>+# should only be considered for builds that are known to be used
>on devices
>+# that meet the requirements described above.
>+#CONFIG_NO_RANDOM_POOL=y
>+
>+# IEEE 802.11n (High Throughput) support (mainly for AP mode)
>+CONFIG_IEEE80211N=y
>+
>+# Interworking (IEEE 802.11u)
>+# This can be used to enable functionality to improve
>interworking with
>+# external networks (GAS/ANQP to learn more about the networks
>and network
>+# selection based on available credentials).
>+#CONFIG_INTERWORKING=y
>+
>+# Hotspot 2.0
>+#CONFIG_HS20=y
>+
>+# Disable roaming in wpa_supplicant
>+#CONFIG_NO_ROAMING=y
>+
>+# Enable P2P
> CONFIG_P2P=y
> CONFIG_AP=y
>
>-# IEEE 802.11n (High Throughput) support
>-CONFIG_IEEE80211N=y
>+# bgscan
>+NEED_BGSCAN=y
>+CONFIG_BGSCAN_LEARN=y
>+CONFIG_BGSCAN_SIMPLE=y
>
>+# Enable WIFI Display
>+CONFIG_WIFI_DISPLAY=y
>\ No newline at end of file
>diff --git a/meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb b/meta-arago-
>extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-
>wl18xx_r8.a7.02.bb
>similarity index 78%
>copy from meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
>copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx_r8.a7.02.bb
>index f6c4f70..0ea9ff5 100644
>--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx_r8.a6.01.bb
>+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx_r8.a7.02.bb
>@@ -10,9 +10,14 @@ LIC_FILES_CHKSUM =
>"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
>
> FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
>
>-# Tag: ol_r8.a6.01
>-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
>-PR = "r2+gitr${SRCPV}"
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
>+# Tag: ol_r8.a7.02
>+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
>+PR = "r4+gitr${SRCPV}"

Why not reset the PR?  Is there no corresponding PV bump for this release?

>+
>+SRC_URI += "file://0001-revert-android-patches-to-enable-
>wfd.patch;patchdir=.. \
>+"
>
> # Add ti to the PV to indicate that this is a TI modify version
>of wpa-supplicant.
> PV = "2.0-devel-ti"
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix
  2013-10-10 15:09   ` Maupin, Chase
@ 2013-10-10 15:11     ` Monk, Roger
  2013-10-10 15:46       ` Maupin, Chase
  0 siblings, 1 reply; 29+ messages in thread
From: Monk, Roger @ 2013-10-10 15:11 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago

On Thu, Oct 10, 2013 at 16:09:11, Maupin, Chase wrote:
> Apply Workaround PD Recovery Fix
> 
> >-----Original Message-----
> >From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> >bounces@arago-project.org] On Behalf Of Monk, Roger
> >Sent: Thursday, October 10, 2013 11:02 AM
> >To: meta-arago@arago-project.org
> >Subject: [meta-arago] [PATCHv2 03/11] ti-connectivity/wl18xx-
> >firmware: Apply Workaround PD Recovery Fix
> >
> >   * Update to custom firmware version (ol_r8.a7.02_pd_fix) to fix
> >     power-down recovery seen on some boards/ap configurations
> >
> >Signed-off-by: Roger Monk <r-monk@ti.com>
> >---
> > .../wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb    |    6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> >diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
> >firmware_r8.a7.02.bb b/meta-arago-extras/recipes-bsp/wl18xx-
> >firmware/wl18xx-firmware_r8.a7.02.bb
> >index f41edd5..0f8dd9d 100644
> >--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
> >firmware_r8.a7.02.bb
> >+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
> >firmware_r8.a7.02.bb
> >@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM =
> >"file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
> >
> > PACKAGE_ARCH = "all"
> >
> >-PR = "r1+gitr${SRCPV}"
> >+PR = "r2+gitr${SRCPV}"
> >
> > PROVIDES += "wl12xx-firmware"
> > RPROVIDES_${PN} += "wl12xx-firmware"
> >@@ -13,8 +13,8 @@ RCONFLICTS_${PN} += "wl12xx-firmware"
> >
> > COMPATIBLE_MACHINE = "(omap-a15)"
> >
> >-# Tag: ol_r8.a7.02
> >-SRCREV = "f3fe754d585f9af821c244a606761c5f69278ed6"
> >+# Tag: ol_r8.a7.02_pd_fix (workaround powerdown recovery fix) SRCREV 
> >+= "3fb3bd321f89f9910f25d3006668b831df944a7f"
> > SRC_URI = "git://github.com/TI-
> 
> Why not squash this with patch 02/11?  Do you forsee needing to revert 
> or remove this in the future?

I was in two minds about this one.  I wanted to be able to bisect if necessary back the official unpatched a7.02 firmware.  I can squash If you think important, but I'd personally prefer to keep the history.

> 
> >OpenLink/wl18xx_fw.git;protocol=git \
> >            file://Makefile \
> >           "
> >--
> >1.7.9.5
> >
> >_______________________________________________
> >meta-arago mailing list
> >meta-arago@arago-project.org
> >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago




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

* Re: [PATCHv2 05/11] ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied first
  2013-10-10 16:02 ` [PATCHv2 05/11] ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied first Roger Monk
@ 2013-10-10 15:40   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:40 UTC (permalink / raw)
  To: Monk, Roger, meta-arago



Sincerely,
Chase Maupin
Integration Team Manager
Linux Core Product Development
e-mail: chase.maupin@ti.com
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/ 


>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 05/11] ti-connectivity/wpa-
>supplicant-wl18xx: Ensure version'd patch applied first
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> .../wpa-supplicant-wl18xx_r8.a7.02.bb              |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/meta-arago-extras/recipes-connectivity/wpa-
>supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb b/meta-arago-
>extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-
>wl18xx_r8.a7.02.bb
>index 0ea9ff5..392bff3 100644
>--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx_r8.a7.02.bb
>+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
>supplicant-wl18xx_r8.a7.02.bb
>@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM =
>"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
>
>file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
>
>file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad
>6356ec7f39ebe3aba"
>
>-FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
>+FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant-wl18xx-
>r8.a7.02:${THISDIR}/wpa-supplicant:"

Any reason this needs to be version specific directory instead of wpa-supplicant-wl18xx?

>
> COMPATIBLE_MACHINE = "(omap-a15)"
>
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 06/11] ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 ` [PATCHv2 06/11] ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 15:42   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:42 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 06/11] ti-connectivity/hostap-
>daemon-wl18xx: Add Wilink8 r8.a7.02
>
>   * Add v r8.a7.02 engineering release hostap daemon
>   * This release supports the omap-a15 devices (omap5-evm/dra7-
>evm) with ES 2.1 WL8
>      * OMAP5432 UEVMs with the following SKU contain ES2.1
>Wilink8 TDK 18xx module
>      * OMAP5432x-xx-x1-xx
>   * Rebase config patch to match new release (which configures
>default SSID and channel)
>   * Bump PR
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...d-change-conf-file-for-better-oob-startup.patch |   21
>+++++++++++---------
> ...8.a6.01.bb => hostap-daemon-wl18xx_r8.a7.02.bb} |    8 +++++--
>-
> 2 files changed, 17 insertions(+), 12 deletions(-)
> copy meta-arago-extras/recipes-connectivity/hostap/{hostap-
>daemon-r5.sp4.01 => hostap-daemon-wl18xx-r8.a7.02}/0001-hostapd-
>change-conf-file-for-better-oob-startup.patch (67%)
> copy meta-arago-extras/recipes-connectivity/hostap/{hostap-
>daemon-wl18xx_r8.a6.01.bb => hostap-daemon-wl18xx_r8.a7.02.bb}
>(79%)
>
>diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-
>startup.patch b/meta-arago-extras/recipes-
>connectivity/hostap/hostap-daemon-wl18xx-r8.a7.02/0001-hostapd-
>change-conf-file-for-better-oob-startup.patch
>similarity index 67%
>copy from meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-
>startup.patch
>copy to meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-wl18xx-r8.a7.02/0001-hostapd-change-conf-file-for-better-
>oob-startup.patch
>index 562970e..a355d8b 100644
>--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-
>r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-
>startup.patch
>+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-
>wl18xx-r8.a7.02/0001-hostapd-change-conf-file-for-better-oob-
>startup.patch
>@@ -1,6 +1,6 @@
>-From 66b55f187843bca53cb3b7ef9c8fcd434a72f768 Mon Sep 17 00:00:00
>2001
>-From: Eyal Reizer <eyalr@ti.com>
>-Date: Thu, 21 Feb 2013 03:55:22 -0800
>+From 5aa31444740dff3d3f6f93c5f9361019873d0737 Mon Sep 17 00:00:00
>2001
>+From: Roger Monk <r-monk@ti.com>
>+Date: Tue, 3 Sep 2013 12:26:48 +0100
> Subject: [PATCH] hostapd: change conf file for better sdk out of
>box startup
>
> Change the default channel to 6 and change the ssid to a more
>@@ -8,13 +8,16 @@ meaningful name.
>
> Upstream-status: inappropriate [SDK specific patch]
>
>-Signed-off-by: Eyal Reizer <eyalr@ti.com>
>+Copied from Eyal Reizer Patch from r8.a6.01, updated patch for
>+latest version for conf file.
>+
>+Signed-off-by: Roger Monk <r-monk@ti.com>
> ---
>  hostapd/hostapd.conf |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
>-index f71a881..00843aa 100644
>+index 9001d16..a871977 100644
> --- a/hostapd/hostapd.conf
> +++ b/hostapd/hostapd.conf
> @@ -83,7 +83,7 @@ ctrl_interface_group=0
>@@ -23,10 +26,10 @@ index f71a881..00843aa 100644
>  # SSID to be used in IEEE 802.11 management frames
> -ssid=test
> +ssid=TexasInstruments_0001
>-
>- # Country code (ISO/IEC 3166-1). Used to set regulatory domain.
>- # Set as needed to indicate country in which device is
>operating.
>-@@ -107,7 +107,7 @@ hw_mode=g
>+ # Alternative formats for configuring SSID
>+ # (double quoted string, hexdump, printf-escaped string)
>+ #ssid2="test"
>+@@ -112,7 +112,7 @@ hw_mode=g
>  # channel will need to be configured separately with iwconfig.
>  # When set to 0, automatic channel selection will be engaged. A
>channel
>  # will be selected from the desired hw_mode.
>diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-
>connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
>similarity index 79%
>copy from meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-wl18xx_r8.a6.01.bb
>copy to meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-wl18xx_r8.a7.02.bb
>index e232b32..734a798 100644
>--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-
>wl18xx_r8.a6.01.bb
>+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-
>wl18xx_r8.a7.02.bb
>@@ -6,7 +6,9 @@ require hostap.inc
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
>"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
>
>-PR_append = "b+gitr${SRCPV}"
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
>+PR_append = "c+gitr${SRCPV}"
>
> FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
>
>@@ -14,8 +16,8 @@ FILESEXTRAPATHS_append := "${THISDIR}/hostap-
>daemon:"
> # of hostap
> PV = "2.0-devel-ti"

So no new PV?  If not then 

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

>
>-# Tag: ol_r8.a6.01
>-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
>+# Tag: ol_r8.a7.02
>+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
>
> PROVIDES += "hostap-daemon"
> RPROVIDES_${PN} += "hostap-daemon"
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 07/11] ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied first
  2013-10-10 16:02 ` [PATCHv2 07/11] ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied first Roger Monk
@ 2013-10-10 15:42   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:42 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 07/11] ti-connectivity/hostap-
>daemon-wl18xx: Ensure version'd patch applied first
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> .../hostap/hostap-daemon-wl18xx_r8.a7.02.bb        |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-
>daemon-wl18xx_r8.a7.02.bb b/meta-arago-extras/recipes-
>connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
>index 734a798..517462c 100644
>--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-
>wl18xx_r8.a7.02.bb
>+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-
>wl18xx_r8.a7.02.bb
>@@ -10,7 +10,7 @@ COMPATIBLE_MACHINE = "(omap-a15)"
>
> PR_append = "c+gitr${SRCPV}"
>
>-FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
>+FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon-wl18xx-
>r8.a7.02:${THISDIR}/hostap-daemon:"

Same question about whether full version is needed.

>
> # Add TI to the end to make it clear that this is a TI customized
>version
> # of hostap
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 08/11] ti-connectivity/wlconf: Add Wilink8 r8.a7.02
  2013-10-10 16:02 ` [PATCHv2 08/11] ti-connectivity/wlconf: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 15:43   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:43 UTC (permalink / raw)
  To: Monk, Roger, 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 Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 08/11] ti-connectivity/wlconf: Add
>Wilink8 r8.a7.02
>
>   * Add v r8.a7.02 engineering release configuration utility for
>wilink8
>   * This release supports the omap-a15 devices (omap5-evm/dra7-
>evm) with ES 2.1 WL8
>   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8
>TDK 18xx module
>      * OMAP5432x-xx-x1-xx
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> .../{wlconf_r8.a6.01.bb => wlconf_r8.a7.02.bb}     |    8 +++++--
>-
> 1 file changed, 5 insertions(+), 3 deletions(-)
> copy meta-arago-extras/recipes-
>connectivity/wlconf/{wlconf_r8.a6.01.bb => wlconf_r8.a7.02.bb}
>(89%)
>
>diff --git a/meta-arago-extras/recipes-
>connectivity/wlconf/wlconf_r8.a6.01.bb b/meta-arago-
>extras/recipes-connectivity/wlconf/wlconf_r8.a7.02.bb
>similarity index 89%
>copy from meta-arago-extras/recipes-
>connectivity/wlconf/wlconf_r8.a6.01.bb
>copy to meta-arago-extras/recipes-
>connectivity/wlconf/wlconf_r8.a7.02.bb
>index 8076350..214d05b 100644
>--- a/meta-arago-extras/recipes-
>connectivity/wlconf/wlconf_r8.a6.01.bb
>+++ b/meta-arago-extras/recipes-
>connectivity/wlconf/wlconf_r8.a7.02.bb
>@@ -2,11 +2,13 @@ DESCRIPTION = "Configuration utility for TI
>wireless drivers"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM =
>"file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c9032
>8e3a9438"
>
>-PR ="r2"
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
>+PR ="r1"
> PR_append = "+gitr${SRCPV}"
>
>-# Tag: ol_r8.a6.01
>-SRCREV = "214dfbdf97cc390b0020c4ea9331a1cf82240a64"
>+# Tag: ol_r8.a7.02
>+SRCREV = "badbb7ecb70971857e4863c792a40e91f4f0a985"
> SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git"
>
> S = "${WORKDIR}/git/wlconf"
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 09/11] ti-connectivity/ti-wifi-utils-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 ` [PATCHv2 09/11] ti-connectivity/ti-wifi-utils-wl18xx: " Roger Monk
@ 2013-10-10 15:43   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:43 UTC (permalink / raw)
  To: Monk, Roger, 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 Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 09/11] ti-connectivity/ti-wifi-
>utils-wl18xx: Add Wilink8 r8.a7.02
>
>   * Add v r8.a7.02 engineering release wifi utilities for wilink8
>   * This release supports the omap-a15 devices (omap5-evm/dra7-
>evm) with ES 2.1 WL8
>   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8
>TDK 18xx module
>      * OMAP5432x-xx-x1-xx
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...8.a6.01.bb => ti-wifi-utils-wl18xx_r8.a7.02.bb} |    8 +++++--
>-
> 1 file changed, 5 insertions(+), 3 deletions(-)
> copy meta-arago-extras/recipes-devtools/ti-wifi-utils/{ti-wifi-
>utils-wl18xx_r8.a6.01.bb => ti-wifi-utils-wl18xx_r8.a7.02.bb}
>(83%)
>
>diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-
>wifi-utils-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-
>devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a7.02.bb
>similarity index 83%
>copy from meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-
>wifi-utils-wl18xx_r8.a6.01.bb
>copy to meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
>utils-wl18xx_r8.a7.02.bb
>index eab94fa..fab2ee1 100644
>--- a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
>utils-wl18xx_r8.a6.01.bb
>+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-
>utils-wl18xx_r8.a7.02.bb
>@@ -2,13 +2,15 @@ DESCRIPTION = "The calibrator and other useful
>utilities for TI wireless solutio
> LICENSE = "BSD"
> LIC_FILES_CHKSUM =
>"file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
>
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
> DEPENDS = "libnl"
> RDEPENDS_${PN} = "ti-compat-wireless-wl12xx wl12xx-firmware"
>
>-PR ="r3+gitr${SRCPV}"
>+PR ="r1+gitr${SRCPV}"
>
>-# Tag: ol_r8.a6.01
>-SRCREV = "214dfbdf97cc390b0020c4ea9331a1cf82240a64"
>+# Tag: ol_r8.a7.02
>+SRCREV = "badbb7ecb70971857e4863c792a40e91f4f0a985"
> SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git \
> "
>
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 10/11] ti-connectivity/bt-firmware: Update to latest BT Firmware + allow more targets
  2013-10-10 16:02 ` [PATCHv2 10/11] ti-connectivity/bt-firmware: Update to latest BT Firmware + allow more targets Roger Monk
@ 2013-10-10 15:45   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:45 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

General question, since you were adding recipes for omap-a15 does there need to be a setting of PLATFORM for those devices or is the default "unknown" OK?

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 Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 10/11] ti-connectivity/bt-firmware:
>Update to latest BT Firmware + allow more targets
>
>       * Add latest BT firmware
>       * Add patch to enable unspecifified platforms to pick up
>default firmware
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...-Remove-platform-check-and-install-defaul.patch |   41
>++++++++++++++++++++
> .../recipes-bsp/bt-firmware/bt-firmware_git.bb     |   10 +++--
> 2 files changed, 47 insertions(+), 4 deletions(-)
> create mode 100644 meta-arago-extras/recipes-bsp/bt-firmware/bt-
>firmware/0001-bt-firmware-Remove-platform-check-and-install-
>defaul.patch
>
>diff --git a/meta-arago-extras/recipes-bsp/bt-firmware/bt-
>firmware/0001-bt-firmware-Remove-platform-check-and-install-
>defaul.patch b/meta-arago-extras/recipes-bsp/bt-firmware/bt-
>firmware/0001-bt-firmware-Remove-platform-check-and-install-
>defaul.patch
>new file mode 100644
>index 0000000..4ad457e
>--- /dev/null
>+++ b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-
>bt-firmware-Remove-platform-check-and-install-defaul.patch
>@@ -0,0 +1,41 @@
>+From 40bb43c136ec8001d35f6077e5de5f8ac72f4da0 Mon Sep 17 00:00:00
>2001
>+From: Roger Monk <r-monk@ti.com>
>+Date: Thu, 3 Oct 2013 02:59:54 +0100
>+Subject: [PATCH] bt-firmware:  Remove platform check and install
>default
>+ firmware
>+
>+   * For undefined plaforms, install default firmware
>+   * Remove configuration of 'unknown' so that install picks
>+     firmware from root directory (default)
>+
>+Signed-off-by: Roger Monk <r-monk@ti.com>
>+---
>+ Makefile |    6 +++---
>+ 1 file changed, 3 insertions(+), 3 deletions(-)
>+
>+diff --git a/Makefile b/Makefile
>+index bd94881..ca8280a 100644
>+--- a/Makefile
>++++ b/Makefile
>+@@ -5,8 +5,8 @@
>+ # If KERNEL_DIR is not set then use the default in Rules.make
>+ DEST_DIR ?= ${DESTDIR}
>+
>+-PLATFORM ?= "unknown"
>+-MACHINE_NAME ?= "unknown"
>++#PLATFORM ?= "unknown"
>++#MACHINE_NAME ?= "unknown"
>+
>+ ifeq ($(PLATFORM), am335x-evm)
>+     MACHINE_NAME := am335x
>+@@ -23,6 +23,6 @@ endif
>+
>+ install:
>+ 	install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware
>+-	cp -f ./${MACHINE_NAME}/*
>$(DEST_DIR)${BASE_LIB_DIR}/firmware
>++	cp -f ./${MACHINE_NAME}/*.bts
>$(DEST_DIR)${BASE_LIB_DIR}/firmware
>+
>+
>+--
>+1.7.9.5
>+
>diff --git a/meta-arago-extras/recipes-bsp/bt-firmware/bt-
>firmware_git.bb b/meta-arago-extras/recipes-bsp/bt-firmware/bt-
>firmware_git.bb
>index 2b320da..3a0191e 100644
>--- a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
>+++ b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
>@@ -13,13 +13,15 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
> RCONFLICTS_${PN} = "linux-firmware-wl12xx"
> RREPLACES_${PN}  = "linux-firmware-wl12xx"
>
>-PR = "r2+gitr${SRCPV}"
>+PR = "r3+gitr${SRCPV}"
>
>-COMPATIBLE_MACHINE = "omap3|omapl138|da850-omapl138-evm|ti33x"
>+COMPATIBLE_MACHINE = "omap3|omapl138|da850-omapl138-
>evm|ti3x|omap-a15"
>
>-SRCREV = "adbc27c11d5c5c8c20a93a8beca647b4a6aaa03b"
>+SRCREV = "3a020e30a0e28e6b7b7cdd2a8fb37b29e1e58040"
> SRC_URI = "git://github.com/TI-ECS/bt-firmware.git;protocol=git \
>-           file://0001-Makefile-allow-building-within-the-
>OE.patch"
>+           file://0001-Makefile-allow-building-within-the-
>OE.patch \
>+           file://0001-bt-firmware-Remove-platform-check-and-
>install-defaul.patch \
>+"
>
> PLATFORM = "unknown"
> PLATFORM_ti33x = "am335x-evm"
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 11/11] ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared Transport
  2013-10-10 16:02 ` [PATCHv2 11/11] ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared Transport Roger Monk
@ 2013-10-10 15:46   ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:46 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Monk, Roger
>Sent: Thursday, October 10, 2013 11:02 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [PATCHv2 11/11] ti-connectivity/uim: Add
>Usermode Init Mgr for TI Wilink Shared Transport
>
>   * New recipe pulling latest git version
>   * Patched to allow sysfs node to be passed via command line
>argument
>   * UIM Daemon plumbed to rcS.S03
>
>Signed-off-by: Roger Monk <r-monk@ti.com>
>---
> ...mand-line-args-for-passing-sysfs-node-pat.patch |  135
>++++++++++++++++++++
> .../recipes-connectivity/uim/files/uim-sysfs       |   34 +++++
> .../recipes-connectivity/uim/uim_git.bb            |   28 ++++
> 3 files changed, 197 insertions(+)
> create mode 100644 meta-arago-extras/recipes-
>connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-
>sysfs-node-pat.patch
> create mode 100755 meta-arago-extras/recipes-
>connectivity/uim/files/uim-sysfs
> create mode 100644 meta-arago-extras/recipes-
>connectivity/uim/uim_git.bb
>
>diff --git a/meta-arago-extras/recipes-
>connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-
>sysfs-node-pat.patch b/meta-arago-extras/recipes-
>connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-
>sysfs-node-pat.patch
>new file mode 100644
>index 0000000..ad6f95f
>--- /dev/null
>+++ b/meta-arago-extras/recipes-connectivity/uim/files/0001-uim-
>Add-command-line-args-for-passing-sysfs-node-pat.patch
>@@ -0,0 +1,135 @@
>+From 0df5f6766722a844162e96777980feee146a3c86 Mon Sep 17 00:00:00
>2001
>+From: Roger Monk <r-monk@ti.com>
>+Date: Tue, 1 Oct 2013 17:17:25 +0100
>+Subject: [PATCH] uim:  Add command line args for passing sysfs
>node path
>+
>+   * pass -f <sysfs path> and/or -b <bd address>
>+   * re-mapped DEFINEs to strings
>+      * minimal code changes for minimal instrusion
>+      * could be rewritten for cleaner implementation in the
>future
>+   * default path (no args) remains the same
>+   * users passing bd address via uim <addr> will need to add -b
>+
>+Signed-off-by: Roger Monk <r-monk@ti.com>
>+---
>+ uim.c |   61
>+++++++++++++++++++++++++++++++++++++++++++++++++++++--------
>+ uim.h |   10 +++++-----
>+ 2 files changed, 58 insertions(+), 13 deletions(-)
>+
>+diff --git a/uim.c b/uim.c
>+index 3775dda..4dfdbd7 100644
>+--- a/uim.c
>++++ b/uim.c
>+@@ -38,6 +38,11 @@ static int exiting;
>+ static int line_discipline;
>+ static int dev_fd;
>+
>++static char install_sysfs_entry[48];
>++static char dev_name_sysfs[48];
>++static char baud_rate_sysfs[48];
>++static char flow_cntrl_sysfs[48];
>++
>+ /* BD address as string and a pointer to array of hex bytes */
>+ char uim_bd_address[BD_ADDR_LEN];
>+ bdaddr_t *bd_addr;
>+@@ -455,9 +460,17 @@ bdaddr_t *strtoba(const char *str)
>+         return (bdaddr_t *) ba;
>+ }
>+
>++void usage(void)
>++{
>++	UIM_ERR("Invalid arguments");
>++	UIM_ERR("Usage: uim [ -f <path-to-sysfs-kim> ] [ -b <bd
>address XX:XX:XX:XX:XX:XX> ]");
>++}
>++
>+
>/*****************************************************************
>************/
>+ int main(int argc, char *argv[])
>+ {
>++	int opt;
>++	char *arg_kim_path = NULL, *arg_bd_addr = NULL, *temp_path =
>KIM_SYSFS_BASE;
>+ 	int st_fd, err;
>+ 	unsigned char install;
>+ 	struct pollfd 	p;
>+@@ -466,18 +479,50 @@ int main(int argc, char *argv[])
>+ 	err = 0;
>+
>+ 	/* Parse the user input */
>+-	if ((argc > 2)) {
>+-		UIM_ERR("Invalid arguements");
>+-		UIM_ERR("Usage: uim <bd address>");
>+-		return -1;
>++	while ((opt = getopt (argc, argv, "f:b:")) != -1) {
>++		switch (opt) {
>++			case 'f':
>++				arg_kim_path = optarg;
>++				break;
>++			case 'b':
>++				arg_bd_addr = optarg;
>++				break;
>++			default:
>++				usage();
>++				return -1;
>++		}
>++	}
>++
>++	if (arg_kim_path != NULL) {
>++		temp_path = arg_kim_path;
>++		if( strlen(temp_path) > (sizeof(install_sysfs_entry)-
>10) ) {
>++			UIM_ERR("Path to sysfs node too long");
>++			return -1;
>++		}
>+ 	}
>+-	if (argc == 2) {
>+-		if (strlen(argv[2]) != BD_ADDR_LEN) {
>+-			UIM_ERR("Usage: uim XX:XX:XX:XX:XX:XX");
>++	strcpy(install_sysfs_entry, temp_path);
>++	strcpy(dev_name_sysfs, temp_path);
>++	strcpy(baud_rate_sysfs, temp_path);
>++	strcpy(flow_cntrl_sysfs, temp_path);
>++
>++	strcat(install_sysfs_entry, "/install");
>++	strcat(dev_name_sysfs, "/dev_name");
>++	strcat(baud_rate_sysfs, "/baud_rate");
>++	strcat(flow_cntrl_sysfs, "/flow_cntrl");
>++
>++	UIM_DBG("install = %s", install_sysfs_entry);
>++	UIM_DBG("dev_name = %s", dev_name_sysfs);
>++	UIM_DBG("baud_rate = %s", baud_rate_sysfs);
>++	UIM_DBG("flow_cntrl = %s", flow_cntrl_sysfs);
>++
>++	if (arg_bd_addr != NULL) {
>++		if (strlen(arg_bd_addr) != BD_ADDR_LEN) {
>++			usage();
>+ 			return -1;
>+ 		}
>++		UIM_DBG("Address = %s", arg_bd_addr);
>+ 		/* BD address passed as string in xx:xx:xx:xx:xx:xx
>format */
>+-		strncpy(uim_bd_address, argv[2],
>sizeof(uim_bd_address));
>++		strncpy(uim_bd_address, arg_bd_addr,
>sizeof(uim_bd_address));
>+ 		bd_addr = strtoba(uim_bd_address);
>+ 	}
>+
>+diff --git a/uim.h b/uim.h
>+index a8ef699..32a8fe0 100644
>+--- a/uim.h
>++++ b/uim.h
>+@@ -65,11 +65,11 @@
>+ /* the sysfs entries with device configuration set by
>+  * shared transport driver
>+  */
>+-#define INSTALL_SYSFS_ENTRY "/sys/devices/platform/kim/install"
>+-#define DEV_NAME_SYSFS "/sys/devices/platform/kim/dev_name"
>+-#define BAUD_RATE_SYSFS "/sys/devices/platform/kim/baud_rate"
>+-#define FLOW_CTRL_SYSFS "/sys/devices/platform/kim/flow_cntrl"
>+-
>++#define KIM_SYSFS_BASE		"/sys/devices/platform/kim"
>++#define INSTALL_SYSFS_ENTRY	install_sysfs_entry
>++#define DEV_NAME_SYSFS		dev_name_sysfs
>++#define BAUD_RATE_SYSFS		baud_rate_sysfs
>++#define FLOW_CTRL_SYSFS		flow_cntrl_sysfs
>+
>+ #define VERBOSE
>+ /*Debug logs*/
>+--
>+1.7.9.5
>+
>diff --git a/meta-arago-extras/recipes-connectivity/uim/files/uim-
>sysfs b/meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs
>new file mode 100755
>index 0000000..44b95c6
>--- /dev/null
>+++ b/meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs
>@@ -0,0 +1,34 @@
>+#! /bin/sh
>+
>+NODE=`cd /sys; find . | grep kim | grep install`
>+if [ $NODE ]
>+then
>+    echo UIM SYSFS Node Found at /sys/$NODE
>+else
>+    echo UIM SYSFS Node Not Found
>+    exit 0
>+fi
>+
>+uim="/usr/bin/uim"
>+uim_args="-f `dirname /sys/$NODE`"
>+
>+test -x "$uim" || exit 0
>+
>+case "$1" in
>+  start)
>+    echo -n "Starting uim-sysfs daemon"
>+    start-stop-daemon --start --quiet --pidfile /var/run/uim.pid
>--make-pidfile --exec $uim -- $uim_args &
>+    echo "."
>+    ;;
>+  stop)
>+    echo -n "Stopping uim-sysfs daemon"
>+    start-stop-daemon --stop --quiet --pidfile /var/run/uim.pid
>+    echo "."
>+    ;;
>+  *)
>+    echo "Usage: /etc/init.d/uim-sysfs.sh {start|stop}"
>+    exit 1
>+esac
>+
>+exit 0
>+
>diff --git a/meta-arago-extras/recipes-connectivity/uim/uim_git.bb
>b/meta-arago-extras/recipes-connectivity/uim/uim_git.bb
>new file mode 100644
>index 0000000..7f3203f
>--- /dev/null
>+++ b/meta-arago-extras/recipes-connectivity/uim/uim_git.bb
>@@ -0,0 +1,28 @@
>+DESCRIPTION = "Shared Transport Line Discipline User Mode
>initialisation Manager Daemon"
>+LICENSE = "GPLv2"
>+LIC_FILES_CHKSUM =
>"file://uim.c;beginline=1;endline=18;md5=9f0bbfbc10c67689e81a523e2
>976c31e"
>+
>+COMPATIBLE_MACHINE = "(omap-a15)"
>+
>+PR ="r1"
>+PR_append = "+gitr${SRCPV}"

Why not combine these lines?

>+
>+SRCREV = "c73894456df5def97111cb33d2106b684b8b7959"
>+SRC_URI = "git://gitorious.org/uim/uim.git \
>+           file://0001-uim-Add-command-line-args-for-passing-
>sysfs-node-pat.patch \
>+           file://uim-sysfs \
>+"
>+
>+S = "${WORKDIR}/git"
>+
>+EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
>+
>+do_install() {
>+        install -d ${D}${bindir}
>+        install -m 0755 uim ${D}${bindir}
>+        install -d ${D}${sysconfdir}/init.d
>+        install -m 0755 ${WORKDIR}/uim-sysfs
>${D}${sysconfdir}/init.d
>+        install -d ${D}${sysconfdir}/rcS.d
>+        ln -sf  ../init.d/uim-sysfs
>${D}${sysconfdir}/rcS.d/S03uim-sysfs
>+}
>+
>--
>1.7.9.5
>
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix
  2013-10-10 15:11     ` Monk, Roger
@ 2013-10-10 15:46       ` Maupin, Chase
  0 siblings, 0 replies; 29+ messages in thread
From: Maupin, Chase @ 2013-10-10 15:46 UTC (permalink / raw)
  To: Monk, Roger, meta-arago

>-----Original Message-----
>From: Monk, Roger
>Sent: Thursday, October 10, 2013 10:12 AM
>To: Maupin, Chase; meta-arago@arago-project.org
>Subject: RE: [meta-arago] [PATCHv2 03/11] ti-connectivity/wl18xx-
>firmware: Apply Workaround PD Recovery Fix
>
>On Thu, Oct 10, 2013 at 16:09:11, Maupin, Chase wrote:
>> Apply Workaround PD Recovery Fix
>>
>> >-----Original Message-----
>> >From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>> >bounces@arago-project.org] On Behalf Of Monk, Roger
>> >Sent: Thursday, October 10, 2013 11:02 AM
>> >To: meta-arago@arago-project.org
>> >Subject: [meta-arago] [PATCHv2 03/11] ti-connectivity/wl18xx-
>> >firmware: Apply Workaround PD Recovery Fix
>> >
>> >   * Update to custom firmware version (ol_r8.a7.02_pd_fix) to
>fix
>> >     power-down recovery seen on some boards/ap configurations
>> >
>> >Signed-off-by: Roger Monk <r-monk@ti.com>
>> >---
>> > .../wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb    |    6 +++-
>--
>> > 1 file changed, 3 insertions(+), 3 deletions(-)
>> >
>> >diff --git a/meta-arago-extras/recipes-bsp/wl18xx-
>firmware/wl18xx-
>> >firmware_r8.a7.02.bb b/meta-arago-extras/recipes-bsp/wl18xx-
>> >firmware/wl18xx-firmware_r8.a7.02.bb
>> >index f41edd5..0f8dd9d 100644
>> >--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>> >firmware_r8.a7.02.bb
>> >+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-
>> >firmware_r8.a7.02.bb
>> >@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM =
>> >"file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
>> >
>> > PACKAGE_ARCH = "all"
>> >
>> >-PR = "r1+gitr${SRCPV}"
>> >+PR = "r2+gitr${SRCPV}"
>> >
>> > PROVIDES += "wl12xx-firmware"
>> > RPROVIDES_${PN} += "wl12xx-firmware"
>> >@@ -13,8 +13,8 @@ RCONFLICTS_${PN} += "wl12xx-firmware"
>> >
>> > COMPATIBLE_MACHINE = "(omap-a15)"
>> >
>> >-# Tag: ol_r8.a7.02
>> >-SRCREV = "f3fe754d585f9af821c244a606761c5f69278ed6"
>> >+# Tag: ol_r8.a7.02_pd_fix (workaround powerdown recovery fix)
>SRCREV
>> >+= "3fb3bd321f89f9910f25d3006668b831df944a7f"
>> > SRC_URI = "git://github.com/TI-
>>
>> Why not squash this with patch 02/11?  Do you forsee needing to
>revert
>> or remove this in the future?
>
>I was in two minds about this one.  I wanted to be able to bisect
>if necessary back the official unpatched a7.02 firmware.  I can
>squash If you think important, but I'd personally prefer to keep
>the history.

Good enough reasoning for me.

>
>>
>> >OpenLink/wl18xx_fw.git;protocol=git \
>> >            file://Makefile \
>> >           "
>> >--
>> >1.7.9.5
>> >
>> >_______________________________________________
>> >meta-arago mailing list
>> >meta-arago@arago-project.org
>> >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>



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

* [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02
@ 2013-10-10 16:02 Roger Monk
  2013-10-10 16:02 ` [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
                   ` (10 more replies)
  0 siblings, 11 replies; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

This patchset adds recipes for Wilink8 version r8.a7.02.

Whilst this version is suitable for all platforms using wilink8, it is initially enabled for omap-a15 only targets, using k3.8 based kernels, as used by GLSDK for omap5-uevm and dra7xx-evm.

This patchset adds the following :-

   * compat-wireless drivers (for k3.8) kernel
   * wlan firmware (including workaround fixes required in some systems)
   * wlan utils/configuration tools
   * latest wpa-supplicant and hostapd updates, including WIFI_DISPLAY
   * bluetooth firmware (updated for all targets)
   * user-space wilink8 serial port shared-transport daemon (UIM)

Roger Monk (11):
  ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02
  ti-connectivity/wl18xx-firmware: Add Wilink8 r8.a7.02
  ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix
  ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied
    first
  ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02
  ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied
    first
  ti-connectivity/wlconf: Add Wilink8 r8.a7.02
  ti-connectivity/ti-wifi-utils-wl18xx: Add Wilink8 r8.a7.02
  ti-connectivity/bt-firmware: Update to latest BT Firmware + allow
    more targets
  ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared
    Transport

 ...-Remove-platform-check-and-install-defaul.patch |   41 ++++++
 .../recipes-bsp/bt-firmware/bt-firmware_git.bb     |   10 +-
 ...01.bb => ti-compat-wireless-wl18xx_r8.a7.02.bb} |   30 ++--
 ...are_r8.a6.01.bb => wl18xx-firmware_r8.a7.02.bb} |    6 +-
 ...d-change-conf-file-for-better-oob-startup.patch |   21 +--
 ...8.a6.01.bb => hostap-daemon-wl18xx_r8.a7.02.bb} |   10 +-
 ...mand-line-args-for-passing-sysfs-node-pat.patch |  135 ++++++++++++++++++
 .../recipes-connectivity/uim/files/uim-sysfs       |   34 +++++
 .../recipes-connectivity/uim/uim_git.bb            |   28 ++++
 .../{wlconf_r8.a6.01.bb => wlconf_r8.a7.02.bb}     |    8 +-
 ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
 .../defconfig                                      |  150 +++++++++++++++-----
 ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   13 +-
 ...8.a6.01.bb => ti-wifi-utils-wl18xx_r8.a7.02.bb} |    8 +-
 14 files changed, 460 insertions(+), 78 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch
 copy meta-arago-extras/recipes-bsp/ti-compat-wireless/{ti-compat-wireless-wl18xx_r8.a6.01.bb => ti-compat-wireless-wl18xx_r8.a7.02.bb} (73%)
 copy meta-arago-extras/recipes-bsp/wl18xx-firmware/{wl18xx-firmware_r8.a6.01.bb => wl18xx-firmware_r8.a7.02.bb} (80%)
 copy meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon-r5.sp4.01 => hostap-daemon-wl18xx-r8.a7.02}/0001-hostapd-change-conf-file-for-better-oob-startup.patch (67%)
 copy meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon-wl18xx_r8.a6.01.bb => hostap-daemon-wl18xx_r8.a7.02.bb} (67%)
 create mode 100644 meta-arago-extras/recipes-connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch
 create mode 100755 meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs
 create mode 100644 meta-arago-extras/recipes-connectivity/uim/uim_git.bb
 copy meta-arago-extras/recipes-connectivity/wlconf/{wlconf_r8.a6.01.bb => wlconf_r8.a7.02.bb} (89%)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-wfd.patch
 copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig (74%)
 mode change 100755 => 100644
 copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} (70%)
 copy meta-arago-extras/recipes-devtools/ti-wifi-utils/{ti-wifi-utils-wl18xx_r8.a6.01.bb => ti-wifi-utils-wl18xx_r8.a7.02.bb} (83%)

-- 
1.7.9.5



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

* [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:07   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 02/11] ti-connectivity/wl18xx-firmware: " Roger Monk
                   ` (9 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Add v r8.a7.02 engineering release
   * This release supports the omap-a15 devices (omap5-evm/dra7-evm) with ES 2.1 WL8
   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK 18xx module
      * OMAP5432x-xx-x1-xx

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...01.bb => ti-compat-wireless-wl18xx_r8.a7.02.bb} |   30 +++++++++++---------
 1 file changed, 17 insertions(+), 13 deletions(-)
 copy meta-arago-extras/recipes-bsp/ti-compat-wireless/{ti-compat-wireless-wl18xx_r8.a6.01.bb => ti-compat-wireless-wl18xx_r8.a7.02.bb} (73%)

diff --git a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a7.02.bb
similarity index 73%
copy from meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb
copy to meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a7.02.bb
index a69b7d6..295dd9c 100644
--- a/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a6.01.bb
+++ b/meta-arago-extras/recipes-bsp/ti-compat-wireless/ti-compat-wireless-wl18xx_r8.a7.02.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "ti compat-wireless drivers for wl18xx"
 HOMEPAGE = "https://gforge.ti.com/gf/project/ecs_nlcp/"
 SECTION = "kernel/modules"
 LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d7810fab7487fb0aad327b76f1be7cd7"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
 RDEPENDS_${PN} = "wireless-tools"
 
@@ -14,16 +14,18 @@ RPROVIDES_${PN} += "ti-compat-wireless-wl12xx"
 RREPLACES_${PN} += "ti-compat-wireless-wl12xx"
 RCONFLICTS_${PN} += "ti-compat-wireless-wl12xx"
 
-PV = "r8.a6.01"
+COMPATIBLE_MACHINE = "(omap-a15)"
+
+PV = "r8.a7.02"
 inherit module
 
 PR = "${MACHINE_KERNEL_PR}"
-PR_append = "c"
+PR_append = "a"
 
-# Tags: ol_r8.a6.01
-SRCREV_wl18xx = "f076cdad1988daf207ad560db2fe96caaa7c596e"
-SRCREV_compat = "c37c46c4ab5085ba50f650d15854404983b8d09b"
-SRCREV_compat-wireless = "3ec9ecca2cb07584e115ba53117f0084fc8faa25"
+# Tags: ol_r8.a7.02
+SRCREV_wl18xx = "e611d18893fbd66f6c303e111955d8a732fd0c34"
+SRCREV_compat = "595b13b80f9b922d9e3a1c6e7b75c38b471b2b44"
+SRCREV_compat-wireless = "40d5abd0fe6c89a2afd993f633924e716453a09e"
 
 SRCREV_FORMAT = "compat-wireless"
 
@@ -32,10 +34,7 @@ S = "${WORKDIR}/compat-wireless"
 SRC_URI = "git://github.com/TI-OpenLink/compat-wireless.git;destsuffix=compat-wireless;name=compat-wireless \
            git://github.com/TI-OpenLink/compat.git;destsuffix=compat;name=compat \
            git://github.com/TI-OpenLink/wl18xx.git;destsuffix=wl18xx;name=wl18xx \
-           file://0001-git-version-wl18xx-use-compat-base-tree.patch;patchdir=../wl18xx \
-           file://0001-wl12xx-additional-two-members-for-wl12xx_platform_da.patch;patchdir=../wl18xx \
-          "
-
+"
 
 EXTRA_OEMAKE = "KLIB_BUILD=${STAGING_KERNEL_DIR} KLIB=${D}"
 
@@ -48,11 +47,11 @@ adjust_git() {
 
 do_configure() {
     cd ${S}
-    GIT_TREE="${WORKDIR}/wl18xx" GIT_COMPAT_TREE="${WORKDIR}/compat" ./scripts/admin-refresh.sh
+    GIT_TREE="${WORKDIR}/wl18xx" GIT_COMPAT_TREE="${WORKDIR}/compat" ./scripts/admin-refresh.sh network
     ./scripts/driver-select wl18xx
 
     # Delete the .git repository since it should no longer be needed.
-    rm -rf ${S}/.git ${S}/.gitignore
+    #rm -rf ${S}/.git ${S}/.gitignore
 
     # Now generate the sourceipk with the properly configured sources
     sourceipk_do_create_srcipk
@@ -63,5 +62,10 @@ do_configure_append() {
 }
 
 do_install() {
+    # Remove hardcoded references to host depmod
+    sed -i "s#@/sbin/depmod -a## " Makefile
+    sed -i "s#@/sbin/depmod -ae## " Makefile
+
+    # Install modules
     oe_runmake DEPMOD=echo DESTDIR="${D}" INSTALL_MOD_PATH="${D}" LDFLAGS="" install-modules
 }
-- 
1.7.9.5



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

* [PATCHv2 02/11] ti-connectivity/wl18xx-firmware: Add Wilink8 r8.a7.02
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
  2013-10-10 16:02 ` [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:07   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix Roger Monk
                   ` (8 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Add v r8.a7.02 engineering release wifi firmware
   * This release supports the omap-a15 devices (omap5-evm/dra7-evm) with ES 2.1 WL8
      * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK 18xx module
         * OMAP5432x-xx-x1-xx

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...are_r8.a6.01.bb => wl18xx-firmware_r8.a7.02.bb} |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 copy meta-arago-extras/recipes-bsp/wl18xx-firmware/{wl18xx-firmware_r8.a6.01.bb => wl18xx-firmware_r8.a7.02.bb} (82%)

diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb
similarity index 82%
copy from meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb
copy to meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb
index 4b3f22a..f41edd5 100644
--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a6.01.bb
+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb
@@ -4,15 +4,17 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
 
 PACKAGE_ARCH = "all"
 
-PR = "r2+gitr${SRCPV}"
+PR = "r1+gitr${SRCPV}"
 
 PROVIDES += "wl12xx-firmware"
 RPROVIDES_${PN} += "wl12xx-firmware"
 RREPLACES_${PN} += "wl12xx-firmware"
 RCONFLICTS_${PN} += "wl12xx-firmware"
 
-# Tag: ol_r8.a6.01
-SRCREV = "1c0f45f0e8aec0823175f7ac977908888c424aa1"
+COMPATIBLE_MACHINE = "(omap-a15)"
+
+# Tag: ol_r8.a7.02
+SRCREV = "f3fe754d585f9af821c244a606761c5f69278ed6"
 SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
            file://Makefile \
           "
-- 
1.7.9.5



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

* [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
  2013-10-10 16:02 ` [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
  2013-10-10 16:02 ` [PATCHv2 02/11] ti-connectivity/wl18xx-firmware: " Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:09   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
                   ` (7 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Update to custom firmware version (ol_r8.a7.02_pd_fix) to fix
     power-down recovery seen on some boards/ap configurations

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 .../wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb    |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb
index f41edd5..0f8dd9d 100644
--- a/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb
+++ b/meta-arago-extras/recipes-bsp/wl18xx-firmware/wl18xx-firmware_r8.a7.02.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=b28122fd6678e89fd3a8d4bc80922969"
 
 PACKAGE_ARCH = "all"
 
-PR = "r1+gitr${SRCPV}"
+PR = "r2+gitr${SRCPV}"
 
 PROVIDES += "wl12xx-firmware"
 RPROVIDES_${PN} += "wl12xx-firmware"
@@ -13,8 +13,8 @@ RCONFLICTS_${PN} += "wl12xx-firmware"
 
 COMPATIBLE_MACHINE = "(omap-a15)"
 
-# Tag: ol_r8.a7.02
-SRCREV = "f3fe754d585f9af821c244a606761c5f69278ed6"
+# Tag: ol_r8.a7.02_pd_fix (workaround powerdown recovery fix)
+SRCREV = "3fb3bd321f89f9910f25d3006668b831df944a7f"
 SRC_URI = "git://github.com/TI-OpenLink/wl18xx_fw.git;protocol=git \
            file://Makefile \
           "
-- 
1.7.9.5



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

* [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (2 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:10   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 05/11] ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied first Roger Monk
                   ` (6 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Add v r8.a7.02 engineering release wpa supplicant
   * This release supports the omap-a15 devices (omap5-evm/dra7-evm) with ES 2.1 WL8
      * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK 18xx module
      * OMAP5432x-xx-x1-xx
   * Bump PR
   * Replace defconfig with original wpa-supplicant defconfig
   * Add back SDK specific defconfig changes
   * Enable WFD (WiFi Display)
   * Revert some android patches which prevent WFD

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
 .../defconfig                                      |  150 +++++++++++++++-----
 ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   11 +-
 3 files changed, 166 insertions(+), 39 deletions(-)
 create mode 100644 meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-wfd.patch
 copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig (74%)
 mode change 100755 => 100644
 copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} (78%)

diff --git a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-wfd.patch b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-wfd.patch
new file mode 100644
index 0000000..29528b4
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-wfd.patch
@@ -0,0 +1,44 @@
+
+diff -rupN a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
+--- a/src/common/wpa_ctrl.c	2013-09-02 16:46:22.708023057 +0100
++++ b/src/common/wpa_ctrl.c	2013-08-30 10:22:19.811255355 +0100
+@@ -164,6 +164,10 @@ try_again:
+ 		return NULL;
+ 	}
+ 
++#if 0
++//IH this code is introduced in recent supplicant that appears to make RMD app calls to wpa_ctrl_recv() fail and
++// the supplicant fails to write to the same socket!!!
++// Temp fix to remove it, probably solution will be in app set up/usage??
+ 	/*
+ 	 * Make socket non-blocking so that we don't hang forever if
+ 	 * target dies unexpectedly.
+@@ -176,7 +180,7 @@ try_again:
+ 			/* Not fatal, continue on.*/
+ 		}
+ 	}
+-
++#endif
+ 	return ctrl;
+ }
+ 
+diff -rupN a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
+--- a/wpa_supplicant/wpa_supplicant.c	2013-09-04 16:57:26.000000000 +0100
++++ b/wpa_supplicant/wpa_supplicant.c	2013-09-04 17:02:02.256720695 +0100
+@@ -3025,13 +3025,15 @@ next_driver:
+ 	}
+ 
+ #ifdef CONFIG_P2P
++ #ifdef ANDROID
+ 	if (os_strncmp(iface->ifname, "wlan0", 4) == 0) {
+ 		wpa_printf(MSG_DEBUG, "Disable P2P on wlan0");
+ 		wpa_s->conf->p2p_disabled = 1;
+ 	}
+ 
+ 	if (os_strncmp(iface->ifname, "p2p0", 4) == 0)
+-		if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
++#endif
++	    if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
+ 			wpa_msg(wpa_s, MSG_ERROR, "Failed to init P2P");
+ 			return -1;
+ 		}
diff --git a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/defconfig
old mode 100755
new mode 100644
similarity index 74%
copy from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig
copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/defconfig
index b982e2a..80d2f63
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-r5.sp4.01/defconfig
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/defconfig
@@ -39,18 +39,6 @@
 #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
@@ -75,7 +63,7 @@ CONFIG_BGSCAN_LEARN=y
 #CONFIG_DRIVER_ATMEL=y
 
 # Driver interface for old Broadcom driver
-# Please note that the newer Broadcom driver ("hybrid Linux driver") supportsBG
+# Please note that the newer Broadcom driver ("hybrid Linux driver") supports
 # 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
@@ -90,16 +78,22 @@ CONFIG_BGSCAN_LEARN=y
 #CONFIG_DRIVER_RALINK=y
 
 # Driver interface for generic Linux wireless extensions
+# Note: WEXT is deprecated in the current Linux kernel version and no new
+# functionality is added to it. nl80211-based interface is the new
+# replacement for WEXT and its use allows wpa_supplicant to properly control
+# the driver to improve existing functionality like roaming and to support new
+# functionality.
 CONFIG_DRIVER_WEXT=y
 
 # Driver interface for Linux drivers using the nl80211 kernel interface
 CONFIG_DRIVER_NL80211=y
+CONFIG_LIBNL20=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_p += -L/usr/local/lib
 #LIBS_c += -L/usr/local/lib
 
 # Driver interface for Windows NDIS
@@ -121,11 +115,6 @@ CONFIG_DRIVER_NL80211=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
 
@@ -177,6 +166,9 @@ CONFIG_EAP_OTP=y
 # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
 #CONFIG_EAP_PSK=y
 
+# EAP-pwd (secure authentication using only a password)
+#CONFIG_EAP_PWD=y
+
 # EAP-PAX
 #CONFIG_EAP_PAX=y
 
@@ -208,6 +200,11 @@ CONFIG_EAP_LEAP=y
 CONFIG_WPS=y
 # Enable WSC 2.0 support
 CONFIG_WPS2=y
+# Enable WPS external registrar functionality
+#CONFIG_WPS_ER=y
+# Disable credentials for an open network by default when acting as a WPS
+# registrar.
+#CONFIG_WPS_REG_DISABLE_OPEN=y
 
 # EAP-IKEv2
 #CONFIG_EAP_IKEV2=y
@@ -224,7 +221,10 @@ CONFIG_SMARTCARD=y
 # Enable this if EAP-SIM or EAP-AKA is included
 #CONFIG_PCSC=y
 
-# Development testingBG
+# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
+#CONFIG_HT_OVERRIDES=y
+
+# Development testing
 #CONFIG_EAPOL_TEST=y
 
 # Select control interface backend for external programs, e.g, wpa_cli:
@@ -242,6 +242,10 @@ CONFIG_CTRL_IFACE=y
 # the resulting binary.
 #CONFIG_READLINE=y
 
+# Include internal line edit mode in wpa_cli. This can be used as a replacement
+# for GNU Readline to provide limited command line editing and history support.
+#CONFIG_WPA_CLI_EDIT=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%
@@ -295,13 +299,16 @@ CONFIG_BACKEND=file
 # unix = UNIX/POSIX like systems (default)
 # win32 = Windows systems
 # none = Empty template
-#CONFIG_OS=unix
+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
+CONFIG_ELOOP=eloop
+
+# Should we use poll instead of select? Select is used by default.
+#CONFIG_ELOOP_POLL=y
 
 # Select layer 2 packet implementation
 # linux = Linux packet socket (default)
@@ -310,7 +317,7 @@ CONFIG_BACKEND=file
 # winpcap = WinPcap with receive thread
 # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
 # none = Empty template
-#CONFIG_L2_PACKET=linux
+CONFIG_L2_PACKET=linux
 
 # PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
 CONFIG_PEERKEY=y
@@ -323,18 +330,24 @@ CONFIG_PEERKEY=y
 
 # Select TLS implementation
 # openssl = OpenSSL (default)
-# gnutls = GnuTLS (needed for TLS/IA, see also CONFIG_GNUTLS_EXTRA)
+# gnutls = GnuTLS
 # 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
+# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
+# can be enabled to get a stronger construction of messages when block ciphers
+# are used. It should be noted that some existing TLS v1.0 -based
+# implementation may not be compatible with TLS v1.1 message (ClientHello is
+# sent prior to negotiating which version will be used)
+#CONFIG_TLSV11=y
+
+# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
+# can be enabled to enable use of stronger crypto algorithms. It should be
+# noted that some existing TLS v1.0 -based implementation may not be compatible
+# with TLS v1.2 message (ClientHello is sent prior to negotiating which version
+# will be used)
+#CONFIG_TLSV12=y
 
 # If CONFIG_TLS=internal is used, additional library and include paths are
 # needed for LibTomMath. Alternatively, an integrated, minimal version of
@@ -396,6 +409,21 @@ CONFIG_CTRL_IFACE_DBUS_INTRO=y
 # Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
 CONFIG_DEBUG_FILE=y
 
+# Send debug messages to syslog instead of stdout
+#CONFIG_DEBUG_SYSLOG=y
+# Set syslog facility for debug messages
+#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
+
+# Add support for sending all debug messages (regardless of debug verbosity)
+# to the Linux kernel tracing facility. This helps debug the entire stack by
+# making it easy to record everything happening from the driver up into the
+# same file, e.g., using trace-cmd.
+#CONFIG_DEBUG_LINUX_TRACING=y
+
+# Add support for writing debug log to Android logcat instead of standard
+# output
+#CONFIG_ANDROID_LOG=y
+
 # Enable privilege separation (see README 'Privilege separation' for details)
 #CONFIG_PRIVSEP=y
 
@@ -407,7 +435,7 @@ CONFIG_DEBUG_FILE=y
 # 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.
+# For BSD, uncomment these.
 #LIBS += -lexecinfo
 #LIBS_p += -lexecinfo
 #LIBS_c += -lexecinfo
@@ -416,15 +444,65 @@ CONFIG_DEBUG_FILE=y
 # 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.
+# For BSD, uncomment these.
 #LIBS += -lbfd -liberty -lz
 #LIBS_p += -lbfd -liberty -lz
 #LIBS_c += -lbfd -liberty -lz
 
-# for p2p
+# wpa_supplicant depends on strong random number generation being available
+# from the operating system. os_get_random() function is used to fetch random
+# data when needed, e.g., for key generation. On Linux and BSD systems, this
+# works by reading /dev/urandom. It should be noted that the OS entropy pool
+# needs to be properly initialized before wpa_supplicant is started. This is
+# important especially on embedded devices that do not have a hardware random
+# number generator and may by default start up with minimal entropy available
+# for random number generation.
+#
+# As a safety net, wpa_supplicant is by default trying to internally collect
+# additional entropy for generating random data to mix in with the data fetched
+# from the OS. This by itself is not considered to be very strong, but it may
+# help in cases where the system pool is not initialized properly. However, it
+# is very strongly recommended that the system pool is initialized with enough
+# entropy either by using hardware assisted random number generator or by
+# storing state over device reboots.
+#
+# wpa_supplicant can be configured to maintain its own entropy store over
+# restarts to enhance random number generation. This is not perfect, but it is
+# much more secure than using the same sequence of random numbers after every
+# reboot. This can be enabled with -e<entropy file> command line option. The
+# specified file needs to be readable and writable by wpa_supplicant.
+#
+# If the os_get_random() is known to provide strong random data (e.g., on
+# Linux/BSD, the board in question is known to have reliable source of random
+# data from /dev/urandom), the internal wpa_supplicant random pool can be
+# disabled. This will save some in binary size and CPU use. However, this
+# should only be considered for builds that are known to be used on devices
+# that meet the requirements described above.
+#CONFIG_NO_RANDOM_POOL=y
+
+# IEEE 802.11n (High Throughput) support (mainly for AP mode)
+CONFIG_IEEE80211N=y
+
+# Interworking (IEEE 802.11u)
+# This can be used to enable functionality to improve interworking with
+# external networks (GAS/ANQP to learn more about the networks and network
+# selection based on available credentials).
+#CONFIG_INTERWORKING=y
+
+# Hotspot 2.0
+#CONFIG_HS20=y
+
+# Disable roaming in wpa_supplicant
+#CONFIG_NO_ROAMING=y
+
+# Enable P2P
 CONFIG_P2P=y
 CONFIG_AP=y
 
-# IEEE 802.11n (High Throughput) support
-CONFIG_IEEE80211N=y
+# bgscan
+NEED_BGSCAN=y
+CONFIG_BGSCAN_LEARN=y
+CONFIG_BGSCAN_SIMPLE=y
 
+# Enable WIFI Display
+CONFIG_WIFI_DISPLAY=y
\ No newline at end of file
diff --git a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb
similarity index 78%
copy from meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb
index f6c4f70..0ea9ff5 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb
@@ -10,9 +10,14 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
 
 FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
 
-# Tag: ol_r8.a6.01
-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
-PR = "r2+gitr${SRCPV}"
+COMPATIBLE_MACHINE = "(omap-a15)"
+
+# Tag: ol_r8.a7.02
+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
+PR = "r4+gitr${SRCPV}"
+
+SRC_URI += "file://0001-revert-android-patches-to-enable-wfd.patch;patchdir=.. \
+"
 
 # Add ti to the PV to indicate that this is a TI modify version of wpa-supplicant.
 PV = "2.0-devel-ti"
-- 
1.7.9.5



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

* [PATCHv2 05/11] ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied first
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (3 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:40   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 06/11] ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
                   ` (5 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 .../wpa-supplicant-wl18xx_r8.a7.02.bb              |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb
index 0ea9ff5..392bff3 100644
--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb
+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx_r8.a7.02.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
                     file://../README;md5=5cb758942d25f6f61fd4ac388fd446fa \
                     file://wpa_supplicant.c;beginline=1;endline=17;md5=8835156c8ab8cad6356ec7f39ebe3aba"
 
-FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
+FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant-wl18xx-r8.a7.02:${THISDIR}/wpa-supplicant:"
 
 COMPATIBLE_MACHINE = "(omap-a15)"
 
-- 
1.7.9.5



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

* [PATCHv2 06/11] ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (4 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 05/11] ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied first Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:42   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 07/11] ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied first Roger Monk
                   ` (4 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Add v r8.a7.02 engineering release hostap daemon
   * This release supports the omap-a15 devices (omap5-evm/dra7-evm) with ES 2.1 WL8
      * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK 18xx module
      * OMAP5432x-xx-x1-xx
   * Rebase config patch to match new release (which configures default SSID and channel)
   * Bump PR

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...d-change-conf-file-for-better-oob-startup.patch |   21 +++++++++++---------
 ...8.a6.01.bb => hostap-daemon-wl18xx_r8.a7.02.bb} |    8 +++++---
 2 files changed, 17 insertions(+), 12 deletions(-)
 copy meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon-r5.sp4.01 => hostap-daemon-wl18xx-r8.a7.02}/0001-hostapd-change-conf-file-for-better-oob-startup.patch (67%)
 copy meta-arago-extras/recipes-connectivity/hostap/{hostap-daemon-wl18xx_r8.a6.01.bb => hostap-daemon-wl18xx_r8.a7.02.bb} (79%)

diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-startup.patch b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx-r8.a7.02/0001-hostapd-change-conf-file-for-better-oob-startup.patch
similarity index 67%
copy from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-startup.patch
copy to meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx-r8.a7.02/0001-hostapd-change-conf-file-for-better-oob-startup.patch
index 562970e..a355d8b 100644
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-r5.sp4.01/0001-hostapd-change-conf-file-for-better-oob-startup.patch
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx-r8.a7.02/0001-hostapd-change-conf-file-for-better-oob-startup.patch
@@ -1,6 +1,6 @@
-From 66b55f187843bca53cb3b7ef9c8fcd434a72f768 Mon Sep 17 00:00:00 2001
-From: Eyal Reizer <eyalr@ti.com>
-Date: Thu, 21 Feb 2013 03:55:22 -0800
+From 5aa31444740dff3d3f6f93c5f9361019873d0737 Mon Sep 17 00:00:00 2001
+From: Roger Monk <r-monk@ti.com>
+Date: Tue, 3 Sep 2013 12:26:48 +0100
 Subject: [PATCH] hostapd: change conf file for better sdk out of box startup
 
 Change the default channel to 6 and change the ssid to a more
@@ -8,13 +8,16 @@ meaningful name.
 
 Upstream-status: inappropriate [SDK specific patch]
 
-Signed-off-by: Eyal Reizer <eyalr@ti.com>
+Copied from Eyal Reizer Patch from r8.a6.01, updated patch for
+latest version for conf file.
+
+Signed-off-by: Roger Monk <r-monk@ti.com>
 ---
  hostapd/hostapd.conf |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
-index f71a881..00843aa 100644
+index 9001d16..a871977 100644
 --- a/hostapd/hostapd.conf
 +++ b/hostapd/hostapd.conf
 @@ -83,7 +83,7 @@ ctrl_interface_group=0
@@ -23,10 +26,10 @@ index f71a881..00843aa 100644
  # SSID to be used in IEEE 802.11 management frames
 -ssid=test
 +ssid=TexasInstruments_0001
- 
- # Country code (ISO/IEC 3166-1). Used to set regulatory domain.
- # Set as needed to indicate country in which device is operating.
-@@ -107,7 +107,7 @@ hw_mode=g
+ # Alternative formats for configuring SSID
+ # (double quoted string, hexdump, printf-escaped string)
+ #ssid2="test"
+@@ -112,7 +112,7 @@ hw_mode=g
  # channel will need to be configured separately with iwconfig.
  # When set to 0, automatic channel selection will be engaged. A channel
  # will be selected from the desired hw_mode.
diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
similarity index 79%
copy from meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a6.01.bb
copy to meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
index e232b32..734a798 100644
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a6.01.bb
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
@@ -6,7 +6,9 @@ require hostap.inc
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e"
 
-PR_append = "b+gitr${SRCPV}"
+COMPATIBLE_MACHINE = "(omap-a15)"
+
+PR_append = "c+gitr${SRCPV}"
 
 FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
 
@@ -14,8 +16,8 @@ FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
 # of hostap
 PV = "2.0-devel-ti"
 
-# Tag: ol_r8.a6.01
-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
+# Tag: ol_r8.a7.02
+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
 
 PROVIDES += "hostap-daemon"
 RPROVIDES_${PN} += "hostap-daemon"
-- 
1.7.9.5



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

* [PATCHv2 07/11] ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied first
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (5 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 06/11] ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:42   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 08/11] ti-connectivity/wlconf: Add Wilink8 r8.a7.02 Roger Monk
                   ` (3 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 .../hostap/hostap-daemon-wl18xx_r8.a7.02.bb        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
index 734a798..517462c 100644
--- a/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
+++ b/meta-arago-extras/recipes-connectivity/hostap/hostap-daemon-wl18xx_r8.a7.02.bb
@@ -10,7 +10,7 @@ COMPATIBLE_MACHINE = "(omap-a15)"
 
 PR_append = "c+gitr${SRCPV}"
 
-FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon:"
+FILESEXTRAPATHS_append := "${THISDIR}/hostap-daemon-wl18xx-r8.a7.02:${THISDIR}/hostap-daemon:"
 
 # Add TI to the end to make it clear that this is a TI customized version
 # of hostap
-- 
1.7.9.5



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

* [PATCHv2 08/11] ti-connectivity/wlconf: Add Wilink8 r8.a7.02
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (6 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 07/11] ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied first Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:43   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 09/11] ti-connectivity/ti-wifi-utils-wl18xx: " Roger Monk
                   ` (2 subsequent siblings)
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Add v r8.a7.02 engineering release configuration utility for wilink8
   * This release supports the omap-a15 devices (omap5-evm/dra7-evm) with ES 2.1 WL8
   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK 18xx module
      * OMAP5432x-xx-x1-xx

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 .../{wlconf_r8.a6.01.bb => wlconf_r8.a7.02.bb}     |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 copy meta-arago-extras/recipes-connectivity/wlconf/{wlconf_r8.a6.01.bb => wlconf_r8.a7.02.bb} (89%)

diff --git a/meta-arago-extras/recipes-connectivity/wlconf/wlconf_r8.a6.01.bb b/meta-arago-extras/recipes-connectivity/wlconf/wlconf_r8.a7.02.bb
similarity index 89%
copy from meta-arago-extras/recipes-connectivity/wlconf/wlconf_r8.a6.01.bb
copy to meta-arago-extras/recipes-connectivity/wlconf/wlconf_r8.a7.02.bb
index 8076350..214d05b 100644
--- a/meta-arago-extras/recipes-connectivity/wlconf/wlconf_r8.a6.01.bb
+++ b/meta-arago-extras/recipes-connectivity/wlconf/wlconf_r8.a7.02.bb
@@ -2,11 +2,13 @@ DESCRIPTION = "Configuration utility for TI wireless drivers"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://README;beginline=1;endline=21;md5=adc05a1903d3f107f85c90328e3a9438"
 
-PR ="r2"
+COMPATIBLE_MACHINE = "(omap-a15)"
+
+PR ="r1"
 PR_append = "+gitr${SRCPV}"
 
-# Tag: ol_r8.a6.01
-SRCREV = "214dfbdf97cc390b0020c4ea9331a1cf82240a64"
+# Tag: ol_r8.a7.02
+SRCREV = "badbb7ecb70971857e4863c792a40e91f4f0a985"
 SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git"
 
 S = "${WORKDIR}/git/wlconf"
-- 
1.7.9.5



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

* [PATCHv2 09/11] ti-connectivity/ti-wifi-utils-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (7 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 08/11] ti-connectivity/wlconf: Add Wilink8 r8.a7.02 Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:43   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 10/11] ti-connectivity/bt-firmware: Update to latest BT Firmware + allow more targets Roger Monk
  2013-10-10 16:02 ` [PATCHv2 11/11] ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared Transport Roger Monk
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * Add v r8.a7.02 engineering release wifi utilities for wilink8
   * This release supports the omap-a15 devices (omap5-evm/dra7-evm) with ES 2.1 WL8
   * OMAP5432 UEVMs with the following SKU contain ES2.1 Wilink8 TDK 18xx module
      * OMAP5432x-xx-x1-xx

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...8.a6.01.bb => ti-wifi-utils-wl18xx_r8.a7.02.bb} |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 copy meta-arago-extras/recipes-devtools/ti-wifi-utils/{ti-wifi-utils-wl18xx_r8.a6.01.bb => ti-wifi-utils-wl18xx_r8.a7.02.bb} (83%)

diff --git a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a6.01.bb b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a7.02.bb
similarity index 83%
copy from meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a6.01.bb
copy to meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a7.02.bb
index eab94fa..fab2ee1 100644
--- a/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a6.01.bb
+++ b/meta-arago-extras/recipes-devtools/ti-wifi-utils/ti-wifi-utils-wl18xx_r8.a7.02.bb
@@ -2,13 +2,15 @@ DESCRIPTION = "The calibrator and other useful utilities for TI wireless solutio
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"
 
+COMPATIBLE_MACHINE = "(omap-a15)"
+
 DEPENDS = "libnl"
 RDEPENDS_${PN} = "ti-compat-wireless-wl12xx wl12xx-firmware"
 
-PR ="r3+gitr${SRCPV}"
+PR ="r1+gitr${SRCPV}"
 
-# Tag: ol_r8.a6.01
-SRCREV = "214dfbdf97cc390b0020c4ea9331a1cf82240a64"
+# Tag: ol_r8.a7.02
+SRCREV = "badbb7ecb70971857e4863c792a40e91f4f0a985"
 SRC_URI = "git://github.com/TI-OpenLink/18xx-ti-utils.git \
 "
 
-- 
1.7.9.5



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

* [PATCHv2 10/11] ti-connectivity/bt-firmware: Update to latest BT Firmware + allow more targets
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (8 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 09/11] ti-connectivity/ti-wifi-utils-wl18xx: " Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:45   ` Maupin, Chase
  2013-10-10 16:02 ` [PATCHv2 11/11] ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared Transport Roger Monk
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

       * Add latest BT firmware
       * Add patch to enable unspecifified platforms to pick up default firmware

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...-Remove-platform-check-and-install-defaul.patch |   41 ++++++++++++++++++++
 .../recipes-bsp/bt-firmware/bt-firmware_git.bb     |   10 +++--
 2 files changed, 47 insertions(+), 4 deletions(-)
 create mode 100644 meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch

diff --git a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch
new file mode 100644
index 0000000..4ad457e
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware/0001-bt-firmware-Remove-platform-check-and-install-defaul.patch
@@ -0,0 +1,41 @@
+From 40bb43c136ec8001d35f6077e5de5f8ac72f4da0 Mon Sep 17 00:00:00 2001
+From: Roger Monk <r-monk@ti.com>
+Date: Thu, 3 Oct 2013 02:59:54 +0100
+Subject: [PATCH] bt-firmware:  Remove platform check and install default
+ firmware
+
+   * For undefined plaforms, install default firmware
+   * Remove configuration of 'unknown' so that install picks
+     firmware from root directory (default)
+
+Signed-off-by: Roger Monk <r-monk@ti.com>
+---
+ Makefile |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index bd94881..ca8280a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -5,8 +5,8 @@
+ # If KERNEL_DIR is not set then use the default in Rules.make
+ DEST_DIR ?= ${DESTDIR}
+ 
+-PLATFORM ?= "unknown"
+-MACHINE_NAME ?= "unknown"
++#PLATFORM ?= "unknown"
++#MACHINE_NAME ?= "unknown"
+ 
+ ifeq ($(PLATFORM), am335x-evm)
+     MACHINE_NAME := am335x
+@@ -23,6 +23,6 @@ endif
+ 
+ install:
+ 	install -d $(DEST_DIR)${BASE_LIB_DIR}/firmware
+-	cp -f ./${MACHINE_NAME}/* $(DEST_DIR)${BASE_LIB_DIR}/firmware
++	cp -f ./${MACHINE_NAME}/*.bts $(DEST_DIR)${BASE_LIB_DIR}/firmware
+ 
+ 
+-- 
+1.7.9.5
+
diff --git a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
index 2b320da..3a0191e 100644
--- a/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
+++ b/meta-arago-extras/recipes-bsp/bt-firmware/bt-firmware_git.bb
@@ -13,13 +13,15 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 RCONFLICTS_${PN} = "linux-firmware-wl12xx"
 RREPLACES_${PN}  = "linux-firmware-wl12xx"
 
-PR = "r2+gitr${SRCPV}"
+PR = "r3+gitr${SRCPV}"
 
-COMPATIBLE_MACHINE = "omap3|omapl138|da850-omapl138-evm|ti33x"
+COMPATIBLE_MACHINE = "omap3|omapl138|da850-omapl138-evm|ti3x|omap-a15"
 
-SRCREV = "adbc27c11d5c5c8c20a93a8beca647b4a6aaa03b"
+SRCREV = "3a020e30a0e28e6b7b7cdd2a8fb37b29e1e58040"
 SRC_URI = "git://github.com/TI-ECS/bt-firmware.git;protocol=git \
-           file://0001-Makefile-allow-building-within-the-OE.patch"
+           file://0001-Makefile-allow-building-within-the-OE.patch \
+           file://0001-bt-firmware-Remove-platform-check-and-install-defaul.patch \
+"
 
 PLATFORM = "unknown"
 PLATFORM_ti33x = "am335x-evm"
-- 
1.7.9.5



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

* [PATCHv2 11/11] ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared Transport
  2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
                   ` (9 preceding siblings ...)
  2013-10-10 16:02 ` [PATCHv2 10/11] ti-connectivity/bt-firmware: Update to latest BT Firmware + allow more targets Roger Monk
@ 2013-10-10 16:02 ` Roger Monk
  2013-10-10 15:46   ` Maupin, Chase
  10 siblings, 1 reply; 29+ messages in thread
From: Roger Monk @ 2013-10-10 16:02 UTC (permalink / raw)
  To: meta-arago

   * New recipe pulling latest git version
   * Patched to allow sysfs node to be passed via command line argument
   * UIM Daemon plumbed to rcS.S03

Signed-off-by: Roger Monk <r-monk@ti.com>
---
 ...mand-line-args-for-passing-sysfs-node-pat.patch |  135 ++++++++++++++++++++
 .../recipes-connectivity/uim/files/uim-sysfs       |   34 +++++
 .../recipes-connectivity/uim/uim_git.bb            |   28 ++++
 3 files changed, 197 insertions(+)
 create mode 100644 meta-arago-extras/recipes-connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch
 create mode 100755 meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs
 create mode 100644 meta-arago-extras/recipes-connectivity/uim/uim_git.bb

diff --git a/meta-arago-extras/recipes-connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch b/meta-arago-extras/recipes-connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch
new file mode 100644
index 0000000..ad6f95f
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/uim/files/0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch
@@ -0,0 +1,135 @@
+From 0df5f6766722a844162e96777980feee146a3c86 Mon Sep 17 00:00:00 2001
+From: Roger Monk <r-monk@ti.com>
+Date: Tue, 1 Oct 2013 17:17:25 +0100
+Subject: [PATCH] uim:  Add command line args for passing sysfs node path
+
+   * pass -f <sysfs path> and/or -b <bd address>
+   * re-mapped DEFINEs to strings
+      * minimal code changes for minimal instrusion
+      * could be rewritten for cleaner implementation in the future
+   * default path (no args) remains the same
+   * users passing bd address via uim <addr> will need to add -b
+
+Signed-off-by: Roger Monk <r-monk@ti.com>
+---
+ uim.c |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------
+ uim.h |   10 +++++-----
+ 2 files changed, 58 insertions(+), 13 deletions(-)
+
+diff --git a/uim.c b/uim.c
+index 3775dda..4dfdbd7 100644
+--- a/uim.c
++++ b/uim.c
+@@ -38,6 +38,11 @@ static int exiting;
+ static int line_discipline;
+ static int dev_fd;
+ 
++static char install_sysfs_entry[48];
++static char dev_name_sysfs[48];
++static char baud_rate_sysfs[48];
++static char flow_cntrl_sysfs[48];
++
+ /* BD address as string and a pointer to array of hex bytes */
+ char uim_bd_address[BD_ADDR_LEN];
+ bdaddr_t *bd_addr;
+@@ -455,9 +460,17 @@ bdaddr_t *strtoba(const char *str)
+         return (bdaddr_t *) ba;
+ }
+ 
++void usage(void)
++{
++	UIM_ERR("Invalid arguments");
++	UIM_ERR("Usage: uim [ -f <path-to-sysfs-kim> ] [ -b <bd address XX:XX:XX:XX:XX:XX> ]");
++}
++
+ /*****************************************************************************/
+ int main(int argc, char *argv[])
+ {
++	int opt;
++	char *arg_kim_path = NULL, *arg_bd_addr = NULL, *temp_path = KIM_SYSFS_BASE;
+ 	int st_fd, err;
+ 	unsigned char install;
+ 	struct pollfd 	p;
+@@ -466,18 +479,50 @@ int main(int argc, char *argv[])
+ 	err = 0;
+ 
+ 	/* Parse the user input */
+-	if ((argc > 2)) {
+-		UIM_ERR("Invalid arguements");
+-		UIM_ERR("Usage: uim <bd address>");
+-		return -1;
++	while ((opt = getopt (argc, argv, "f:b:")) != -1) {
++		switch (opt) {
++			case 'f':
++				arg_kim_path = optarg;
++				break;
++			case 'b':
++				arg_bd_addr = optarg;
++				break;
++			default:
++				usage();
++				return -1;
++		}
++	}
++
++	if (arg_kim_path != NULL) {
++		temp_path = arg_kim_path;
++		if( strlen(temp_path) > (sizeof(install_sysfs_entry)-10) ) {
++			UIM_ERR("Path to sysfs node too long");
++			return -1;
++		}
+ 	}
+-	if (argc == 2) {
+-		if (strlen(argv[2]) != BD_ADDR_LEN) {
+-			UIM_ERR("Usage: uim XX:XX:XX:XX:XX:XX");
++	strcpy(install_sysfs_entry, temp_path);
++	strcpy(dev_name_sysfs, temp_path);
++	strcpy(baud_rate_sysfs, temp_path);
++	strcpy(flow_cntrl_sysfs, temp_path);
++
++	strcat(install_sysfs_entry, "/install");
++	strcat(dev_name_sysfs, "/dev_name");
++	strcat(baud_rate_sysfs, "/baud_rate");
++	strcat(flow_cntrl_sysfs, "/flow_cntrl");
++
++	UIM_DBG("install = %s", install_sysfs_entry);
++	UIM_DBG("dev_name = %s", dev_name_sysfs);
++	UIM_DBG("baud_rate = %s", baud_rate_sysfs);
++	UIM_DBG("flow_cntrl = %s", flow_cntrl_sysfs);
++
++	if (arg_bd_addr != NULL) {
++		if (strlen(arg_bd_addr) != BD_ADDR_LEN) {
++			usage();
+ 			return -1;
+ 		}
++		UIM_DBG("Address = %s", arg_bd_addr);
+ 		/* BD address passed as string in xx:xx:xx:xx:xx:xx format */
+-		strncpy(uim_bd_address, argv[2], sizeof(uim_bd_address));
++		strncpy(uim_bd_address, arg_bd_addr, sizeof(uim_bd_address));
+ 		bd_addr = strtoba(uim_bd_address);
+ 	}
+ 
+diff --git a/uim.h b/uim.h
+index a8ef699..32a8fe0 100644
+--- a/uim.h
++++ b/uim.h
+@@ -65,11 +65,11 @@
+ /* the sysfs entries with device configuration set by
+  * shared transport driver
+  */
+-#define INSTALL_SYSFS_ENTRY "/sys/devices/platform/kim/install"
+-#define DEV_NAME_SYSFS "/sys/devices/platform/kim/dev_name"
+-#define BAUD_RATE_SYSFS "/sys/devices/platform/kim/baud_rate"
+-#define FLOW_CTRL_SYSFS "/sys/devices/platform/kim/flow_cntrl"
+-
++#define KIM_SYSFS_BASE		"/sys/devices/platform/kim"
++#define INSTALL_SYSFS_ENTRY	install_sysfs_entry
++#define DEV_NAME_SYSFS		dev_name_sysfs
++#define BAUD_RATE_SYSFS		baud_rate_sysfs
++#define FLOW_CTRL_SYSFS		flow_cntrl_sysfs
+ 
+ #define VERBOSE
+ /*Debug logs*/
+-- 
+1.7.9.5
+
diff --git a/meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs b/meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs
new file mode 100755
index 0000000..44b95c6
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/uim/files/uim-sysfs
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+NODE=`cd /sys; find . | grep kim | grep install`
+if [ $NODE ]
+then
+    echo UIM SYSFS Node Found at /sys/$NODE
+else
+    echo UIM SYSFS Node Not Found 
+    exit 0
+fi 
+
+uim="/usr/bin/uim"
+uim_args="-f `dirname /sys/$NODE`"
+
+test -x "$uim" || exit 0
+
+case "$1" in
+  start)
+    echo -n "Starting uim-sysfs daemon"
+    start-stop-daemon --start --quiet --pidfile /var/run/uim.pid --make-pidfile --exec $uim -- $uim_args & 
+    echo "."
+    ;;
+  stop)
+    echo -n "Stopping uim-sysfs daemon"
+    start-stop-daemon --stop --quiet --pidfile /var/run/uim.pid
+    echo "."
+    ;;
+  *)
+    echo "Usage: /etc/init.d/uim-sysfs.sh {start|stop}"
+    exit 1
+esac
+
+exit 0
+
diff --git a/meta-arago-extras/recipes-connectivity/uim/uim_git.bb b/meta-arago-extras/recipes-connectivity/uim/uim_git.bb
new file mode 100644
index 0000000..7f3203f
--- /dev/null
+++ b/meta-arago-extras/recipes-connectivity/uim/uim_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Shared Transport Line Discipline User Mode initialisation Manager Daemon"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://uim.c;beginline=1;endline=18;md5=9f0bbfbc10c67689e81a523e2976c31e"
+
+COMPATIBLE_MACHINE = "(omap-a15)"
+
+PR ="r1"
+PR_append = "+gitr${SRCPV}"
+
+SRCREV = "c73894456df5def97111cb33d2106b684b8b7959"
+SRC_URI = "git://gitorious.org/uim/uim.git \
+           file://0001-uim-Add-command-line-args-for-passing-sysfs-node-pat.patch \
+           file://uim-sysfs \
+"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc"
+
+do_install() {
+        install -d ${D}${bindir}
+        install -m 0755 uim ${D}${bindir}
+        install -d ${D}${sysconfdir}/init.d
+        install -m 0755 ${WORKDIR}/uim-sysfs ${D}${sysconfdir}/init.d
+        install -d ${D}${sysconfdir}/rcS.d
+        ln -sf  ../init.d/uim-sysfs ${D}${sysconfdir}/rcS.d/S03uim-sysfs
+}
+
-- 
1.7.9.5



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

* Re: [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  2013-10-10 15:10   ` Maupin, Chase
@ 2013-10-17 22:32     ` Denys Dmytriyenko
  2013-10-18 13:47       ` Monk, Roger
  0 siblings, 1 reply; 29+ messages in thread
From: Denys Dmytriyenko @ 2013-10-17 22:32 UTC (permalink / raw)
  To: Maupin, Chase; +Cc: meta-arago

Ping.


On Thu, Oct 10, 2013 at 03:10:56PM +0000, Maupin, Chase wrote:
> 
> 
> >-----Original Message-----
> >From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> >bounces@arago-project.org] On Behalf Of Monk, Roger
> >Sent: Thursday, October 10, 2013 11:02 AM
> >To: meta-arago@arago-project.org
> >Subject: [meta-arago] [PATCHv2 04/11] ti-connectivity/wpa-
> >supplicant-wl18xx: Add Wilink8 r8.a7.02
> >
> >   * Add v r8.a7.02 engineering release wpa supplicant
> >   * This release supports the omap-a15 devices (omap5-evm/dra7-
> >evm) with ES 2.1 WL8
> >      * OMAP5432 UEVMs with the following SKU contain ES2.1
> >Wilink8 TDK 18xx module
> >      * OMAP5432x-xx-x1-xx
> >   * Bump PR
> >   * Replace defconfig with original wpa-supplicant defconfig
> >   * Add back SDK specific defconfig changes
> >   * Enable WFD (WiFi Display)
> >   * Revert some android patches which prevent WFD
> >
> >Signed-off-by: Roger Monk <r-monk@ti.com>
> >---
> > ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
> > .../defconfig                                      |  150
> >+++++++++++++++-----
> > ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   11 +-
> > 3 files changed, 166 insertions(+), 39 deletions(-)
> > create mode 100644 meta-arago-extras/recipes-connectivity/wpa-
> >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> >patches-to-enable-wfd.patch
> > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> >supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig
> >(74%)
> > mode change 100755 => 100644
> > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> >supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant-
> >wl18xx_r8.a7.02.bb} (78%)
> >
> >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> >patches-to-enable-wfd.patch b/meta-arago-extras/recipes-
> >connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-
> >revert-android-patches-to-enable-wfd.patch
> >new file mode 100644
> >index 0000000..29528b4
> >--- /dev/null
> >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-
> >wfd.patch
> >@@ -0,0 +1,44 @@
> >+
> >+diff -rupN a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
> >+--- a/src/common/wpa_ctrl.c	2013-09-02 16:46:22.708023057 +0100
> >++++ b/src/common/wpa_ctrl.c	2013-08-30 10:22:19.811255355 +0100
> >+@@ -164,6 +164,10 @@ try_again:
> >+ 		return NULL;
> >+ 	}
> >+
> >++#if 0
> >++//IH this code is introduced in recent supplicant that appears
> >to make RMD app calls to wpa_ctrl_recv() fail and
> >++// the supplicant fails to write to the same socket!!!
> >++// Temp fix to remove it, probably solution will be in app set
> >up/usage??
> >+ 	/*
> >+ 	 * Make socket non-blocking so that we don't hang forever if
> >+ 	 * target dies unexpectedly.
> >+@@ -176,7 +180,7 @@ try_again:
> >+ 			/* Not fatal, continue on.*/
> >+ 		}
> >+ 	}
> >+-
> >++#endif
> >+ 	return ctrl;
> >+ }
> >+
> >+diff -rupN a/wpa_supplicant/wpa_supplicant.c
> >b/wpa_supplicant/wpa_supplicant.c
> >+--- a/wpa_supplicant/wpa_supplicant.c	2013-09-04
> >16:57:26.000000000 +0100
> >++++ b/wpa_supplicant/wpa_supplicant.c	2013-09-04
> >17:02:02.256720695 +0100
> >+@@ -3025,13 +3025,15 @@ next_driver:
> >+ 	}
> >+
> >+ #ifdef CONFIG_P2P
> >++ #ifdef ANDROID
> >+ 	if (os_strncmp(iface->ifname, "wlan0", 4) == 0) {
> >+ 		wpa_printf(MSG_DEBUG, "Disable P2P on wlan0");
> >+ 		wpa_s->conf->p2p_disabled = 1;
> >+ 	}
> >+
> >+ 	if (os_strncmp(iface->ifname, "p2p0", 4) == 0)
> >+-		if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> >++#endif
> >++	    if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> >+ 			wpa_msg(wpa_s, MSG_ERROR, "Failed to init P2P");
> >+ 			return -1;
> >+ 		}
> >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> >supplicant/wpa-supplicant-r5.sp4.01/defconfig b/meta-arago-
> >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-
> >r8.a7.02/defconfig
> >old mode 100755
> >new mode 100644
> >similarity index 74%
> >copy from meta-arago-extras/recipes-connectivity/wpa-
> >supplicant/wpa-supplicant-r5.sp4.01/defconfig
> >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-wl18xx-r8.a7.02/defconfig
> >index b982e2a..80d2f63
> >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-r5.sp4.01/defconfig
> >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-wl18xx-r8.a7.02/defconfig
> >@@ -39,18 +39,6 @@
> > #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
> >@@ -75,7 +63,7 @@ CONFIG_BGSCAN_LEARN=y
> > #CONFIG_DRIVER_ATMEL=y
> >
> > # Driver interface for old Broadcom driver
> >-# Please note that the newer Broadcom driver ("hybrid Linux
> >driver") supportsBG
> >+# Please note that the newer Broadcom driver ("hybrid Linux
> >driver") supports
> > # 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
> >@@ -90,16 +78,22 @@ CONFIG_BGSCAN_LEARN=y
> > #CONFIG_DRIVER_RALINK=y
> >
> > # Driver interface for generic Linux wireless extensions
> >+# Note: WEXT is deprecated in the current Linux kernel version
> >and no new
> >+# functionality is added to it. nl80211-based interface is the
> >new
> >+# replacement for WEXT and its use allows wpa_supplicant to
> >properly control
> >+# the driver to improve existing functionality like roaming and
> >to support new
> >+# functionality.
> > CONFIG_DRIVER_WEXT=y
> >
> > # Driver interface for Linux drivers using the nl80211 kernel
> >interface
> > CONFIG_DRIVER_NL80211=y
> >+CONFIG_LIBNL20=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_p += -L/usr/local/lib
> > #LIBS_c += -L/usr/local/lib
> >
> > # Driver interface for Windows NDIS
> >@@ -121,11 +115,6 @@ CONFIG_DRIVER_NL80211=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
> >
> >@@ -177,6 +166,9 @@ CONFIG_EAP_OTP=y
> > # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
> > #CONFIG_EAP_PSK=y
> >
> >+# EAP-pwd (secure authentication using only a password)
> >+#CONFIG_EAP_PWD=y
> >+
> > # EAP-PAX
> > #CONFIG_EAP_PAX=y
> >
> >@@ -208,6 +200,11 @@ CONFIG_EAP_LEAP=y
> > CONFIG_WPS=y
> > # Enable WSC 2.0 support
> > CONFIG_WPS2=y
> >+# Enable WPS external registrar functionality
> >+#CONFIG_WPS_ER=y
> >+# Disable credentials for an open network by default when acting
> >as a WPS
> >+# registrar.
> >+#CONFIG_WPS_REG_DISABLE_OPEN=y
> >
> > # EAP-IKEv2
> > #CONFIG_EAP_IKEV2=y
> >@@ -224,7 +221,10 @@ CONFIG_SMARTCARD=y
> > # Enable this if EAP-SIM or EAP-AKA is included
> > #CONFIG_PCSC=y
> >
> >-# Development testingBG
> >+# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
> >+#CONFIG_HT_OVERRIDES=y
> >+
> >+# Development testing
> > #CONFIG_EAPOL_TEST=y
> >
> > # Select control interface backend for external programs, e.g,
> >wpa_cli:
> >@@ -242,6 +242,10 @@ CONFIG_CTRL_IFACE=y
> > # the resulting binary.
> > #CONFIG_READLINE=y
> >
> >+# Include internal line edit mode in wpa_cli. This can be used as
> >a replacement
> >+# for GNU Readline to provide limited command line editing and
> >history support.
> >+#CONFIG_WPA_CLI_EDIT=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%
> >@@ -295,13 +299,16 @@ CONFIG_BACKEND=file
> > # unix = UNIX/POSIX like systems (default)
> > # win32 = Windows systems
> > # none = Empty template
> >-#CONFIG_OS=unix
> >+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
> >+CONFIG_ELOOP=eloop
> >+
> >+# Should we use poll instead of select? Select is used by
> >default.
> >+#CONFIG_ELOOP_POLL=y
> >
> > # Select layer 2 packet implementation
> > # linux = Linux packet socket (default)
> >@@ -310,7 +317,7 @@ CONFIG_BACKEND=file
> > # winpcap = WinPcap with receive thread
> > # ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
> > # none = Empty template
> >-#CONFIG_L2_PACKET=linux
> >+CONFIG_L2_PACKET=linux
> >
> > # PeerKey handshake for Station to Station Link (IEEE 802.11e
> >DLS)
> > CONFIG_PEERKEY=y
> >@@ -323,18 +330,24 @@ CONFIG_PEERKEY=y
> >
> > # Select TLS implementation
> > # openssl = OpenSSL (default)
> >-# gnutls = GnuTLS (needed for TLS/IA, see also
> >CONFIG_GNUTLS_EXTRA)
> >+# gnutls = GnuTLS
> > # 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
> >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> >of TLS (v1.1)
> >+# can be enabled to get a stronger construction of messages when
> >block ciphers
> >+# are used. It should be noted that some existing TLS v1.0 -based
> >+# implementation may not be compatible with TLS v1.1 message
> >(ClientHello is
> >+# sent prior to negotiating which version will be used)
> >+#CONFIG_TLSV11=y
> >+
> >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> >of TLS (v1.2)
> >+# can be enabled to enable use of stronger crypto algorithms. It
> >should be
> >+# noted that some existing TLS v1.0 -based implementation may not
> >be compatible
> >+# with TLS v1.2 message (ClientHello is sent prior to negotiating
> >which version
> >+# will be used)
> >+#CONFIG_TLSV12=y
> >
> > # If CONFIG_TLS=internal is used, additional library and include
> >paths are
> > # needed for LibTomMath. Alternatively, an integrated, minimal
> >version of
> >@@ -396,6 +409,21 @@ CONFIG_CTRL_IFACE_DBUS_INTRO=y
> > # Add support for writing debug log to a file
> >(/tmp/wpa_supplicant-log-#.txt)
> > CONFIG_DEBUG_FILE=y
> >
> >+# Send debug messages to syslog instead of stdout
> >+#CONFIG_DEBUG_SYSLOG=y
> >+# Set syslog facility for debug messages
> >+#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
> >+
> >+# Add support for sending all debug messages (regardless of debug
> >verbosity)
> >+# to the Linux kernel tracing facility. This helps debug the
> >entire stack by
> >+# making it easy to record everything happening from the driver
> >up into the
> >+# same file, e.g., using trace-cmd.
> >+#CONFIG_DEBUG_LINUX_TRACING=y
> >+
> >+# Add support for writing debug log to Android logcat instead of
> >standard
> >+# output
> >+#CONFIG_ANDROID_LOG=y
> >+
> > # Enable privilege separation (see README 'Privilege separation'
> >for details)
> > #CONFIG_PRIVSEP=y
> >
> >@@ -407,7 +435,7 @@ CONFIG_DEBUG_FILE=y
> > # 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.
> >+# For BSD, uncomment these.
> > #LIBS += -lexecinfo
> > #LIBS_p += -lexecinfo
> > #LIBS_c += -lexecinfo
> >@@ -416,15 +444,65 @@ CONFIG_DEBUG_FILE=y
> > # 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.
> >+# For BSD, uncomment these.
> > #LIBS += -lbfd -liberty -lz
> > #LIBS_p += -lbfd -liberty -lz
> > #LIBS_c += -lbfd -liberty -lz
> >
> >-# for p2p
> >+# wpa_supplicant depends on strong random number generation being
> >available
> >+# from the operating system. os_get_random() function is used to
> >fetch random
> >+# data when needed, e.g., for key generation. On Linux and BSD
> >systems, this
> >+# works by reading /dev/urandom. It should be noted that the OS
> >entropy pool
> >+# needs to be properly initialized before wpa_supplicant is
> >started. This is
> >+# important especially on embedded devices that do not have a
> >hardware random
> >+# number generator and may by default start up with minimal
> >entropy available
> >+# for random number generation.
> >+#
> >+# As a safety net, wpa_supplicant is by default trying to
> >internally collect
> >+# additional entropy for generating random data to mix in with
> >the data fetched
> >+# from the OS. This by itself is not considered to be very
> >strong, but it may
> >+# help in cases where the system pool is not initialized
> >properly. However, it
> >+# is very strongly recommended that the system pool is
> >initialized with enough
> >+# entropy either by using hardware assisted random number
> >generator or by
> >+# storing state over device reboots.
> >+#
> >+# wpa_supplicant can be configured to maintain its own entropy
> >store over
> >+# restarts to enhance random number generation. This is not
> >perfect, but it is
> >+# much more secure than using the same sequence of random numbers
> >after every
> >+# reboot. This can be enabled with -e<entropy file> command line
> >option. The
> >+# specified file needs to be readable and writable by
> >wpa_supplicant.
> >+#
> >+# If the os_get_random() is known to provide strong random data
> >(e.g., on
> >+# Linux/BSD, the board in question is known to have reliable
> >source of random
> >+# data from /dev/urandom), the internal wpa_supplicant random
> >pool can be
> >+# disabled. This will save some in binary size and CPU use.
> >However, this
> >+# should only be considered for builds that are known to be used
> >on devices
> >+# that meet the requirements described above.
> >+#CONFIG_NO_RANDOM_POOL=y
> >+
> >+# IEEE 802.11n (High Throughput) support (mainly for AP mode)
> >+CONFIG_IEEE80211N=y
> >+
> >+# Interworking (IEEE 802.11u)
> >+# This can be used to enable functionality to improve
> >interworking with
> >+# external networks (GAS/ANQP to learn more about the networks
> >and network
> >+# selection based on available credentials).
> >+#CONFIG_INTERWORKING=y
> >+
> >+# Hotspot 2.0
> >+#CONFIG_HS20=y
> >+
> >+# Disable roaming in wpa_supplicant
> >+#CONFIG_NO_ROAMING=y
> >+
> >+# Enable P2P
> > CONFIG_P2P=y
> > CONFIG_AP=y
> >
> >-# IEEE 802.11n (High Throughput) support
> >-CONFIG_IEEE80211N=y
> >+# bgscan
> >+NEED_BGSCAN=y
> >+CONFIG_BGSCAN_LEARN=y
> >+CONFIG_BGSCAN_SIMPLE=y
> >
> >+# Enable WIFI Display
> >+CONFIG_WIFI_DISPLAY=y
> >\ No newline at end of file
> >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb b/meta-arago-
> >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-
> >wl18xx_r8.a7.02.bb
> >similarity index 78%
> >copy from meta-arago-extras/recipes-connectivity/wpa-
> >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
> >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-wl18xx_r8.a7.02.bb
> >index f6c4f70..0ea9ff5 100644
> >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-wl18xx_r8.a6.01.bb
> >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> >supplicant-wl18xx_r8.a7.02.bb
> >@@ -10,9 +10,14 @@ LIC_FILES_CHKSUM =
> >"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
> >
> > FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
> >
> >-# Tag: ol_r8.a6.01
> >-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
> >-PR = "r2+gitr${SRCPV}"
> >+COMPATIBLE_MACHINE = "(omap-a15)"
> >+
> >+# Tag: ol_r8.a7.02
> >+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
> >+PR = "r4+gitr${SRCPV}"
> 
> Why not reset the PR?  Is there no corresponding PV bump for this release?
> 
> >+
> >+SRC_URI += "file://0001-revert-android-patches-to-enable-
> >wfd.patch;patchdir=.. \
> >+"
> >
> > # Add ti to the PV to indicate that this is a TI modify version
> >of wpa-supplicant.
> > PV = "2.0-devel-ti"
> >--
> >1.7.9.5
> >
> >_______________________________________________
> >meta-arago mailing list
> >meta-arago@arago-project.org
> >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  2013-10-17 22:32     ` Denys Dmytriyenko
@ 2013-10-18 13:47       ` Monk, Roger
  2013-10-18 16:30         ` Denys Dmytriyenko
  2013-11-12  6:41         ` Denys Dmytriyenko
  0 siblings, 2 replies; 29+ messages in thread
From: Monk, Roger @ 2013-10-18 13:47 UTC (permalink / raw)
  To: Dmytriyenko, Denys, Maupin, Chase; +Cc: meta-arago

On Thu, Oct 17, 2013 at 23:32:56, Dmytriyenko, Denys wrote:
> Subject: Re: [meta-arago] [PATCHv2 04/11] 
> ti-connectivity/wpa-supplicant-
> wl18xx: Add Wilink8 r8.a7.02
> 
> Ping.

Thanks.  Based on the good feedback from Franklin/Chase, I'll rework the includes a bit and resubmit.  

> 
> 
> On Thu, Oct 10, 2013 at 03:10:56PM +0000, Maupin, Chase wrote:
> >
> >
> > >-----Original Message-----
> > >From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> > >bounces@arago-project.org] On Behalf Of Monk, Roger
> > >Sent: Thursday, October 10, 2013 11:02 AM
> > >To: meta-arago@arago-project.org
> > >Subject: [meta-arago] [PATCHv2 04/11] ti-connectivity/wpa-
> > >supplicant-wl18xx: Add Wilink8 r8.a7.02
> > >
> > >   * Add v r8.a7.02 engineering release wpa supplicant
> > >   * This release supports the omap-a15 devices (omap5-evm/dra7-
> > >evm) with ES 2.1 WL8
> > >      * OMAP5432 UEVMs with the following SKU contain ES2.1
> > >Wilink8 TDK 18xx module
> > >      * OMAP5432x-xx-x1-xx
> > >   * Bump PR
> > >   * Replace defconfig with original wpa-supplicant defconfig
> > >   * Add back SDK specific defconfig changes
> > >   * Enable WFD (WiFi Display)
> > >   * Revert some android patches which prevent WFD
> > >
> > >Signed-off-by: Roger Monk <r-monk@ti.com>
> > >---
> > > ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
> > > .../defconfig                                      |  150
> > >+++++++++++++++-----
> > > ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   11 +-
> > > 3 files changed, 166 insertions(+), 39 deletions(-)  create mode
> > >100644 meta-arago-extras/recipes-connectivity/wpa-
> > >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> > >patches-to-enable-wfd.patch
> > > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> > >supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig
> > >(74%)
> > > mode change 100755 => 100644
> > > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> > >supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant- 
> > >wl18xx_r8.a7.02.bb}
> > >(78%)
> > >
> > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> > >patches-to-enable-wfd.patch b/meta-arago-extras/recipes-
> > >connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-
> > >revert-android-patches-to-enable-wfd.patch
> > >new file mode 100644
> > >index 0000000..29528b4
> > >--- /dev/null
> > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-
> > >wfd.patch
> > >@@ -0,0 +1,44 @@
> > >+
> > >+diff -rupN a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
> > >+--- a/src/common/wpa_ctrl.c	2013-09-02 16:46:22.708023057 +0100
> > >++++ b/src/common/wpa_ctrl.c	2013-08-30 10:22:19.811255355 +0100
> > >+@@ -164,6 +164,10 @@ try_again:
> > >+ 		return NULL;
> > >+ 	}
> > >+
> > >++#if 0
> > >++//IH this code is introduced in recent supplicant that appears
> > >to make RMD app calls to wpa_ctrl_recv() fail and
> > >++// the supplicant fails to write to the same socket!!!
> > >++// Temp fix to remove it, probably solution will be in app set
> > >up/usage??
> > >+ 	/*
> > >+ 	 * Make socket non-blocking so that we don't hang forever if
> > >+ 	 * target dies unexpectedly.
> > >+@@ -176,7 +180,7 @@ try_again:
> > >+ 			/* Not fatal, continue on.*/
> > >+ 		}
> > >+ 	}
> > >+-
> > >++#endif
> > >+ 	return ctrl;
> > >+ }
> > >+
> > >+diff -rupN a/wpa_supplicant/wpa_supplicant.c
> > >b/wpa_supplicant/wpa_supplicant.c
> > >+--- a/wpa_supplicant/wpa_supplicant.c	2013-09-04
> > >16:57:26.000000000 +0100
> > >++++ b/wpa_supplicant/wpa_supplicant.c	2013-09-04
> > >17:02:02.256720695 +0100
> > >+@@ -3025,13 +3025,15 @@ next_driver:
> > >+ 	}
> > >+
> > >+ #ifdef CONFIG_P2P
> > >++ #ifdef ANDROID
> > >+ 	if (os_strncmp(iface->ifname, "wlan0", 4) == 0) {
> > >+ 		wpa_printf(MSG_DEBUG, "Disable P2P on wlan0");
> > >+ 		wpa_s->conf->p2p_disabled = 1;
> > >+ 	}
> > >+
> > >+ 	if (os_strncmp(iface->ifname, "p2p0", 4) == 0)
> > >+-		if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> > >++#endif
> > >++	    if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> > >+ 			wpa_msg(wpa_s, MSG_ERROR, "Failed to init P2P");
> > >+ 			return -1;
> > >+ 		}
> > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > >supplicant/wpa-supplicant-r5.sp4.01/defconfig b/meta-arago-
> > >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-
> > >r8.a7.02/defconfig
> > >old mode 100755
> > >new mode 100644
> > >similarity index 74%
> > >copy from meta-arago-extras/recipes-connectivity/wpa-
> > >supplicant/wpa-supplicant-r5.sp4.01/defconfig
> > >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-wl18xx-r8.a7.02/defconfig
> > >index b982e2a..80d2f63
> > >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-r5.sp4.01/defconfig
> > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-wl18xx-r8.a7.02/defconfig
> > >@@ -39,18 +39,6 @@
> > > #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 @@
> > >-75,7 +63,7 @@ CONFIG_BGSCAN_LEARN=y  #CONFIG_DRIVER_ATMEL=y
> > >
> > > # Driver interface for old Broadcom driver -# Please note that the 
> > >newer Broadcom driver ("hybrid Linux
> > >driver") supportsBG
> > >+# Please note that the newer Broadcom driver ("hybrid Linux
> > >driver") supports
> > > # 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
> > >@@ -90,16 +78,22 @@ CONFIG_BGSCAN_LEARN=y
> #CONFIG_DRIVER_RALINK=y
> > >
> > > # Driver interface for generic Linux wireless extensions
> > >+# Note: WEXT is deprecated in the current Linux kernel version
> > >and no new
> > >+# functionality is added to it. nl80211-based interface is the
> > >new
> > >+# replacement for WEXT and its use allows wpa_supplicant to
> > >properly control
> > >+# the driver to improve existing functionality like roaming and
> > >to support new
> > >+# functionality.
> > > CONFIG_DRIVER_WEXT=y
> > >
> > > # Driver interface for Linux drivers using the nl80211 kernel 
> > >interface  CONFIG_DRIVER_NL80211=y
> > >+CONFIG_LIBNL20=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_p += -L/usr/local/lib
> > > #LIBS_c += -L/usr/local/lib
> > >
> > > # Driver interface for Windows NDIS @@ -121,11 +115,6 @@ 
> > >CONFIG_DRIVER_NL80211=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
> > >
> > >@@ -177,6 +166,9 @@ CONFIG_EAP_OTP=y  # EAP-PSK (experimental; this 
> > >is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y
> > >
> > >+# EAP-pwd (secure authentication using only a password) 
> > >+#CONFIG_EAP_PWD=y
> > >+
> > > # EAP-PAX
> > > #CONFIG_EAP_PAX=y
> > >
> > >@@ -208,6 +200,11 @@ CONFIG_EAP_LEAP=y  CONFIG_WPS=y  # Enable
> WSC
> > >2.0 support  CONFIG_WPS2=y
> > >+# Enable WPS external registrar functionality #CONFIG_WPS_ER=y # 
> > >+Disable credentials for an open network by default when acting
> > >as a WPS
> > >+# registrar.
> > >+#CONFIG_WPS_REG_DISABLE_OPEN=y
> > >
> > > # EAP-IKEv2
> > > #CONFIG_EAP_IKEV2=y
> > >@@ -224,7 +221,10 @@ CONFIG_SMARTCARD=y  # Enable this if EAP-SIM
> or
> > >EAP-AKA is included  #CONFIG_PCSC=y
> > >
> > >-# Development testingBG
> > >+# Support HT overrides (disable HT/HT40, mask MCS rates, etc.) 
> > >+#CONFIG_HT_OVERRIDES=y
> > >+
> > >+# Development testing
> > > #CONFIG_EAPOL_TEST=y
> > >
> > > # Select control interface backend for external programs, e.g,
> > >wpa_cli:
> > >@@ -242,6 +242,10 @@ CONFIG_CTRL_IFACE=y  # the resulting binary.
> > > #CONFIG_READLINE=y
> > >
> > >+# Include internal line edit mode in wpa_cli. This can be used as
> > >a replacement
> > >+# for GNU Readline to provide limited command line editing and
> > >history support.
> > >+#CONFIG_WPA_CLI_EDIT=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% @@ -295,13 +299,16 @@ CONFIG_BACKEND=file  # unix
> =
> > >UNIX/POSIX like systems (default)  # win32 = Windows systems  # 
> > >none = Empty template -#CONFIG_OS=unix
> > >+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
> > >+CONFIG_ELOOP=eloop
> > >+
> > >+# Should we use poll instead of select? Select is used by
> > >default.
> > >+#CONFIG_ELOOP_POLL=y
> > >
> > > # Select layer 2 packet implementation  # linux = Linux packet 
> > >socket (default) @@ -310,7 +317,7 @@ CONFIG_BACKEND=file  # winpcap 
> > >= WinPcap with receive thread  # ndis = Windows NDISUIO (note: 
> > >requires
> > >CONFIG_USE_NDISUIO=y)  # none = Empty template 
> > >-#CONFIG_L2_PACKET=linux
> > >+CONFIG_L2_PACKET=linux
> > >
> > > # PeerKey handshake for Station to Station Link (IEEE 802.11e
> > >DLS)
> > > CONFIG_PEERKEY=y
> > >@@ -323,18 +330,24 @@ CONFIG_PEERKEY=y
> > >
> > > # Select TLS implementation
> > > # openssl = OpenSSL (default)
> > >-# gnutls = GnuTLS (needed for TLS/IA, see also
> > >CONFIG_GNUTLS_EXTRA)
> > >+# gnutls = GnuTLS
> > > # 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
> > >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> > >of TLS (v1.1)
> > >+# can be enabled to get a stronger construction of messages when
> > >block ciphers
> > >+# are used. It should be noted that some existing TLS v1.0 -based 
> > >+# implementation may not be compatible with TLS v1.1 message
> > >(ClientHello is
> > >+# sent prior to negotiating which version will be used) 
> > >+#CONFIG_TLSV11=y
> > >+
> > >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> > >of TLS (v1.2)
> > >+# can be enabled to enable use of stronger crypto algorithms. It
> > >should be
> > >+# noted that some existing TLS v1.0 -based implementation may not
> > >be compatible
> > >+# with TLS v1.2 message (ClientHello is sent prior to negotiating
> > >which version
> > >+# will be used)
> > >+#CONFIG_TLSV12=y
> > >
> > > # If CONFIG_TLS=internal is used, additional library and include 
> > >paths are  # needed for LibTomMath. Alternatively, an integrated, 
> > >minimal version of @@ -396,6 +409,21 @@ 
> > >CONFIG_CTRL_IFACE_DBUS_INTRO=y  # Add support for writing debug log 
> > >to a file
> > >(/tmp/wpa_supplicant-log-#.txt)
> > > CONFIG_DEBUG_FILE=y
> > >
> > >+# Send debug messages to syslog instead of stdout 
> > >+#CONFIG_DEBUG_SYSLOG=y # Set syslog facility for debug messages 
> > >+#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
> > >+
> > >+# Add support for sending all debug messages (regardless of debug
> > >verbosity)
> > >+# to the Linux kernel tracing facility. This helps debug the
> > >entire stack by
> > >+# making it easy to record everything happening from the driver
> > >up into the
> > >+# same file, e.g., using trace-cmd.
> > >+#CONFIG_DEBUG_LINUX_TRACING=y
> > >+
> > >+# Add support for writing debug log to Android logcat instead of
> > >standard
> > >+# output
> > >+#CONFIG_ANDROID_LOG=y
> > >+
> > > # Enable privilege separation (see README 'Privilege separation'
> > >for details)
> > > #CONFIG_PRIVSEP=y
> > >
> > >@@ -407,7 +435,7 @@ CONFIG_DEBUG_FILE=y  # 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.
> > >+# For BSD, uncomment these.
> > > #LIBS += -lexecinfo
> > > #LIBS_p += -lexecinfo
> > > #LIBS_c += -lexecinfo
> > >@@ -416,15 +444,65 @@ CONFIG_DEBUG_FILE=y  # 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.
> > >+# For BSD, uncomment these.
> > > #LIBS += -lbfd -liberty -lz
> > > #LIBS_p += -lbfd -liberty -lz
> > > #LIBS_c += -lbfd -liberty -lz
> > >
> > >-# for p2p
> > >+# wpa_supplicant depends on strong random number generation being
> > >available
> > >+# from the operating system. os_get_random() function is used to
> > >fetch random
> > >+# data when needed, e.g., for key generation. On Linux and BSD
> > >systems, this
> > >+# works by reading /dev/urandom. It should be noted that the OS
> > >entropy pool
> > >+# needs to be properly initialized before wpa_supplicant is
> > >started. This is
> > >+# important especially on embedded devices that do not have a
> > >hardware random
> > >+# number generator and may by default start up with minimal
> > >entropy available
> > >+# for random number generation.
> > >+#
> > >+# As a safety net, wpa_supplicant is by default trying to
> > >internally collect
> > >+# additional entropy for generating random data to mix in with
> > >the data fetched
> > >+# from the OS. This by itself is not considered to be very
> > >strong, but it may
> > >+# help in cases where the system pool is not initialized
> > >properly. However, it
> > >+# is very strongly recommended that the system pool is
> > >initialized with enough
> > >+# entropy either by using hardware assisted random number
> > >generator or by
> > >+# storing state over device reboots.
> > >+#
> > >+# wpa_supplicant can be configured to maintain its own entropy
> > >store over
> > >+# restarts to enhance random number generation. This is not
> > >perfect, but it is
> > >+# much more secure than using the same sequence of random numbers
> > >after every
> > >+# reboot. This can be enabled with -e<entropy file> command line
> > >option. The
> > >+# specified file needs to be readable and writable by
> > >wpa_supplicant.
> > >+#
> > >+# If the os_get_random() is known to provide strong random data
> > >(e.g., on
> > >+# Linux/BSD, the board in question is known to have reliable
> > >source of random
> > >+# data from /dev/urandom), the internal wpa_supplicant random
> > >pool can be
> > >+# disabled. This will save some in binary size and CPU use.
> > >However, this
> > >+# should only be considered for builds that are known to be used
> > >on devices
> > >+# that meet the requirements described above.
> > >+#CONFIG_NO_RANDOM_POOL=y
> > >+
> > >+# IEEE 802.11n (High Throughput) support (mainly for AP mode) 
> > >+CONFIG_IEEE80211N=y
> > >+
> > >+# Interworking (IEEE 802.11u)
> > >+# This can be used to enable functionality to improve
> > >interworking with
> > >+# external networks (GAS/ANQP to learn more about the networks
> > >and network
> > >+# selection based on available credentials).
> > >+#CONFIG_INTERWORKING=y
> > >+
> > >+# Hotspot 2.0
> > >+#CONFIG_HS20=y
> > >+
> > >+# Disable roaming in wpa_supplicant #CONFIG_NO_ROAMING=y
> > >+
> > >+# Enable P2P
> > > CONFIG_P2P=y
> > > CONFIG_AP=y
> > >
> > >-# IEEE 802.11n (High Throughput) support -CONFIG_IEEE80211N=y
> > >+# bgscan
> > >+NEED_BGSCAN=y
> > >+CONFIG_BGSCAN_LEARN=y
> > >+CONFIG_BGSCAN_SIMPLE=y
> > >
> > >+# Enable WIFI Display
> > >+CONFIG_WIFI_DISPLAY=y
> > >\ No newline at end of file
> > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb b/meta-arago-
> > >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-
> > >wl18xx_r8.a7.02.bb
> > >similarity index 78%
> > >copy from meta-arago-extras/recipes-connectivity/wpa-
> > >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
> > >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-wl18xx_r8.a7.02.bb
> > >index f6c4f70..0ea9ff5 100644
> > >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-wl18xx_r8.a6.01.bb
> > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > >supplicant-wl18xx_r8.a7.02.bb
> > >@@ -10,9 +10,14 @@ LIC_FILES_CHKSUM = 
> > >"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
> > >
> > > FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
> > >
> > >-# Tag: ol_r8.a6.01
> > >-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
> > >-PR = "r2+gitr${SRCPV}"
> > >+COMPATIBLE_MACHINE = "(omap-a15)"
> > >+
> > >+# Tag: ol_r8.a7.02
> > >+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
> > >+PR = "r4+gitr${SRCPV}"
> >
> > Why not reset the PR?  Is there no corresponding PV bump for this release?
> >
> > >+
> > >+SRC_URI += "file://0001-revert-android-patches-to-enable-
> > >wfd.patch;patchdir=.. \
> > >+"
> > >
> > > # Add ti to the PV to indicate that this is a TI modify version of 
> > >wpa-supplicant.
> > > PV = "2.0-devel-ti"
> > >--
> > >1.7.9.5
> > >
> > >_______________________________________________
> > >meta-arago mailing list
> > >meta-arago@arago-project.org
> > >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago




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

* Re: [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  2013-10-18 13:47       ` Monk, Roger
@ 2013-10-18 16:30         ` Denys Dmytriyenko
  2013-11-12  6:41         ` Denys Dmytriyenko
  1 sibling, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2013-10-18 16:30 UTC (permalink / raw)
  To: Monk, Roger; +Cc: meta-arago

On Fri, Oct 18, 2013 at 09:47:01AM -0400, Monk, Roger wrote:
> On Thu, Oct 17, 2013 at 23:32:56, Dmytriyenko, Denys wrote:
> > Subject: Re: [meta-arago] [PATCHv2 04/11] 
> > ti-connectivity/wpa-supplicant-
> > wl18xx: Add Wilink8 r8.a7.02
> > 
> > Ping.
> 
> Thanks.  Based on the good feedback from Franklin/Chase, I'll rework the 
> includes a bit and resubmit.

Thanks, Roger!


> > On Thu, Oct 10, 2013 at 03:10:56PM +0000, Maupin, Chase wrote:
> > >
> > >
> > > >-----Original Message-----
> > > >From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> > > >bounces@arago-project.org] On Behalf Of Monk, Roger
> > > >Sent: Thursday, October 10, 2013 11:02 AM
> > > >To: meta-arago@arago-project.org
> > > >Subject: [meta-arago] [PATCHv2 04/11] ti-connectivity/wpa-
> > > >supplicant-wl18xx: Add Wilink8 r8.a7.02
> > > >
> > > >   * Add v r8.a7.02 engineering release wpa supplicant
> > > >   * This release supports the omap-a15 devices (omap5-evm/dra7-
> > > >evm) with ES 2.1 WL8
> > > >      * OMAP5432 UEVMs with the following SKU contain ES2.1
> > > >Wilink8 TDK 18xx module
> > > >      * OMAP5432x-xx-x1-xx
> > > >   * Bump PR
> > > >   * Replace defconfig with original wpa-supplicant defconfig
> > > >   * Add back SDK specific defconfig changes
> > > >   * Enable WFD (WiFi Display)
> > > >   * Revert some android patches which prevent WFD
> > > >
> > > >Signed-off-by: Roger Monk <r-monk@ti.com>
> > > >---
> > > > ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
> > > > .../defconfig                                      |  150
> > > >+++++++++++++++-----
> > > > ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   11 +-
> > > > 3 files changed, 166 insertions(+), 39 deletions(-)  create mode
> > > >100644 meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> > > >patches-to-enable-wfd.patch
> > > > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> > > >supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig
> > > >(74%)
> > > > mode change 100755 => 100644
> > > > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> > > >supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant- 
> > > >wl18xx_r8.a7.02.bb}
> > > >(78%)
> > > >
> > > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> > > >patches-to-enable-wfd.patch b/meta-arago-extras/recipes-
> > > >connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-
> > > >revert-android-patches-to-enable-wfd.patch
> > > >new file mode 100644
> > > >index 0000000..29528b4
> > > >--- /dev/null
> > > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-
> > > >wfd.patch
> > > >@@ -0,0 +1,44 @@
> > > >+
> > > >+diff -rupN a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
> > > >+--- a/src/common/wpa_ctrl.c	2013-09-02 16:46:22.708023057 +0100
> > > >++++ b/src/common/wpa_ctrl.c	2013-08-30 10:22:19.811255355 +0100
> > > >+@@ -164,6 +164,10 @@ try_again:
> > > >+ 		return NULL;
> > > >+ 	}
> > > >+
> > > >++#if 0
> > > >++//IH this code is introduced in recent supplicant that appears
> > > >to make RMD app calls to wpa_ctrl_recv() fail and
> > > >++// the supplicant fails to write to the same socket!!!
> > > >++// Temp fix to remove it, probably solution will be in app set
> > > >up/usage??
> > > >+ 	/*
> > > >+ 	 * Make socket non-blocking so that we don't hang forever if
> > > >+ 	 * target dies unexpectedly.
> > > >+@@ -176,7 +180,7 @@ try_again:
> > > >+ 			/* Not fatal, continue on.*/
> > > >+ 		}
> > > >+ 	}
> > > >+-
> > > >++#endif
> > > >+ 	return ctrl;
> > > >+ }
> > > >+
> > > >+diff -rupN a/wpa_supplicant/wpa_supplicant.c
> > > >b/wpa_supplicant/wpa_supplicant.c
> > > >+--- a/wpa_supplicant/wpa_supplicant.c	2013-09-04
> > > >16:57:26.000000000 +0100
> > > >++++ b/wpa_supplicant/wpa_supplicant.c	2013-09-04
> > > >17:02:02.256720695 +0100
> > > >+@@ -3025,13 +3025,15 @@ next_driver:
> > > >+ 	}
> > > >+
> > > >+ #ifdef CONFIG_P2P
> > > >++ #ifdef ANDROID
> > > >+ 	if (os_strncmp(iface->ifname, "wlan0", 4) == 0) {
> > > >+ 		wpa_printf(MSG_DEBUG, "Disable P2P on wlan0");
> > > >+ 		wpa_s->conf->p2p_disabled = 1;
> > > >+ 	}
> > > >+
> > > >+ 	if (os_strncmp(iface->ifname, "p2p0", 4) == 0)
> > > >+-		if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> > > >++#endif
> > > >++	    if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> > > >+ 			wpa_msg(wpa_s, MSG_ERROR, "Failed to init P2P");
> > > >+ 			return -1;
> > > >+ 		}
> > > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-r5.sp4.01/defconfig b/meta-arago-
> > > >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-
> > > >r8.a7.02/defconfig
> > > >old mode 100755
> > > >new mode 100644
> > > >similarity index 74%
> > > >copy from meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-r5.sp4.01/defconfig
> > > >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx-r8.a7.02/defconfig
> > > >index b982e2a..80d2f63
> > > >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-r5.sp4.01/defconfig
> > > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx-r8.a7.02/defconfig
> > > >@@ -39,18 +39,6 @@
> > > > #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 @@
> > > >-75,7 +63,7 @@ CONFIG_BGSCAN_LEARN=y  #CONFIG_DRIVER_ATMEL=y
> > > >
> > > > # Driver interface for old Broadcom driver -# Please note that the 
> > > >newer Broadcom driver ("hybrid Linux
> > > >driver") supportsBG
> > > >+# Please note that the newer Broadcom driver ("hybrid Linux
> > > >driver") supports
> > > > # 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
> > > >@@ -90,16 +78,22 @@ CONFIG_BGSCAN_LEARN=y
> > #CONFIG_DRIVER_RALINK=y
> > > >
> > > > # Driver interface for generic Linux wireless extensions
> > > >+# Note: WEXT is deprecated in the current Linux kernel version
> > > >and no new
> > > >+# functionality is added to it. nl80211-based interface is the
> > > >new
> > > >+# replacement for WEXT and its use allows wpa_supplicant to
> > > >properly control
> > > >+# the driver to improve existing functionality like roaming and
> > > >to support new
> > > >+# functionality.
> > > > CONFIG_DRIVER_WEXT=y
> > > >
> > > > # Driver interface for Linux drivers using the nl80211 kernel 
> > > >interface  CONFIG_DRIVER_NL80211=y
> > > >+CONFIG_LIBNL20=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_p += -L/usr/local/lib
> > > > #LIBS_c += -L/usr/local/lib
> > > >
> > > > # Driver interface for Windows NDIS @@ -121,11 +115,6 @@ 
> > > >CONFIG_DRIVER_NL80211=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
> > > >
> > > >@@ -177,6 +166,9 @@ CONFIG_EAP_OTP=y  # EAP-PSK (experimental; this 
> > > >is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y
> > > >
> > > >+# EAP-pwd (secure authentication using only a password) 
> > > >+#CONFIG_EAP_PWD=y
> > > >+
> > > > # EAP-PAX
> > > > #CONFIG_EAP_PAX=y
> > > >
> > > >@@ -208,6 +200,11 @@ CONFIG_EAP_LEAP=y  CONFIG_WPS=y  # Enable
> > WSC
> > > >2.0 support  CONFIG_WPS2=y
> > > >+# Enable WPS external registrar functionality #CONFIG_WPS_ER=y # 
> > > >+Disable credentials for an open network by default when acting
> > > >as a WPS
> > > >+# registrar.
> > > >+#CONFIG_WPS_REG_DISABLE_OPEN=y
> > > >
> > > > # EAP-IKEv2
> > > > #CONFIG_EAP_IKEV2=y
> > > >@@ -224,7 +221,10 @@ CONFIG_SMARTCARD=y  # Enable this if EAP-SIM
> > or
> > > >EAP-AKA is included  #CONFIG_PCSC=y
> > > >
> > > >-# Development testingBG
> > > >+# Support HT overrides (disable HT/HT40, mask MCS rates, etc.) 
> > > >+#CONFIG_HT_OVERRIDES=y
> > > >+
> > > >+# Development testing
> > > > #CONFIG_EAPOL_TEST=y
> > > >
> > > > # Select control interface backend for external programs, e.g,
> > > >wpa_cli:
> > > >@@ -242,6 +242,10 @@ CONFIG_CTRL_IFACE=y  # the resulting binary.
> > > > #CONFIG_READLINE=y
> > > >
> > > >+# Include internal line edit mode in wpa_cli. This can be used as
> > > >a replacement
> > > >+# for GNU Readline to provide limited command line editing and
> > > >history support.
> > > >+#CONFIG_WPA_CLI_EDIT=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% @@ -295,13 +299,16 @@ CONFIG_BACKEND=file  # unix
> > =
> > > >UNIX/POSIX like systems (default)  # win32 = Windows systems  # 
> > > >none = Empty template -#CONFIG_OS=unix
> > > >+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
> > > >+CONFIG_ELOOP=eloop
> > > >+
> > > >+# Should we use poll instead of select? Select is used by
> > > >default.
> > > >+#CONFIG_ELOOP_POLL=y
> > > >
> > > > # Select layer 2 packet implementation  # linux = Linux packet 
> > > >socket (default) @@ -310,7 +317,7 @@ CONFIG_BACKEND=file  # winpcap 
> > > >= WinPcap with receive thread  # ndis = Windows NDISUIO (note: 
> > > >requires
> > > >CONFIG_USE_NDISUIO=y)  # none = Empty template 
> > > >-#CONFIG_L2_PACKET=linux
> > > >+CONFIG_L2_PACKET=linux
> > > >
> > > > # PeerKey handshake for Station to Station Link (IEEE 802.11e
> > > >DLS)
> > > > CONFIG_PEERKEY=y
> > > >@@ -323,18 +330,24 @@ CONFIG_PEERKEY=y
> > > >
> > > > # Select TLS implementation
> > > > # openssl = OpenSSL (default)
> > > >-# gnutls = GnuTLS (needed for TLS/IA, see also
> > > >CONFIG_GNUTLS_EXTRA)
> > > >+# gnutls = GnuTLS
> > > > # 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
> > > >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> > > >of TLS (v1.1)
> > > >+# can be enabled to get a stronger construction of messages when
> > > >block ciphers
> > > >+# are used. It should be noted that some existing TLS v1.0 -based 
> > > >+# implementation may not be compatible with TLS v1.1 message
> > > >(ClientHello is
> > > >+# sent prior to negotiating which version will be used) 
> > > >+#CONFIG_TLSV11=y
> > > >+
> > > >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> > > >of TLS (v1.2)
> > > >+# can be enabled to enable use of stronger crypto algorithms. It
> > > >should be
> > > >+# noted that some existing TLS v1.0 -based implementation may not
> > > >be compatible
> > > >+# with TLS v1.2 message (ClientHello is sent prior to negotiating
> > > >which version
> > > >+# will be used)
> > > >+#CONFIG_TLSV12=y
> > > >
> > > > # If CONFIG_TLS=internal is used, additional library and include 
> > > >paths are  # needed for LibTomMath. Alternatively, an integrated, 
> > > >minimal version of @@ -396,6 +409,21 @@ 
> > > >CONFIG_CTRL_IFACE_DBUS_INTRO=y  # Add support for writing debug log 
> > > >to a file
> > > >(/tmp/wpa_supplicant-log-#.txt)
> > > > CONFIG_DEBUG_FILE=y
> > > >
> > > >+# Send debug messages to syslog instead of stdout 
> > > >+#CONFIG_DEBUG_SYSLOG=y # Set syslog facility for debug messages 
> > > >+#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
> > > >+
> > > >+# Add support for sending all debug messages (regardless of debug
> > > >verbosity)
> > > >+# to the Linux kernel tracing facility. This helps debug the
> > > >entire stack by
> > > >+# making it easy to record everything happening from the driver
> > > >up into the
> > > >+# same file, e.g., using trace-cmd.
> > > >+#CONFIG_DEBUG_LINUX_TRACING=y
> > > >+
> > > >+# Add support for writing debug log to Android logcat instead of
> > > >standard
> > > >+# output
> > > >+#CONFIG_ANDROID_LOG=y
> > > >+
> > > > # Enable privilege separation (see README 'Privilege separation'
> > > >for details)
> > > > #CONFIG_PRIVSEP=y
> > > >
> > > >@@ -407,7 +435,7 @@ CONFIG_DEBUG_FILE=y  # 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.
> > > >+# For BSD, uncomment these.
> > > > #LIBS += -lexecinfo
> > > > #LIBS_p += -lexecinfo
> > > > #LIBS_c += -lexecinfo
> > > >@@ -416,15 +444,65 @@ CONFIG_DEBUG_FILE=y  # 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.
> > > >+# For BSD, uncomment these.
> > > > #LIBS += -lbfd -liberty -lz
> > > > #LIBS_p += -lbfd -liberty -lz
> > > > #LIBS_c += -lbfd -liberty -lz
> > > >
> > > >-# for p2p
> > > >+# wpa_supplicant depends on strong random number generation being
> > > >available
> > > >+# from the operating system. os_get_random() function is used to
> > > >fetch random
> > > >+# data when needed, e.g., for key generation. On Linux and BSD
> > > >systems, this
> > > >+# works by reading /dev/urandom. It should be noted that the OS
> > > >entropy pool
> > > >+# needs to be properly initialized before wpa_supplicant is
> > > >started. This is
> > > >+# important especially on embedded devices that do not have a
> > > >hardware random
> > > >+# number generator and may by default start up with minimal
> > > >entropy available
> > > >+# for random number generation.
> > > >+#
> > > >+# As a safety net, wpa_supplicant is by default trying to
> > > >internally collect
> > > >+# additional entropy for generating random data to mix in with
> > > >the data fetched
> > > >+# from the OS. This by itself is not considered to be very
> > > >strong, but it may
> > > >+# help in cases where the system pool is not initialized
> > > >properly. However, it
> > > >+# is very strongly recommended that the system pool is
> > > >initialized with enough
> > > >+# entropy either by using hardware assisted random number
> > > >generator or by
> > > >+# storing state over device reboots.
> > > >+#
> > > >+# wpa_supplicant can be configured to maintain its own entropy
> > > >store over
> > > >+# restarts to enhance random number generation. This is not
> > > >perfect, but it is
> > > >+# much more secure than using the same sequence of random numbers
> > > >after every
> > > >+# reboot. This can be enabled with -e<entropy file> command line
> > > >option. The
> > > >+# specified file needs to be readable and writable by
> > > >wpa_supplicant.
> > > >+#
> > > >+# If the os_get_random() is known to provide strong random data
> > > >(e.g., on
> > > >+# Linux/BSD, the board in question is known to have reliable
> > > >source of random
> > > >+# data from /dev/urandom), the internal wpa_supplicant random
> > > >pool can be
> > > >+# disabled. This will save some in binary size and CPU use.
> > > >However, this
> > > >+# should only be considered for builds that are known to be used
> > > >on devices
> > > >+# that meet the requirements described above.
> > > >+#CONFIG_NO_RANDOM_POOL=y
> > > >+
> > > >+# IEEE 802.11n (High Throughput) support (mainly for AP mode) 
> > > >+CONFIG_IEEE80211N=y
> > > >+
> > > >+# Interworking (IEEE 802.11u)
> > > >+# This can be used to enable functionality to improve
> > > >interworking with
> > > >+# external networks (GAS/ANQP to learn more about the networks
> > > >and network
> > > >+# selection based on available credentials).
> > > >+#CONFIG_INTERWORKING=y
> > > >+
> > > >+# Hotspot 2.0
> > > >+#CONFIG_HS20=y
> > > >+
> > > >+# Disable roaming in wpa_supplicant #CONFIG_NO_ROAMING=y
> > > >+
> > > >+# Enable P2P
> > > > CONFIG_P2P=y
> > > > CONFIG_AP=y
> > > >
> > > >-# IEEE 802.11n (High Throughput) support -CONFIG_IEEE80211N=y
> > > >+# bgscan
> > > >+NEED_BGSCAN=y
> > > >+CONFIG_BGSCAN_LEARN=y
> > > >+CONFIG_BGSCAN_SIMPLE=y
> > > >
> > > >+# Enable WIFI Display
> > > >+CONFIG_WIFI_DISPLAY=y
> > > >\ No newline at end of file
> > > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb b/meta-arago-
> > > >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-
> > > >wl18xx_r8.a7.02.bb
> > > >similarity index 78%
> > > >copy from meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
> > > >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx_r8.a7.02.bb
> > > >index f6c4f70..0ea9ff5 100644
> > > >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx_r8.a6.01.bb
> > > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx_r8.a7.02.bb
> > > >@@ -10,9 +10,14 @@ LIC_FILES_CHKSUM = 
> > > >"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
> > > >
> > > > FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
> > > >
> > > >-# Tag: ol_r8.a6.01
> > > >-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
> > > >-PR = "r2+gitr${SRCPV}"
> > > >+COMPATIBLE_MACHINE = "(omap-a15)"
> > > >+
> > > >+# Tag: ol_r8.a7.02
> > > >+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
> > > >+PR = "r4+gitr${SRCPV}"
> > >
> > > Why not reset the PR?  Is there no corresponding PV bump for this release?
> > >
> > > >+
> > > >+SRC_URI += "file://0001-revert-android-patches-to-enable-
> > > >wfd.patch;patchdir=.. \
> > > >+"
> > > >
> > > > # Add ti to the PV to indicate that this is a TI modify version of 
> > > >wpa-supplicant.
> > > > PV = "2.0-devel-ti"
> > > >--
> > > >1.7.9.5
> > > >
> > > >_______________________________________________
> > > >meta-arago mailing list
> > > >meta-arago@arago-project.org
> > > >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> 


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

* Re: [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02
  2013-10-18 13:47       ` Monk, Roger
  2013-10-18 16:30         ` Denys Dmytriyenko
@ 2013-11-12  6:41         ` Denys Dmytriyenko
  1 sibling, 0 replies; 29+ messages in thread
From: Denys Dmytriyenko @ 2013-11-12  6:41 UTC (permalink / raw)
  To: Monk, Roger; +Cc: meta-arago

On Fri, Oct 18, 2013 at 01:47:01PM +0000, Monk, Roger wrote:
> On Thu, Oct 17, 2013 at 23:32:56, Dmytriyenko, Denys wrote:
> > Subject: Re: [meta-arago] [PATCHv2 04/11] 
> > ti-connectivity/wpa-supplicant-
> > wl18xx: Add Wilink8 r8.a7.02
> > 
> > Ping.
> 
> Thanks.  Based on the good feedback from Franklin/Chase, I'll rework the includes a bit and resubmit.  

Roger,

Ping on this one. Thanks.


> > On Thu, Oct 10, 2013 at 03:10:56PM +0000, Maupin, Chase wrote:
> > >
> > >
> > > >-----Original Message-----
> > > >From: meta-arago-bounces@arago-project.org [mailto:meta-arago- 
> > > >bounces@arago-project.org] On Behalf Of Monk, Roger
> > > >Sent: Thursday, October 10, 2013 11:02 AM
> > > >To: meta-arago@arago-project.org
> > > >Subject: [meta-arago] [PATCHv2 04/11] ti-connectivity/wpa-
> > > >supplicant-wl18xx: Add Wilink8 r8.a7.02
> > > >
> > > >   * Add v r8.a7.02 engineering release wpa supplicant
> > > >   * This release supports the omap-a15 devices (omap5-evm/dra7-
> > > >evm) with ES 2.1 WL8
> > > >      * OMAP5432 UEVMs with the following SKU contain ES2.1
> > > >Wilink8 TDK 18xx module
> > > >      * OMAP5432x-xx-x1-xx
> > > >   * Bump PR
> > > >   * Replace defconfig with original wpa-supplicant defconfig
> > > >   * Add back SDK specific defconfig changes
> > > >   * Enable WFD (WiFi Display)
> > > >   * Revert some android patches which prevent WFD
> > > >
> > > >Signed-off-by: Roger Monk <r-monk@ti.com>
> > > >---
> > > > ...0001-revert-android-patches-to-enable-wfd.patch |   44 ++++++
> > > > .../defconfig                                      |  150
> > > >+++++++++++++++-----
> > > > ....a6.01.bb => wpa-supplicant-wl18xx_r8.a7.02.bb} |   11 +-
> > > > 3 files changed, 166 insertions(+), 39 deletions(-)  create mode
> > > >100644 meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> > > >patches-to-enable-wfd.patch
> > > > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> > > >supplicant-r5.sp4.01 => wpa-supplicant-wl18xx-r8.a7.02}/defconfig
> > > >(74%)
> > > > mode change 100755 => 100644
> > > > copy meta-arago-extras/recipes-connectivity/wpa-supplicant/{wpa-
> > > >supplicant-wl18xx_r8.a6.01.bb => wpa-supplicant- 
> > > >wl18xx_r8.a7.02.bb}
> > > >(78%)
> > > >
> > > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-revert-android-
> > > >patches-to-enable-wfd.patch b/meta-arago-extras/recipes-
> > > >connectivity/wpa-supplicant/wpa-supplicant-wl18xx-r8.a7.02/0001-
> > > >revert-android-patches-to-enable-wfd.patch
> > > >new file mode 100644
> > > >index 0000000..29528b4
> > > >--- /dev/null
> > > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx-r8.a7.02/0001-revert-android-patches-to-enable-
> > > >wfd.patch
> > > >@@ -0,0 +1,44 @@
> > > >+
> > > >+diff -rupN a/src/common/wpa_ctrl.c b/src/common/wpa_ctrl.c
> > > >+--- a/src/common/wpa_ctrl.c	2013-09-02 16:46:22.708023057 +0100
> > > >++++ b/src/common/wpa_ctrl.c	2013-08-30 10:22:19.811255355 +0100
> > > >+@@ -164,6 +164,10 @@ try_again:
> > > >+ 		return NULL;
> > > >+ 	}
> > > >+
> > > >++#if 0
> > > >++//IH this code is introduced in recent supplicant that appears
> > > >to make RMD app calls to wpa_ctrl_recv() fail and
> > > >++// the supplicant fails to write to the same socket!!!
> > > >++// Temp fix to remove it, probably solution will be in app set
> > > >up/usage??
> > > >+ 	/*
> > > >+ 	 * Make socket non-blocking so that we don't hang forever if
> > > >+ 	 * target dies unexpectedly.
> > > >+@@ -176,7 +180,7 @@ try_again:
> > > >+ 			/* Not fatal, continue on.*/
> > > >+ 		}
> > > >+ 	}
> > > >+-
> > > >++#endif
> > > >+ 	return ctrl;
> > > >+ }
> > > >+
> > > >+diff -rupN a/wpa_supplicant/wpa_supplicant.c
> > > >b/wpa_supplicant/wpa_supplicant.c
> > > >+--- a/wpa_supplicant/wpa_supplicant.c	2013-09-04
> > > >16:57:26.000000000 +0100
> > > >++++ b/wpa_supplicant/wpa_supplicant.c	2013-09-04
> > > >17:02:02.256720695 +0100
> > > >+@@ -3025,13 +3025,15 @@ next_driver:
> > > >+ 	}
> > > >+
> > > >+ #ifdef CONFIG_P2P
> > > >++ #ifdef ANDROID
> > > >+ 	if (os_strncmp(iface->ifname, "wlan0", 4) == 0) {
> > > >+ 		wpa_printf(MSG_DEBUG, "Disable P2P on wlan0");
> > > >+ 		wpa_s->conf->p2p_disabled = 1;
> > > >+ 	}
> > > >+
> > > >+ 	if (os_strncmp(iface->ifname, "p2p0", 4) == 0)
> > > >+-		if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> > > >++#endif
> > > >++	    if (wpas_p2p_init(wpa_s->global, wpa_s) < 0) {
> > > >+ 			wpa_msg(wpa_s, MSG_ERROR, "Failed to init P2P");
> > > >+ 			return -1;
> > > >+ 		}
> > > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-r5.sp4.01/defconfig b/meta-arago-
> > > >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-wl18xx-
> > > >r8.a7.02/defconfig
> > > >old mode 100755
> > > >new mode 100644
> > > >similarity index 74%
> > > >copy from meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-r5.sp4.01/defconfig
> > > >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx-r8.a7.02/defconfig
> > > >index b982e2a..80d2f63
> > > >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-r5.sp4.01/defconfig
> > > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx-r8.a7.02/defconfig
> > > >@@ -39,18 +39,6 @@
> > > > #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 @@
> > > >-75,7 +63,7 @@ CONFIG_BGSCAN_LEARN=y  #CONFIG_DRIVER_ATMEL=y
> > > >
> > > > # Driver interface for old Broadcom driver -# Please note that the 
> > > >newer Broadcom driver ("hybrid Linux
> > > >driver") supportsBG
> > > >+# Please note that the newer Broadcom driver ("hybrid Linux
> > > >driver") supports
> > > > # 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
> > > >@@ -90,16 +78,22 @@ CONFIG_BGSCAN_LEARN=y
> > #CONFIG_DRIVER_RALINK=y
> > > >
> > > > # Driver interface for generic Linux wireless extensions
> > > >+# Note: WEXT is deprecated in the current Linux kernel version
> > > >and no new
> > > >+# functionality is added to it. nl80211-based interface is the
> > > >new
> > > >+# replacement for WEXT and its use allows wpa_supplicant to
> > > >properly control
> > > >+# the driver to improve existing functionality like roaming and
> > > >to support new
> > > >+# functionality.
> > > > CONFIG_DRIVER_WEXT=y
> > > >
> > > > # Driver interface for Linux drivers using the nl80211 kernel 
> > > >interface  CONFIG_DRIVER_NL80211=y
> > > >+CONFIG_LIBNL20=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_p += -L/usr/local/lib
> > > > #LIBS_c += -L/usr/local/lib
> > > >
> > > > # Driver interface for Windows NDIS @@ -121,11 +115,6 @@ 
> > > >CONFIG_DRIVER_NL80211=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
> > > >
> > > >@@ -177,6 +166,9 @@ CONFIG_EAP_OTP=y  # EAP-PSK (experimental; this 
> > > >is _not_ needed for WPA-PSK) #CONFIG_EAP_PSK=y
> > > >
> > > >+# EAP-pwd (secure authentication using only a password) 
> > > >+#CONFIG_EAP_PWD=y
> > > >+
> > > > # EAP-PAX
> > > > #CONFIG_EAP_PAX=y
> > > >
> > > >@@ -208,6 +200,11 @@ CONFIG_EAP_LEAP=y  CONFIG_WPS=y  # Enable
> > WSC
> > > >2.0 support  CONFIG_WPS2=y
> > > >+# Enable WPS external registrar functionality #CONFIG_WPS_ER=y # 
> > > >+Disable credentials for an open network by default when acting
> > > >as a WPS
> > > >+# registrar.
> > > >+#CONFIG_WPS_REG_DISABLE_OPEN=y
> > > >
> > > > # EAP-IKEv2
> > > > #CONFIG_EAP_IKEV2=y
> > > >@@ -224,7 +221,10 @@ CONFIG_SMARTCARD=y  # Enable this if EAP-SIM
> > or
> > > >EAP-AKA is included  #CONFIG_PCSC=y
> > > >
> > > >-# Development testingBG
> > > >+# Support HT overrides (disable HT/HT40, mask MCS rates, etc.) 
> > > >+#CONFIG_HT_OVERRIDES=y
> > > >+
> > > >+# Development testing
> > > > #CONFIG_EAPOL_TEST=y
> > > >
> > > > # Select control interface backend for external programs, e.g,
> > > >wpa_cli:
> > > >@@ -242,6 +242,10 @@ CONFIG_CTRL_IFACE=y  # the resulting binary.
> > > > #CONFIG_READLINE=y
> > > >
> > > >+# Include internal line edit mode in wpa_cli. This can be used as
> > > >a replacement
> > > >+# for GNU Readline to provide limited command line editing and
> > > >history support.
> > > >+#CONFIG_WPA_CLI_EDIT=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% @@ -295,13 +299,16 @@ CONFIG_BACKEND=file  # unix
> > =
> > > >UNIX/POSIX like systems (default)  # win32 = Windows systems  # 
> > > >none = Empty template -#CONFIG_OS=unix
> > > >+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
> > > >+CONFIG_ELOOP=eloop
> > > >+
> > > >+# Should we use poll instead of select? Select is used by
> > > >default.
> > > >+#CONFIG_ELOOP_POLL=y
> > > >
> > > > # Select layer 2 packet implementation  # linux = Linux packet 
> > > >socket (default) @@ -310,7 +317,7 @@ CONFIG_BACKEND=file  # winpcap 
> > > >= WinPcap with receive thread  # ndis = Windows NDISUIO (note: 
> > > >requires
> > > >CONFIG_USE_NDISUIO=y)  # none = Empty template 
> > > >-#CONFIG_L2_PACKET=linux
> > > >+CONFIG_L2_PACKET=linux
> > > >
> > > > # PeerKey handshake for Station to Station Link (IEEE 802.11e
> > > >DLS)
> > > > CONFIG_PEERKEY=y
> > > >@@ -323,18 +330,24 @@ CONFIG_PEERKEY=y
> > > >
> > > > # Select TLS implementation
> > > > # openssl = OpenSSL (default)
> > > >-# gnutls = GnuTLS (needed for TLS/IA, see also
> > > >CONFIG_GNUTLS_EXTRA)
> > > >+# gnutls = GnuTLS
> > > > # 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
> > > >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> > > >of TLS (v1.1)
> > > >+# can be enabled to get a stronger construction of messages when
> > > >block ciphers
> > > >+# are used. It should be noted that some existing TLS v1.0 -based 
> > > >+# implementation may not be compatible with TLS v1.1 message
> > > >(ClientHello is
> > > >+# sent prior to negotiating which version will be used) 
> > > >+#CONFIG_TLSV11=y
> > > >+
> > > >+# TLS-based EAP methods require at least TLS v1.0. Newer version
> > > >of TLS (v1.2)
> > > >+# can be enabled to enable use of stronger crypto algorithms. It
> > > >should be
> > > >+# noted that some existing TLS v1.0 -based implementation may not
> > > >be compatible
> > > >+# with TLS v1.2 message (ClientHello is sent prior to negotiating
> > > >which version
> > > >+# will be used)
> > > >+#CONFIG_TLSV12=y
> > > >
> > > > # If CONFIG_TLS=internal is used, additional library and include 
> > > >paths are  # needed for LibTomMath. Alternatively, an integrated, 
> > > >minimal version of @@ -396,6 +409,21 @@ 
> > > >CONFIG_CTRL_IFACE_DBUS_INTRO=y  # Add support for writing debug log 
> > > >to a file
> > > >(/tmp/wpa_supplicant-log-#.txt)
> > > > CONFIG_DEBUG_FILE=y
> > > >
> > > >+# Send debug messages to syslog instead of stdout 
> > > >+#CONFIG_DEBUG_SYSLOG=y # Set syslog facility for debug messages 
> > > >+#CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
> > > >+
> > > >+# Add support for sending all debug messages (regardless of debug
> > > >verbosity)
> > > >+# to the Linux kernel tracing facility. This helps debug the
> > > >entire stack by
> > > >+# making it easy to record everything happening from the driver
> > > >up into the
> > > >+# same file, e.g., using trace-cmd.
> > > >+#CONFIG_DEBUG_LINUX_TRACING=y
> > > >+
> > > >+# Add support for writing debug log to Android logcat instead of
> > > >standard
> > > >+# output
> > > >+#CONFIG_ANDROID_LOG=y
> > > >+
> > > > # Enable privilege separation (see README 'Privilege separation'
> > > >for details)
> > > > #CONFIG_PRIVSEP=y
> > > >
> > > >@@ -407,7 +435,7 @@ CONFIG_DEBUG_FILE=y  # 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.
> > > >+# For BSD, uncomment these.
> > > > #LIBS += -lexecinfo
> > > > #LIBS_p += -lexecinfo
> > > > #LIBS_c += -lexecinfo
> > > >@@ -416,15 +444,65 @@ CONFIG_DEBUG_FILE=y  # 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.
> > > >+# For BSD, uncomment these.
> > > > #LIBS += -lbfd -liberty -lz
> > > > #LIBS_p += -lbfd -liberty -lz
> > > > #LIBS_c += -lbfd -liberty -lz
> > > >
> > > >-# for p2p
> > > >+# wpa_supplicant depends on strong random number generation being
> > > >available
> > > >+# from the operating system. os_get_random() function is used to
> > > >fetch random
> > > >+# data when needed, e.g., for key generation. On Linux and BSD
> > > >systems, this
> > > >+# works by reading /dev/urandom. It should be noted that the OS
> > > >entropy pool
> > > >+# needs to be properly initialized before wpa_supplicant is
> > > >started. This is
> > > >+# important especially on embedded devices that do not have a
> > > >hardware random
> > > >+# number generator and may by default start up with minimal
> > > >entropy available
> > > >+# for random number generation.
> > > >+#
> > > >+# As a safety net, wpa_supplicant is by default trying to
> > > >internally collect
> > > >+# additional entropy for generating random data to mix in with
> > > >the data fetched
> > > >+# from the OS. This by itself is not considered to be very
> > > >strong, but it may
> > > >+# help in cases where the system pool is not initialized
> > > >properly. However, it
> > > >+# is very strongly recommended that the system pool is
> > > >initialized with enough
> > > >+# entropy either by using hardware assisted random number
> > > >generator or by
> > > >+# storing state over device reboots.
> > > >+#
> > > >+# wpa_supplicant can be configured to maintain its own entropy
> > > >store over
> > > >+# restarts to enhance random number generation. This is not
> > > >perfect, but it is
> > > >+# much more secure than using the same sequence of random numbers
> > > >after every
> > > >+# reboot. This can be enabled with -e<entropy file> command line
> > > >option. The
> > > >+# specified file needs to be readable and writable by
> > > >wpa_supplicant.
> > > >+#
> > > >+# If the os_get_random() is known to provide strong random data
> > > >(e.g., on
> > > >+# Linux/BSD, the board in question is known to have reliable
> > > >source of random
> > > >+# data from /dev/urandom), the internal wpa_supplicant random
> > > >pool can be
> > > >+# disabled. This will save some in binary size and CPU use.
> > > >However, this
> > > >+# should only be considered for builds that are known to be used
> > > >on devices
> > > >+# that meet the requirements described above.
> > > >+#CONFIG_NO_RANDOM_POOL=y
> > > >+
> > > >+# IEEE 802.11n (High Throughput) support (mainly for AP mode) 
> > > >+CONFIG_IEEE80211N=y
> > > >+
> > > >+# Interworking (IEEE 802.11u)
> > > >+# This can be used to enable functionality to improve
> > > >interworking with
> > > >+# external networks (GAS/ANQP to learn more about the networks
> > > >and network
> > > >+# selection based on available credentials).
> > > >+#CONFIG_INTERWORKING=y
> > > >+
> > > >+# Hotspot 2.0
> > > >+#CONFIG_HS20=y
> > > >+
> > > >+# Disable roaming in wpa_supplicant #CONFIG_NO_ROAMING=y
> > > >+
> > > >+# Enable P2P
> > > > CONFIG_P2P=y
> > > > CONFIG_AP=y
> > > >
> > > >-# IEEE 802.11n (High Throughput) support -CONFIG_IEEE80211N=y
> > > >+# bgscan
> > > >+NEED_BGSCAN=y
> > > >+CONFIG_BGSCAN_LEARN=y
> > > >+CONFIG_BGSCAN_SIMPLE=y
> > > >
> > > >+# Enable WIFI Display
> > > >+CONFIG_WIFI_DISPLAY=y
> > > >\ No newline at end of file
> > > >diff --git a/meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb b/meta-arago-
> > > >extras/recipes-connectivity/wpa-supplicant/wpa-supplicant-
> > > >wl18xx_r8.a7.02.bb
> > > >similarity index 78%
> > > >copy from meta-arago-extras/recipes-connectivity/wpa-
> > > >supplicant/wpa-supplicant-wl18xx_r8.a6.01.bb
> > > >copy to meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx_r8.a7.02.bb
> > > >index f6c4f70..0ea9ff5 100644
> > > >--- a/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx_r8.a6.01.bb
> > > >+++ b/meta-arago-extras/recipes-connectivity/wpa-supplicant/wpa-
> > > >supplicant-wl18xx_r8.a7.02.bb
> > > >@@ -10,9 +10,14 @@ LIC_FILES_CHKSUM = 
> > > >"file://../COPYING;md5=ab87f20cd7e8c0d0a6539b34d3791d0e \
> > > >
> > > > FILESEXTRAPATHS_append := "${THISDIR}/wpa-supplicant:"
> > > >
> > > >-# Tag: ol_r8.a6.01
> > > >-SRCREV = "7190ff7dbd43243290b626068ded0d61c5019050"
> > > >-PR = "r2+gitr${SRCPV}"
> > > >+COMPATIBLE_MACHINE = "(omap-a15)"
> > > >+
> > > >+# Tag: ol_r8.a7.02
> > > >+SRCREV = "4dda294a5186f3efb437ae0898a6df71655843ef"
> > > >+PR = "r4+gitr${SRCPV}"
> > >
> > > Why not reset the PR?  Is there no corresponding PV bump for this release?
> > >
> > > >+
> > > >+SRC_URI += "file://0001-revert-android-patches-to-enable-
> > > >wfd.patch;patchdir=.. \
> > > >+"
> > > >
> > > > # Add ti to the PV to indicate that this is a TI modify version of 
> > > >wpa-supplicant.
> > > > PV = "2.0-devel-ti"
> > > >--
> > > >1.7.9.5
> > > >
> > > >_______________________________________________
> > > >meta-arago mailing list
> > > >meta-arago@arago-project.org
> > > >http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> > > _______________________________________________
> > > meta-arago mailing list
> > > meta-arago@arago-project.org
> > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> 


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

end of thread, other threads:[~2013-11-12  6:41 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10 16:02 [PATCHv2 00/11] meta-arago-extras - Add wilink8 r8.a7.02 Roger Monk
2013-10-10 16:02 ` [PATCHv2 01/11] ti-connectivity/ti-compat-wireless-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
2013-10-10 15:07   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 02/11] ti-connectivity/wl18xx-firmware: " Roger Monk
2013-10-10 15:07   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 03/11] ti-connectivity/wl18xx-firmware: Apply Workaround PD Recovery Fix Roger Monk
2013-10-10 15:09   ` Maupin, Chase
2013-10-10 15:11     ` Monk, Roger
2013-10-10 15:46       ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 04/11] ti-connectivity/wpa-supplicant-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
2013-10-10 15:10   ` Maupin, Chase
2013-10-17 22:32     ` Denys Dmytriyenko
2013-10-18 13:47       ` Monk, Roger
2013-10-18 16:30         ` Denys Dmytriyenko
2013-11-12  6:41         ` Denys Dmytriyenko
2013-10-10 16:02 ` [PATCHv2 05/11] ti-connectivity/wpa-supplicant-wl18xx: Ensure version'd patch applied first Roger Monk
2013-10-10 15:40   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 06/11] ti-connectivity/hostap-daemon-wl18xx: Add Wilink8 r8.a7.02 Roger Monk
2013-10-10 15:42   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 07/11] ti-connectivity/hostap-daemon-wl18xx: Ensure version'd patch applied first Roger Monk
2013-10-10 15:42   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 08/11] ti-connectivity/wlconf: Add Wilink8 r8.a7.02 Roger Monk
2013-10-10 15:43   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 09/11] ti-connectivity/ti-wifi-utils-wl18xx: " Roger Monk
2013-10-10 15:43   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 10/11] ti-connectivity/bt-firmware: Update to latest BT Firmware + allow more targets Roger Monk
2013-10-10 15:45   ` Maupin, Chase
2013-10-10 16:02 ` [PATCHv2 11/11] ti-connectivity/uim: Add Usermode Init Mgr for TI Wilink Shared Transport Roger Monk
2013-10-10 15:46   ` Maupin, Chase

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.