OSDN Git Service

android-x86/external-wpa_supplicant_8.git
11 years agoAccumulative patch from commit 4abc0424ef4bde2ea4fb1ba1c18619c7bc36eb02
Dmitry Shmidt [Thu, 6 Jun 2013 18:25:10 +0000 (11:25 -0700)]
Accumulative patch from commit 4abc0424ef4bde2ea4fb1ba1c18619c7bc36eb02

4abc042 P2P: Automatic channel selection at re-invocation of persistent GO
8f39528 P2P: Modify wait time in INVITE state based on Tx status of INV-REQ
e112764 nl80211: Use NL80211_ATTR_PEER_AID to set TDLS peer AID
f8a5fd4 Synchronize with wireless-testing.git include/uapi/linux/nl80211.h
9b1693a WPS: Allow Device Password Id changes between PIN methods
1ba51ec nl80211: Add debug print for set_supp_port operation
add9b7a nl80211: Ignore deauth/disassoc event from old AP
eb4737f Fix ESS_DISASSOC ctrl_iface command parser
b54c9ff FT: Fix TKIP group key configuration in FT protocol
e78aaca Stop TKIP countermeasures on FLUSH command
3cb953e Do not set driver MAC ACL unless driver supports this
3c4ca36 hostapd: Support MAC address based access control list

Change-Id: I0250e483c2992e6da8b2d1a323b7e3b8a73f9608
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoFix wpa_cli 'IFNAME=iface' prefix processing
Dmitry Shmidt [Wed, 5 Jun 2013 18:06:13 +0000 (11:06 -0700)]
Fix wpa_cli 'IFNAME=iface' prefix processing

Change-Id: I3117a1b74707193dcc0598a47285813d6d7c5567
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoRemove 'interface=iface' command prefix
Dmitry Shmidt [Thu, 23 May 2013 20:42:31 +0000 (13:42 -0700)]
Remove 'interface=iface' command prefix

Change-Id: I01caeeff2cf356afb4ce0453d7a78f7ecfae1de6
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 376204934db44d45f798bdde4db005bc88d666f0
Dmitry Shmidt [Thu, 23 May 2013 18:03:10 +0000 (11:03 -0700)]
Accumulative patch from commit 376204934db44d45f798bdde4db005bc88d666f0

3762049 wpa_cli: Support tab completion with ifname= prefix
13b11ba wpa_cli: Allow IFNAME= prefix to be used
ae8535b WNM: Make ESS Disassoc Imminent event more convenient to use
6df634f WNM: Do not reject ESS Disassoc Imminent
7b53acd WNM: Use defines for BSS Trans Mgmt field values
8e1bc70 WNM: Fix ess_disassoc timeout to be specified in TBTTs
901d1fe WNM: Remove PMKSA cache entry on ESS disassoc imminent notification
dad153d Try to use fast-associate on ENABLE_NETWORK
b068001 Fix already-associated detection with driver-based BSS selection
72728c6 P2P: Relax channel forcing for invitation processing with MCC support
4033935 Fix OKC-based PMKSA cache entry clearing
1045ec3 nl80211: Add couple of additional iftypes to debug prints
2cadc8e TDLS: Retry TDLS Setup Response more quickly

Change-Id: Ib02db74ca336a4d2da66c21d361c5529ee85f864
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit d5b559b6418c2bd09663e0d09e93a6592357fdce
Dmitry Shmidt [Mon, 20 May 2013 21:49:44 +0000 (14:49 -0700)]
Accumulative patch from commit d5b559b6418c2bd09663e0d09e93a6592357fdce

