OSDN Git Service

android-x86/external-wpa_supplicant_8.git
11 years agoam dee117d0: Merge "SME: Fix disconnec-while-authenticating" into jb-mr1-dev
Dmitry Shmidt [Sun, 9 Sep 2012 21:03:12 +0000 (14:03 -0700)]
am dee117d0: Merge "SME: Fix disconnec-while-authenticating" into jb-mr1-dev

* commit 'dee117d008719acfac082af3740349fc86629627':
  SME: Fix disconnec-while-authenticating

11 years agoam 37f5fa5a: Merge "Fix disconnection event processing" into jb-mr1-dev
Dmitry Shmidt [Sun, 9 Sep 2012 21:03:11 +0000 (14:03 -0700)]
am 37f5fa5a: Merge "Fix disconnection event processing" into jb-mr1-dev

* commit '37f5fa5a8706c16490dd841c280bc015f79d81da':
  Fix disconnection event processing

11 years agoMerge "SME: Fix disconnec-while-authenticating" into jb-mr1-dev
Dmitry Shmidt [Sun, 9 Sep 2012 21:01:23 +0000 (14:01 -0700)]
Merge "SME: Fix disconnec-while-authenticating" into jb-mr1-dev

11 years agoMerge "Fix disconnection event processing" into jb-mr1-dev
Dmitry Shmidt [Sun, 9 Sep 2012 21:01:00 +0000 (14:01 -0700)]
Merge "Fix disconnection event processing" into jb-mr1-dev

11 years agoam 164eea3a: Merge "Fix REMOVE_NETWORK to not run operations with invalid current_ssi...
Dmitry Shmidt [Sun, 9 Sep 2012 20:58:40 +0000 (13:58 -0700)]
am 164eea3a: Merge "Fix REMOVE_NETWORK to not run operations with invalid current_ssid" into jb-mr1-dev

* commit '164eea3ac2d53d1fecf20d76fd6b9f1920c17df4':
  Fix REMOVE_NETWORK to not run operations with invalid current_ssid

11 years agoam 8084af89: Merge "nl80211: Register read_sta_data() handler for station only builds...
Dmitry Shmidt [Sun, 9 Sep 2012 20:58:39 +0000 (13:58 -0700)]
am 8084af89: Merge "nl80211: Register read_sta_data() handler for station only builds" into jb-mr1-dev

* commit '8084af89d283ed015e28a5eb781726ae5e138cf0':
  nl80211: Register read_sta_data() handler for station only builds

11 years agoMerge "Fix REMOVE_NETWORK to not run operations with invalid current_ssid" into jb...
Dmitry Shmidt [Sun, 9 Sep 2012 20:57:57 +0000 (13:57 -0700)]
Merge "Fix REMOVE_NETWORK to not run operations with invalid current_ssid" into jb-mr1-dev

11 years agoMerge "nl80211: Register read_sta_data() handler for station only builds" into jb...
Dmitry Shmidt [Sun, 9 Sep 2012 20:57:09 +0000 (13:57 -0700)]
Merge "nl80211: Register read_sta_data() handler for station only builds" into jb-mr1-dev

11 years agoSME: Fix disconnec-while-authenticating
Jouni Malinen [Sat, 1 Sep 2012 14:20:27 +0000 (17:20 +0300)]
SME: Fix disconnec-while-authenticating

Commit 0d30cc240fa36905b034dc9676f9d8da0ac18e56 forced
wpa_s->current_ssid to be cleared in wpa_supplicant_mark_disassoc()
which gets called from wpa_supplicant_event_disassoc(). This broke SME
disassoc-while-authenticating workaround for cfg80211. Fix this by
restoring wpa_s->current_ssid in case SME authentication is in progress.

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

11 years agoFix disconnection event processing
Jouni Malinen [Fri, 31 Aug 2012 19:04:41 +0000 (22:04 +0300)]
Fix disconnection event processing

Commit 0d30cc240fa36905b034dc9676f9d8da0ac18e56 forced
wpa_s->current_ssid and wpa_s->key_mgmt to be cleared in
wpa_supplicant_mark_disassoc() which gets called from
wpa_supplicant_event_disassoc(). This broke IEEE 802.1X authentication
failure processing and P2P deauthentication notification (group
termination).

Fix this by splitting wpa_supplicant_event_disassoc() into two parts and
make wpas_p2p_deauth_notif() indicate whether the interface was removed.
If so, the last part of disassocition event processing is skipped. Since
the wpa_supplicant_mark_disassoc() call is in the second part, the above
mentioned issues are resolved. In addition, this cleans up the P2P group
interface removal case by not trying to use fast reconnection mechanism
just before the interface gets removed.

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

