Kfmapp: Enhance the RDS parsing

This patch parses the below mentioned RDS features
1) Traffic Message Channel (TMC), Traffic Announcment (TA) and
Traffic Program Identification (TP).
	This patch just decodes the Single Group TMC data but since
	unavailability of TMC location table we are not able to print
	out the exact name of the street instead we are printing the
	actual HEX value recieved from the station.
2) Program Identification and Extended Country Code (PI und ECC)
3) Decoder Identification (DI)
4) Music/Speech
5) Program Item Number (PIN)
6) Program Type Name (PTYN)
7) Enhanced Other Networks Information (EON)
8) EWS - Emergency Warning System

Also this patch Fixes the bug (kfmapp doesn't respond when RDS started).

Change-Id: I0893f6c653cc0aa79f34b068a812b7742e9f5875
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
wpan: remove fw installation rules

firmware files archive and their installation rules all now reside in the
device/ti/proprietary-open project.
The installation rule here used to install the firmware files untar-red at
location proprietary-open previously.

ti-wpan-fw rule which untars and also installs the firmware from
device/ti/proprietary-open is now added to product packages from this generic
place, this will cater all omap4/5 based boards with connectivity chipsets.

Change-Id: Id14c506f0d5f67e8d6c075cf36a55f15b5f2d521
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
FM GUI: Add tuner type field before calling S_FREQ ioctl

Because of changes in V4L2 framework in K3.4, ioctl
VIDEOC_S_FREQUENCY first checks for type field before
calling driver handler, so this patch fills the type
field before calling ioctl.

Change-Id: I3712707d582622ed3841fc892f79f947ed0bc032
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
ti-wpan-products.mk: Adding nfc firmware entry

Adding entry for NFC firmware in the ti-wpan-products
and alson adding the product packages required
for NFC

Change-Id: I9b2fb3635306d1ef11a875231e2a4e2d0c63e6bf
Signed-off-by: bvijay <bvijay@ti.com>
blueti: Add rule to copy main.conf

Change-Id: I9411cd08493f844ded632cd0214ed51137b7f908
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
Adding bluetooth-compat from blueti-1.2.3.7

The drivers are already selected from the config.mk.

To build,
	$ export ARCH=arm
	$ export CROSS_COMPILE=/path/to/android/CC/bin/
	$ export KLIB_BUILD=/path/to/android/kernel/
	$ make

This should build the bluetooth sub-system and drivers, provided they are
selected to be built as modules in the KLIB_BUILD.

The following is generated by bluetooth-next at,
    VERSION = 3
    PATCHLEVEL = 3
    SUBLEVEL = 0
    EXTRAVERSION = -rc6
    NAME = Saber-toothed Squirrel

The git log --grep="blueti" has these in it,

    1565cce blueti: bug-fix: hfp1.6 Enhanced Accept Sync Request fix
    2a60062 blueti: Add Passkey Notification handling.
    deaf49d blueti: Fix missing peer device disconnect event
    56a601a blueti: bug-fix: hfp1.6 change the Input/output bandwith value
    6fa7177 blueti: Fix LE Pairing
    3a16d82 blueti: bug-fix: hci Device search and inc. conn. collision fix
    ad6339d blueti: Fix kernel crash when rfcomm disconnects.
    2b545ee blueti: Fix ACL Disconnect timeout
    8851aa7 blueti: hfp1.6: handling removed LE support
    86e2e29 blueti: Fix bug MCS00112276- After enabling discoverable it's
    impossible to disable it.
    02119cb blueti: hfp1.6: handling removed LE support
    d7befb1 blueti: Add channel refcnt DBG prints
    3dab756 blueti: Fix double l2cap chan release
    77a5594 blueti: Fix BUG MCS00108765, transaction with BT 2.0 devices fail with
    high security
    bd9cfec blueti: hfp1.6: printing of 'coding_format' added
    01f5137 blueti: hfp1.6: New SCO option SCO_CODING_FORMAT

In addition the TI-compat.patch is applied on top to bluetooth-next to adopt
it to Android.

Change-Id: I199aa1128ace9b3311d026598f817600ba9b969f
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Merge "Adding bluetooth-compat from blueti-1.2.3.7" into d-jb-release
BT_GUI_APP: Adding intent to pause music when disconnected

While music is routed to SCO and the device is disconnected,
an intent needs to be broadcast such that the music is paused

This makes the use-case consistant with other devices
i.e. A2DP, headset, USB, HDMI

Change-Id: I4310944a1a067fee6b61238f0528ab12e67cec71
Signed-off-by: Priyesh Bisla <a0271372@ti.com>
[bluetooth-compat]Disabling debug logs

Disabling debug logs as lot of l2cap logs are seen

Change-Id: I15ece4519cb4ace0b73a88e82d02d58d4f66a52b
Signed-off-by: Shitiz Kumar <shitiz_kumar@ti.com>
FmService: Adding handling of audio focus

Requesting of audio focus allows to stop music playback
from other sources (like music players).
Also listening to audio focus changes allows to mute radio
if other player became active.

Change-Id: I159f0b4fc6ad8f544822587bf42fd5c8b56da94b
Signed-off-by: Ruslan Shymkevych <x0153342@ti.com>
blueti: Fix rfcomm/core.c patch

Add missing states and missing timer handling in rfcomm/core.c

Taken from blueti commit: c476a107e9eb80c41bddcdea4a18ddbe771d468c

Change-Id: I2052babc2e675e5eacdcc7d19bb032c3ec56305d
Signed-off-by: Shitiz Kumar <shitiz_kumar@ti.com>
blueti:Add BlueZ DUN plugin in build

dun.conf and dun plugin in build

Change-Id: Ie11b203b2d4633382adcf44be7908614b111524c
Signed-off-by: Shitiz Kumar <shitiz_kumar@ti.com>
Merge "BT_GUI_APP: Adding intent to pause music when disconnected" into d-jb-release
bt_sco_app: CLI utitlity for sco connection

Modified the bt_sco_app CLI for WBS support also with blueti.
The bt_sco_app configures Wilink chip for PCM mode or I2S mode and
then establishes SCO connection.

Change-Id: I090641b6ffe0b6da2baa42ac7fb50c9e981e42c7
Signed-off-by: Shitiz Kumar <shitiz_kumar@ti.com>
Merge "blueti: Fix rfcomm/core.c patch" into d-jb-release
Merge changes I090641b6,Ie11b203b into d-jb-release

* changes:
  bt_sco_app: CLI utitlity for sco connection
  blueti:Add BlueZ DUN plugin in build
FmService: Adding handling of audio focus

Requesting of audio focus allows to stop music playback
from other sources (like music players).
Also listening to audio focus changes allows to mute radio
if other player became active.

Change-Id: I94518fe3142374af8f0005392288563b98a3a3c8
Signed-off-by: Manjunatha Halli <x0130808@ti.com>
Signed-off-by: Ruslan Shymkevych <x0153342@ti.com>
Merge d-jb-release into d-jb-mr0-release
blueti: don't build compat-3.4

Building compat-3.4 along with WLAN caused an incompatability issue when
working with WLAN's compat module.
WLAN and BT compat module disagreed upon version of simple_open and
__pskb_copy as follows,

On kernel 3.0,
With BT compat.ko, mac80211.ko fails to load
[    7.321990] mac80211: disagrees about version of symbol simple_open
[    7.328765] mac80211: Unknown symbol simple_open (err -22)

With WLAN compat.ko, bluetoth.ko fails to load
[    6.562988] bluetooth: disagrees about version of symbol __pskb_copy
[    6.570007] bluetooth: Unknown symbol __pskb_copy (err -22)

Fix this by removing simple_open API from comapt-3.4 defenition.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Merge d-jb-release into d-jb-mr0-release