OSDN Git Service

android-x86/external-wpa_supplicant_8.git
10 years agoprivate_lib: move WPA_EVENT_DRIVER_STATE to driver_cmd_common.h jb-x86
Chih-Wei Huang [Wed, 21 Aug 2013 12:08:17 +0000 (20:08 +0800)]
private_lib: move WPA_EVENT_DRIVER_STATE to driver_cmd_common.h

10 years agoadd private_lib for NL80211 driver.
Chih-Wei Huang [Sun, 29 May 2011 07:34:50 +0000 (15:34 +0800)]
add private_lib for NL80211 driver.

Copied from hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib with
minor fixes for x86.

10 years agoMark interface disconnected on removal request, DO NOT MERGE
Jouni Malinen [Sun, 12 May 2013 16:16:35 +0000 (19:16 +0300)]
Mark interface disconnected on removal request, DO NOT MERGE

This cleans up debug log by not trying to process the disconnection
event as a failure that could result in blacklist addition and auto
connect attempt. These are pointless operations since the interface is
going to removed immediately after this.

Bug: 8785804
Change-Id: I2406d9b9bd9f0a83ae9fd0b0962f1134fda2bb9e
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agoDo not try auto connect mechanism in disconnected state, DO NOT MERGE
Jouni Malinen [Sun, 12 May 2013 16:15:33 +0000 (19:15 +0300)]
Do not try auto connect mechanism in disconnected state, DO NOT MERGE

This cleans up debug log by not requesting the auto connect on
dissassociation event if we are already in disconnected state and would
not try to connect anyway.

Bug: 8785804
Change-Id: I3ba6cc4c64dd714c0689a39339b6f0da5a06857e
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agoDo not add BSS to blacklist on local disconnection request, DO NOT MERGE
Jouni Malinen [Sun, 12 May 2013 16:12:29 +0000 (19:12 +0300)]
Do not add BSS to blacklist on local disconnection request, DO NOT MERGE

There is no point in marking a BSS temporarily blacklisted based on a
connection failure or disconnection case if that happens as a result of
a local request to disconnect. The blacklist entry could result on
unexpected BSS getting selected on the next connection attempt. In
addition, the code to try to find another BSS within the ESS could
result in scanning a single channel on the next attempt. Fix these
issues by handling the connection failure events only if we are not in
disconnected state (i.e., would try to reconnect after this
automatically).

Bug: 8785804
Change-Id: Iae119c292f5f45b78359dd67317d7d8206cb4cf7
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agowpa_supplicant: fix memory leak in -I option handling
Jouni Malinen [Tue, 23 Apr 2013 19:34:56 +0000 (12:34 -0700)]
wpa_supplicant: fix memory leak in -I option handling

Change-Id: I1b393d245d606882e7bb548135d1eab99a988a81
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoRevert "wpa_supplicant: fix -I option handling"
Iliyan Malchev [Tue, 23 Apr 2013 02:37:51 +0000 (02:37 +0000)]
Revert "wpa_supplicant: fix -I option handling"

This reverts commit b9551352f7b1af5c6e3ab7c07827db56651f6935

This CL was not necessary after all.

Change-Id: I27ec7981f0c8d1dad409f827e7bf7f001378ee07

11 years agowpa_supplicant: fix -I option handling
Dmitry Shmidt [Tue, 16 Apr 2013 17:41:54 +0000 (10:41 -0700)]
wpa_supplicant: fix -I option handling

Change-Id: I2344262f53b5e06116d0f9b5ae5a66190792cdb7
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
11 years agowpa_supplicant: Add option -I for additional config file
Dmitry Shmidt [Tue, 16 Apr 2013 17:41:54 +0000 (10:41 -0700)]
wpa_supplicant: Add option -I for additional config file

This option can be used only for global parameters that is not going
to be changed from settings.

Change-Id: I4f18aa0a8503cf8cc3a847ac9fcc15419291edf0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
11 years agoAdd liblog
Ying Wang [Wed, 10 Apr 2013 04:53:29 +0000 (21:53 -0700)]
Add liblog

Bug: 8580410
Change-Id: I1d1b468ca828306669a5d6e0797204dec5117971

11 years agoRevert 8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested
Dmitry Shmidt [Fri, 5 Apr 2013 20:16:58 +0000 (13:16 -0700)]
Revert 8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested

Bug: 8554432

Change-Id: I1f22539fd3c61a115956eb2d3634d0e4604e0759
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Enable TDLS
Dmitry Shmidt [Wed, 3 Apr 2013 22:07:13 +0000 (15:07 -0700)]
wpa_supplicant: Enable TDLS

Change-Id: Ibff5b85d7114215a1ba3c53c952a1f8c3d9e97bc
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 88c8bf311efa4eb64468bed9b41b3110ab9effff
Dmitry Shmidt [Tue, 2 Apr 2013 18:05:36 +0000 (11:05 -0700)]
Accumulative patch from commit 88c8bf311efa4eb64468bed9b41b3110ab9effff

88c8bf3 WPS NFC: Allow configuration token to be built from network block
e205401 WPS ER: Allow Enrollee to be specified with MAC address
c44a19c WPS ER: Document additional NFC command for ER operations
59307b3 WPS ER: Allow AP to be specified with BSSID
49e160a WPS: Fix use of pre-configured DH keys with multiple operations
5c9d63d WPS: Be more careful with pre-configured DH parameters
cd61936 hostapd: Show more helpful message for -g and -G errors

Change-Id: I7bfd1fa30214c54f2536679411ccd11bb4dd896d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 17b8995cf5813d7c027cd7a6884700e791d72392
Dmitry Shmidt [Mon, 1 Apr 2013 20:08:44 +0000 (13:08 -0700)]
Accumulative patch from commit 17b8995cf5813d7c027cd7a6884700e791d72392

17b8995 Interworking: Try to use same BSS entry for storing GAS results
3db5439 Optimize Extended Capabilities element to be of minimal length
8cd6b7b hostapd/wpa_s: Use driver's extended capabilities
acb5464 Add ctrl_iface command FLUSH for clearing wpa_supplicant state
97236ce WPS: Skip rescanning after provisioning if AP was configured
4342326 Add ignore_old_scan_res configuration parameter
9599ccc WPS: Clear after_wps on new WPS connection
702621e WPS: Use latest updated BSS entry if multiple BSSID matches found
ab547b5 WPS: Add more helpful debug for invalid WPS_REG command parsing
a679c0f WPS: Allow hostapd process to control independent WPS interfaces
ccdff94 WPS AP: Add support for reconfiguration with in-memory config
8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested
558d69e P2P: Omit P2P Group Info in case of no connected peers
65a32cd AP: Fix infinite loop in WPA state machine when out of random bytes
a5f61b2 Fix OLBC non-HT AP detection to check channel
69554d7 ap_list: Remove unused functions
08c99ca ap_list: Remove unused iteration list pointers
6b16917 ap_list: Remove unused fields
66f1f75 P2P: Fix provision discovery response handling in some cases
2f9b66d Extend ROAM command to handle multiple SSIDs per BSS

Change-Id: I46002b1d3bbf6e376c2ae09bcb2c824c54805bbd
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit ce26864e79144cba12d5ff98632570593cc57b8a
Dmitry Shmidt [Fri, 29 Mar 2013 23:41:28 +0000 (16:41 -0700)]
Accumulative patch from commit ce26864e79144cba12d5ff98632570593cc57b8a

187f87f hostapd: Allow ctrl_iface group to be specified on command line
9f890c9 TDLS: Support both external and internal setup in disabling link
864fe3a TDLS: Fix TDLS Setup Request processing in existing-peer cases
1d43e28 TDLS: Fix TPK M2 processing in concurrent initiation case
ef8151a P2P: Write p2p_ignore_shared_freq to configuration file on updates
8047f70 P2P: Ignore Tx acknowledgment status for Invitation Response
18a2eaa Add ap_vendor_elements for wpa_supplicant AP/P2P GO mode
b084df8 Add vendor_elements into Beacon/Probe Response IE parameters
b92e08f nl80211: Add debug prints for set_ap parameters
c30a4ab nl80211: Fix mode settings with split wiphy dump

Change-Id: I859638e630b6ca32b64e09943fce4d96f779897b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 52728dcd25b5074fb7c0493a8155f096089ad6d0
Dmitry Shmidt [Mon, 18 Mar 2013 20:09:42 +0000 (13:09 -0700)]
Accumulative patch from commit 52728dcd25b5074fb7c0493a8155f096089ad6d0