11 years agoFix REMOVE_NETWORK to not run operations with invalid current_ssid
Deepthi Gowri [Mon, 3 Sep 2012 08:55:38 +0000 (11:55 +0300)]
Fix REMOVE_NETWORK to not run operations with invalid current_ssid

If the REMOVE_NETWORK command is used to delete the currently connected
network, some operations were run between removing the network and
clearing of wpa_s->current_ssid. This left wpa_s->current_ssid pointing
to freed memory and should any operation end up using it before the
pointer gets cleared, freed memory could be references. Avoid this by
removing the network only after having completed the operations that
clear wpa_s->current_ssid.

Signed-hostap: Deepthi Gowri <deepthi@codeaurora.org>
intended-for: hostap-1

11 years agonl80211: Register read_sta_data() handler for station only builds
Jouni Malinen [Wed, 5 Sep 2012 14:07:03 +0000 (17:07 +0300)]
nl80211: Register read_sta_data() handler for station only builds

This driver_op can now be used in station mode, too, to fetch
information about the connection with the AP, so allow this to be used
even if wpa_supplicant is built without AP mode support.

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

11 years agoam 66bf9c42: (-s ours) am 26e08cb4: (-s ours) Reconcile with jb-mr0-release - do...
The Android Open Source Project [Fri, 7 Sep 2012 23:43:46 +0000 (16:43 -0700)]
am 66bf9c42: (-s ours) am 26e08cb4: (-s ours) Reconcile with jb-mr0-release - do not merge

* commit '66bf9c42970e42704a1618642662b9bc4997abfa':
  Fix 'restore STA reconnection behavior' cherry-pick
  Restore STA reconnection behavior

11 years agoam 26e08cb4: (-s ours) Reconcile with jb-mr0-release - do not merge
The Android Open Source Project [Fri, 7 Sep 2012 22:24:01 +0000 (15:24 -0700)]
am 26e08cb4: (-s ours) Reconcile with jb-mr0-release - do not merge

* commit '26e08cb4a4ab9f9bc5446f4b831dec1828331cba':
  Fix 'restore STA reconnection behavior' cherry-pick
  Restore STA reconnection behavior

11 years agoReconcile with jb-mr0-release - do not merge
The Android Open Source Project [Fri, 7 Sep 2012 22:21:12 +0000 (15:21 -0700)]
Reconcile with jb-mr0-release - do not merge

Change-Id: If17cb68d4590892767c5c9669b194c8c8cda68b6

11 years agoFix join for p2p_connect
Irfan Sheriff [Fri, 7 Sep 2012 01:30:39 +0000 (18:30 -0700)]
Fix join for p2p_connect

wps_pbc with interface command stripped out ends up as a null character.
Supplicant tries to interpret that as a bssid. Fix it to ignore null
character as empty bssid

Change-Id: Ic91d6657efaf03fbe5c4a03e9e630b4b3ff5dec4

11 years agoFix 'restore STA reconnection behavior' cherry-pick
Dmitry Shmidt [Tue, 4 Sep 2012 23:52:41 +0000 (16:52 -0700)]
Fix 'restore STA reconnection behavior' cherry-pick

BUG: b/6400311

Change-Id: I7b90ab9b5430b92e9e4e5702c3b1805a6bbc0b9a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoRestore STA reconnection behavior
Irfan Sheriff [Mon, 18 Jun 2012 16:39:07 +0000 (09:39 -0700)]
Restore STA reconnection behavior

Have the customized retry behavior only for P2P & do group failure indication
beyond 5 retries

Bug: b/6674338, b/6910598, b/6400311
Change-Id: I58cba356ebdb7fc4eaa9bedfa417b7d5d35bb306

Conflicts:

wpa_supplicant/events.c

11 years agohostapd: Allow hostapd_cli to work on Android
Jeff Johnson [Tue, 4 Sep 2012 05:12:17 +0000 (22:12 -0700)]
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.

Change-Id: Iabcd8d70ef61fae6656066991240d55e65a032e4

11 years agowpa_supplicant: Update to 29-Aug-2012 TOT
Dmitry Shmidt [Wed, 29 Aug 2012 23:22:06 +0000 (16:22 -0700)]
wpa_supplicant: Update to 29-Aug-2012 TOT

commit 6ffdc2f7bd496ace7a46e055f9714e7db4b1f722
Author: Jouni Malinen <jouni@qca.qualcomm.com>
Date:   Fri Mar 2 22:31:04 2012 +0200

    WFD: Add preliminary WSD request processing and response

    This commit does not yet address support for different device roles,
    i.e., the same set of subelements are returned regardless of which
    role was indicated in the request.

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

Change-Id: I9d63acce719b982c02e589bb59602382e82988c8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Update to BRCM version 0.8.0-38
Dmitry Shmidt [Tue, 4 Sep 2012 18:06:50 +0000 (11:06 -0700)]
wpa_supplicant: Update to BRCM version 0.8.0-38

