OSDN Git Service

android-x86/external-wpa_supplicant_8.git
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 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>
11 years agoMerge "Restore STA reconnection behavior"
Irfan Sheriff [Mon, 18 Jun 2012 22:25:15 +0000 (15:25 -0700)]
Merge "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: 6674338
Change-Id: I58cba356ebdb7fc4eaa9bedfa417b7d5d35bb306

11 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

11 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

11 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

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

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

12 years agoAdd PLATFORM_VERSION to VERSION_STR_POSTFIX definition
Dmitry Shmidt [Tue, 25 Oct 2011 17:50:42 +0000 (10:50 -0700)]
Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition

Change-Id: I26e4223c58ca941088cc319847da3c7c9d7fef95
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMoving keystore to system/security
Kenny Root [Wed, 15 Feb 2012 23:08:06 +0000 (15:08 -0800)]
Moving keystore to system/security

keystore used to be in frameworks/base/cmds/keystore, but this include
needs to be changed to support the move to system/security

Change-Id: I583a193593576c2c3c7489fb8c27a29698e8a4c5

12 years agoMerge "Update to new version 0.8.17 from BRCM"
Dmitry Shmidt [Mon, 6 Feb 2012 20:57:31 +0000 (12:57 -0800)]
Merge "Update to new version 0.8.17 from BRCM"

12 years agoMerge "Update to new version 0.8.16 from BRCM"
Dmitry Shmidt [Mon, 6 Feb 2012 20:57:23 +0000 (12:57 -0800)]
Merge "Update to new version 0.8.16 from BRCM"

12 years agoUpdate to new version 0.8.17 from BRCM
Dmitry Shmidt [Thu, 26 Jan 2012 20:57:43 +0000 (12:57 -0800)]
Update to new version 0.8.17 from BRCM

- Suppress scan results notification during p2p_search_in_progress

Change-Id: I971bbfb15983c83d51d050791f58244ecf7050af
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoam f1889e00: Merge "Enable EAP-PWD support in wpa_supplicant."
Jean-Baptiste Queru [Sat, 28 Jan 2012 05:09:08 +0000 (21:09 -0800)]
am f1889e00: Merge "Enable EAP-PWD support in wpa_supplicant."

* commit 'f1889e00dfe14199657e4c603e3d94a3df10ae66':
  Enable EAP-PWD support in wpa_supplicant.

12 years agoMerge "Enable EAP-PWD support in wpa_supplicant."
Jean-Baptiste Queru [Fri, 27 Jan 2012 15:31:37 +0000 (07:31 -0800)]
Merge "Enable EAP-PWD support in wpa_supplicant."

12 years agoUpdate to new version 0.8.16 from BRCM
Dmitry Shmidt [Wed, 25 Jan 2012 00:10:04 +0000 (16:10 -0800)]
Update to new version 0.8.16 from BRCM

Sync with main tree commit b8349523e460493fa0b4de36c689595109e45e91
Author: Neeraj Kumar Garg <neerajkg@broadcom.com>
Date:   Tue Dec 27 23:21:45 2011 +0200
    P2P: Reject p2p_group_add if forced frequency is not acceptable

Change-Id: Icb4541a371b05c270e80440d7a7fdea7f33ff61e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoEnable EAP-PWD support in wpa_supplicant.
Partha N [Wed, 18 Jan 2012 02:30:26 +0000 (18:30 -0800)]
Enable EAP-PWD support in wpa_supplicant.

EAP-pwd (RFC 5931) is an EAP method that uses a shared password for authentication. It has the
simplicity of configuring WPA2-PSK, but comes with the strong authentication of 802.1x.

Change-Id: Ife5b96f61422921a3b3830da16227cca8154e2d3
Signed-off-by: Partha N <parthan@gmail.com>
12 years agoAdd network connection event for status
Irfan Sheriff [Thu, 12 Jan 2012 00:54:57 +0000 (16:54 -0800)]
Add network connection event for status

We need both supplicant state and network connection state
for proper sync up with framework

Bug: 5534039
Change-Id: If5094b40f67271e03bc09682749ccd3fd043757b

12 years agowpa_supplicant: Add EAP-PWD config option
Dmitry Shmidt [Fri, 6 Jan 2012 18:07:01 +0000 (10:07 -0800)]
wpa_supplicant: Add EAP-PWD config option

