OSDN Git Service

android-x86/external-wpa_supplicant_8.git
11 years agoMerge "P2P: Unblock the code under wpas_p2p_set_group_idle_timeout."
Dmitry Shmidt [Wed, 24 Apr 2013 17:43:46 +0000 (17:43 +0000)]
Merge "P2P: Unblock the code under wpas_p2p_set_group_idle_timeout."

11 years agoP2P: Unblock the code under wpas_p2p_set_group_idle_timeout.
Deepthi Gowri [Tue, 16 Apr 2013 06:27:05 +0000 (11:57 +0530)]
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.

Change-Id: I0bb134b014f932802da474ccdc20ceb1a086e87b

11 years agoMerge "wpa_supplicant_8: use correct header file."
Nick Kralevich [Thu, 28 Feb 2013 22:52:39 +0000 (22:52 +0000)]
Merge "wpa_supplicant_8: use correct header file."

11 years agowpa_supplicant_8: use correct header file.
Nick Kralevich [Thu, 28 Feb 2013 21:55:41 +0000 (13:55 -0800)]
wpa_supplicant_8: use correct header file.

Change-Id: I168ac70cc03d0dd31af77906d71b8b1f77752501

11 years agoam f137c56d: Merge "Fix INCLUDES path for keystore headers."
Kenny Root [Wed, 30 Jan 2013 06:56:42 +0000 (22:56 -0800)]
am f137c56d: Merge "Fix INCLUDES path for keystore headers."

# By Stephen Smalley
# Via Gerrit Code Review (1) and Stephen Smalley (1)
* commit 'f137c56d1c0820255d826a8ffa9b7d8c7cbcabed':
  Fix INCLUDES path for keystore headers.

11 years agoMerge "Fix INCLUDES path for keystore headers."
Kenny Root [Wed, 30 Jan 2013 05:47:00 +0000 (05:47 +0000)]
Merge "Fix INCLUDES path for keystore headers."

11 years agoam a18eec54: Merge "Fix regression in LEAP"
Jean-Baptiste Queru [Mon, 28 Jan 2013 21:52:01 +0000 (13:52 -0800)]
am a18eec54: Merge "Fix regression in LEAP"

# By Jouni Malinen
# Via Gerrit Code Review (1) and Jean-Baptiste Queru (1)
* commit 'a18eec546fdd7b48cee7a4fce5ba0f2ca6ad7889':
  Fix regression in LEAP

11 years agoMerge "Fix regression in LEAP"
Jean-Baptiste Queru [Mon, 28 Jan 2013 21:26:19 +0000 (21:26 +0000)]
Merge "Fix regression in LEAP"

11 years agoFix regression in LEAP
Jouni Malinen [Thu, 11 Oct 2012 18:50:57 +0000 (21:50 +0300)]
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>

11 years agoam 0cc49e8d: Add BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support
Mike J. Chen [Fri, 7 Dec 2012 02:58:14 +0000 (18:58 -0800)]
am 0cc49e8d: Add BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support

* commit '0cc49e8db007f71888bf706420edfc530cf4fbff':
  Add BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support

11 years agoAdd BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support
Mike J. Chen [Wed, 5 Dec 2012 19:20:29 +0000 (11:20 -0800)]
Add BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support

Change-Id: I5cfe2a1b66c0bb4fe5266e1bdd3fd929905ef520
Signed-off-by: Mike J. Chen <mjchen@google.com>
11 years agoMerge "Include the subdir Android.mks in fixed order."
Ying Wang [Wed, 21 Nov 2012 19:44:33 +0000 (11:44 -0800)]
Merge "Include the subdir Android.mks in fixed order."

11 years agoInclude the subdir Android.mks in fixed order.
Ying Wang [Wed, 21 Nov 2012 02:04:25 +0000 (18:04 -0800)]
Include the subdir Android.mks in fixed order.

The build fails when the include order is reversed.
On the other hand, the build system doesn't guarantee the file order
returned by all-subdir-makefiles.

Change-Id: I398e536fc8189d0f26ebc0b0342c778d234532ad

Conflicts:

Android.mk

11 years agoFix INCLUDES path for keystore headers.
Stephen Smalley [Fri, 16 Nov 2012 17:50:03 +0000 (12:50 -0500)]
Fix INCLUDES path for keystore headers.

Fix the following build error for master:
external/wpa_supplicant_8/hostapd/src/crypto/tls_openssl.c:49:35: fatal error: keystore/keystore_get.h: No such file or directory