- Restore p2p_group_formation pointer till the 4-way handshake
  completes for the p2p client

Change-Id: I976659ae5dac4cf01ecdd7995ff9abb6bf914bc1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoFix am cef482f8: merge
Dmitry Shmidt [Wed, 5 Sep 2012 00:21:12 +0000 (17:21 -0700)]
Fix am cef482f8: merge

Change-Id: I47a4610b40092d81a4d62e53a26924c4f9d05a17
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam cef482f8: am 0531f204: Fix \'restore STA reconnection behavior\' cherry-pick
Dmitry Shmidt [Wed, 5 Sep 2012 00:04:57 +0000 (17:04 -0700)]
am cef482f8: am 0531f204: Fix \'restore STA reconnection behavior\' cherry-pick

* commit 'cef482f830a787f249e7719ffb7d45db19ba1feb':
  Fix 'restore STA reconnection behavior' cherry-pick

11 years agoam 0531f204: Fix \'restore STA reconnection behavior\' cherry-pick
Dmitry Shmidt [Wed, 5 Sep 2012 00:02:52 +0000 (17:02 -0700)]
am 0531f204: Fix \'restore STA reconnection behavior\' cherry-pick

* commit '0531f20404b2e284d1b444d5af48b6e0c629975b':
  Fix 'restore STA reconnection behavior' cherry-pick

11 years agoFix 'restore STA reconnection behavior' cherry-pick
Dmitry Shmidt [Tue, 4 Sep 2012 23:52:41 +0000 (16:52 -0700)]
Fix 'restore STA reconnection behavior' cherry-pick

BUG: b/6400311

Change-Id: I7b90ab9b5430b92e9e4e5702c3b1805a6bbc0b9a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam c5c02f1d: (-s ours) am a831bff7: Restore STA reconnection behavior
Irfan Sheriff [Tue, 4 Sep 2012 23:40:59 +0000 (16:40 -0700)]
am c5c02f1d: (-s ours) am a831bff7: Restore STA reconnection behavior

* commit 'c5c02f1d8a39ff95f2a01e1cee7daf3c0ade6dbe':
  Restore STA reconnection behavior

11 years agoam a831bff7: Restore STA reconnection behavior
Irfan Sheriff [Tue, 4 Sep 2012 23:32:08 +0000 (16:32 -0700)]
am a831bff7: Restore STA reconnection behavior

* commit 'a831bff72fa9e58cc9f71717f63c7649002e64fb':
  Restore STA reconnection behavior

11 years agoRestore STA reconnection behavior
Irfan Sheriff [Mon, 18 Jun 2012 16:39:07 +0000 (09:39 -0700)]
Restore STA reconnection behavior

Have the customized retry behavior only for P2P & do group failure indication
beyond 5 retries

Bug: b/6674338, b/6910598, b/6400311
Change-Id: I58cba356ebdb7fc4eaa9bedfa417b7d5d35bb306

Conflicts:

wpa_supplicant/events.c

11 years agoDebug-print command only in case of interface prefix
Dmitry Shmidt [Mon, 27 Aug 2012 22:01:35 +0000 (15:01 -0700)]
Debug-print command only in case of interface prefix

Change-Id: If0054e8f7f4ffb2d559207d8939235938ae19f18
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Update to BRCM version 0.8.0-37
Dmitry Shmidt [Sat, 25 Aug 2012 00:03:35 +0000 (17:03 -0700)]
wpa_supplicant: Update to BRCM version 0.8.0-37

- Allow AP_SME support
- Do not send disassoc after EAP failure since AP_SME is enabled
  and del_station will be called
- Allow group idle timeout to run during WPS disconnect

Change-Id: I7e9e15b9c44804196bc98c01d51a71e24412b91d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Add bss_flush command to invalidate scan results
Dmitry Shmidt [Fri, 24 Aug 2012 18:14:44 +0000 (11:14 -0700)]
wpa_supplicant: Add bss_flush command to invalidate scan results

Change-Id: I1a6ebc4fe53e16909ac44e2d04a6b651993dae91
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Explicitly enable 802.11n and 802.11d for qcwcn
Jeff Johnson [Mon, 13 Aug 2012 23:56:18 +0000 (16:56 -0700)]
wpa_supplicant: Explicitly enable 802.11n and 802.11d for qcwcn

The Qualcomm qcwcn driver relies upon information from the supplicant
to enable 802.11n and 802.11d support.  Unfortunately there currently
does not exist configuration file parameters to control these items,
therefore hard code these in the supplicant.

Change-Id: Iaa586c58d96bd8966b47f6e18b627648df89c03e

