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
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_external_wpa_supplicant_8 into jb-mv
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_external_wpa_supplicant_8 into jb-mv