d5b559b WNM: Add disassociation timeout processing for ESS_DISASSOC
f65f539 GAS: Reduce query timeout to two seconds
7a56af5 GAS: Assign new dialog token even if previous one is free
9e1ecab GAS: Ignore replays if previous frag_id without dropping GAS session
fa7ae95 Add test code for fetching the last configured GTK
576bce9 P2P: Direct global ctrl_iface commands automatically for P2P
c4bf83a P2P: No duplicate AP-STA-CONNECTED/DISCONNECTED as global event
7793c95 Clean up AP-STA-CONNECTED/DISCONNECTED prints
92c4465 P2P: Mark P2P events global (not specific to interface)
ed496f1 P2P: Clean up debug prints
710ae9a P2P: Move p2p_find stopped event message into p2p_supplicant.c
47bfe49 Add wpa_msg_global() for global events
214e428 Allow global ctrl_iface monitors
89c7ac5 wpa_cli: Set buffer length the same as in wpa_supplicant_ctrl_iface_process()
faf9a85 Add band option (2.4 vs. 5) for filtering scans
b83b1b2 Android: Clarify keystore include directories
6f1127c Android: Add a top level Android.mk
d2a9e2c Abstract and Android sockets for global ctrl_iface
6fd5cea wpa_cli: Allow global interface to be used in interactive mode
2925756 wpa_supplicant: Add -G argument to specify global ctrl group
cf3bebf Allow global ctrl_iface to be used for per-interface commands
058c863 FT RRB: Fix a memory leak on error path

Change-Id: I32a4afb43894167a30c4b0df18fd4846a2945c7c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit c6ccf12d3f6f35e295f9522dded535da8af6ab98
Dmitry Shmidt [Fri, 17 May 2013 16:51:35 +0000 (09:51 -0700)]
Accumulative patch from commit c6ccf12d3f6f35e295f9522dded535da8af6ab98

c6ccf12 P2P: Use preferred channel list during GO creation
6d956c4 P2P: Re-select channel in invitation case with peer info
010b5f9 P2P: Fix p2p_pref_chan setting from configuration file
d7692b8 dbus: Terminate cleanly on messagebus shutdown
e2396a6 WNM: Enable CONFIG_WNM in Android.mk
65bcd0a WNM: Add sending of BSS Transition Management Query
e27d20b WNM: Add neighbor report processing for BSS Transition Management
f3e907a WPS: Clear connection failure counts on WPS success
170f566 NFC: Connect using learnt credential after NFC Tag read
0af2db7 edit: Fix libreadline history clearing with WPA_TRACE

Change-Id: I0599ea2179869ae8c250ff6b887bb16324fc02f4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 455299fb40d79bcbeaedcfbc04d00ac8330bbbdd
Dmitry Shmidt [Mon, 13 May 2013 21:52:28 +0000 (14:52 -0700)]
Accumulative patch from commit 455299fb40d79bcbeaedcfbc04d00ac8330bbbdd

455299f nl80211: Fix foreign address filtering for MLME frame events
e679f14 Mark interface disconnected on removal request
3636b89 Do not try auto connect mechanism in disconnected state
0cdb93f Do not add BSS to blacklist on local disconnection request
36b9883 Defer scan if connection is in progress on any of the shared interfaces
7c0e1e2 tls_openssl: Store TLS context per-connection
732118e Rename hostapd_parse_rates() to a more generic int list parser
b113a17 DFS: Add ieee80211h hostapd configuration parameter
695c703 nl80211: Add driver_ops for stopping AP beaconing
f90e9c1 nl80211: Add driver_ops for starting radar detection
fc96522 nl80211: Add channel flags for DFS state information
f295d0c nl80211: Add driver capability flag for radar detection
04be54f nl80211: Add driver events for radar detection
a7505b1 eloop: Allow to run event loop multiple times in a row
6124e85 wpa_supplicant: Allow vifs to scan only current channel
893a0a5 systemd: Fix systemd interface alias

Change-Id: I0a39a6868562cd458202285fed8986ac81a0cef2
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 6ea1f4135b72199988393f34dd7f5ad8040b7a42
Dmitry Shmidt [Wed, 8 May 2013 17:42:09 +0000 (10:42 -0700)]
Accumulative patch from commit 6ea1f4135b72199988393f34dd7f5ad8040b7a42