11 years agoMerge "wpa_supplicant: Fix wpa_drv_pktcnt_poll() call" into jb-mr1-dev
Dmitry Shmidt [Wed, 22 Aug 2012 17:12:57 +0000 (10:12 -0700)]
Merge "wpa_supplicant: Fix wpa_drv_pktcnt_poll() call" into jb-mr1-dev

11 years agowpa_supplicant: Fix wpa_drv_pktcnt_poll() call
Dmitry Shmidt [Wed, 22 Aug 2012 00:27:22 +0000 (17:27 -0700)]
wpa_supplicant: Fix wpa_drv_pktcnt_poll() call

Change-Id: I265b095235890be623090272a81e67123ff86185
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAdd support for Qualcomm qcwcn Wireless Connectivity solution
Jeff Johnson [Mon, 13 Aug 2012 23:54:58 +0000 (16:54 -0700)]
Add support for Qualcomm qcwcn Wireless Connectivity solution

Update the wpa_supplicant and hostapd makefiles to enable
ANDROID_P2P and ANDROID_QCOM_WCN conditional compilation
when the BOARD_WLAN_DEVICE is qcwcn.

Change-Id: I5d8216bdede6d6eb6613a83cda2c67c5eb7c2280

11 years agowpa_supplicant: Update to BRCM version 0.8.0-36
Dmitry Shmidt [Fri, 17 Aug 2012 23:22:31 +0000 (16:22 -0700)]
wpa_supplicant: Update to BRCM version 0.8.0-36

Change-Id: Ic3f1375953f4a7c77d2208f8436d951889093397
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam 978afbdb: am 6f0634d6: Merge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 07:12:14 +0000 (00:12 -0700)]
am 978afbdb: am 6f0634d6: Merge "Get rid of LOCAL_MODULE_TAGS := user"

* commit '978afbdbf1e4b5e950f419ad5c24d08cd7df1f6d':
  Get rid of LOCAL_MODULE_TAGS := user

11 years agoam 6f0634d6: Merge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 06:55:55 +0000 (23:55 -0700)]
am 6f0634d6: Merge "Get rid of LOCAL_MODULE_TAGS := user"

* commit '6f0634d6c8d1b07cc281db15c1a63ec348ebada0':
  Get rid of LOCAL_MODULE_TAGS := user

11 years agoMerge "Get rid of LOCAL_MODULE_TAGS := user"
Joe Onorato [Fri, 17 Aug 2012 06:39:14 +0000 (23:39 -0700)]
Merge "Get rid of LOCAL_MODULE_TAGS := user"

11 years agoMerge "Add delimiter for bss command" into jb-mr1-dev
Irfan Sheriff [Mon, 13 Aug 2012 18:22:04 +0000 (11:22 -0700)]
Merge "Add delimiter for bss command" into jb-mr1-dev

11 years agoAdd delimiter for bss command
Irfan Sheriff [Mon, 13 Aug 2012 17:56:16 +0000 (10:56 -0700)]
Add delimiter for bss command

With the availability of MASK option, the number of lines per BSS is not obvious,
add a delimiter to make parsing less flaky

Bug: 2961159
Change-Id: I9e5523f8da183e0735dbc06f0c09c9f841060504

11 years agonl80211: Clean nl80211_send_frame_cmd() function
Dmitry Shmidt [Fri, 10 Aug 2012 20:46:14 +0000 (13:46 -0700)]
nl80211: Clean nl80211_send_frame_cmd() function

Change-Id: I1753151ac1a7b6f7cf48112185342faea44e8327
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoMinor cleaning to be closer to mainstream
Jouni Malinen [Thu, 9 Aug 2012 22:29:25 +0000 (15:29 -0700)]
Minor cleaning to be closer to mainstream

Change-Id: I4aed30c59c549c2ce7488f12df4e68c6154f0ffe
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Update to BRCM version 0.8.0-34
Dmitry Shmidt [Wed, 8 Aug 2012 17:56:33 +0000 (10:56 -0700)]
wpa_supplicant: Update to BRCM version 0.8.0-34

- Remove interface priority
- Add action parameter to service discovery functionality

Change-Id: Ibc74c4053996e91f2f577b57695c68c86b5603c2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoRestore STA reconnection behavior
Irfan Sheriff [Mon, 18 Jun 2012 16:39:07 +0000 (09:39 -0700)]
Restore STA reconnection behavior

Have the customized retry behavior only for P2P & do group failure indication
beyond 5 retries

Bug: b/6674338, b/6910598
Change-Id: I58cba356ebdb7fc4eaa9bedfa417b7d5d35bb306

Conflicts:

wpa_supplicant/events.c

11 years agoMerge "Add PKTCNT_POLL command to get TX packet counters" into jb-mr1-dev
Irfan Sheriff [Fri, 3 Aug 2012 17:15:30 +0000 (10:15 -0700)]
Merge "Add PKTCNT_POLL command to get TX packet counters" into jb-mr1-dev

