libhardware_legacy: Add support for EVRCNW audio format

Add changes to support VoIP call with EVRCNW audio format.

Change-Id: Id0f0f865b074479d5e628d72d4ee17218ca34478
wifi: Allow P2P functionality to be disabled per interface.

By default, P2P is enabled globally for all virtual interfaces and this
makes wpa_supplicant include WSC and P2P IEs in Probe Request frames for
all scans even if this is for a non-P2P station connection to speed up
device discovery. If an interface is dedicated for non-P2P station mode
operations, it is now possible to disable addition of WSC and P2P IEs
into Probe Request frames with a per-interface p2p_disabled parameter.
This can be set in the configuration file (p2p_disabled=1).Hence set
p2p_disabled for wlan0 interface in the wpa_supplicant.conf.

CRs-fixed: 407440
(cherry picked from commit e52cbc3d221201998ed55d29c7cd3aa9b6f2e56e)

Change-Id: I9471433d164bc765965e941d4dfacbfff3e9e8c0

Conflicts:

	wifi/wifi.c
merge with http://sourceforge.net/p/me722-cm/code/

Change-Id: I618db63b718a96b2f657d5c7d69d47fa27fb5fc4