Change-Id: I85ffd4a466cc6b7e6cb8edb42c68b6b57412d926
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoRevert "nl80211: Prolong HANGED message to the wifi manager"
Dmitry Shmidt [Mon, 19 Dec 2011 21:28:51 +0000 (13:28 -0800)]
Revert "nl80211: Prolong HANGED message to the wifi manager"

This reverts commit 6dd24fc3792d71edccef9b09140f9a44b063a553.

12 years agoAdd state message sent after 'status' command
Dmitry Shmidt [Mon, 19 Dec 2011 19:19:09 +0000 (11:19 -0800)]
Add state message sent after 'status' command

Change-Id: Ife13576e2f96dd9bf588b7d87b01d9fcfc5f57b5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoam a4d23b81: Enable broadcom-specific patch with proper flag
Jean-Baptiste Queru [Thu, 17 Nov 2011 13:45:27 +0000 (05:45 -0800)]
am a4d23b81: Enable broadcom-specific patch with proper flag

* commit 'a4d23b8131874ba2380817014f9190b737ce785d':
  Enable broadcom-specific patch with proper flag

12 years agoEnable broadcom-specific patch with proper flag
Jean-Baptiste Queru [Wed, 16 Nov 2011 02:41:36 +0000 (18:41 -0800)]
Enable broadcom-specific patch with proper flag

Change-Id: I5a0f5a2d65963deff3cd62b5e7ec090619c75a2c

12 years agoAllow immediate scan request even if another scan was scheduled later
Dmitry Shmidt [Mon, 14 Nov 2011 23:53:31 +0000 (15:53 -0800)]
Allow immediate scan request even if another scan was scheduled later

Change-Id: I4f5c021da9ac66464ad422d65c5855fd72f39b41
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agokeep previous history after reset to mr1 plus aah changes (ics-aah-wip)
Ed Heyl [Fri, 28 Oct 2011 19:05:52 +0000 (19:05 +0000)]
keep previous history after reset to mr1 plus aah changes (ics-aah-wip)

12 years agoundo reset to ics-mr1 until we have a better method
Ed Heyl [Wed, 26 Oct 2011 21:53:24 +0000 (21:53 +0000)]
undo reset to ics-mr1 until we have a better method

12 years agoreset to ics-mr1, but keep history
Ed Heyl [Wed, 26 Oct 2011 18:50:20 +0000 (18:50 +0000)]
reset to ics-mr1, but keep history

12 years agoAdd PLATFORM_VERSION to VERSION_STR_POSTFIX definition
Dmitry Shmidt [Tue, 25 Oct 2011 17:50:42 +0000 (10:50 -0700)]
Add PLATFORM_VERSION to VERSION_STR_POSTFIX definition

Change-Id: Ia60b5d73cf703fe7d78fc39b58d9d8c121c5d5c6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoSet ANDROID_LOG_NAME depending on application
Dmitry Shmidt [Fri, 30 Sep 2011 22:03:42 +0000 (15:03 -0700)]
Set ANDROID_LOG_NAME depending on application

Change-Id: I8ef6f87c92b01a089817a4902d33bf5d0c3a5a7a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoam fc41cadc: nl80211: Add get_noa() support for WFD certification (BRCM)
Dmitry Shmidt [Thu, 29 Sep 2011 01:10:36 +0000 (18:10 -0700)]
am fc41cadc: nl80211: Add get_noa() support for WFD certification (BRCM)

* commit 'fc41cadcff448cdd2b60e376fc6e7378e2e57b5e':
  nl80211: Add get_noa() support for WFD certification (BRCM)

12 years agonl80211: Add get_noa() support for WFD certification (BRCM)
Dmitry Shmidt [Wed, 28 Sep 2011 20:29:53 +0000 (13:29 -0700)]
nl80211: Add get_noa() support for WFD certification (BRCM)

BUG: b/5367351

Change-Id: I14ed79e10ade205c5dd4cdc0d2e888ed1279d1bb
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoWEXT: Add signal_poll command support
Dmitry Shmidt [Tue, 27 Sep 2011 22:28:43 +0000 (15:28 -0700)]
WEXT: Add signal_poll command support