11 years agoAdd PKTCNT_POLL command to get TX packet counters
Yuhao Zheng [Fri, 27 Jul 2012 17:37:52 +0000 (10:37 -0700)]
Add PKTCNT_POLL command to get TX packet counters

- for the new WiFi watchdog
- requires kernel support (see issue 6874044)

Change-Id: Ibb59c1e0df6f5422814f2260588651e0e1490ccc

11 years agoMerge "Use bssid instead of pending_bssid" into jb-mr1-dev
Irfan Sheriff [Wed, 1 Aug 2012 20:01:39 +0000 (13:01 -0700)]
Merge "Use bssid instead of pending_bssid" into jb-mr1-dev

11 years agoUse bssid instead of pending_bssid
Irfan Sheriff [Wed, 1 Aug 2012 18:10:15 +0000 (11:10 -0700)]
Use bssid instead of pending_bssid

pending_bssid is not valid during roaming, use bssid

Bug: 6915644
Change-Id: Ib2181a41845f90812bd7428dbef6433adfe9f749

11 years agoGet rid of LOCAL_MODULE_TAGS := user
Joe Onorato [Tue, 22 May 2012 21:16:30 +0000 (14:16 -0700)]
Get rid of LOCAL_MODULE_TAGS := user

Change-Id: I6d9ed4e6e1d94cfedcb703eec4adfe227d35b473

11 years agoWPS : update dev.config_methods in wps_update_config.
jim1_lin [Tue, 26 Jun 2012 03:04:38 +0000 (11:04 +0800)]
WPS : update dev.config_methods in wps_update_config.

dev.config_methods was not updated when wps_update_config was called.
Led to mismatch config methods between probe_request and M1 packets.
Add missing part for it.

Change-Id: I02bd016a35726c7cf05cd71840082edd677b04b8

11 years agoam 9b7656e8: am 9a57740c: Merge "Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TI...
Brian Carlstrom [Thu, 26 Jul 2012 23:24:36 +0000 (16:24 -0700)]
am 9b7656e8: am 9a57740c: Merge "Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability"

* commit '9b7656e824c4305c0f9a295bd1162cf05a46e2ff':
  Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability

11 years agoam 9a57740c: Merge "Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for...
Brian Carlstrom [Thu, 26 Jul 2012 23:23:12 +0000 (16:23 -0700)]
am 9a57740c: Merge "Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability"

* commit '9a57740cc0a2f4f2a6e72b45eebecab85532599a':
  Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability

11 years agoMerge "Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_suppli...
Brian Carlstrom [Thu, 26 Jul 2012 22:49:01 +0000 (15:49 -0700)]
Merge "Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability"

11 years agoUse SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8...
Brian Carlstrom [Thu, 26 Jul 2012 06:11:44 +0000 (23:11 -0700)]
Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability

Bug: https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/969343/comments/72
Bug: http://w1.fi/bugz/show_bug.cgi?id=447#c7
Bug: http://code.google.com/p/android/issues/detail?id=34212
Bug: 6883259

(cherry-picked from 27bf1073abe534644cc1146397082cc78873f516)

Change-Id: I9364e94853a404130125ab8df791193a886fdd34

11 years agoam 27bf1073: Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better...
Brian Carlstrom [Thu, 26 Jul 2012 22:20:13 +0000 (15:20 -0700)]
am 27bf1073: Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability

* commit '27bf1073abe534644cc1146397082cc78873f516':
  Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability

11 years agoUse SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8...
Brian Carlstrom [Thu, 26 Jul 2012 06:11:44 +0000 (23:11 -0700)]
Use SSL_OP_NO_TLSv1_1 SSL_OP_NO_TLSv1_2 SSL_OP_NO_TICKET for better wpa_supplicant_8 interoperability

Bug: https://bugs.launchpad.net/ubuntu/+source/wpasupplicant/+bug/969343/comments/72
Bug: http://w1.fi/bugz/show_bug.cgi?id=447#c7
Bug: http://code.google.com/p/android/issues/detail?id=34212
Bug: 6883259
Change-Id: Ib53326cc8cd40e800454b7b92586c052bc910ba8

11 years agowpa_supplicant: Update to 07-Jul-2012 TOT
Dmitry Shmidt [Thu, 19 Jul 2012 19:16:46 +0000 (12:16 -0700)]
wpa_supplicant: Update to 07-Jul-2012 TOT

commit a5ed45586c63ffd8f9d2b44e27c251d7bacbeaf4
Author: Jouni Malinen <j@w1.fi>
Date:   Sat Jul 7 13:01:45 2012 +0300

    WPS SSDP: Fix socket leaks on error paths

