ti_wpan: build wpan only if device requires it

to enable set BOARD_WPAN_DEVICE := true
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/hardware/ti/wpan into HEAD
wpan: Adds vendor library for TI's WiLink chipsets

This patch adds minimalalistic vendor library for news
introduced Broadcom stack in Android JellyBean MR1 update.

Change-Id: Ic0b3a9470cba63b40d417bc259ef2cb276a92cf3
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
libbt-vendor: rework structure of source code

Before complete implementation rework basic structure of code:
  - split actions to related functions
  - implement constants
  - remove useless log message
There aren't changes in logic.

Change-Id: I9cfa0782f78839f94085ab7d1b561925f34b5765
Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com>
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1

Conflicts:
	bluedroid_wilink/Android.mk
	bluedroid_wilink/libbt-vendor-ti.c

Change-Id: Ib0fa494c179386d778e46ed988f6055f3e5ee1e7
Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0
Clean up makefiles

Change-Id: I76f1909565905e1c07f44c1660d24d806f94c95e
wpan: fix build issues

- Remove refernce to non existent files in ti-wpan-products.mk
- Include wpan components only for TI builds

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Id731c538f814ff9ab296c0bae19deaf58ed03b7e
wpan: Enable flag check for FM app

Some devices need to provide a modified version of the FM app

Change-Id: Ie7aeefc63ba9e81f1027fb33b2b28678880d36ab
FM: Fix makefile logic

Change-Id: If9ebed7d36a3655f3ef3e7a0ad8a3d23149789f8
New call-in/-back functions for Controller to do vendor-specific shutdown

A pair of asynchronous call-in and call-back API are added into the Host
Controller Vendor Lib interface (bt_vendor_lib.h). The caller calls this new
call-in function to inform the vendor module to perform vendor-specific
shutdown process. vendor module is responsible for calling call-back function
to notify the caller completion of vendor-specific shutdown process.

Since we don't have any shutdown process, call call-back directly

Change-Id: I30769b0518d9199fb5fe9fef550d2f21b20e7b2e
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
uim: remove local copy of struct termios2

struct termios2 is now defined in bionic/libc, so redefining
it here breaks the build.

Change-Id: I428f6b984eb39718a2c49d53640648cf5645fb82
Revert "uim: remove local copy of struct termios2"

This reverts commit 817994bf64a869ab68ee1c0408f18dcd9c9af6e4.

Change-Id: I9a899b2f92aa2eb02603686a39e71deed834fa3f
uim-sysfs: fix build break for lollipop

Fix some redefinitions that were causing build breaks

Change-Id: I8321d065194753bdc00721799f9b6ffca22377cb
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>