P2P: Stop P2P_PD_DURING_FIND wait on PD Response RX
P2P: Postpone P2P scan only if station mode scan is pending
Use special scan result processing steps only on requesting interface
P2P: Re-start P2P operation if station mode scanning is stopped
P2P: Use common function for re-starting P2P scan after station scan

Change-Id: I62bb738a912483647606de1a5bd5357346ebd8f9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 565110cd554801fa301c55010b3e9e14f43d7973
Dmitry Shmidt [Fri, 15 Mar 2013 21:14:44 +0000 (14:14 -0700)]
Accumulative patch from commit 565110cd554801fa301c55010b3e9e14f43d7973

nl80211: Include interface name in more debug prints
Convert WPS NFC python scripts from using wpactrl to wpaspy
wpa_supplicant: Fix lookup of cached PMKSA
Add capability flag for IBSS and add get_capability modes
hostapd: Fix client reassociation after disconnect due to ACK failure
Fix build with CONFIG_NO_CONFIG_BLOBS
Fix build without CONFIG_CTRL_IFACE or CONFIG_NO_STDOUT_DEBUG
libtommath: Avoid a compiler warning on unused variable
libtommath: Condition fast_s_mp_mul_digs() on LTM_FAST
P2P: Remove persistent group peer if it rejects invitation
P2P: Allow shared interface channel preference to be ignored
P2P: Fix shared frequency preference for concurrent operations
P2P: Use best-overall channel in p2p_reselect_channel()
P2P: Allow all channels for multi-channel concurrency (no negotiation)
TDLS: Disable link to existing peer with lower address
Fix compiler warning when CONFIG_IEEE80211R is not included
WPS NFC: Fix build without CONFIG_WPS_ER
FT: Add support for IEEE 802.11r with driver-based SME

Change-Id: I1d5ced870c33d5cb73ecc6f04e272a3cf50f344a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit f46fc73a3f8d0eeb1b43d17769464884f467ac47
Dmitry Shmidt [Tue, 12 Mar 2013 19:44:17 +0000 (12:44 -0700)]
Accumulative patch from commit f46fc73a3f8d0eeb1b43d17769464884f467ac47

P2P: Add a peer entry based on Association Request frame
P2P: Clear p2p_in_provisioning flag on group removal
Allow SME SA Query to be used by all drivers
Android: Sync makefile changes for HT/VHT overrides
wpa_supplicant: Support VHT capability overrides
wpa_supplicant: Parse int values in different bases and reject invalid
wpa_supplicant: Reschedule sched scan after network change
Remove unnecessary local variable
wpa_supplicant: Handle enabling of one or all networks equally
wpa_supplicant: Save prev_sched_ssid only if needed
wpa_supplicant: Do not allow too short sched scan
nl80211: Use helper function for phy_info_freqs()
nl80211: Split phy_info_band() into smaller helper functions
nl80211: Use helper function for phy_info_handler()
nl80211: Split wiphy_info_handler() into smaller helper functions
nl80211: Support splitting wiphy information in dumps
Synchronize with wireless-testing.git include/uapi/linux/nl80211.h
SAE: Add forgotten commit element validation step for FFC groups
SAE: Move commit element validation steps into single location

Change-Id: I369b6493f03714f6cfb4ed4a8c10ee6e6e71c1f8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam 6292bd70: am 7bf0939e: am 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:44:40 +0000 (13:44 -0700)]
am 6292bd70: am 7bf0939e: am 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '6292bd70d5ced108db6becc198eeb2a3a3113638':

11 years agoam 7bf0939e: am 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:13:50 +0000 (13:13 -0700)]
am 7bf0939e: am 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '7bf0939e106c975ac897b5d701e116b6c86ab75a':

11 years agoam 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:00:55 +0000 (13:00 -0700)]
am 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '7298e5ab20b37767cab89e7bc5784eb99d46a749':

11 years agoam 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do...
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:41:54 +0000 (12:41 -0700)]
am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '2f3c1638351db28f560acb819772a397d47d4192':

11 years agoam 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:23:10 +0000 (12:23 -0700)]
am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '89d125ecbdbbeba975bd8c5cf5055558ddf35a4a':

