libion: JB migration

Reconcile the usespace libion library with kernel.
This change requires kernel ion headers to be updated:
  http://review.omapzoom.org/18390        kernel/omap
  https://android.dal.design.ti.com/7121  bionic

Change-Id: I502215d66f98439673a159661f4177989121a952
Signed-off-by: Daniel Levin <dendy@ti.com>
Merge motorola code

from spyder 6.16.211
Grant sdcard_r to ril-daemon.

Bug: 6793799
Change-Id: Ife23c98c30d7b08479d75798c7075005bf281119
init: support udev events from CRDA

correctly parse the COUNTRY env variable and pass it to the crda daemon
when a CRDA related messages is received

Change-Id: Ibb64c72d383cf4487f68b47b1502d31897987d27
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
merge in jb-mr0-release history after reset to jb-dev
FM Tx: Defined FM Tx definition in Android framework.

FM Tx output device defined in Android framework.
Ported from ICS Ic81943 patch

Change-Id: Ifa17b2930ce064f553cf2816e825281ae269b477
Signed-off-by: Sergii Iegorov <x0155539@ti.com>
Merge branch 'jellybean' of git://github.com/CyanogenMod/android_system_core into jellybean
libnl_2: compile as shared library as well

Change-Id: Ib9471ef3f678946661fea250eaffdea4c4c8c2d8
Increase the max values of TCP r/w buffers

Add max value for LTE, HSPA, HSDPA, HSUPA,
EVDO rev B.
Assign TCP buffer thresholds

Change-Id: Ib1de2e9af8aa14d4957322c190c45faf46aa8e30
CRs-Fixed: 284056, 296613, 260740
core: Add API to retrieve mtu size

Adding an API to libnetutils to retrieve mtu size of an interface
Made few utility functions from ifc_utils public

Change-Id: Iddec2dcd9f241b146d7f362e2df0724cf740d1f2
(cherry picked from commit 108cded7d96cc347f36b5b78c404c5ebccce13d7)
Do not add default route during ifc_configure

Avoid duplicate default routes.
Remove adding of default routes during interface configuration as
route add/remove operation is managed by ConnectivityService via netd.

Change-Id: Ia5b47ed68fac71b444c51d9fa8ee7132bfb851c2
(cherry picked from commit 4a48635c72d91cf8decb7653948fe0c76de46098)
Assign SYSTEM group permission to tc and iptables

Tools tc and iptables are used by NetMgr daemon to manage
kernel traffic control elements.  This daemon runs as
"radio/system". Change the group permissions of these tools
so that netmgr can use it.

Change-Id: Id73a37dc76766b5c067e4461fca5d34d433ace8a

Conflicts:

	include/private/android_filesystem_config.h
system/core: Add qcom_oncrpc permission for RILD and dev/oncrpc.

Change-Id: I7d34d3862f6c12faf6d0f6522a283d8ec5a7dea1
init: Add wifi.wpa_supp.status property.

This property is used to avoid ANR which try to access
wpa_supplicant before wpa_supplicant is fully initilized
and ready.

Change-Id: Ie7841714b8b63ce2cb74dde0a019202c9a48c682

Conflicts:

	init/property_service.c
fix bad merge
Merge "FM Tx: Defined FM Tx definition in Android framework." into p-jb-release
FM Rx: Defined FM definition in Android Framework

FM Rx input device defined in Android framework.
Ported from ICS I767f1d patch.

Change-Id: Ide75c36b13a0105c9058e58e45a7d9928e67214d
Signed-off-by: Sergii Iegorov <x0155539@ti.com>
Merge "FM Rx: Defined FM definition in Android Framework" into p-jb-release
Camera: Adds burst camera message type

Change-Id: I5ae041ae6062367abd8f8f59879846ae4ef3f72b
Signed-off-by: Solaiyappan Saravanan <saravanan.s@ti.com>
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com>
Signed-off-by: Daniel Levin <dendy@ti.com>
Add RAW burst message

Change-Id: I5b42c66485151d1ba9eea8fbe58d334c2a892c24
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Signed-off-by: Daniel Levin <dendy@ti.com>