6ea1f41 Try to set WPA-None key after IBSS-joined event
66562e9 Use cached driver capabilities instead of new fetch for each operation
55293aa TDLS: Do not overwrite the reason code in the Tear Down Request
4aa8186 Add a configration parameter for sched_scan interval
03565bc Synchronize with wireless-testing.git include/uapi/linux/nl80211.h
f11b72c TDLS: Move AID=1 workaround into driver_nl80211.c
7853369 TDLS: Pass peer's AID information to kernel
55a2df4 HS 2.0: Include HS 2.0 Indication element only for HS 2.0 association
ad0685e edit: Fix history processing on running old command
9be3714 wpa_cli: Fetch the current BSSID list when starting interactive mode
69aa334 wpa_cli: Add BSSID tab completion for set bssid_filter
2156587 wpa_cli: Replace set command help with completion routine
f1fb042 wpa_cli: Allow space in the set command value
f5ffc34 wpa_supplicant: Allow global scan frequencies configuration
abfc3ad Synchronize build config comments for wpa_supplicant
a01e10d Android: Enable WPS ER and NFC support in the build
11e5a49 WPS: Do not use void* in arithmetic
0f105f9 HS 2.0: Move Probe Request Indication IE addition to proper place
8543ed8 WPA: Print pairwise EAPOL-Key flag as a bool
7af092a hostapd: Add Key MIC in group EAPOL-Key frames corruption test option
b691dcb nl80211: Fix max_remain_on_chan capability reading
41b1a76 P2P: Clone beacon_int when initializing new group interface
741ed9f WPS: Remove duplicate networks after WPS

Change-Id: I9a2a0cb2acf87dfd7548318d2bda5f342b815884
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoP2P: Fix group removal in case of frequency conflict
Dmitry Shmidt [Tue, 30 Apr 2013 00:36:45 +0000 (17:36 -0700)]
P2P: Fix group removal in case of frequency conflict

Group removal in wpas_p2p_handle_frequency_conflicts() happens
during wpa_supplicant_associate() processing and in case of having
interface per group will cause interface removal and use of freed
memory later. So we need to postpone it to eloop timer.

Change-Id: Iee15b31a03a8c7f675929a2a51a6ad20d7070193
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit b57b560034f1bb1ad3a3892228940dde97323c0e
Dmitry Shmidt [Mon, 29 Apr 2013 23:42:49 +0000 (16:42 -0700)]
Accumulative patch from commit b57b560034f1bb1ad3a3892228940dde97323c0e

b57b560 wpa_supplicant: Default to nl80211 instead of wext
ee28f08 hostapd: Add more messages for error paths
61d2ce2 hostapd: Reject configuration file without interface parameter
a8a7890 Clear extra_blacklist_count on FLUSH command
c646862 WPS ER: Allow UPnP interface to be forced
728d971 Use status code 17 (unable to handle new STA) on max-STA limitation
5e24dc8 Add dup_binstr() to help common binary string tasks
8b44ad7 Use os_zalloc() instead of os_malloc() + os_memset()
2c48211 FT RRB: Validate os_malloc() return value before using it
7ca902b Make vlan_file optional if dynamic_vlan is used
bdb112d Add bitfield routines
04382f7 NFC: Add no waiting and no multiple operations options for scripts
fe90496 WPS: Fix AP auto configuration on config token generation
28fcfb6 NFC: Increase wpa_cli command buffer size
8f7a6dd WPS NFC: Allow Device Password ID override for selected registrar
aaecb69 WPS: Use generic MAC Address attribute builder
9ccd916 P2P: Clean up channel--frequency conversion functions
e864c0a Use a common frequency to channel conversion function
02db75b FT: Reset FT flag upon STA deauthentication
7800d45 P2P: Set P2P_DEV_PEER_WAITING_RESPONSE from TX status callback
d78d3c6 EAP peer: Add check before calling getSessionId method
dd57970 Disable network temporarily on repeated connection failures

Change-Id: If8078d5c1ff40ea806e844543cf6f2bf9d24b7ac
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoAccumulative patch from commit 97279d8d1ad40bd7d884af8e2fc26dff0163331a
Dmitry Shmidt [Wed, 24 Apr 2013 19:57:01 +0000 (12:57 -0700)]
Accumulative patch from commit 97279d8d1ad40bd7d884af8e2fc26dff0163331a