11 years agoReconcile with jb-mr1-release - do not merge
Jean-Baptiste Queru [Mon, 11 Mar 2013 19:18:53 +0000 (12:18 -0700)]
Reconcile with jb-mr1-release - do not merge

11 years agoAccumulative patch from commit 77e4e85321a0a1255901914d5de916aba050f9e1
Dmitry Shmidt [Tue, 5 Mar 2013 20:37:16 +0000 (12:37 -0800)]
Accumulative patch from commit 77e4e85321a0a1255901914d5de916aba050f9e1

P2P: Mark peer authorized for persistent group invitation
P2P: Indicate frequency for upper layer invitation processing
Allow wpa_supplicant AP mode to configure Beacon interval
P2P: Use peer's channel list to limit GO freq on invitation
P2P: Allow P2P client to specify preferred group channel
P2P: Use shared function for setting up frequencies
P2P: Allow all channels in case of multi channel concurrency
hostapd: Make VHT IE struct more expressive

Change-Id: I6d86d98a10a1a699bb464c5b916ebf21f626558b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 3a2a7c3da64563bfff7a0f46e3654f54a1eacbd1
Dmitry Shmidt [Fri, 1 Mar 2013 18:14:01 +0000 (10:14 -0800)]
Accumulative patch from commit 3a2a7c3da64563bfff7a0f46e3654f54a1eacbd1

P2P: Fix regression in GO Negotiation
P2P: Skip Listen phase when peer is expected to be waiting
P2P: Increase GO Negotiation timeouts

Change-Id: I77c8512067f49b46aea79d4bf394a0a24f4d0725
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 9e4d304ed7e2516b92081a5fba7288715ebb
Dmitry Shmidt [Fri, 1 Mar 2013 17:32:50 +0000 (09:32 -0800)]
Accumulative patch from commit 9e4d304ed7e2516b92081a5fba7288715ebb

nl80211: Add debug print for cancel-frame-wait command
Avoid partial BSS entries in control interface
Mark last BSS entry by #### instead of ====
Add WPA_BSS_MASK_DELIM flag to BSS command
nl80211: Fix WDS STA handling with multiple BSS interfaces
Use scan results for reconnection
Interworking: Remove unused variable warnings
wpa_cli: Increase receive buffer from 2048 to 4096 bytes

Change-Id: I518e7e374a98cec542b673dd27348f5b469e5826
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam be6cd8f7: Merge "wpa_supplicant_8: use correct header file."
Nick Kralevich [Thu, 28 Feb 2013 23:18:44 +0000 (23:18 +0000)]
am be6cd8f7: Merge "wpa_supplicant_8: use correct header file."

* commit 'be6cd8f75c858d95ae44d3b220557473e695317a':
  wpa_supplicant_8: use correct header file.

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 agoAccumulative patch from commit 8cee87ab139e52516ee4185789b40a0459fa7406
Dmitry Shmidt [Wed, 27 Feb 2013 20:58:50 +0000 (12:58 -0800)]
Accumulative patch from commit 8cee87ab139e52516ee4185789b40a0459fa7406

P2P: Only schedule a single p2p_go_neg_start timeout at a time
P2P: Do not start new GO Neg on Probe Req when waiting for Confirm
P2P: Fail GO Negotiation on missing Group ID
P2P: Assign GO tie breaker bit at the same time with dialog token

Change-Id: Ie7d1a795988cd5e8420234392e9a83a3ad4165f0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit f8361e3d681e55efead2aac79fedf4b232d533fb
Dmitry Shmidt [Wed, 27 Feb 2013 20:56:00 +0000 (12:56 -0800)]
Accumulative patch from commit f8361e3d681e55efead2aac79fedf4b232d533fb

TDLS: Pass peer's VHT Capability information during sta_add
WPS: Clear sent_carrier to avoid errors in python script
WPS: Fix OOB Device Password use in PSK1,PSK1 derivation
WPS: Add AP mode NFC connection handover with wpa_supplicant/nfcpy
WPS NFC: Add connection handover support for ER
WPS: Add wps-er-config command for writing config token from ER

Change-Id: I8934dcffb9f66bd3a2f840b78d72c9dd6cecf61d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoP2P: Fix GO Probe Response IEs when Wi-Fi Display is enabled
Jouni Malinen [Wed, 27 Feb 2013 15:46:44 +0000 (07:46 -0800)]
P2P: Fix GO Probe Response IEs when Wi-Fi Display is enabled

