WPS NFC: Add debug log entry on OOB Dev Pw attribute addition

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
WPS NFC: Add more debug for NFC Password Token matching

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
P2P: Add debug print of P2P Group ID SSID

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
P2P: Allow GO P2P Device Address to be used for scan result matching

This is a better way of matching P2P groups based on the unique P2P
Device Address (e.g., from P2P Group ID) and SSID pair instead of using
the not necessarily unique P2P Interface Address.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
hwsim tests: Make channel configuration for VM tests easier

Add a CHANNELS configuration to the script running the VM
that can be added to the vm-config file to allow running
the tests with hwsim devices supporting more than a single
channel.

Eventually, with the (hopefully) upcoming dynamic work in
mac80211_hwsim, this might go away entirely, but for now
this allows testing more code paths.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
Android: Fix CFLAGS -> L_CFLAGS

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Android: Add ANDROID_P2P define under BOARD_WLAN_DEVICE

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Prohibit PNO start during assoc process and in connect state

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Android: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
hostapd: Add option to send OBSS scan params

Add a parameter to send the overlapping BSS scan parameter
information element. This will require clients to perform
background scans to check for neigbors overlapping this
HT40 BSS. Since the implementation is incomplete it should
only be used for testing.

Signed-hostap: Paul Stewart <pstew@chromium.org>
nl80211: Work around nl_socket_set_nonblocking on Android

system/core/libnl_2 does not include nl_socket_set_nonblocking(), so
need to implement that to fix the build.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd: Allow hostapd_cli to work on Android

Add definitions of the Android specific directories used for control
interface sockets so that hostapd_cli can connect to the Android
hostapd.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Android: Remove obsolete WPA_UNICODE_SSID define

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
eloop: Add support for replenishing a registered timeout

eloop_replenish_timeout() finds a registered matching
<handler,eloop_data,user_data> timeout. If found, replenishes
the timeout if remaining time is less than the requested time.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
GAS: Replenish AP station session timer to 5 seconds

If remaining AP session timeout is less than 5 seconds
for an existing station, replenish the timeout to 5 seconds.
This allows stations to be able to recycle a dialog token
value beyond 5 seconds for GAS exchange.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
tests: Use only new scan results for Hotspot 2.0 test cases

It looks like old scan results (different SSID for the same BSSID) could
cause test failures.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
tests: Verify GAS fragmentation

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
tests: Verify GAS query while associated

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>