Change-Id: I0864aac7fc88fa2a60f5cca7d524b94363410c85
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agowpa_supplicant: Remove snprintf call from interface= extension
Dmitry Shmidt [Mon, 16 Jul 2012 23:15:05 +0000 (16:15 -0700)]
wpa_supplicant: Remove snprintf call from interface= extension

BUG: b/6826116

Change-Id: I35023ce94152a402da94c34083de8ea1387cc758
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAdd 'get_capability channels' command
Dmitry Shmidt [Tue, 10 Jul 2012 19:49:30 +0000 (12:49 -0700)]
Add 'get_capability channels' command

Change-Id: Ic5d5769b80804d3e8b577e988a1caf1e149b8c01
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "Restore STA reconnection behavior"
Irfan Sheriff [Mon, 18 Jun 2012 22:25:15 +0000 (15:25 -0700)]
Merge "Restore STA reconnection behavior"

12 years agoRestore STA reconnection behavior
Irfan Sheriff [Mon, 18 Jun 2012 16:39:07 +0000 (09:39 -0700)]
Restore STA reconnection behavior

Have the customized retry behavior only for P2P & do group failure indication
beyond 5 retries

Bug: 6674338
Change-Id: I58cba356ebdb7fc4eaa9bedfa417b7d5d35bb306

12 years agoMerge "Fix p2p service discovery" into jb-dev
Irfan Sheriff [Wed, 13 Jun 2012 20:22:59 +0000 (13:22 -0700)]
Merge "Fix p2p service discovery" into jb-dev

12 years agoFix p2p service discovery
Irfan Sheriff [Wed, 13 Jun 2012 18:09:23 +0000 (11:09 -0700)]
Fix p2p service discovery

- Fix listen timing to improve SD reliability
- Fix SD packet scheduling

Bug: 6629112
Change-Id: I01365279439116256372d019bdbfd4b2113bf2ce

12 years agoMerge "wpa_supplicant: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER" into...
Dmitry Shmidt [Mon, 11 Jun 2012 21:39:37 +0000 (14:39 -0700)]
Merge "wpa_supplicant: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER" into jb-dev

12 years agowpa_supplicant: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER
Dmitry Shmidt [Mon, 11 Jun 2012 19:51:06 +0000 (12:51 -0700)]
wpa_supplicant: Fix compilation without BOARD_WPA_SUPPLICANT_DRIVER

Change-Id: I4ee99454838185487065d3acbccf721aecf7f760
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoFix supplicant crash at group removal
Irfan Sheriff [Wed, 6 Jun 2012 17:45:04 +0000 (10:45 -0700)]
Fix supplicant crash at group removal

Bug: 6613470
Change-Id: Ia96694ce906414b3f56cd57416d7c4c6f2030a6e

12 years agowpa_supplicant: nl80211: Fix message processing
Dmitry Shmidt [Thu, 31 May 2012 00:00:15 +0000 (17:00 -0700)]
wpa_supplicant: nl80211: Fix message processing

BUG: 6584268

Change-Id: Ib840d6b678a914be4e50d4916fecc1738b2b56f9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agowpa_supplicant: Update to Version 0.8.27 from BRCM
Dmitry Shmidt [Wed, 30 May 2012 18:18:46 +0000 (11:18 -0700)]
wpa_supplicant: Update to Version 0.8.27 from BRCM

- Fix crash during TRUE pbc overlap
- Fix p2p_stop_find event
- Avoid race condition in GO-NEG process if both peers enter
  p2p_connect at the same time
- Retry assoc immediately on ASSOC-REJECT. Previously assoc was
  retried on authentication timeout (which occurs after 10secs).
  Now on assoc reject, we cancel the auth timer and then initiate
  a assoc scan.

BUG: 65437056427094

Change-Id: I4489fb14b6cead069f0d14fcbb9e2224f790d77b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoFix null pointer access for SSID printing.
andy2_kuo [Tue, 22 May 2012 18:53:07 +0000 (11:53 -0700)]
Fix null pointer access for SSID printing.

Bug [Issue 6517978]

Change-Id: Ife823dce3b8b50c0c3eb0d5a2d8ecf2c8e4ac17e

12 years agowpa_supplicant: Make Android makefiles available under the BSD license
Dmitry Shmidt [Mon, 14 May 2012 20:35:02 +0000 (13:35 -0700)]
wpa_supplicant: Make Android makefiles available under the BSD license

Change-Id: I8d9e210748d582c6c5e3a62d47276c676ba74080
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoFix SSID printing in events
Irfan Sheriff [Fri, 11 May 2012 18:23:35 +0000 (11:23 -0700)]
Fix SSID printing in events

Bug: 6476830
Change-Id: I7909fb9fb56737d0d772921d1de2849ca1296679