Commit 1a9f6509b3a711071c12006ff7c3a9cb2a6691f2 added support for
fragmenting the P2P IE in Probe Response frames from a GO. However, it
did not take into account the possibility of Wi-Fi Display IE being
included in the same buffer and caused a regression for the cases where
Wi-Fi Display is enabled. Fix this by building the possibly fragmented
P2P IE first and then concatenating the separate IEs together.

Bug: 8225922
Change-Id: I3c11c4558506f2324f883bb555f025b535b9e40e

11 years agoAccumulative patch from commit b618a469c42120e984ab1c85ed6058504d1fca78
Dmitry Shmidt [Wed, 20 Feb 2013 22:34:59 +0000 (14:34 -0800)]
Accumulative patch from commit b618a469c42120e984ab1c85ed6058504d1fca78

  Author: Jouni Malinen <jouni@qca.qualcomm.com>
  Date:   Sat Feb 16 19:54:09 2013 +0200
    Interworking: Select highest priority cred if multiple matches

Interworking: Select highest priority cred if multiple matches
GAS server: Fix a regression in GAS server callback
hostapd: Fix Max SP Length derivation from QoS Info
nl80211: Configure STA Capabilities and Extended Capabilities
Synchronize with wireless-testing.git include/uapi/linux/nl80211.h
WPS: Fix build without CONFIG_WPS_NFC
WPS: Add support for NFC handover select generation with wpa_supplicant
WPS: Update NFC connection handover documentation
WPS: Add support for config token generation with wpa_supplicant
WPS: Allow password token to be written with nfcpy
WPS: Use pre-configured NFC password token instead of overriding it
TDLS: Pass peer's Capability and Ext Capability info during sta_add
TDLS: Pass peer's HT Capability and QOS information during sta_add
nl80211: Add debug prints for STA add/set operations
TDLS: Fix add/set STA operation
Synchronize with wireless-testing.git include/uapi/linux/nl80211.h
WPS: Allow Device Password to be changed from M1 to M2
WPS: Fix wps_reg nfc-pw option
TDLS: Tear down peers when disconnecting from the AP
P2P: Do not use old scan result data for peer discovery
Use more accurate timestamps for scan results
P2P: Postpone P2P-DEVICE-FOUND if config_methods not known
P2P: Do not allow peer update to clear config_methods
WPS: Report NFC connection handover completion differently
P2P: Avoid concurrent scans during all steps of group formation
P2P: Cancel group formation timeout on group removal (on client)
WPS: Change listen time to match nfcpy default (250 ms)
WPS: Report only the carrier record from NFC to wpa_supplicant
WPS: Fetch only the carrier record from wpa_supplicant for NFC
WPS: Update nfcpy script to support AP mode NFC connection handover
WPS: Add command for fetching carrier record for NFC handover
WPS: Clean up debug prints with nfcpy
WPS: Remove 0.5 sec extra wait from NFC handover with nfcpy
WPS: Use alternating poll/listen for NFC peer discovery with nfcpy
WPS: Configure logging to show nfcpy log message
WPS: Add an example python script for NFC operations with hostapd
hostapd: Do not change HT40 capability due to OBSS scan
dbus: Add missing signal description for WPS (7)
EAP peer: Add Session-Id derivation to more EAP methods
EAP peer: Add Session-Id derivation
EAP-IKEV2 server: Fix invalid memory freeing operation
eap_proxy: Add a dummy implementation for compilation testing
eap_proxy: Add mechanism for allowing EAP methods to be offloaded
Android: Allow setgroups to be overridden from build configuration
P2P: Send p2p_stop_find event on failure to start pending p2p_find
P2P: Fix GO Probe Response IEs when Wi-Fi Display is enabled
Capability matching for 60 GHz band
nl80211: Add ctrl_iface message for AP mode connection rejection
P2P: Allow local configuration to use 5 GHz band 40 MHz channels
Fix BSS RANGE command for no exact id match cases

Change-Id: Iac9284bba31db40911aecc3adf2843c9b1576db1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoUpdate AP IE regardless WPA_DRIVER_FLAGS_BSS_SELECTION flag
Dmitry Shmidt [Fri, 15 Feb 2013 00:44:44 +0000 (16:44 -0800)]
Update AP IE regardless WPA_DRIVER_FLAGS_BSS_SELECTION flag

