OSDN Git Service

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

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

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

10 years agoTDLS: Provide external control to specify the peers for setup (DO NOT MERGE)
Naresh Jayaram [Wed, 13 Nov 2013 20:58:01 +0000 (12:58 -0800)]
TDLS: Provide external control to specify the peers for setup (DO NOT MERGE)

Bug: 11631777

Change-Id: I3fbcf3cef4a6a4d894f78dd3dbe4757831e4fc56
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoProhibit pno start during assoc process and in connect state
Dmitry Shmidt [Wed, 6 Nov 2013 02:08:27 +0000 (18:08 -0800)]
Prohibit pno start during assoc process and in connect state

Change-Id: I58bc138d5b74b1b62f7a9612c12399083aef1374
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoFix ENABLE_NETWORK not to reconnect in disconnected state (DO NOT MERGE)
Jouni Malinen [Wed, 23 Oct 2013 08:51:45 +0000 (11:51 +0300)]
Fix ENABLE_NETWORK not to reconnect in disconnected state (DO NOT MERGE)

DISCONNECT followed by ENABLE_NETWORK ended up starting a scan for a new
connection due to wpa_supplicant_enable_one_network() setting
wpa_s->reassociate = 1. This was done regardless of wpa_s->disconnected
being 1 which should imply that wpa_supplicant should not try to connect
before asked explicitly with REASSOCIATE or RECONNECT.

Fix this by making ENABLE_NETWORK setting of reassociate = 1 and
starting of scans for connection conditional on wpa_s->disconnected ==
0. This will make ENABLE_NETWORK trigger a connection only if
wpa_supplicant is already in a state where it would try to connect if
there are any enabled networks.

Bug: 10483405

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

10 years agomerge in klp-release (no-op)
Ed Heyl [Thu, 17 Oct 2013 00:42:15 +0000 (17:42 -0700)]
merge in klp-release (no-op)

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Sun, 13 Oct 2013 13:01:43 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoAndroid: P2P: Fix restriction of GO channels on A-band
Dmitry Shmidt [Tue, 8 Oct 2013 20:56:42 +0000 (13:56 -0700)]
Android: P2P: Fix restriction of GO channels on A-band

Bug: 11105901

Change-Id: Ibe8e85f47e95177700deedccb408f1eec85b8f3d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agomerge in KFS78N (no-op)
Ed Heyl [Tue, 8 Oct 2013 22:59:44 +0000 (15:59 -0700)]
merge in KFS78N (no-op)