Change-Id: I9e407905ecde20d745acd41ec48d2e9f7ce84bca
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agonl80211: Fix WFD and WPS certification problem for GO (BRCM)
Dmitry Shmidt [Tue, 27 Sep 2011 19:29:26 +0000 (12:29 -0700)]
nl80211: Fix WFD and WPS certification problem for GO (BRCM)

Change-Id: I5bbac818aad7c0a14fddb3beb88a6a2d87c07ea0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agonl80211: Prolong HANGED message to the wifi manager
Dmitry Shmidt [Wed, 7 Sep 2011 23:13:16 +0000 (16:13 -0700)]
nl80211: Prolong HANGED message to the wifi manager

BUG: b/5167816

Change-Id: I6598304ed9634fc859d2970b0d86213b1dae3696
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoP2P fixes for BRCM
Dmitry Shmidt [Tue, 6 Sep 2011 18:17:33 +0000 (11:17 -0700)]
P2P fixes for BRCM

1. Fix for stopping any on-going P2P-FIND, while doing a P2P-GROUP-ADD.
2. Fix for Supplicant crash. The crash was due to socket being closed
   during P2P-GROUP-REMOVE.
3. Append P2P DEV ADDR during AP-STA-CONNECTED Event for P2P Devices.
   For legacy STA, the event format would remain the same.
BUG: b/5262575

Change-Id: I8faf2159d35538fd07e42dba82d367b581cf2164
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoSet buffer length the same as in wpa_supplicant_ctrl_iface_process()
Dmitry Shmidt [Tue, 30 Aug 2011 18:10:13 +0000 (11:10 -0700)]
Set buffer length the same as in wpa_supplicant_ctrl_iface_process()

Bug: 5236589

Change-Id: Iae8405aa17d5cc6bbffcff3a37d81df74143aabe
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoUse exact interface as socket parameter for init
Irfan Sheriff [Fri, 26 Aug 2011 18:43:50 +0000 (11:43 -0700)]
Use exact interface as socket parameter for init

For p2p, there are virtual interfaces (like p2p-wlan0-X) created and
that results in binding to the common init socket right now.

Instead, have the init bind fail for p2p interfaces and create seperate
sockets specified by the ctrl_interface path in config file

Bug: 5002384
Change-Id: Ia155df079a0bcca1871b6bcab2ef7111f0cba6c1

12 years agoBRCM P2P update
Dmitry Shmidt [Tue, 23 Aug 2011 19:30:30 +0000 (12:30 -0700)]
BRCM P2P update

- IFNAME for monitor interface is changed to m. from mon. This will
  give extra space for incrementing X in IFNAME (p2p-wlan0-X). Also, we
  have synced the reset of IFNAME w.r.t. monitor interface name.
- Fixed continuous P2P_DEV_FOUND events coming from GO. Removed the
  BRCM specific change for this.
- Fixed STATUS command for p2p interface.

Change-Id: I04210dd0b2bdba06b0192c0a61edfa0e5b47ab72
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoFix reporting hidden APs during scan
Dmitry Shmidt [Mon, 22 Aug 2011 22:04:04 +0000 (15:04 -0700)]
Fix reporting hidden APs during scan

Change-Id: I2f3274c6f89ac0100331f4987c40e23f36577817
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoadd cleanspec for hostapd failures
repo sync [Fri, 19 Aug 2011 20:46:06 +0000 (13:46 -0700)]
add cleanspec for hostapd failures

Bug: 5167816
Change-Id: Ic89fab506a119611ce1093eeac958538f9b97bb3

12 years agoAdd CONFIG_ROAMING option (off by default)
Dmitry Shmidt [Tue, 16 Aug 2011 18:55:46 +0000 (11:55 -0700)]
Add CONFIG_ROAMING option (off by default)

Change-Id: I846edd8a48e6c5e948732f28caf821055490d320
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoPrevent ap_scan change during association
Dmitry Shmidt [Tue, 16 Aug 2011 18:52:06 +0000 (11:52 -0700)]
Prevent ap_scan change during association

Change-Id: Ibb13f40b2732a4e6749f40da4a6cf14080b54d73
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoMove libnl headers to their own project
Jean-Baptiste Queru [Mon, 8 Aug 2011 23:20:42 +0000 (16:20 -0700)]
Move libnl headers to their own project

