add private_lib for NL80211 and wext driver.

Copied from hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib and modified
to work with generic wext driver.

Change-Id: Id33647ac6c8ae7faa9ed0b7cd24c59e0c76fdd85
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
wpa_supplicant_8:wext: Map the missing function call

Since the functions call were not mapped,signal strength
were not getting reported to userspace and network
connection was failing with poor network signal.Now
the right signal strengths are reported to the userspace.

Change-Id: I1a20205681dc0c9a73a078cce1b4ef633f11e894
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
hostapd: Fix aliasing violation

Change-Id: I1661f1e50959165542aed00374467715dc26d847
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
driver_wext: declare wext private lib functions up front else 4.2 build will fail

Change-Id: I6d6c7d5153738b0ddd4d217a513397987eeb7434
Merge branch 'linaro_android_4.2.1' of http://android.git.linaro.org/git-ro/platform/external/wpa_supplicant_8 into jb-mv-wip

Conflicts:
	src/drivers/driver_wext.c

Change-Id: Id5f74c5fd158a352fffd2334eef0e0d549e009a9
Fix regression in LEAP

Commit 458cb3019108b6cb8c0c1cab94ae6ebf244eda27 broke LEAP since it
rejects EAP-Success packet that is used within LEAP and this frame does
not have a payload. Fix LEAP by relaxing the generic EAP packet
validation if LEAP has been negotiated.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_external_wpa_supplicant_8 into jb-mv
wpa_supplicant_8 - Hostapd: Android related changes for sockets

Android related changes for socket handling.
Similar to ctrl_iface.c in wpa_supplicant/ctrl_iface.c

Ported from jellybean (was Change-Id: I3f72f5e4746ccdd007f647a923d41629afc17d94)
http://review.cyanogenmod.org/20317

Signed-off-by: Vishal Mahaveer <a0271468@ti.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ibf95b753d60e47fa2e04d7b703c40851d2a13875
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_external_wpa_supplicant_8 into jb-mv
wpa_supplicant: Add get_capability freq

Add "get_capability freq" command to print a more verbose list of channels and
frequencies in MHz. The tag "NO_IBSS" is added, if IBSS mode is not allowed on
a channel. This allows userspace programs to get the frequencies and
limitations associated with each channel.

This extends the information already provided in "get_capability channel" but a
new interface is chosen because of backwards compatibility considerations.

Signed-hostap: Bruno Randolf <br1@einfach.org>
Change-Id: Ic05a080b3cdea3ab095127d8c2e86eb16408bb4f
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_external_wpa_supplicant_8 into jb-mv
Merge branch 'jb-mv' of git://github.com/Mustaavalkosta/android_external_wpa_supplicant_8 into classified