Change-Id: Ia2b0aea81e250cfd989861ed37551ca8c41f7a66
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit cc03d0fef3bf5913f8e11b7e998c10bf36a3c07f
Dmitry Shmidt [Wed, 6 Feb 2013 01:44:43 +0000 (17:44 -0800)]
Accumulative patch from commit  cc03d0fef3bf5913f8e11b7e998c10bf36a3c07f

  Author: Amar Singhal <asinghal@qca.qualcomm.com>
  Date:   Wed Feb 6 00:31:34 2013 +0200
    Add "BSS LAST ..." command

 - Add "BSS LAST ..." command
 - HS 2.0: Fix IE buffer length for extra scan IEs
 - TDLS: Several fixes
 - P2P: Fix P2P-GROUP-STARTED event for p2p_connect-join
 - P2P: Fix Action frame processing if Interworking is enabled
 - wpa_supplicant: Fix access to the freed memory when removing all networks
 - Add driver for OpenBSD net80211 layer
 - Make wpas_select_network_from_last_scan() static
 - wpa_supplicant: Implement fast-associate on SelectNetwork
 - Update scan interval gracefully
 - eloop: Add a timer cancel that returns the remaining time
 - nl80211: Do not use void pointer for driver_ops used internally
 - hostapd: Fix crash when scan fails

Change-Id: I083747a0b1f7000730a9ab3ea80f3ee7e6247181
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Add 'SCAN TYPE=ONLY' functionality
Dmitry Shmidt [Thu, 17 Jan 2013 18:32:35 +0000 (10:32 -0800)]
wpa_supplicant: Add 'SCAN TYPE=ONLY' functionality

Usual manual scan request may cause reassociation due to several reasons.
New command is intended to perform pure scan.

Change-Id: I5f517a9f50f286482290e76ca1088abf6a1aeff9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam 45fcd5c5: am f137c56d: Merge "Fix INCLUDES path for keystore headers."
Kenny Root [Wed, 30 Jan 2013 07:01:53 +0000 (23:01 -0800)]
am 45fcd5c5: am f137c56d: Merge "Fix INCLUDES path for keystore headers."

# By Stephen Smalley
# Via Android Git Automerger (1) and others
* commit '45fcd5c547a5010a04871a463e54554f1cf693ef':
  Fix INCLUDES path for keystore headers.

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 cd4bf967: am a18eec54: Merge "Fix regression in LEAP"
Jean-Baptiste Queru [Mon, 28 Jan 2013 21:57:04 +0000 (13:57 -0800)]
am cd4bf967: am a18eec54: Merge "Fix regression in LEAP"

# By Jouni Malinen
# Via Android Git Automerger (1) and others
* commit 'cd4bf967a77b0bc5e84fd40a2cd418e2551f3f7a':
  Fix regression in LEAP

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 agoAccumulative patch from commit dc013f1e37df3462085cf01a13f0c432f146ad7a
Dmitry Shmidt [Tue, 15 Jan 2013 21:53:35 +0000 (13:53 -0800)]
Accumulative patch from commit dc013f1e37df3462085cf01a13f0c432f146ad7a

Author: Jouni Malinen <jouni@qca.qualcomm.com>
Date:   Tue Jan 15 12:03:29 2013 +0200
    eapol_test: Remove unnecessary header file inclusion

 - P2P: Send P2P-FIND-STOPPED event in the new continue-search states
 - P2P: Add some more details on Service Query TLV format
 - P2P: Use the same Dialog Token value for every GO Negotiation retry
 - P2P: Publish more connected clients info in Probe Response frames
 - P2P: Fix some memory leaks in p2p_add_device()
 - P2P: Use the same Dialog Token value for every PD retry
 - P2P: Document operating channel selection functions
 - P2P: Always re-select operating channel if not hard coded
 - P2P: Do not allow re-selection of GO channel if forced_freq in use
 - P2P: Set FORCE_FREQ flag as part of p2p_prepare_channel()
 - P2P: Share a single function for GO channel selection
 - P2P: Prefer operating channels where HT40 is possible
 - P2P: Be more careful with wpa_config_update_psk() call
 - P2P: Allow PSK to be used instead of passphrase for persistent GO
 - P2P: Consider age for the P2P scan results
 - Move some P2P offchannel operations to offchannel.c
 - P2P: Add more complete description of p2p_cancel
 - P2P: Allow p2p_cancel to be used to stop p2p_connect-join operation
 - Interworking changes
 - WNM changes
 - WPS changes
 - SAE changes

