libhardware_legacy/wifi: add workaround for ar6000 driver

The ar6000 driver requires the interface to be brought up in order
for scanning to function. Without this change, the supplicant fails
on first activation of wifi, and will only connect successfully
after multiple retries. This workaround is also necessary to fix
Wi-Fi hotspot mode (in conjunction with another change to
system/netd).

Backported from CM7.
Fix build error caused by ar6000 workaround

Some devices don't specify DRIVER_MODULE_NAME or DRIVER_MODULE_PATH.
Add hotspot driver loader support

Change-Id: I1489b7291595a41fea4722f14c7d5937df3208f8
Merge remote branch 'cm/cm-10.1'
Merge remote branch 'cm/cm-10.1'
Merge remote branch 'cm/cm-10.1'
Merge remote branch 'cm/cm-10.1'
qcom-fm: audio: add support for FM feature

-Add set_fm_volume() to set handle fm volume

Change-Id: I2a2c6a60b9855d9360ff8fb90849517e77e5faab

Conflicts:

	audio/AudioPolicyManagerBase.cpp
	include/hardware_legacy/AudioSystemLegacy.h
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1

Conflicts:
	wifi/Android.mk

Change-Id: I3ca6a5f4ed733eb37be748c3445d6831c9b049a0
Fix merge error

Change-Id: Ibb03797d6ee818a7e3db74076be76ed595830063
Merge remote branch 'cm/cm-10.1'
Turn on/off fm radio

Change-Id: I9b0b1413c9169ad7c5767d7fbfce6c4d587a9abc
Merge remote-tracking branch 'cm/cm-10.1'
Merge remote-tracking branch 'cm/cm-10.1'
audio policy: add EVRCB and EVRCWB audio formats

Needed to build MSM7x27a audio HAL

Change-Id: Ibb86d3ae6ec1ea7a82c26fb78e294ceaf984e8b9
fixes for cyanogen audio patch