10 years agomerge in KQS81M
Ed Heyl [Tue, 8 Oct 2013 22:39:57 +0000 (15:39 -0700)]
merge in KQS81M

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Tue, 1 Oct 2013 13:00:46 +0000 (06:00 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoTDLS: Do not start concurrent TDLS setup
Sunil Dutt [Mon, 30 Sep 2013 14:38:41 +0000 (17:38 +0300)]
TDLS: Do not start concurrent TDLS setup

A new TDLS request shall transmit TPK M1 frame with a unique INonce.
Thus a new explicit request would fail an ongoing TDLS negotiation with
the error "TDLS: FTIE SNonce in TPK M3 does not match with FTIE SNonce
used in TPK M1" if the peer happens to receive two M1 frames before an
M3 frame. Check for the ongoing negotiation with the peer and do not
start a new one if we are already in a setup negotiation with the peer.

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

10 years agoTDLS: Use wpa_tdls_disable_peer_link() in TPK M1 processing
Sunil Dutt [Mon, 30 Sep 2013 14:36:26 +0000 (17:36 +0300)]
TDLS: Use wpa_tdls_disable_peer_link() in TPK M1 processing

This function is used only with external setup, so this can cleaned up
to use simpler design.

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

10 years agoTDLS: Use wpa_tdls_disable_peer_link() to avoid peer search
Sunil Dutt [Mon, 30 Sep 2013 14:34:13 +0000 (17:34 +0300)]
TDLS: Use wpa_tdls_disable_peer_link() to avoid peer search

There is no need to go through the peer list when we already have a
pointer to the specific peer entry.

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

10 years agoTDLS: Use helper function for disable link operation
Sunil Dutt [Mon, 30 Sep 2013 14:23:23 +0000 (17:23 +0300)]
TDLS: Use helper function for disable link operation

This is called from number of locations and it is more efficient to use
a new helper function instead of wpa_tdls_disable_link() that would do
peer address search from the list of peers.

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

10 years agoTDLS: Clean up wpa_tdls_teardown_link() uses
Sunil Dutt [Mon, 30 Sep 2013 14:10:18 +0000 (17:10 +0300)]
TDLS: Clean up wpa_tdls_teardown_link() uses

Making this function be used only for external setup case simplifies the
implementation and makes core wpa_supplicant calls in ctrl_iface.c and
events.c consistent.

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

10 years agoTDLS: Do not modify RNonce for an TPK M1 frame with same INonce
Sunil Dutt [Sun, 15 Sep 2013 19:09:40 +0000 (12:09 -0700)]
TDLS: Do not modify RNonce for an TPK M1 frame with same INonce

There is no point in updating the RNonce for every obtained TPK M1 frame
(e.g., retransmission due to timeout) with the same INonce (SNonce in
FTIE). Update RNonce only if a TPK M1 is received with a different
INonce (new TDLS session) to avoid issues with two setup exchanges
getting mixed and exchange failing due to mismatching nonces ("TDLS:
FTIE ANonce in TPK M3 does not match with FTIE ANonce used in TPK M2").

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

10 years agoTDLS: Disable the created link on a failed TDLS handshake
Sunil Dutt [Sun, 15 Sep 2013 18:51:00 +0000 (11:51 -0700)]
TDLS: Disable the created link on a failed TDLS handshake

Clear the peer information and disable the created link on a
failed TDLS setup negotiation. This is needed to avoid leaving
TDLS setup pending and to return to the AP path in case anything
goes wrong during the setup attempt.

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

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Sun, 29 Sep 2013 13:01:03 +0000 (06:01 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoFix possible freed-memory use in BSS table updates
Jouni Malinen [Fri, 27 Sep 2013 12:47:09 +0000 (15:47 +0300)]
Fix possible freed-memory use in BSS table updates

If there are large number of BSSes in the scan results, BSS table update
could have added a BSS entry to the last_scan_res in a case where that
BSS entry got just deleted. This would happen only if there are more
than bss_max_count (by default 200) BSSes and if at least bss_max_count
of those BSSes are known (match a configured network). In such a case,
wpa_bss_add() could end up allocating a new BSS entry and return a
pointer to that entry even if it was the one that ended up getting freed
to keep the BSS table length within the limit. This could result in
freed memory being used and the process crashing (likely with segfault)
when trying to access information from that BSS entry.

Fix the issue by removing the oldest BSS entry before linking the new
entry to the table. This makes sure the newly added entry will never get
picked up as the one to be deleted immediately.

Bug: 10964663

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

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Wed, 18 Sep 2013 04:11:10 +0000 (21:11 -0700)]
merge in klp-release history after reset to klp-dev

10 years agomerge in klp-release history after reset to klp-dev
The Android Automerger [Wed, 18 Sep 2013 00:39:52 +0000 (17:39 -0700)]
merge in klp-release history after reset to klp-dev

10 years agoP2P: Prefer 20 MHz operating channels on 5 GHz band over 2.4 GHz
Hardik Kantilal Patel [Sun, 15 Sep 2013 01:09:48 +0000 (18:09 -0700)]
P2P: Prefer 20 MHz operating channels on 5 GHz band over 2.4 GHz

When no other user preference is specified, opt to use an operating
channel that allows 5 GHz band to be used rather than 2.4 GHz.
Previously, this was already done in practice for HT40 channels since no
such channel is enabled for P2P on 2.4 GHz. This commit extends this to
apply 5 GHz preference for 20 MHz channels as well.

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

10 years agoAndroid: P2P: Restrict GO channels on A-band
Dmitry Shmidt [Mon, 16 Sep 2013 21:37:53 +0000 (14:37 -0700)]
Android: P2P: Restrict GO channels on A-band

Bug: 10641114

Change-Id: I621ef6d5e45392d86211bc3936e85b876b96aec4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Conflicts:
src/p2p/p2p_utils.c

10 years agoAndroid: P2P: Restrict GO channels on A-band
Dmitry Shmidt [Mon, 16 Sep 2013 21:37:53 +0000 (14:37 -0700)]
Android: P2P: Restrict GO channels on A-band

Bug: 10641114

Change-Id: I621ef6d5e45392d86211bc3936e85b876b96aec4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agomerge in klp-factoryrom-release history after reset to klp-release
The Android Automerger [Mon, 16 Sep 2013 18:06:20 +0000 (11:06 -0700)]
merge in klp-factoryrom-release history after reset to klp-release

10 years agoAndroid: P2P: Restrict GO channels on A-band by locale
Dmitry Shmidt [Thu, 12 Sep 2013 19:41:14 +0000 (12:41 -0700)]
Android: P2P: Restrict GO channels on A-band by locale

Bug: 10641114

Change-Id: I9bb5e6f816ae84363487d77a8c6ddd1b4ae6ae0f
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoAndroid: P2P: Remember country locale
Dmitry Shmidt [Thu, 12 Sep 2013 19:39:30 +0000 (12:39 -0700)]
Android: P2P: Remember country locale

Bug: 10641114

Change-Id: Iab32a76b277cc8195f47a02fb8e6936ff2529aaa
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoAndroid: P2P: Fix frequency choice if multichannel supported
Dmitry Shmidt [Tue, 10 Sep 2013 17:52:57 +0000 (10:52 -0700)]
Android: P2P: Fix frequency choice if multichannel supported

Bug: 10513949

Change-Id: Id9e5b2560630049a6ca5f74e3785d4a2c2be3124
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoAndroid: Clean entire socket directory
Dmitry Shmidt [Mon, 9 Sep 2013 17:26:32 +0000 (10:26 -0700)]
Android: Clean entire socket directory

Despite interface (and group) related sockets are not used
for control, they are created and may be left.

Bug: 10585306

Change-Id: I7cf49403337afc2db552c094029390c2cbd57c0f
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoCumulative patch from commit b2b688d18d40cd667d0faa149b4a7172166b3bd4
Dmitry Shmidt [Tue, 3 Sep 2013 19:16:28 +0000 (12:16 -0700)]
Cumulative patch from commit b2b688d18d40cd667d0faa149b4a7172166b3bd4

b2b688d P2P: Fix crash when failed to create GO interface
6197169 WPS NFC: Fix build without CONFIG_AP=y
e1ae5d7 SAE: Fix build without CONFIG_AP=y
813e7b3 P2P: Remove group from timeout on PSK failure
5bf9a6c P2P: Add event messages for possible PSK failures on P2P groups
eac8dab P2P: Document per-client keys and p2p_remove_client
43c693c P2P: Do not store duplicate PSK entries for the same device
f2c5660 P2P: Add a command for removing a client from all groups
01a57fe P2P: Maintain list of per-client PSKs for persistent groups
759fd76 P2P: Select PSK based on Device Address instead of Interface Address
94ddef3 P2P: Make peer's P2P Device Address available to authenticator
52177fb P2P: Store P2P Device Address in per-device PSK records
05766ed P2P: Allow per-device PSK to be assigned
698e921 wpa_cli: Add tab completion for p2p_set field values
0b5fb86 P2P: Stop listen state when listen-only duration is over
02a3e5c wpa_cli: Allow first DISCONNECTED event to be reported
cdf8bfa Disallow WEP configuration in WPA network
731ef43 D-Bus: Fix per-iface object unregistration on not existing objects
447969e D-Bus: Do not send network notification for all P2P groups
eb32460 Fix switching from EAP-SIM to EAP-AKA/AKA'
f2b3f4d P2P: Allow P2P functionality to be disabled per interface
50f4f2a hostapd: Add Automatic Channel Selection (ACS) support
43ee470 P2P: Immediate group removal in GC in case of deauthentication
fcf2052 Fix MNC length for Swisscom SIM cards

Bug: 1060622810513949

Change-Id: I63ba0e2ab4fa76e6afa7a34be42e8e847e1511b0
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoCumulative patch from commit commit add7add09d72c3294c63a113635d69b766acf504
Dmitry Shmidt [Thu, 29 Aug 2013 19:37:21 +0000 (12:37 -0700)]
Cumulative patch from commit commit add7add09d72c3294c63a113635d69b766acf504

add7add IBSS RSN: Add a timeout for Authentication frame exchange
c1c0b35 P2P: Postpone concurrent scans when waiting for first client as GO
6fb7b58 IBSS RSN: Work around Data RX vs. Authentication RX race condition

Bug: 10513949

Change-Id: Ic4d77c94a5b6e4729cd798f7b033e3ea5b2481cc
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoCumulative patch from commit 853b49a030c00fd6b2dde14e183ca2bf108eaa16
Dmitry Shmidt [Mon, 26 Aug 2013 19:09:05 +0000 (12:09 -0700)]
Cumulative patch from commit 853b49a030c00fd6b2dde14e183ca2bf108eaa16

853b49a tests: Increase test_ap_wps_init connection timeout
28de68a P2P: Update peer operating channel from GO Negotiation Confirm
6701fdc P2P: Use the first pref_chan entry as operating channel preference
99d7c76 P2P: Add more debug info on operating channel selection
8d660e0 P2P: Add GO negotiation results into the P2P-GO-NEG-SUCCESS event
2c6f8cf Replace perror() with wpa_printf(strerror) in ctrl_iface calls
e743db4 IBSS RSN: Add IBSS-RSN-COMPLETED event message
4c55901 P2P: Add state info to global STATUS command
ae8c27f Add STATUS command to global control interface
42868f1 Add SAVE_CONFIG command to global control interface
1b9b31c Add SET command for global control interface
0185007 hostapd: Add survey dump support
245e026 hostapd: Split up channel checking into helpers
ba873bd wired: Wait for the link to become active before sending packets
d393de1 P2P: Validate the freq in p2p_group_add
973622c wpa_supplicant: Fix AP mode frequency initialization
d99ca89 P2P: Skip non-P2P interface in p2p_group_remove *
239abaf WPS: Set currently used RF band in RF Bands attribute
bf83eab nl80211: Start P2P Device when rfkill is unblocked
60b13c2 nl80211: Do not change type to station on P2P interfaces
e0591c3 wpa_supplicant: Reduce wait time for control interfaces
5046eb4 P2P: Allow separate interface GO to disconnect low-ack STAs
5bcd5c5 FT RRB: Clear pad field to avoid sending out uninitialized data
b378c41 nl80211: Fix deinit path to unregister nl_mgmt socket
a235aca Fix DETACH command debug prints to avoid use of freed memory
8d6e035 Make global UNIX socket non-blocking for ctrl_iface
86bd141 Change WEP network selection to reject WPA/WPA2 APs
2e145e9 WPS: Fix failure path to allow WSC_NACK and EAP-Failure to be exchanged
3351a38 WPS: Add control interface command for fetching latest status
e96872a WPS: Track peer MAC address from the last operations
ae23935 WPS: Track PBC status
61b6520 WPS: Track result of the latest WPS operation
50396e2 WPS: Add PBC mode activated/disabled events
961750c WPS: Share a common function for error strings
30158a0 nl80211: Update the assoc_freq during connect
83e7bb0 nl80211: Add more debug prints for DEL_STATION commands

Bug: 9056601

Change-Id: I8bc671eb13f4c2c388a4c15cf1ba968c24c9656a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoP2P: Add commands for p2p redirection
Dmitry Shmidt [Fri, 16 Aug 2013 22:29:47 +0000 (15:29 -0700)]
P2P: Add commands for p2p redirection

Bug: 9056601

Change-Id: I6d78433df656c24af74a6825624c68231a4bf87d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoRemove obsolete parameter from p2p_sd_service_update()
Dmitry Shmidt [Wed, 14 Aug 2013 22:30:08 +0000 (15:30 -0700)]
Remove obsolete parameter from p2p_sd_service_update()

Bug: 9056601

Change-Id: Ia461ff500df50f1b97ad446dc14d43fa3513677b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoCumulative patch from commit d2ba3d6bd9336ef8fd761a0cc7999824d4c4da41
Dmitry Shmidt [Thu, 8 Aug 2013 18:23:34 +0000 (11:23 -0700)]
Cumulative patch from commit d2ba3d6bd9336ef8fd761a0cc7999824d4c4da41

d2ba3d6 VLAN: Simplify no-WEP with VLAN check
d66dcb0 WEP: Remove VLAN support from hostapd
646f12a bsd: Add a commit routine
32dc6a3 bsd: Mark define sta_set_flags() only for hostapd
70a867c bsd: Mark the interface down before opening the routing socket
89f4690 bsd: Compute the RSSI level
5dd82c6 bsd: Set IEEE80211_KEY_NOREPLAY in IBSS/AHDEMO mode
cb76af8 bsd: Skip SIOCSIFFFLAGS ioctl when there is no change.
7239ea7 nl80211: Add stop AP mode event API

Change-Id: Ib1c41f2ed18299451f05d0adf808b8b560522c86
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoCumulative patch from commit c2db79f2376c61c21918162fb2222a66c029fa48
Dmitry Shmidt [Mon, 5 Aug 2013 21:36:10 +0000 (14:36 -0700)]
Cumulative patch from commit c2db79f2376c61c21918162fb2222a66c029fa48

c2db79f VLAN: Remove vlan_tail
f7b4ef2 TDLS: Handle transmission failures of TPK Handshake messages
a2ea8d6 P2P: Fix invalid remain-on-channel duration for frame TX
cbf41ca P2P: Do not delay retries on failure during group formation
dc01de8 nl80211: Fix TDLS key configuration to not set TX key index

Change-Id: Id2418699c3ce49a7e198ab9c0d718ab4a713df62
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoAccumulative patch from commit 932659696e2755bb1ecd6a27e1968fd27eef4948
Dmitry Shmidt [Wed, 24 Jul 2013 19:57:51 +0000 (12:57 -0700)]
Accumulative patch from commit 932659696e2755bb1ecd6a27e1968fd27eef4948

9326596 nl80211: Remove unused WPA_DRIVER_FLAGS_MULTI_CHANNEL_CONCURRENT
0d08efa P2P: Use the number of concurrent channels in P2P flows
a21816a Use wpa_drv_shared_freq() if get_radio_name() is not supported
53c5dfc Change share_vif_oper_freq() to handle multiple freqs
4752147 nl80211: Report the number of concurrent support channels
d7df0fa Clean up wpa_supplicant_event() with deauth/disassoc helper functions
fd9f170 Remove unnecessary nested ifdef CONFIG_AP
13adc57 IBSS RSN: Add peer restart detection
b21990b nl80211: Register for AUTH frames when joining an IBSS network
c91f796 nl80211: Support not specifying the frame frequency
ec384c5 IBSS RSN: Fix disconnect() with internal SME
ed07764 nl80211: Remove redundant assignment of ifindex
4ed8d95 TDLS: Tear down TDLS using wpas_drv_tlds_oper() if not external
831770b Cancel delayed scheduled scan when wpa_supplicant cleans up
69dd296 WDS: Fix WEP usage with nl80211 wds_sta=1
c8ebeda wpa_supplicant: Add support for VHT BSS membership selector
3f9a813 hostapd: Add a config option to control beaconing
182b2e5 Add missing host_to_le32() for big endian hosts
3f53c00 nl80211: Ignore disconnect event in case of locally generated request

Change-Id: Ia7368e71ae40966a92970ac82b002c09a7971d41
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoam 18493732: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Fri, 19 Jul 2013 23:02:27 +0000 (16:02 -0700)]
am 18493732: (-s ours) Reconcile with jb-mr2-zeroday-release - do not merge

* commit '184937322b767748f4d65758616cc9db2d670564':
  Mark interface disconnected on removal request, DO NOT MERGE
  Do not try auto connect mechanism in disconnected state, DO NOT MERGE
  Do not add BSS to blacklist on local disconnection request, DO NOT MERGE

10 years agoam 63c1477e: (-s ours) am b75d8b67: Mark interface disconnected on removal request...
Jouni Malinen [Fri, 19 Jul 2013 22:48:26 +0000 (15:48 -0700)]
am 63c1477e: (-s ours) am b75d8b67: Mark interface disconnected on removal request, DO NOT MERGE

* commit '63c1477ea9052118e3a991c903655b6ed04bd7b9':
  Mark interface disconnected on removal request, DO NOT MERGE

10 years agoam 82c2c233: (-s ours) am 26a545dc: Do not try auto connect mechanism in disconnected...
Jouni Malinen [Fri, 19 Jul 2013 22:48:26 +0000 (15:48 -0700)]
am 82c2c233: (-s ours) am 26a545dc: Do not try auto connect mechanism in disconnected state, DO NOT MERGE

* commit '82c2c2331d5d0bccf5d49f03347c9a23285a305b':
  Do not try auto connect mechanism in disconnected state, DO NOT MERGE

10 years agoam f7f24ff1: (-s ours) am 74d2224e: Do not add BSS to blacklist on local disconnectio...
Jouni Malinen [Fri, 19 Jul 2013 22:48:25 +0000 (15:48 -0700)]
am f7f24ff1: (-s ours) am 74d2224e: Do not add BSS to blacklist on local disconnection request, DO NOT MERGE

* commit 'f7f24ff14fa691903849942444025175f627e873':
  Do not add BSS to blacklist on local disconnection request, DO NOT MERGE

10 years agoReconcile with jb-mr2-zeroday-release - do not merge
The Android Open Source Project [Fri, 19 Jul 2013 21:20:38 +0000 (14:20 -0700)]
Reconcile with jb-mr2-zeroday-release - do not merge

Change-Id: I0e4867b931bdee95e581e2769b182814cb23a531

10 years agoam b75d8b67: Mark interface disconnected on removal request, DO NOT MERGE
Jouni Malinen [Fri, 19 Jul 2013 20:38:07 +0000 (13:38 -0700)]
am b75d8b67: Mark interface disconnected on removal request, DO NOT MERGE

* commit 'b75d8b6774b7d464236a4e029750d0f29dc27b37':
  Mark interface disconnected on removal request, DO NOT MERGE

10 years agoam 26a545dc: Do not try auto connect mechanism in disconnected state, DO NOT MERGE
Jouni Malinen [Fri, 19 Jul 2013 20:38:07 +0000 (13:38 -0700)]
am 26a545dc: Do not try auto connect mechanism in disconnected state, DO NOT MERGE

* commit '26a545dc8d839bfa32e8cc2d52a6c63adfa4daf7':
  Do not try auto connect mechanism in disconnected state, DO NOT MERGE

10 years agoam 74d2224e: Do not add BSS to blacklist on local disconnection request, DO NOT MERGE
Jouni Malinen [Fri, 19 Jul 2013 20:38:06 +0000 (13:38 -0700)]
am 74d2224e: Do not add BSS to blacklist on local disconnection request, DO NOT MERGE

* commit '74d2224ee5ae007985ed5f26df19cf20c2841ec2':
  Do not add BSS to blacklist on local disconnection request, DO NOT MERGE

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

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

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

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

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

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

Bug: 8785804
Change-Id: Iae119c292f5f45b78359dd67317d7d8206cb4cf7
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agoMark interface disconnected on removal request, DO NOT MERGE
Jouni Malinen [Sun, 12 May 2013 16:16:35 +0000 (19:16 +0300)]
Mark interface disconnected on removal request, DO NOT MERGE

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

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

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

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

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

Bug: 8785804
Change-Id: Iae119c292f5f45b78359dd67317d7d8206cb4cf7
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
10 years agoMerge "Accumulative patch from commit 1075b2957169d8f9d6dddd7679339c751dc9515b"
Dmitry Shmidt [Fri, 12 Jul 2013 17:39:29 +0000 (17:39 +0000)]
Merge "Accumulative patch from commit 1075b2957169d8f9d6dddd7679339c751dc9515b"

10 years agoAccumulative patch from commit 1075b2957169d8f9d6dddd7679339c751dc9515b
Dmitry Shmidt [Thu, 11 Jul 2013 17:46:32 +0000 (10:46 -0700)]
Accumulative patch from commit 1075b2957169d8f9d6dddd7679339c751dc9515b

1075b29 P2P: Report group formation failure on error to start GO mode
b62b29e Do not block on ctrl_iface monitor events
eb7ddbf WPS: Stop SSDP service before freeing the pending entries
98cbc0a Remove forgotten Xcode defines
0b9d3b2 Interworking: Relax 3GPP info PLMN matching for MNC
c7a67a7 WPS: Disconnect when removing existing WPS network block
fe65847 EAP-EKE: Add server implementation
7e7610d EAP-EKE: Add peer implementation
489202d EAP-SAKE: Use configured server identity
a607b42 EAP-PSK: Use configured server identity
15b042b EAP-MSCHAPv2: Use configured server identity
162865b EAP-IKEv2 server: Use configured server identity
8f89d82 EAP-GPSK server: Use configured server identity
67fe933 Add server identity configuration for EAP server
06aeff5 dbus: Register the AutoScan method call at the right place
78f79fe P2P: Do not add ctrl interface for P2P_DEVICE (p2p-dev-*)
1c42b42 P2P: Fix TDLS and l2_packet init without P2P Device interface
9e6a321 Fix non-P2P build after the P2P_DEVICE changes
d53d259 Fix build with older OpenSSL versions
54d4ba4 nl80211: Silence a compiler warning with older gcc versions
2e5ba4b P2P: Derive group interface name bit more sensibly
c68f620 P2P: Create P2P Device interface if supported
851b0c5 nl80211: Do not indicate P2P_DEVICE support by default
bb4028f P2P: Ignore p2p_no_group_iface when driver advertizes P2P_DEVICE support
7940c79 nl80211: Use wdev id when cancelling wait for frame using P2P_DEVICE
f608081 nl80211: Verify P2P GO/client address with all interface addresses
5fbcb45 nl80211: Fix determining phy name for P2P Device
27ce1d6 nl80211: Fix nl80211_get_wiphy_index() for P2P Device
080585c Add support for OCSP stapling to validate server certificate
72950ed P2P: Remove a call to wpas_p2p_deinit_global()
ab7a1ad nl80211: Fix P2P group interface creating using P2P Device
fa93de4 nl80211: Use wdev_id in nl80211_create_iface_once()
fdc554b nl80211: Use wdev id to obtain P2P Device scan results
597b94f nl80211: Add .get_mac_addr() callback for P2P Device
8e12685 nl80211: Rework setting interface mode
91724d6 nl80211: Introduce i802_set_iface_flags()
eb4582f nl80211: Remove P2P Device interface upon .deinit()
f632e48 nl80211: Fix P2P Device interface initialization
e472e1b nl80211: Handle creation of P2P Device interface
01517c8 nl80211: Allow Android P2P functionality
6bae92e nl80211: Add support for P2P Device in add interface
d6dcfcd nl80211: Add a handler to create_interface
d3aaef8 nl80211: Hold wdev identification for P2P Device
7aad838 nl80211: Identify if nl80211 is capable of P2P Device abstraction
6a71413 nl80211: Rename is_p2p_interface
8393e1a nl80211: Print interface name on set_key()
80ebfd9 VLAN: Avoid access to non-existing interfaces
4345fe9 bridge: Track inter-BSS usage
459eee9 bridge: Use safe default bridge interface
2aaeedf bridge: Give bridge name in per-bss configuration
8a901d7 D-Bus: Emit signal when a station is authorized or deauthorized
9578329 Add AVG_RSSI report in signal_poll
2cc8d8f Add bandwidth and center freq info to signal_poll
1e0e943 Remove 802.11b rates only in case of P2P group operation
2090a0b nl80211: Add prints for kernel events
8743676 TDLS: Validate ext_supp_rates in copy_supp_rates
85b4eac P2P: Do not reply to 802.11b-only Probe Request frames as GO
ec7b97a Interworking: Add support for using eap_proxy offload
4331263 Fix session timeout after ANQP dummy STA entry with SME-in-driver
56cb4e1 wpadebug: Add option to ignore SSL errors
aa20e1a Remove CONFIG_NO_WPA2 build parameter
5d5c4ee Remove compiler warnings with CONFIG_NO_SCAN_PROCESSING
9aaa695 Remove compiler warnings if TDLS is enabled without WPA2
84ae1d4 Fix WNM build without WPA2
c33d5eb Fix build without WPA2 or EAP
1aef400 IBSS RSN: Implement disconnect() callback using sta_deauth()

Change-Id: I4593be5b1478f6532da917423b1d2afa95fb8020
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 years agoam 65699d14: am 499d6840: Merge "Remove obsolete keystore path"
Kenny Root [Wed, 26 Jun 2013 23:59:03 +0000 (16:59 -0700)]
am 65699d14: am 499d6840: Merge "Remove obsolete keystore path"

* commit '65699d14fab37ab374ce46c6192d4e9b56ec26c1':
  Remove obsolete keystore path

10 years agoam 499d6840: Merge "Remove obsolete keystore path"
Kenny Root [Wed, 26 Jun 2013 23:51:44 +0000 (16:51 -0700)]
am 499d6840: Merge "Remove obsolete keystore path"

* commit '499d68402f55bd1b8aa1a0d9c6966c7392704fba':
  Remove obsolete keystore path

10 years agoMerge "Remove obsolete keystore path"
Kenny Root [Wed, 26 Jun 2013 23:49:37 +0000 (23:49 +0000)]
Merge "Remove obsolete keystore path"

10 years agoRemove obsolete keystore path
Kenny Root [Wed, 26 Jun 2013 21:57:31 +0000 (14:57 -0700)]
Remove obsolete keystore path

It's not possible to get a raw private key from keystore anymore, so
this would fail every time anyway. Remove it so it doesn't confuse
anyone that looks at this code.

Change-Id: I021fc1707b16474d8698c85055a6fcc4095cd215

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

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

10 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."

10 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

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

10 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

10 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

10 years agowpa_supplicant: fix memory leak in -I option handling
Jouni Malinen [Tue, 23 Apr 2013 19:34:56 +0000 (12:34 -0700)]
wpa_supplicant: fix memory leak in -I option handling

Change-Id: I1b393d245d606882e7bb548135d1eab99a988a81
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
10 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

10 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>
10 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':