12 years agowpa_supplicant: Update to Version 0.8.26 from BRCM
Dmitry Shmidt [Wed, 2 May 2012 19:29:53 +0000 (12:29 -0700)]
wpa_supplicant: Update to Version 0.8.26 from BRCM

- Add interface command
- Improve scan handling during P2P

BUG: b/6324527, b/6427094

Change-Id: I4425f44d2a15de0725ba4a1b42cc56e10954b314
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "Add SSID in supplicant change event"
Irfan Sheriff [Tue, 17 Apr 2012 02:24:40 +0000 (19:24 -0700)]
Merge "Add SSID in supplicant change event"

12 years agoAdd SSID in supplicant change event
Irfan Sheriff [Mon, 16 Apr 2012 23:48:34 +0000 (16:48 -0700)]
Add SSID in supplicant change event

Change-Id: I67224e6765afad51b4b258b0df7d11d7ed3b9927

12 years agowpa_supplicant: Fix CONFIG_NO_ROAMING option
Dmitry Shmidt [Fri, 13 Apr 2012 17:07:27 +0000 (10:07 -0700)]
wpa_supplicant: Fix CONFIG_NO_ROAMING option

Change-Id: I9d4c2c59179f92c82b4a6d8a5b503db8dd859e2c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "P2P: Clear P2P_DEV_SD_INFO when new wildcard SD query is added"
Irfan Sheriff [Thu, 12 Apr 2012 16:49:59 +0000 (09:49 -0700)]
Merge "P2P: Clear P2P_DEV_SD_INFO when new wildcard SD query is added"

12 years agoMerge "Revert "Fix service discovery add""
Irfan Sheriff [Thu, 12 Apr 2012 16:49:20 +0000 (09:49 -0700)]
Merge "Revert "Fix service discovery add""

12 years agoP2P: Clear P2P_DEV_SD_INFO when new wildcard SD query is added
Irfan Sheriff [Thu, 12 Apr 2012 01:07:13 +0000 (18:07 -0700)]
P2P: Clear P2P_DEV_SD_INFO when new wildcard SD query is added

Unlike the unicast SD queries, the queries directed to all peers depend
on P2P_DEV_SD_INFO flag being cleared to allow the query to be sent to
a peer that has previously replied to any SD query.

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

12 years agoRevert "Fix service discovery add"
Irfan Sheriff [Thu, 12 Apr 2012 01:02:26 +0000 (18:02 -0700)]
Revert "Fix service discovery add"

This reverts commit 40fa98b45e4e61fcf0cb9292fdf8882b0624bd35.

12 years agoAllow legacy PS param to be set with SET in addition to P2P_SET
Jouni Malinen [Tue, 10 Apr 2012 23:17:59 +0000 (16:17 -0700)]
Allow legacy PS param to be set with SET in addition to P2P_SET

Change-Id: I26e19c7d9e303e075f28a4f01a798ac98b52d6e5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "Add to bss command option RANGE=ALL|N1-N2 [MASK=0xH]"
Dmitry Shmidt [Mon, 9 Apr 2012 16:56:09 +0000 (09:56 -0700)]
Merge "Add to bss command option RANGE=ALL|N1-N2 [MASK=0xH]"

12 years agoMerge "P2P: Use P2P Device ID attribute if Device Info not available"
Irfan Sheriff [Fri, 6 Apr 2012 22:38:24 +0000 (15:38 -0700)]
Merge "P2P: Use P2P Device ID attribute if Device Info not available"

12 years agoP2P: Use P2P Device ID attribute if Device Info not available
Irfan Sheriff [Fri, 6 Apr 2012 21:47:34 +0000 (14:47 -0700)]
P2P: Use P2P Device ID attribute if Device Info not available

The "BSS p2p_dev_addr=address" command uses p2p_parse_dev_addr() to
figure out the P2P Device Address of the GO from scan results. This used
to work only if the P2P IE was received from Probe Response frames since
only those include the P2P Device Info attribute. Make this work with
Beacon frames, too, by using P2P Device ID attribute if the P2P Device
Info attribute is not present.

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

12 years agoFix service discovery add
Irfan Sheriff [Wed, 4 Apr 2012 18:25:05 +0000 (11:25 -0700)]
Fix service discovery add

Change-Id: If621eef6e7a16c83ae520650b8216a5f63488403

12 years agoMerge remote-tracking branch 'goog/ics-aah'
Mike Lockwood [Tue, 3 Apr 2012 17:44:58 +0000 (10:44 -0700)]
Merge remote-tracking branch 'goog/ics-aah'

12 years agoAdd to bss command option RANGE=ALL|N1-N2 [MASK=0xH]
Dmitry Shmidt [Mon, 26 Mar 2012 19:43:26 +0000 (12:43 -0700)]
Add to bss command option RANGE=ALL|N1-N2 [MASK=0xH]

