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