wifi: support adding p2p0 when starting wpa_supplicant

For TI wlan chips in p2p mode we need this omapzoom cherry-pick
to start p2p0 correctly.

http://www.omapzoom.org/?p=platform/hardware/libhardware_legacy.git;a=commit;h=ccb4c24db795059f1df365d313d80c6b269bc55e
By: Arik Nemtsov <arik@wizery.com>
On: Tue, 31 Jul 2012 21:21:20

Original commit description:
Add p2p0 using an NL80211 command when wpa_supplicant is started, and
p2p_supported is enabled.

Change-Id: Ibc0ad138513f024672642cc5764a81510aa38625
Signed-off-by: Hashcode <hashcode0f@gmail.com>
wifi.c: allow devices to specify driver delay

This is necessary on the Samsung smdk4210 tablets. Without
the delay, it takes roughly 30 seconds to enable wifi.

Change-Id: I6a3419e66958fc72ae60e5294f52124b1180d752
wifi: Add support for AP module args

 * Needed for Samsung's goofy handling of AP mode

Change-Id: I5ec65460b7c9f8ef34170473cf1bdaa36587767b
wifi: fix samsung wifi logic

Change-Id: Ib065c0dffa1265a17f5e4fd6ec0b0ad36bbc7b14
audio_policy: Fix volumes for ICS blob compat

Allow usage of the default audio_policy source, even if the primary
audio HAL is an ICS binary blob

Change-Id: I959a925f458e14380c2e5443b1378c4018d9f084
Merge "audio_policy: Fix volumes for ICS blob compat" into cm-10.1
audio: Add support for QCOM audio devices, formats, and channels

- Add QCOM supported devices, fomats, and input/output
  channels in AudioPolicyManagerBase
- Add QCOM supported devices in AudioSystemLegacy.h

Change-Id: I5e2977a630c2bf9211af62d97ae024c5c57075f9

libhardware_legacy: Add support for DirectTrack

- Add support for DirectOutput in libhardware_legacy
- Add new APIs to AudioStreamOut base class
- Add audio output flags to openOutputStream

Change-Id: I301b3b9b2c2ad08dba75f616008d692e825af96f

audio: add missing QCOM audio devices, formats, and channels

- Add support for FM I/O devices and communication device for VOIP
- Add support for mp2 audio format
- Add support for 6.1 audio channels

Change-Id: I7b3042902c658dc8e5dfa34719fb80d18f3ff4e7

libhardware_legacy: Support LPA Playback

Add support to enable Playback in LPA mode

When Alarm is playing on headset+spkr, if LPA
playback is selected STARTEGY_MEDIA gets selected
and switches device from Combo device to Headset.
- Fix the issue by selecting Combo device only
even incase of LPA when stream ALARM/NOTIFICATION
is active.

Change-Id: Ifde78a744a17ce613eac92b4c3bcf875167aaeb6

Add ifdefs for QCOM enhanced features

Change-Id: I87ce3503ed85458c775d0c8c7fa649d8194e28e3
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_hardware_libhardware_legacy into cm-10.1