P2P: Increase GTK rekeying period to 24 hours

Strong ciphers do not need frequent rekeying, so
increase the default GTK rekeying period to 24 hours.

CR-fixed: 469048
Git-commit: 2a07a276ecd73b08961e68b0c72bec4be1b61a0c
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <j@w1.fi>

Change-Id: I1abc1404db65b9d4cb82e758cfffd832af459254
WPS: Remove duplicate networks after WPS.

Each attempt to connect to the same network using WPS would result
in the duplicate configuration getting added. Avoid such redundant
additions by comparing the network configuration with an already
existing one and remove the older network if the new credential
provisioned through WPS is identical.
Git-commit: 741ed9fc2503550270eb3e47803373de5c8994fd
Git-repo: git://w1.fi/srv/git/hostap.git
CRs-fixed: 474579
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: I825698dcd64b951741d2035172e356a19ecc0975
Defer scan if connection is in progress on any of the shared interfaces

Scanning can delay concurrent operations considerably, so it is better
to avoid that while trying to connect on any of the virtual interfaces
that share the same radio.
CRs-Fixed: 477388
Git-commit: 36b9883d84c9b9af35999fa7edd464b97c7a4e68
Git-repo: git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: I0ff2e5ebcaab6b9308a193dc9d43480f0e5cdba5
wpa_supplicant_8: Remove android specific code in handling assoc reject events

Change-Id: I7064515b6592d60ac9215ab32f01c22ae3dfd514
CRs-fixed: 424592
wpa_supplicant_8: Don't expire peers when in P2P_PENDING_PD.

A p2p_expiration_timeout during Provisional Discovery (when PD
request is sent before p2p_connect) shall result in the device
entry getting removed.Blocking the same from getting removed .
(cherry picked from commit 5a5ea05885457412de6f1dabce73d92865c5a75e)

Change-Id: Ic25ea00000ce22b34cdcdb618239ff8c6097ae39
Android: Implement SETBAND for scan requests

This provides partial SETBAND driver command implementation by
converting the request into a filter for which channels are scanned
by wpa_supplicant.
CRs-Fixed: 480506
Git-commit: b046d1c924b6c25dd8a23ded757ac07f9dd8c05a
Git-repo: git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
[modified for internal git tree]
Signed-hostap: Deepthi Gowri <deepthi@codeaurora.org>

Change-Id: Id6cd05cff0f9e5eb1d6dae7d36ea561995638aff
Android: Enable WNM in the build

Git-commit: 095da179de2f5583e29a081b176901edcd602df7
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <j@w1.fi>
CRs-fixed: 471989

Change-Id: I384dbc784bbf0872056ee06305948d51392f78a4
Android: Enable IEEE 802.11w support in the build

Git-commit: 9210bea172b4c92680de070d329b76bdc17332b7
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: Ib2d6a3c71a8fa9624a56180df6359cf6bdd9a032
11r: Reset FT flag upon STA deauthentication

Reset ft_completed if STA receives deauthentication
between FT reassoc success and the subsequent initial
mobility authentication and association.

Git-commit: 02db75b6c2563ba8b8870ff39f6ad75d32d7f0d7
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: I017d1dd680c27d1c2fd06c89ab955590b3ac8922
P2P: Unblock the code under wpas_p2p_set_group_idle_timeout.

Unblock the code under wpas_p2p_set_group_idle_timeout which was
blocked under ANDROID_P2P.The unblocked code is basically avoid
to set group idle timeout if the group is started.
CRs-Fixed: 473281

Change-Id: Icc927edd437d099786938af94a2efa1909000655
Android: Enable IEEE 802.11r in wpa_supplicant builds

This change is to enable the 802.11r feature in
android supplicant builds
CRs-fixed: 434525
Git-commit: ee9a95c34e90a5f5f8577a793e926cab949c74c2
Git-repo: git://w1.fi/srv/git/hostap.git

Change-Id: I58f9257b0a2dbe54d9d7d57c06217f3724425a49
Enabling the HS2.0 functionality in the default config file
CRs-Fixed: 443900, 443911

Change-Id: I2c1c7c25a526a05f3e9f6da10f8054e7e2cc5916
P2P: Modify wait time in INVITE state based on Tx status of INV-REQ

In a noisy enviromment, some peers can be slow to respond to the
invitation request frames which may lead to unnecessary state timeout.
Increase this timeout to 350 ms to improve the probabilty of
successfully receiving the invitation response frames.

CRs-Fixed: 493011
Git-commit: 8f395284bd4fb4595aa52a7f0f49110f28ddc230
Git-repo: git://w1.fi/srv/git/hostap.git
Signed-hostap: Vivek Natarajan <nataraja@qca.qualcomm.com>

Remove android specific implementation in this function.
Signed-hostap: Deepthi Gowri <deepthi@codeaurora.org>

Change-Id: Iaf39ac8cead5cb6f69d0878d060ff95be64fbe02
WNM: Add neighbor report processing for BSS Transition Management

Process the neighbor report received in BSS Management Request frames.
Git-commit: e27d20bb6828d98e21122ad967703b1b862f50f
Git-repo: git://w1.fi/srv/git/hostap.git
Signed-hostap: Vinayak Kamath <vkamat@codeaurora.org>

Change-Id: Id93f63e3d48bfeca5dbc18fff5913497ce3e7e16
WNM: Add sending of BSS Transition Management Query

The new control interface command can be used to send a
BSS Transition Management Query frame to the current AP.

Git-commit: 65bcd0a92d798c97209e4f2cc1fee0da90b66fb3
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Vinayak Kamath <vkamat@codeaurora.org>

Change-Id: I510d3b21218ec1602037fc205231231b495dd58b
hostapd: Support MAC address based access control list

Enable MAC address based ACL for the drivers which advertise
this capabilty with NL80211_ATTR_MAC_ACL_MAX. Either of blacklist
or whitelist is supported, though, not simultaneously.

Git-commit: 3c4ca36330c0cd08e201b12044ca5f8fc64a36ab
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Vivek Natarajan <nataraja@qca.qualcomm.com>

Change-Id: I2c33f64b7445bb44cd98b080df6fe7f16f55b3a8
Do not set driver MAC ACL unless driver supports this

This cleans up debug log by not including comments about failed
operations in case the operation is known to fail due to not being
supported by the driver.

Git-commit: 3cb953e4b690144b64db8a4ad78ebf547685db65
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: Ia2439735ab8797077d2c282525e371e32296d5d6
P2P: Use preferred channel list during GO creation

This extends support for p2p_pref_Chan configuration parameter for
autonomous GO creation.

Git-commit: c6ccf12d3f6f35e295f9522dded535da8af6ab98
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Pass country information to p2p_channel_to_freq().
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>

Change-Id: I479fbae6eeaf3961ee4c4be0c90e0e4c6d9d865b
P2P: Re-select channel in invitation case with peer info

Allow invitation exchange to update operating channel selection after
peer channel list has been received similarly to how GO negotiation was
handled.

Git-commit: 6d956c40640aa4e7460affa0436cce505f93616a
Git-repo : git://w1.fi/srv/git/hostap.git
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: I74fb9f12b1c6ca73418b0f4778de5b311adf1664
11r: Fix coding style in wpa_reset_ft_completed()

Fix the style issue introduced by the following patch:
"11r: Reset FT flag upon STA deauthentication"
This is needed to match coding style expectation in hostap.git
and the upstream commit.
Signed-hostap: Deepthi Gowri <deepthi@codeaurora.org>

Change-Id: Ica9eb5bd01d51009ec49d985a05cb9f8b75e3fab