Add to bss command ability to get information about several bss's in
one call and to limit amount of fields

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoUpdate to Version 0.8.24 from BRCM
Dmitry Shmidt [Mon, 26 Mar 2012 21:02:32 +0000 (14:02 -0700)]
Update to Version 0.8.24 from BRCM

- Add 'conc_priority' command
- Fix handling a single channel concurrency case: If conc_priority
  is not set, advertise the frequency conflict to the framework and
  disable the new connection attempted
- When P2P Interface gets removed due to single channel frequency
  conflict, show GROUP_REMOVE reason=FREQ_CONFLICT
- Fix sched scan processing

Change-Id: Ie6fe105cebd379a0a9c49ace62d2e48e71571107
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoUse keystore ENGINE for private key operations
Kenny Root [Wed, 21 Mar 2012 00:00:47 +0000 (17:00 -0700)]
Use keystore ENGINE for private key operations

The new keystore ENGINE is usable to perform private key operations when
we can't get the actual private key data. This is the case when hardware
crypto is enabled: the private key never leaves the hardware.

Subsequently, we need to be able to talk to OpenSSL ENGINEs that aren't
PKCS#11 or OpenSC. This just changes a few #define variables to allow us
to talk to our keystore engine without having one of those enabled and
without using a PIN.

Change-Id: Iabab5077c3d167a1e13bc8ef8745dc59ad4d62f7

12 years agonl80211: Use native cfg80211 sta events
Dmitry Shmidt [Tue, 20 Mar 2012 19:51:25 +0000 (12:51 -0700)]
nl80211: Use native cfg80211 sta events

Change-Id: Id59cc4af50dbccd283db2ec3e7b0b6f8c2146e68
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoRestore OpenSSL ENGINE support
Kenny Root [Tue, 20 Mar 2012 20:05:25 +0000 (13:05 -0700)]
Restore OpenSSL ENGINE support

We now use an OpenSSL ENGINE to support keystore functionality.

Change-Id: Ifa654183a86462e1542c58dd39e20ffe11a8edfa

12 years agoUpdate to new version 0.8.22 from BRCM
Dmitry Shmidt [Wed, 7 Mar 2012 00:33:24 +0000 (16:33 -0800)]
Update to new version 0.8.22 from BRCM

- Based on 0c01d65 : Ignore TX status for Data frames from not associated
  STA

Change-Id: I2776ff8e292593f407bf5b9177640c512e06bf0d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "hostapd: Enable CONFIG_IEEE80211N option"
Dmitry Shmidt [Tue, 28 Feb 2012 19:27:19 +0000 (11:27 -0800)]
Merge "hostapd: Enable CONFIG_IEEE80211N option"

12 years agohostapd: Enable CONFIG_IEEE80211N option
Dmitry Shmidt [Tue, 28 Feb 2012 19:21:32 +0000 (11:21 -0800)]
hostapd: Enable CONFIG_IEEE80211N option

Change-Id: I86868ac9efa1192c96110c114bfcba25c02d1ae6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge changes If51126b8,I05322cf0
Dmitry Shmidt [Wed, 22 Feb 2012 19:24:06 +0000 (11:24 -0800)]
Merge changes If51126b8,I05322cf0

* changes:
  wpa_supplicant: Change wpa_supplicant.conf template name
  Move .config for Android to android.config

12 years agowpa_supplicant: Change wpa_supplicant.conf template name
Dmitry Shmidt [Wed, 22 Feb 2012 01:02:48 +0000 (17:02 -0800)]
wpa_supplicant: Change wpa_supplicant.conf template name

Change-Id: If51126b85bf7c67d308e97e7e48a11d4535ec995
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMove .config for Android to android.config
Dmitry Shmidt [Wed, 22 Feb 2012 00:49:00 +0000 (16:49 -0800)]
Move .config for Android to android.config

Change-Id: I05322cf024cf63f217802b861a7b2117c9decfda
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "wpa_supplicant: Change option CONFIG_ROAMING to CONFIG_NO_ROAMING"
Dmitry Shmidt [Wed, 22 Feb 2012 00:35:19 +0000 (16:35 -0800)]
Merge "wpa_supplicant: Change option CONFIG_ROAMING to CONFIG_NO_ROAMING"

12 years agowpa_supplicant: Change option CONFIG_ROAMING to CONFIG_NO_ROAMING
Dmitry Shmidt [Wed, 22 Feb 2012 00:30:45 +0000 (16:30 -0800)]
wpa_supplicant: Change option CONFIG_ROAMING to CONFIG_NO_ROAMING

Change-Id: I188968c04cd1fc2c4e6d424bec8aab8003be235e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMerge "Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition"
Dmitry Shmidt [Wed, 22 Feb 2012 00:16:49 +0000 (16:16 -0800)]
Merge "Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition"