nl80211: add ifndef on AP SME condition

The condition causes problems on driver initialization if the
NL80211_ATTR_DEVICE_AP_SME is not available. Needs
BOARD_NO_APSME_ATTR:=true.

Change-Id: I88e91996d8e6a70f46a5a84d6540bf3d3b628ddd
wext: Re-add support for SIGNAL_POLL and DRIVER

Both of these are still used by JB, and wext wifi drivers have some
weird behaviors without it (like a reported poor connection 100% of
the time)

Change-Id: I15339dbea4e15831465e2bb52b11675cb20dc34c
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>
R5 TI WiFi compatibility hack

PS 2 : Tab hell!!!

Change-Id: I551068b1e2278dd514d4261e3c942a457778cdd9
Save frequency to network config

Also save frequency in wpa_config_write_network().

This is necessary for creating IBSS networks which requires the
frequency to be set.

Change-Id: Ic051d1ca1ce3b1d4bad231d46e86c21e818af5de
Add capability flag for IBSS and get_capabiliy modes

Add a driver capability flag for drivers which support IBSS mode and
set it for nl80211 drivers which have set the NL80211_IFTYPE_ADHOC.

Add a new option "modes" to "get_capability" which will return
"AP" and "IBSS" if the corresponding capability flags are set.

Change-Id: I7991ae49b6ac6bc154d4edb0b01af774f4e8522c
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
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
Fix Build

Change-Id: I2629d996e2d1e63b2b4a4dc6d34b44aab7840efb
squash 4.3

Change-Id: Ie38b73c7255ca6b16d24bdfc2e62a2af8977c0ac
Merge branch 'slim-4.3' into jb43

Conflicts:
	src/drivers/driver.h
	src/drivers/driver_nl80211.c
	src/drivers/driver_wext.c
	wpa_supplicant/config_file.c
	wpa_supplicant/ctrl_iface.c