Change-Id: I38b847d3460066cc58aecbcf67266bfcff1d344e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoCleaning: Remove obsolte ANDROID_QCOM_WCN define
Dmitry Shmidt [Wed, 9 Jan 2013 22:20:12 +0000 (14:20 -0800)]
Cleaning: Remove obsolte ANDROID_QCOM_WCN define

Change-Id: I4862776f2c4c7462519a7a431f7ef2dad389bfba
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoExtend EAPOL frames processing workaround for roaming cases
Jouni Malinen [Fri, 21 Dec 2012 19:35:35 +0000 (21:35 +0200)]
Extend EAPOL frames processing workaround for roaming cases

Commit 1ff733383f3d5c73233ef452a738765667021609 added a mechanism to
work around issues due to association events and EAPOL RX events being
getting reordered. However, this applied only for the case where
wpa_supplicant is not in associated state. The same issue can happen in
roaming case with drivers that perform BSS selection internally (or in
firmware). Handle that case similarly by delaying received EAPOL frame
processing if the source address of the EAPOL frame does not match the
current BSSID.

Since wired IEEE 802.1X do not have BSSID, make this additional
workaround conditional on BSSID match having been observed during the
previous association.

This fixes issues where the initial EAPOL frame after reassociation was
either dropped (e.g., due to replay counter not increasing) or replied
to with incorrect destination address (the BSSID of the old AP). This
can result in significantly more robust roaming behavior with drivers
that do not use wpa_supplicant for BSS selection.

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

11 years agoAccumulative patch from commit f5f37d3a4fc2df2a24676b4f95afca15ed793cba
Dmitry Shmidt [Mon, 3 Dec 2012 23:08:10 +0000 (15:08 -0800)]
Accumulative patch from commit f5f37d3a4fc2df2a24676b4f95afca15ed793cba

Author: Jouni Malinen <j@w1.fi>
Date:   Sun Nov 25 22:05:32 2012 +0200

   Fix REAUTHENTICATE command after PMKSA caching

   The current PMKSA cache entry needs to be clear to allow EAPOL
   reauthentication to be started in case this association used PMKSA
   caching.

 - Remove old WPS_OOB NCF
 - WPS: Add preliminary NFC connection handover support for Enrollee
 - WPS: Reenable the networks disabled during wpa_wpas_reassoc
 - P2P: Avoid multi-channel scans when they are not needed
 - P2P: Allow discoverable interval for p2p_find to be configured
 - P2P: Allow all channels with multi-channel concurrency
 - Bonjour changes
 - Remove disassociate
 - HS 2.0 changes
 - Add preliminary support for using SQLite for eap_user database
 - Add SAE support
 - Add disallow_aps parameter to disallow BSSIDs/SSIDs

Change-Id: I85358a05b39d46b8db49acdad667e771c580b05c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam 0fb73406: am 0cc49e8d: Add BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support
Mike J. Chen [Fri, 7 Dec 2012 07:21:31 +0000 (23:21 -0800)]
am 0fb73406: am 0cc49e8d: Add BOARD_WLAN_DEVICE=mrvl check for ANDROID_P2P support

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

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 agoAndroid: Force group access to ctrl_iface directory
Jouni Malinen [Fri, 23 Nov 2012 15:05:47 +0000 (17:05 +0200)]
Android: Force group access to ctrl_iface directory

wpa_supplicant is started from /init.*.rc on Android and that seems
to be using umask 0077 which would leave the control interface
directory without group access. This breaks things since Wi-Fi
framework assumes that this directory can be accessed by other
applications in the wifi group. Fix this by adding group access even
if umask value would prevent this.

In most cases, this issue was not hit since the control interface
directory is normally created by that same init.*.rc file with suitable
mode and wpa_supplicant is killed in the way that does not allow it to
remove the file. However, if wpa_supplicant is allowed stop cleanly, it
will remove the directory and the next start could result with the Wi-Fi
framework not being able to use Wi-Fi (and GUI not showing Wi-Fi getting
enabled).

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