Change-Id: I81c64677040287438e467f887c2f1c63a3239350
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
11 years agoMerge "Switch keystore to binder"
Kenny Root [Wed, 14 Nov 2012 22:17:37 +0000 (14:17 -0800)]
Merge "Switch keystore to binder"

11 years agoSwitch keystore to binder
Kenny Root [Tue, 13 Nov 2012 00:33:36 +0000 (16:33 -0800)]
Switch keystore to binder

Change-Id: Idfcff5f2799863075160cc6c2565f2fe774c2552

11 years agoam c0aec062: am 930540de: Reconcile with jb-mr1-factory-release jb-mr1-release -...
The Android Open Source Project [Tue, 6 Nov 2012 20:24:32 +0000 (12:24 -0800)]
am c0aec062: am 930540de: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit 'c0aec06214be674ced7106461e9f19c127fb1c70':

11 years agoam 930540de: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Tue, 6 Nov 2012 20:20:27 +0000 (12:20 -0800)]
am 930540de: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '930540de4415795500e22f02bb707768b7742fc6':
  P2P: Fix network removal to select correct block
  wpa_supplicant: Postpone P2P scan if usual scan is in progress

11 years agoReconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Tue, 6 Nov 2012 20:16:51 +0000 (12:16 -0800)]
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: Ibb893211cd723e60db60b80a3da19c58575461e2

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 1 Nov 2012 14:51:53 +0000 (07:51 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Id8e9b62ec7d117c1b6bdbeb739be7148f15f31cb

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 1 Nov 2012 01:33:52 +0000 (18:33 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam efb9743f: am 86c93df1: Merge "Increase timeouts for p2p" into jb-mr1-dev
Irfan Sheriff [Wed, 31 Oct 2012 20:18:26 +0000 (13:18 -0700)]
am efb9743f: am 86c93df1: Merge "Increase timeouts for p2p" into jb-mr1-dev

* commit 'efb9743f24044390273be6722656c2bf3ffddc7d':
  Increase timeouts for p2p

11 years agoam 86c93df1: Merge "Increase timeouts for p2p" into jb-mr1-dev
Irfan Sheriff [Wed, 31 Oct 2012 20:15:58 +0000 (13:15 -0700)]
am 86c93df1: Merge "Increase timeouts for p2p" into jb-mr1-dev

* commit '86c93df1d626c42147db2f2a6dfb5dcad83477ec':
  Increase timeouts for p2p

11 years agoMerge "Increase timeouts for p2p" into jb-mr1-dev
Irfan Sheriff [Wed, 31 Oct 2012 20:14:21 +0000 (13:14 -0700)]
Merge "Increase timeouts for p2p" into jb-mr1-dev

11 years agoReconcile with jb-mr1-factory-release jb-mr1-release - do not merge
The Android Open Source Project [Wed, 31 Oct 2012 16:16:28 +0000 (09:16 -0700)]
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

Change-Id: I99d44c2e57eba3b98e5d217591968559fa3d1fe3

11 years agoIncrease timeouts for p2p
Irfan Sheriff [Wed, 31 Oct 2012 05:22:52 +0000 (22:22 -0700)]
Increase timeouts for p2p

Dongles can be slow to respond and a quick turn around time on packets does not help.
Allow for upto 350ms on retry attempts for provision discovery, negotiation and invitation

This will catch slow responses within the first attempt and prevent any kind of issues
with sequence number handling

Bug: 7445415
Change-Id: I88a849d400b10f42ac298bad6d01f49803fcc8ba

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 30 Oct 2012 15:52:30 +0000 (08:52 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam a27072d9: am b8fdecbf: Add parameter checking and error reporting to wpa_blacklist...
Sasha Levitskiy [Mon, 29 Oct 2012 23:54:11 +0000 (16:54 -0700)]
am a27072d9: am b8fdecbf: Add parameter checking and error reporting to wpa_blacklist API.

* commit 'a27072d9cc9ca8ee39cc4d8d645f6b0721ba5c8e':
  Add parameter checking and error reporting to wpa_blacklist API.

11 years agoam b8fdecbf: Add parameter checking and error reporting to wpa_blacklist API.
Sasha Levitskiy [Mon, 29 Oct 2012 23:52:36 +0000 (16:52 -0700)]
am b8fdecbf: Add parameter checking and error reporting to wpa_blacklist API.

* commit 'b8fdecbfd0a0cdbbb17b902a6be87c84227b9b11':
  Add parameter checking and error reporting to wpa_blacklist API.

11 years agoAdd parameter checking and error reporting to wpa_blacklist API.
Sasha Levitskiy [Thu, 25 Oct 2012 22:07:02 +0000 (15:07 -0700)]
Add parameter checking and error reporting to wpa_blacklist API.

Bug: 7423119
Change-Id: Iae85361aa0dc94a75bffd07deef451c85e3d9d96
Signed-off-by: Sasha Levitskiy <sanek@google.com>
11 years agoam d73deeec: am 54cb0f6f: wpa_supplicant: Try to reject proper BSSID even if not...
Dmitry Shmidt [Mon, 29 Oct 2012 23:14:06 +0000 (16:14 -0700)]
am d73deeec: am 54cb0f6f: wpa_supplicant: Try to reject proper BSSID even if not set by the driver

* commit 'd73deeecfe9764334b4d151d65d2989de65a9094':
  wpa_supplicant: Try to reject proper BSSID even if not set by the driver

11 years agoam 54cb0f6f: wpa_supplicant: Try to reject proper BSSID even if not set by the driver
Dmitry Shmidt [Mon, 29 Oct 2012 23:11:25 +0000 (16:11 -0700)]
am 54cb0f6f: wpa_supplicant: Try to reject proper BSSID even if not set by the driver

* commit '54cb0f6fef5a8ffe2dc7ed98b274fe81ca84c431':
  wpa_supplicant: Try to reject proper BSSID even if not set by the driver

11 years agowpa_supplicant: Try to reject proper BSSID even if not set by the driver
Dmitry Shmidt [Mon, 29 Oct 2012 20:12:24 +0000 (13:12 -0700)]
wpa_supplicant: Try to reject proper BSSID even if not set by the driver

Bug: 7423119

Change-Id: Id0266274c9c60f8eea872ca3cfa5ad40d9180789
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 23 Oct 2012 23:46:53 +0000 (16:46 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 03df168d: am b485b188: Add better handling of CTRL-EVENT-ASSOC-REJECT
Jeff Johnson [Tue, 23 Oct 2012 21:52:56 +0000 (14:52 -0700)]
am 03df168d: am b485b188: Add better handling of CTRL-EVENT-ASSOC-REJECT

* commit '03df168d17437b6221a3f42876126974322f4e58':
  Add better handling of CTRL-EVENT-ASSOC-REJECT

11 years agoam b485b188: Add better handling of CTRL-EVENT-ASSOC-REJECT
Jeff Johnson [Tue, 23 Oct 2012 21:50:48 +0000 (14:50 -0700)]
am b485b188: Add better handling of CTRL-EVENT-ASSOC-REJECT

* commit 'b485b188f853a4ec5342c2ea49705b545b2caf3d':
  Add better handling of CTRL-EVENT-ASSOC-REJECT

11 years agoAdd better handling of CTRL-EVENT-ASSOC-REJECT
Jeff Johnson [Mon, 22 Oct 2012 01:19:27 +0000 (18:19 -0700)]
Add better handling of CTRL-EVENT-ASSOC-REJECT

In an enterprise environment a given Access Point (AP) may reject an
association request due to load balancing.  In an enterprise with a
congested Wi-Fi network we may have to connect to many APs before we
find one that will accept the connection.  Currently when the
wpa_supplicant receives a CTRL-EVENT-ASSOC-REJECT it will continue to
count down the 10 second authentication timer, and doesn't realize
that it should now attempt to find a different AP.  Fix this issue in
multiple ways.  First, we increase the number of association rejects
we handle before we disable the network.  This will allow us more
opportunity to authenticate with other APs which are sharing the same
SSID.  Second, when we are rejected we immediately blacklist the AP
and rescan so that we can immediately attempt to connect to other APs.

Bug: 7329568
Change-Id: I0ff66a0e05e6d4a9dec3dea98eccd850ecd5e343

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 17 Oct 2012 23:07:03 +0000 (16:07 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam a44422be: am 12b1cd9e: Support conc_pref when use_p2p_group_interface=0
Jeff Johnson [Wed, 17 Oct 2012 21:16:10 +0000 (14:16 -0700)]
am a44422be: am 12b1cd9e: Support conc_pref when use_p2p_group_interface=0

* commit 'a44422be5306577189c7df272d3615129551b22e':
  Support conc_pref when use_p2p_group_interface=0

11 years agoam 12b1cd9e: Support conc_pref when use_p2p_group_interface=0
Jeff Johnson [Wed, 17 Oct 2012 21:13:09 +0000 (14:13 -0700)]
am 12b1cd9e: Support conc_pref when use_p2p_group_interface=0

* commit '12b1cd9e151d1e5c4d35aa38531f38b4ef5cc805':
  Support conc_pref when use_p2p_group_interface=0

11 years agoSupport conc_pref when use_p2p_group_interface=0
Jeff Johnson [Mon, 8 Oct 2012 02:34:24 +0000 (19:34 -0700)]
Support conc_pref when use_p2p_group_interface=0

The original implementation of wpas_p2p_handle_frequency_conflicts()
only works correctly when P2P groups use a separate interface
(i.e. use_p2p_group_interface=1).  Update the implementation so
that it also works when the device interfaces is used
(i.e. use_p2p_group_interface=0).

Bug: 7290509
Change-Id: Icbc489125c5b7bd6e174d6aecd53555cdc9ad99d

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 17 Oct 2012 13:59:20 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam f1b71881: am 81931b8b: Increase channel delay to 100ms
Irfan Sheriff [Wed, 17 Oct 2012 05:57:49 +0000 (22:57 -0700)]
am f1b71881: am 81931b8b: Increase channel delay to 100ms

* commit 'f1b7188187968e37abf9e4ac2e82c4ab08577d2a':
  Increase channel delay to 100ms

11 years agoam 81931b8b: Increase channel delay to 100ms
Irfan Sheriff [Wed, 17 Oct 2012 05:55:47 +0000 (22:55 -0700)]
am 81931b8b: Increase channel delay to 100ms

* commit '81931b8bb302c38828763358f9e15af2b22c52c6':
  Increase channel delay to 100ms

11 years agoIncrease channel delay to 100ms
Irfan Sheriff [Wed, 17 Oct 2012 04:40:46 +0000 (21:40 -0700)]
Increase channel delay to 100ms

There is an inherent flaw in the p2p protocol design where an ACK loss right
before channel switch leads to peers being out of sync.

A work around of 50ms was added persistent case, but it turns out in heavy lossy
conditions that is not enough. Increase it to 100ms.

Experimental evaluation showed 100ms improves the reliability of p2p persistence
reinvocation.

Bug: 7359500
Change-Id: I73ab1b64e32b87101e95b0e487c90818c2c0aaf3

11 years agomerge in jb-mr1-factory-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 15 Oct 2012 19:30:44 +0000 (12:30 -0700)]
merge in jb-mr1-factory-release history after reset to jb-mr1-dev

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Mon, 15 Oct 2012 14:38:31 +0000 (07:38 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I1253d2b70d2ba5be1771d5824386c8c42bdbdf0f

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 15 Oct 2012 13:59:11 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 532a21e6: am 2c5b17df: P2P: Improve robustness against lost ctrl::ack
Jouni Malinen [Sun, 14 Oct 2012 20:05:43 +0000 (13:05 -0700)]
am 532a21e6: am 2c5b17df: P2P: Improve robustness against lost ctrl::ack

* commit '532a21e653c99b23c904f21f9a31325eca450690':
  P2P: Improve robustness against lost ctrl::ack

11 years agoam 2c5b17df: P2P: Improve robustness against lost ctrl::ack
Jouni Malinen [Sun, 14 Oct 2012 20:04:12 +0000 (13:04 -0700)]
am 2c5b17df: P2P: Improve robustness against lost ctrl::ack

* commit '2c5b17df4c29abdf11a85216c2f6272af796c576':
  P2P: Improve robustness against lost ctrl::ack

11 years agoP2P: Improve robustness against lost ctrl::ack
Jouni Malinen [Sun, 14 Oct 2012 04:52:46 +0000 (21:52 -0700)]
P2P: Improve robustness against lost ctrl::ack

P2P includes two use cases where one of the devices is going to start a
group and likely change channels immediately after processing a frame.
This operation may be fast enough to make the device leave the current
channel before the peer has completed layer 2 retransmission of the
frame in case the ctrl::ack frame was lost. This can result in the peer
not getting TX status success notification.

For GO Negotiation Confirm frame, p2p_go_neg_conf_cb() has a workaround
that ignores the TX status failure and will continue with the group
formation with the assumption that the peer actually received the frame
even though we did not receive ctrl::ack. For Invitation Response frame
to re-invoke a persistent group, no such workaround is used in
p2p_invitation_resp_cb(). Consequently, TX status failure due to lost
ctrl::ack frame results in one of the peers not starting the group.

Increase the likelihood of layer 2 retransmission getting acknowledged
and ctrl::ack being received by waiting a short duration after having
processed the GO Negotiation Confirm and Invitation Response frames for
the re-invocation case. For the former, use 20 ms wait since this case
has been worked around in deployed devices. For the latter, use 50 ms
wait to get even higher likelihood of getting ctrl::ack through since
deployed devices (and the current wpa_supplicant implementation) do not
have a workaround to ignore TX status failure.

20 ms is long enough to include at least couple of retries and that
should increase likelihood of getting ctrl::ack through quite a bit. The
longer 50 ms wait is likely to include full set of layer 2 retries.

Bug: 7282991
Change-Id: If063895046ff42fb52579bfb386281085bedce58
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Tue, 9 Oct 2012 14:29:06 +0000 (07:29 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ia76fbf94fed108207ae3cb4d53f710f81aa4311f

11 years agoP2P: Fix network removal to select correct block
Jouni Malinen [Fri, 5 Oct 2012 18:01:57 +0000 (11:01 -0700)]
P2P: Fix network removal to select correct block

If wpa_s->current_ssid is not set (e.g., after disconnection that
did not result in immediate group removal), an incorrect group could
have been removed since the network block iteration here could select
the network block that is used to store persistent group credentials.
Fix this by verifying that disabled != 2 to avoid picking the network
block that could not have been the temporary P2P group.

Bug: 7290511
Change-Id: Ia61bab3e11137ab2c0c34014e4d8d8bdee2a0469

11 years agoam fe62849f: am 9d712833: P2P: Fix network removal to select correct block
Jouni Malinen [Fri, 5 Oct 2012 18:38:36 +0000 (11:38 -0700)]
am fe62849f: am 9d712833: P2P: Fix network removal to select correct block

* commit 'fe62849f4448ef74add320a067a88bce61ed0f80':
  P2P: Fix network removal to select correct block

11 years agoam 9d712833: P2P: Fix network removal to select correct block
Jouni Malinen [Fri, 5 Oct 2012 18:37:16 +0000 (11:37 -0700)]
am 9d712833: P2P: Fix network removal to select correct block

* commit '9d71283328fbad680cc74d9b287580e373eb4d6c':
  P2P: Fix network removal to select correct block

11 years agoP2P: Fix network removal to select correct block
Jouni Malinen [Fri, 5 Oct 2012 18:01:57 +0000 (11:01 -0700)]
P2P: Fix network removal to select correct block

If wpa_s->current_ssid is not set (e.g., after disconnection that
did not result in immediate group removal), an incorrect group could
have been removed since the network block iteration here could select
the network block that is used to store persistent group credentials.
Fix this by verifying that disabled != 2 to avoid picking the network
block that could not have been the temporary P2P group.

Bug: 7290511
Change-Id: Ia61bab3e11137ab2c0c34014e4d8d8bdee2a0469

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 4 Oct 2012 14:48:00 +0000 (07:48 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I7faf49ef059f0f01586b3451426ee59d5778a25f

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 4 Oct 2012 13:59:29 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 436d1e84: am adddfc48: P2P: Fix p2p_cancel processing during group formation
Jouni Malinen [Wed, 3 Oct 2012 23:30:53 +0000 (16:30 -0700)]
am 436d1e84: am adddfc48: P2P: Fix p2p_cancel processing during group formation

* commit '436d1e842776ae15efe01f16f19a975177be5a88':
  P2P: Fix p2p_cancel processing during group formation

11 years agoam adddfc48: P2P: Fix p2p_cancel processing during group formation
Jouni Malinen [Wed, 3 Oct 2012 23:28:53 +0000 (16:28 -0700)]
am adddfc48: P2P: Fix p2p_cancel processing during group formation

* commit 'adddfc48d2d7bfa2b1a2405ab8f404b6383ec236':
  P2P: Fix p2p_cancel processing during group formation

11 years agoP2P: Fix p2p_cancel processing during group formation
Jouni Malinen [Wed, 3 Oct 2012 21:31:41 +0000 (14:31 -0700)]
P2P: Fix p2p_cancel processing during group formation

The wpa_s->p2p_in_provisioning flag did not get cleared in some cases
where p2p_cancel command is used to stop group formation. This can result
in some operations (like p2p_find) failing afterwards. Fix this by using
wpas_group_formation_completed() when processing p2p_cancel for a group
that has not yet completed group formation.

Bug: 7280743
Change-Id: I2dea935bd7c0509237de54bd048954f75ce80bfc
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
11 years agoam 992b10f4: (-s ours) Reconcile with jb-dev - do not merge
Jean-Baptiste Queru [Wed, 3 Oct 2012 22:28:02 +0000 (15:28 -0700)]
am 992b10f4: (-s ours) Reconcile with jb-dev - do not merge

* commit '992b10f49def736e424b9d6e01130de28b09cd1f':

11 years agoReconcile with jb-dev - do not merge
Jean-Baptiste Queru [Wed, 3 Oct 2012 22:25:25 +0000 (15:25 -0700)]
Reconcile with jb-dev - do not merge

Change-Id: Ie7428c559f53a12d88e9afdbd7234423881aed0f

11 years agoMerge from jb-mr1-aah-dev
Jean-Baptiste Queru [Fri, 28 Sep 2012 21:23:34 +0000 (14:23 -0700)]
Merge from jb-mr1-aah-dev

Change-Id: I02876a27a1466842f648489ece651c356fe9d257

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 27 Sep 2012 16:57:44 +0000 (09:57 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I84f209a40227014231778a0b30a3d6a2c523e3e3

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Thu, 27 Sep 2012 13:59:30 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 069fa2c3: Remove unnecessary channel list filtering
Irfan Sheriff [Wed, 26 Sep 2012 21:28:49 +0000 (14:28 -0700)]
am 069fa2c3: Remove unnecessary channel list filtering

* commit '069fa2c39ec7120656a2ea8cca83c5ee41ddab60':
  Remove unnecessary channel list filtering

11 years agoam 069fa2c3: Remove unnecessary channel list filtering
Irfan Sheriff [Wed, 26 Sep 2012 21:28:18 +0000 (14:28 -0700)]
am 069fa2c3: Remove unnecessary channel list filtering

* commit '069fa2c39ec7120656a2ea8cca83c5ee41ddab60':
  Remove unnecessary channel list filtering

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Wed, 26 Sep 2012 16:06:32 +0000 (09:06 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Ice14c1907d8834bd141dc9d06ccb0d0e7f0f04d5

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Wed, 26 Sep 2012 13:59:22 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoRemove unnecessary channel list filtering
Irfan Sheriff [Tue, 25 Sep 2012 06:59:04 +0000 (23:59 -0700)]
Remove unnecessary channel list filtering

Operating channel is always set even without an STA connected. Remove
channel list filtering based on that.

Channel list is filtered in the p2p_connect and p2p_invite path based
on force_freq which is essentially the operating channel for STA

This patch helps fix WifiDirect b/w two android devices for SCC while at
the same time keeping channel compliance with WFD dongle

Bug: 7232932
Change-Id: Ie9524f9e45b6f997959c3359a81b05f63b576045

11 years agoam 91c40cdc: wpa_supplicant: P2P-related fixes
Dmitry Shmidt [Tue, 25 Sep 2012 21:51:19 +0000 (14:51 -0700)]
am 91c40cdc: wpa_supplicant: P2P-related fixes

* commit '91c40cdce17424d9a4718876becf0b7811cf68f2':
  wpa_supplicant: P2P-related fixes

11 years agoam 91c40cdc: wpa_supplicant: P2P-related fixes
Dmitry Shmidt [Tue, 25 Sep 2012 21:49:51 +0000 (14:49 -0700)]
am 91c40cdc: wpa_supplicant: P2P-related fixes

* commit '91c40cdce17424d9a4718876becf0b7811cf68f2':
  wpa_supplicant: P2P-related fixes

11 years agowpa_supplicant: P2P-related fixes
Dmitry Shmidt [Tue, 25 Sep 2012 21:23:53 +0000 (14:23 -0700)]
wpa_supplicant: P2P-related fixes

- P2P: Show own channel list in debug log
- P2P: Allow peer to propose channel in invitation process
- P2P: Clear sta_scan_pending on group removal
- P2P: Fix ignoring of PD Response due to dialog token mismatch

BUG: 72260657231289

Change-Id: Iacb0f85d80f63bcdf311ccc0d29d0c282a0c0576
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Tue, 25 Sep 2012 13:59:34 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam aa532510: wpa_supplicant: P2P-related fixes
Dmitry Shmidt [Mon, 24 Sep 2012 19:01:22 +0000 (12:01 -0700)]
am aa532510: wpa_supplicant: P2P-related fixes

* commit 'aa532510a7b8c4da2d7d6e2c11dda5db840894e4':
  wpa_supplicant: P2P-related fixes

11 years agoam aa532510: wpa_supplicant: P2P-related fixes
Dmitry Shmidt [Mon, 24 Sep 2012 19:01:03 +0000 (12:01 -0700)]
am aa532510: wpa_supplicant: P2P-related fixes

* commit 'aa532510a7b8c4da2d7d6e2c11dda5db840894e4':
  wpa_supplicant: P2P-related fixes

11 years agowpa_supplicant: P2P-related fixes
Dmitry Shmidt [Mon, 24 Sep 2012 17:35:31 +0000 (10:35 -0700)]
wpa_supplicant: P2P-related fixes

- Remove unused function warning in WPS-NFC case
- P2P: Fix p2p_ctrl_invite_persistent to parse peer parameter
- hostapd: Fix CONFIG_INTERWORKING=y build without CONFIG_HS20=y
- hostapd: Fix WDS VLAN bridge handling
- hostapd: Send EAPOL frames from the VO queue if WMM is active
- P2P: Remove channel 14 from supported P2P channels
- hostapd: Clear WLAN_STA_ASSOC_REQ_OK if sending the assoc response failed
- hostapd: Add check for the wds sta flag before creating 4addr VLANs
- nl80211: Use the monitor interface if socket tx status is not supported
- wpa_supplicant: Set state to DISCONNECTED on AP creation errors
- P2P: Fix p2p_group_idle in no-group-interface P2P client case
- P2P: Fix PSK configuration for GO network
- Print control interface commands in easier format
- Add debug print for no enabled networks case
- P2P: Add more debug prints for GO start routines
- P2P: Fix pending sta scan processing for concurrent operation cases

BUG: 6940646
Change-Id: I1b1c54a08c61ec4af2bfd2274afc93501004eea2

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Mon, 24 Sep 2012 17:12:01 +0000 (10:12 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: Idb6548913ea9c4fc31a5b79e889274e7689f52c0

11 years agoam f0619665: Fix build: Add ANDROID_P2P for SCC interop fixes
Irfan Sheriff [Mon, 24 Sep 2012 16:25:08 +0000 (09:25 -0700)]
am f0619665: Fix build: Add ANDROID_P2P for SCC interop fixes

* commit 'f06196652a3e12af00503f4a548c56d4e60f7246':
  Fix build: Add ANDROID_P2P for SCC interop fixes

11 years agoam af84a575: GC channel fixes for better interop with SCC
Irfan Sheriff [Mon, 24 Sep 2012 16:25:08 +0000 (09:25 -0700)]
am af84a575: GC channel fixes for better interop with SCC

* commit 'af84a575044f6556994fcc124a955fc0ac0a6736':
  GC channel fixes for better interop with SCC

11 years agoam f0619665: Fix build: Add ANDROID_P2P for SCC interop fixes
Irfan Sheriff [Mon, 24 Sep 2012 15:29:37 +0000 (08:29 -0700)]
am f0619665: Fix build: Add ANDROID_P2P for SCC interop fixes

* commit 'f06196652a3e12af00503f4a548c56d4e60f7246':
  Fix build: Add ANDROID_P2P for SCC interop fixes

11 years agoam af84a575: GC channel fixes for better interop with SCC
Irfan Sheriff [Mon, 24 Sep 2012 15:29:37 +0000 (08:29 -0700)]
am af84a575: GC channel fixes for better interop with SCC

* commit 'af84a575044f6556994fcc124a955fc0ac0a6736':
  GC channel fixes for better interop with SCC

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 24 Sep 2012 13:59:07 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoFix build: Add ANDROID_P2P for SCC interop fixes
Irfan Sheriff [Mon, 24 Sep 2012 02:11:37 +0000 (19:11 -0700)]
Fix build: Add ANDROID_P2P for SCC interop fixes

Change-Id: I847b63428b47016cf9a9a0b090636e1d5b9d28b8

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Mon, 24 Sep 2012 01:59:42 +0000 (18:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoGC channel fixes for better interop with SCC
Irfan Sheriff [Sat, 22 Sep 2012 23:59:30 +0000 (16:59 -0700)]
GC channel fixes for better interop with SCC

- Force operating channel as the only channel in channel list attribute for go negotiation
and persistence
- Force an operating channel in go negotiation response even if the GO indicates a different
in negotiation request
- Fix a bug with updating peer operating channel based on GO negotiation confirm

Bug: 7217600
Change-Id: I6da0dc1a49c1d99ae97dcab8ee9899e07a80a6cb

11 years agoReconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 20 Sep 2012 17:35:38 +0000 (10:35 -0700)]
Reconcile with jb-mr1-release - do not merge

Change-Id: I3295bdb670882ec455141c50d2c3f71dab97af67

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Sun, 16 Sep 2012 13:59:32 +0000 (06:59 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoam 89ca702e: Do not inform other virtual interfaces of scan results in all cases
Jouni Malinen [Fri, 14 Sep 2012 21:30:01 +0000 (14:30 -0700)]
am 89ca702e: Do not inform other virtual interfaces of scan results in all cases

* commit '89ca702e8ed3247d7007dbdebe531036671c34af':
  Do not inform other virtual interfaces of scan results in all cases

11 years agoam 89ca702e: Do not inform other virtual interfaces of scan results in all cases
Jouni Malinen [Fri, 14 Sep 2012 21:29:53 +0000 (14:29 -0700)]
am 89ca702e: Do not inform other virtual interfaces of scan results in all cases

* commit '89ca702e8ed3247d7007dbdebe531036671c34af':
  Do not inform other virtual interfaces of scan results in all cases

11 years agoam fa08f9eb: P2P: Schedule new scan if P2P operation delays scan
Jouni Malinen [Fri, 14 Sep 2012 21:13:57 +0000 (14:13 -0700)]
am fa08f9eb: P2P: Schedule new scan if P2P operation delays scan

* commit 'fa08f9eb31989e0973eb8ed0bd14c238be19ab0b':
  P2P: Schedule new scan if P2P operation delays scan

11 years agoam 043a5a9d: P2P: Check all interfaces for pending scan for p2p_scan failures
Jouni Malinen [Fri, 14 Sep 2012 21:13:56 +0000 (14:13 -0700)]
am 043a5a9d: P2P: Check all interfaces for pending scan for p2p_scan failures

* commit '043a5a9d2586bf379a3f3e811c8c64d92050e131':
  P2P: Check all interfaces for pending scan for p2p_scan failures

11 years agoam dc7b7132: P2P: Move p2p_cb_on_scan_complete to global context
Jouni Malinen [Fri, 14 Sep 2012 21:13:56 +0000 (14:13 -0700)]
am dc7b7132: P2P: Move p2p_cb_on_scan_complete to global context

* commit 'dc7b71324df9788e194745e8ab9386a4619a623a':
  P2P: Move p2p_cb_on_scan_complete to global context

11 years agoam fa08f9eb: P2P: Schedule new scan if P2P operation delays scan
Jouni Malinen [Fri, 14 Sep 2012 21:13:53 +0000 (14:13 -0700)]
am fa08f9eb: P2P: Schedule new scan if P2P operation delays scan

* commit 'fa08f9eb31989e0973eb8ed0bd14c238be19ab0b':
  P2P: Schedule new scan if P2P operation delays scan

11 years agoam 043a5a9d: P2P: Check all interfaces for pending scan for p2p_scan failures
Jouni Malinen [Fri, 14 Sep 2012 21:13:53 +0000 (14:13 -0700)]
am 043a5a9d: P2P: Check all interfaces for pending scan for p2p_scan failures

* commit '043a5a9d2586bf379a3f3e811c8c64d92050e131':
  P2P: Check all interfaces for pending scan for p2p_scan failures

11 years agoam dc7b7132: P2P: Move p2p_cb_on_scan_complete to global context
Jouni Malinen [Fri, 14 Sep 2012 21:13:49 +0000 (14:13 -0700)]
am dc7b7132: P2P: Move p2p_cb_on_scan_complete to global context

* commit 'dc7b71324df9788e194745e8ab9386a4619a623a':
  P2P: Move p2p_cb_on_scan_complete to global context

11 years agomerge in jb-mr1-release history after reset to jb-mr1-dev
The Android Automerger [Fri, 14 Sep 2012 21:10:18 +0000 (14:10 -0700)]
merge in jb-mr1-release history after reset to jb-mr1-dev

11 years agoDo not inform other virtual interfaces of scan results in all cases
Jouni Malinen [Fri, 14 Sep 2012 20:03:12 +0000 (13:03 -0700)]
Do not inform other virtual interfaces of scan results in all cases

If a connection operation is started on an interface based on scan
results, other virtual interfaces should not be information about the
results to avoid potential concurrent operations during the association
steps. Since the sibling notification of scan results received was added
as an optimization, skipping it for this type of cases is the simplest
way of avoiding unnecessary concurrent operations.

Change-Id: I145b4237074a97cc75fd68933fff7ed99b850630
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoP2P: Schedule new scan if P2P operation delays scan
Jouni Malinen [Fri, 14 Sep 2012 01:05:55 +0000 (18:05 -0700)]
P2P: Schedule new scan if P2P operation delays scan

This makes sure that the interrupted station mode scan can be completed
after the P2P operations have had their chance of using the radio.

Signed-hostap: Jouni Malinen <j@w1.fi>