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
Fix compile error with FORTIFY_SOURCE

You're gonna have a bad day if you attempt to read 3 bytes
into 1 byte.

(cherry picked from commit b4f59474493a0793375e723edbd0d29e55a8c581)

Change-Id: I6beea5631f30f4aa04ebbed10207f399187bf218
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