11 years agoresolved conflicts for merge of d3501922 to master
Ying Wang [Wed, 21 Nov 2012 20:28:46 +0000 (12:28 -0800)]
resolved conflicts for merge of d3501922 to master

Change-Id: I1a934ce39a06fa30d3461b19cfe375400642ea4b

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 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

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 agoam 56388dbb: Merge "Switch keystore to binder"
Kenny Root [Wed, 14 Nov 2012 23:27:34 +0000 (15:27 -0800)]
am 56388dbb: Merge "Switch keystore to binder"

* commit '56388dbb276fef1e0ccdfcd5a38ab9b946bb3734':
  Switch keystore to binder

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 agowpa_supplicant: Set Ver 0.8.X as default
Dmitry Shmidt [Wed, 7 Nov 2012 20:58:02 +0000 (12:58 -0800)]
wpa_supplicant: Set Ver 0.8.X as default

Change-Id: I2d2433464068e863c12c0a06eed269e2a8c0fc46
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam 600a7278: (-s ours) am c0aec062: am 930540de: Reconcile with jb-mr1-factory-releas...
The Android Open Source Project [Tue, 6 Nov 2012 20:29:09 +0000 (12:29 -0800)]
am 600a7278: (-s ours) am c0aec062: am 930540de: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit '600a72784d7e928167ad0865d6ef2b2fd62a31db':

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 agoam 19409cd0: (-s ours) Reconcile with jb-mr1-release - do not merge
The Android Open Source Project [Thu, 1 Nov 2012 14:54:39 +0000 (07:54 -0700)]
am 19409cd0: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '19409cd098ff01560443298f40652953222da067':

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 5d7d6ace: am efb9743f: am 86c93df1: Merge "Increase timeouts for p2p" into jb...
Irfan Sheriff [Wed, 31 Oct 2012 20:20:01 +0000 (13:20 -0700)]
am 5d7d6ace: am efb9743f: am 86c93df1: Merge "Increase timeouts for p2p" into jb-mr1-dev

* commit '5d7d6ace05e310115d13fe31d68a218c7f20c18c':
  Increase timeouts for p2p

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 agoam af40b4e5: (-s ours) Reconcile with jb-mr1-factory-release jb-mr1-release - do...
The Android Open Source Project [Wed, 31 Oct 2012 16:19:09 +0000 (09:19 -0700)]
am af40b4e5: (-s ours) Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge

* commit 'af40b4e5a4778313433ce9612c51ba367acf8d66':

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 agoam f368213f: am a27072d9: am b8fdecbf: Add parameter checking and error reporting...
Sasha Levitskiy [Tue, 30 Oct 2012 17:11:18 +0000 (10:11 -0700)]
am f368213f: am a27072d9: am b8fdecbf: Add parameter checking and error reporting to wpa_blacklist API.

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

11 years agoam f210a2f4: am d73deeec: am 54cb0f6f: wpa_supplicant: Try to reject proper BSSID...
Dmitry Shmidt [Tue, 30 Oct 2012 17:11:14 +0000 (10:11 -0700)]
am f210a2f4: am d73deeec: am 54cb0f6f: wpa_supplicant: Try to reject proper BSSID even if not set by the driver

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

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 dc4a9a1c: am 03df168d: am b485b188: Add better handling of CTRL-EVENT-ASSOC-REJECT
Jeff Johnson [Tue, 23 Oct 2012 21:55:18 +0000 (14:55 -0700)]
am dc4a9a1c: am 03df168d: am b485b188: Add better handling of CTRL-EVENT-ASSOC-REJECT

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

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 c9330050: am a44422be: am 12b1cd9e: Support conc_pref when use_p2p_group_interface=0
Jeff Johnson [Wed, 17 Oct 2012 21:18:10 +0000 (14:18 -0700)]
am c9330050: am a44422be: am 12b1cd9e: Support conc_pref when use_p2p_group_interface=0

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

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 1449e2b6: am f1b71881: am 81931b8b: Increase channel delay to 100ms
Irfan Sheriff [Wed, 17 Oct 2012 05:59:55 +0000 (22:59 -0700)]
am 1449e2b6: am f1b71881: am 81931b8b: Increase channel delay to 100ms

* commit '1449e2b6a4b40abcd1fc7e5f5458bfbfec8c89a5':
  Increase channel delay to 100ms

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