97279d8 nl80211: Drop frame events that are for foreign address
cc2ada8 nl80211: Reduce debug on Probe Request frames
63a965c P2P: Fix after_scan_tx processing during ongoing operations
06b7f58 RSN: Update preauth scan results only based on new scan results
18e00b5 Move wpa_s freeing into wpa_supplicant_deinit_iface()
754632c dbus_new: Add EAP logon/logoff
c2aff6b hostapd: Add some testing options
adc96dc nl80211: Fix nla_nest_start conversion
0606052 wpa_supplicant: Add get_capability freq
c7a39ba Provide TLS alerts to CLI/UI over control interface
2a07a27 P2P: Increase GTK rekeying period to 24 hours
75fa7d1 TDLS: Fix key configuration with current mac80211
8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested

Change-Id: Ic4b568c341657d266b7759513230d4ef206d75b1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoam 7d96eda0: am 77979736: Merge "P2P: Unblock the code under wpas_p2p_set_group_idle_...
Dmitry Shmidt [Wed, 24 Apr 2013 18:04:57 +0000 (11:04 -0700)]
am 7d96eda0: am 77979736: Merge "P2P: Unblock the code under wpas_p2p_set_group_idle_timeout."

* commit '7d96eda062fd58d2ab28311bd0c8ab9193da4080':
  P2P: Unblock the code under wpas_p2p_set_group_idle_timeout.

11 years agoam 77979736: Merge "P2P: Unblock the code under wpas_p2p_set_group_idle_timeout."
Dmitry Shmidt [Wed, 24 Apr 2013 18:01:53 +0000 (11:01 -0700)]
am 77979736: Merge "P2P: Unblock the code under wpas_p2p_set_group_idle_timeout."

* commit '77979736ea5fe4448d77937df56d84d263436034':
  P2P: Unblock the code under wpas_p2p_set_group_idle_timeout.

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

11 years agoam 5d1c8ad1: wpa_supplicant: fix memory leak in -I option handling
Jouni Malinen [Tue, 23 Apr 2013 22:02:00 +0000 (15:02 -0700)]
am 5d1c8ad1: wpa_supplicant: fix memory leak in -I option handling

* commit '5d1c8ad11de48ba5e449e83e1e5dcd844e9c35d1':
  wpa_supplicant: fix memory leak in -I option handling

11 years agoam 97d98069: Revert "wpa_supplicant: fix -I option handling"
Iliyan Malchev [Tue, 23 Apr 2013 22:01:26 +0000 (15:01 -0700)]
am 97d98069: Revert "wpa_supplicant: fix -I option handling"

* commit '97d980693a6550ea7a66d85cf1f453b1246436b2':
  Revert "wpa_supplicant: fix -I option handling"

11 years agoam b9551352: wpa_supplicant: fix -I option handling
Dmitry Shmidt [Tue, 23 Apr 2013 22:01:25 +0000 (15:01 -0700)]
am b9551352: wpa_supplicant: fix -I option handling

* commit 'b9551352f7b1af5c6e3ab7c07827db56651f6935':
  wpa_supplicant: fix -I option handling

11 years agoam 64f47c5c: wpa_supplicant: Add option -I for additional config file
Dmitry Shmidt [Tue, 23 Apr 2013 22:01:25 +0000 (15:01 -0700)]
am 64f47c5c: wpa_supplicant: Add option -I for additional config file

* commit '64f47c5c24428834677459e048420f86e3514c20':
  wpa_supplicant: Add option -I for additional config file

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

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

Change-Id: I0bb134b014f932802da474ccdc20ceb1a086e87b

11 years agoam e93dd11e: Add liblog
Ying Wang [Wed, 10 Apr 2013 05:25:12 +0000 (22:25 -0700)]
am e93dd11e: Add liblog

* commit 'e93dd11e00aa3a511406648774f01db31304323a':
  Add liblog

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 agoam 07c8efbb: Revert 8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested
Dmitry Shmidt [Fri, 5 Apr 2013 20:35:13 +0000 (13:35 -0700)]
am 07c8efbb: Revert 8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested

* commit '07c8efbbf7c11c96b15ce21425292ba7c07f35ab':
  Revert 8970bae nl80211: Use nla_nest_start/end instead of nla_put_nested

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 agoam 5bd30337: wpa_supplicant: Enable TDLS
Dmitry Shmidt [Wed, 3 Apr 2013 23:07:08 +0000 (16:07 -0700)]
am 5bd30337: wpa_supplicant: Enable TDLS

* commit '5bd3033779d5e41840f1b8e240e5f7a8f54b429c':
  wpa_supplicant: Enable TDLS

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 agoam 1e78e769: Accumulative patch from commit 88c8bf311efa4eb64468bed9b41b3110ab9effff
Dmitry Shmidt [Tue, 2 Apr 2013 18:15:39 +0000 (11:15 -0700)]
am 1e78e769: Accumulative patch from commit 88c8bf311efa4eb64468bed9b41b3110ab9effff

* commit '1e78e76961664775f58b139f8c6388cfa0485f3d':
  Accumulative patch from commit 88c8bf311efa4eb64468bed9b41b3110ab9effff

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 agoam 444d567b: Accumulative patch from commit 17b8995cf5813d7c027cd7a6884700e791d72392
Dmitry Shmidt [Tue, 2 Apr 2013 18:04:02 +0000 (11:04 -0700)]
am 444d567b: Accumulative patch from commit 17b8995cf5813d7c027cd7a6884700e791d72392

* commit '444d567b27731d8572ef37697dd12fd1c37c2f24':
  Accumulative patch from commit 17b8995cf5813d7c027cd7a6884700e791d72392

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 agoam 0ccb66ed: Accumulative patch from commit ce26864e79144cba12d5ff98632570593cc57b8a
Dmitry Shmidt [Fri, 29 Mar 2013 23:54:34 +0000 (16:54 -0700)]
am 0ccb66ed: Accumulative patch from commit ce26864e79144cba12d5ff98632570593cc57b8a

* commit '0ccb66edb8d2a0a397320ace3ec2a03fb0d00d5f':
  Accumulative patch from commit ce26864e79144cba12d5ff98632570593cc57b8a

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 agoam 37d4d6a4: Accumulative patch from commit 52728dcd25b5074fb7c0493a8155f096089ad6d0
Dmitry Shmidt [Mon, 18 Mar 2013 21:51:42 +0000 (21:51 +0000)]
am 37d4d6a4: Accumulative patch from commit 52728dcd25b5074fb7c0493a8155f096089ad6d0

* commit '37d4d6a4efea4ef4f864347ac8ed8d62a9e19f90':
  Accumulative patch from commit 52728dcd25b5074fb7c0493a8155f096089ad6d0

11 years agoam 700a137a: Accumulative patch from commit 565110cd554801fa301c55010b3e9e14f43d7973
Dmitry Shmidt [Mon, 18 Mar 2013 20:42:06 +0000 (20:42 +0000)]
am 700a137a: Accumulative patch from commit 565110cd554801fa301c55010b3e9e14f43d7973

* commit '700a137ab366edc72e371da68ba187b4717ee660':
  Accumulative patch from commit 565110cd554801fa301c55010b3e9e14f43d7973

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 agoam 2f023193: Accumulative patch from commit f46fc73a3f8d0eeb1b43d17769464884f467ac47
Dmitry Shmidt [Tue, 12 Mar 2013 20:02:20 +0000 (20:02 +0000)]
am 2f023193: Accumulative patch from commit f46fc73a3f8d0eeb1b43d17769464884f467ac47

* commit '2f023193a0fd630eb82ce6381b80911ad5a3462f':
  Accumulative patch from commit f46fc73a3f8d0eeb1b43d17769464884f467ac47

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 26a19b24: (-s ours) am 6292bd70: am 7bf0939e: am 7298e5ab: am 2f3c1638: (-s ours...
Jean-Baptiste Queru [Mon, 11 Mar 2013 20:56:20 +0000 (20:56 +0000)]
am 26a19b24: (-s ours) am 6292bd70: am 7bf0939e: am 7298e5ab: am 2f3c1638: (-s ours) am 89d125ec: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit '26a19b244b797b825575f0851e16e2b2ad5dc174':

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.