Change-Id: Id1f532a7ea4e583a1f51975cee682b968471dc16

12 years agoSend termination message only in case of wpa_supplicant_deinit() call
Dmitry Shmidt [Wed, 3 Aug 2011 22:04:35 +0000 (15:04 -0700)]
Send termination message only in case of wpa_supplicant_deinit() call

Change-Id: I276e339a35a9b693b604082bd211f6bd7b093808
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoSend TERMINATE to framework after a full deinit
Irfan Sheriff [Wed, 3 Aug 2011 16:11:49 +0000 (09:11 -0700)]
Send TERMINATE to framework after a full deinit

Bug: 5102386
Change-Id: I41fc00ae469cf2752fe831db56db22c9ace73f52

12 years agoFix incremental builds by adding Cleanspec step
Dmitry Shmidt [Mon, 25 Jul 2011 00:12:33 +0000 (17:12 -0700)]
Fix incremental builds by adding Cleanspec step

Change-Id: Id06cc40081a5ff33e015b7aeed8fffd73ef09721
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoAdd P2P support for BRCM CFG80211 driver
Dmitry Shmidt [Thu, 21 Jul 2011 22:19:46 +0000 (15:19 -0700)]
Add P2P support for BRCM CFG80211 driver

Change-Id: Iafec4bedbd33836d0a64e7ea054d8a46ef8ec204
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoIncrease number of SSIDs per scan with ProbeReq to 10
Dmitry Shmidt [Mon, 18 Jul 2011 22:14:51 +0000 (15:14 -0700)]
Increase number of SSIDs per scan with ProbeReq to 10

Change-Id: Icab7bc732d652915796a9a0aac1c82d31da8f6b3
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoAdd WPA_UNICODE_SSID support
Dmitry Shmidt [Fri, 15 Jul 2011 22:32:26 +0000 (15:32 -0700)]
Add WPA_UNICODE_SSID support

Change-Id: I1f938b97169d4468ee5b05316826ee509a10d9ad
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:15 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I2675273dcbe05c63c366e09a8ba5906ef0314430

12 years agoFix incremental builds by adding Cleanspec step
Dmitry Shmidt [Thu, 7 Jul 2011 21:26:26 +0000 (14:26 -0700)]
Fix incremental builds by adding Cleanspec step

Change-Id: Ie22534dbc05b073322c5072162c42b3d22eb4f78
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agonl80211: Add private function support
Dmitry Shmidt [Thu, 7 Jul 2011 21:22:14 +0000 (14:22 -0700)]
nl80211: Add private function support

Change-Id: Iba9b2ac21f5c7760900c57826b7048ee58928338
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
12 years agoAccumulative patch from commit 8fd0f0f323a922aa88ec720ee524f7105d3b0f64
Dmitry Shmidt [Thu, 7 Jul 2011 18:18:38 +0000 (11:18 -0700)]
Accumulative patch from commit 8fd0f0f323a922aa88ec720ee524f7105d3b0f64

Fix D-Bus build without CONFIG_P2P=y
nl80211: Allow AP mode to be started without monitor interface
nl80211: Process association/disassociation events in AP mode
DBus/P2P: Adding decl for PersistentGroupRemoved signal
DBus/P2P: Rectified type of SecondaryDeviceTypes in device property Get
P2P: Only call dev_lost() for devices that have been dev_found()
wpa_cli: Add missing parameter for P2P_GROUP_ADD command
wpa_supplicant: Respect PKG_CONFIG variable if set in the environment
TLS: Add support for tls_disable_time_checks=1 in client mode
hostapd: Clear keys configured when hostapd reloads configuration
Add dbus signal for information about server certification
Move peer certificate wpa_msg() calls to notify.c
wpa_supplicant AP: Disable AP mode on disassoc paths
wpa_s AP mode: Enable HT20 if driver supports it
Allow PMKSA caching to be disabled on Authenticator
FT: Disable PMKSA cache for FT-IEEE8021X
FT: Clear SME ft_used/ft_ies when disconnecting
8fd0f0f323a922aa88ec720ee524f7105d3b0f64

Change-Id: I6ae333196c36ffa7589662d5269fabfc3b994605
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>