663 Commits

Author SHA1 Message Date
Robert Greenwalt
c3de50cd3c am 30c798d5: Merge "Add some temp wifi debugging output" into jb-mr2-dev
* commit '30c798d58772efd595fffebd9d0d54f717e34ed6':
  Add some temp wifi debugging output
2013-05-19 12:49:44 -07:00
Robert Greenwalt
02ba86f0cc Add some temp wifi debugging output
bug: 9014777
Change-Id: I38c61f235742a36be10cdf9125e19ac9406a61b9
2013-05-18 13:40:49 -07:00
Robert Greenwalt
23abefef00 am 28d3dbf9: Merge "Remove wifi scan-always dialog." into jb-mr2-dev
* commit '28d3dbf969c4c7965ea44bfe4b54095af5356970':
  Remove wifi scan-always dialog.
2013-05-13 14:13:50 -07:00
Robert Greenwalt
28d3dbf969 Merge "Remove wifi scan-always dialog." into jb-mr2-dev 2013-05-13 21:11:32 +00:00
Robert Greenwalt
aee3d28763 Remove wifi scan-always dialog.
Removes intent type for dialog and Setting on whether to show
dialog.

bug:8907190
Change-Id: Id37e03126d4afdfd7d921132a57233b84603c8bd
2013-05-13 11:32:31 -07:00
Dmitry Shmidt
b4fd1bd774 am de1361fa: Merge "P2P: Turn OFF PS-mode for DHCP session" into jb-mr2-dev
* commit 'de1361fa12cef43cc97e98321408e1c4c5e44b38':
  P2P: Turn OFF PS-mode for DHCP session
2013-05-11 09:52:41 -07:00
Dmitry Shmidt
de1361fa12 Merge "P2P: Turn OFF PS-mode for DHCP session" into jb-mr2-dev 2013-05-11 16:50:38 +00:00
Dmitry Shmidt
e25f9d246e P2P: Turn OFF PS-mode for DHCP session
Bug: 8494584

Change-Id: I1d7519a40342538ab31ccad6210e47b3622ae31e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-05-10 18:13:46 -07:00
Robert Greenwalt
c77e2d74ee Fix for P2P GO beaconing when 4way Handshake fails
bug:8871100
Change-Id: I01276f13bfdd4bc23771414935d2a370223bf4fa
2013-05-10 17:03:26 -07:00
Robert Greenwalt
dfbf21e591 am 6f8fb959: Merge "Enable Opportunistic Key Caching on WPA2-Enterprise Networks"
* commit '6f8fb9594fa5387340601c8b6e3e13f51e57f54b':
  Enable Opportunistic Key Caching on WPA2-Enterprise Networks
2013-05-10 15:57:06 -07:00
Dmitry Shmidt
509b51aa25 am 00ee47ea: Merge "framework/base: Handle ASSOC-REJECT events"
* commit '00ee47ead451ee2584c23f15a3760ae041e82e56':
  framework/base: Handle ASSOC-REJECT events
2013-05-10 15:57:02 -07:00
Robert Greenwalt
6f8fb9594f Merge "Enable Opportunistic Key Caching on WPA2-Enterprise Networks" 2013-05-10 22:41:10 +00:00
Dmitry Shmidt
00ee47ead4 Merge "framework/base: Handle ASSOC-REJECT events" 2013-05-10 22:35:23 +00:00
Robert Greenwalt
a62fbd31b3 am 408ad99d: Merge "frameworks/base:Fix for P2P GO beaconing when 4-way Handshake fails."
* commit '408ad99dd307ae93abec76821d343b8e080c99c9':
  frameworks/base:Fix for P2P GO beaconing when 4-way Handshake fails.
2013-05-10 15:26:30 -07:00
Partha N
ee011077df Enable Opportunistic Key Caching on WPA2-Enterprise Networks
Add a "proactive_key_caching=1" line to every network segment config that represents a
WPA2-Enterprise network. This enables Opportunistic Key Caching for all eligible
WLANs.

Replaced TABs with spaces.

Change-Id: Ia529dcd1dee7a21a68c80de05a9f590ddd944d4c
Signed-off-by: Partha N <parthan@gmail.com>
2013-05-10 07:53:26 -07:00
Deepthi Gowri
c1b631e757 framework/base: Handle ASSOC-REJECT events
Disable current network and enable other saved networks(if any)
once number of ASSOC-REJECTs on an attempt to connect to a corresponding
network exceeds the threshold.

Change-Id: Iac3c1596aa800d93c55b0ac5d8070a058c3842bd
2013-05-09 11:30:26 +05:30
Deepthi Gowri
975b788dab frameworks/base:Fix for P2P GO beaconing when 4-way Handshake fails.
Fix for P2P GO beaconing when 4-way Handshake fails by setting
p2p_group_idle timeout of 10 sec when group is started as a GO
and clear it when AP_STA_CONNECTED event is received.

Change-Id: I40189efc31eeb55e01a95a2a8e9c1a95d929952d
bug: 8871100
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
2013-05-09 00:15:33 +00:00
sunil duttu
aff3bd69d3 framework:When turn off of SoftAp immediately call turning ON SoftAp
Due to sub system restart,There is state change of softAp tether state machine
in tethered state triggering turnoff SoftAp this should be
follwed by turnon softap.

Change-Id: I93051f17bcaae72ae0694f1f23557cc1d3bea280
2013-04-30 13:56:17 -07:00
Irfan Sheriff
cca308e3e8 Fix network reload when config is restored
With scan mode opted in, supplicant connection is not shut
down even when wifi is turned off. This is a problem since
networks need to be reloaded when wifi is turned off and turned on
and this currently happens only on a supplicant connection.

Fix to handle this for scan mode state.

Bug: 8714796
Change-Id: I7d66c39fb51018fb52e783341222cea993993893
2013-04-25 23:27:19 -07:00
Irfan Sheriff
4a1d95139a Merge "Fix NPE issues seen by CTS" into jb-mr2-dev 2013-04-19 19:43:46 +00:00
Irfan Sheriff
63e550f202 Merge "Add getters and private constructor" into jb-mr2-dev 2013-04-19 17:56:34 +00:00
Irfan Sheriff
0b4732c224 Fix NPE issues seen by CTS
Bug: 8646305
Change-Id: Ief90c76d63f60aee9a3da080cd43dd9610f3f4fc
2013-04-19 10:54:48 -07:00
Irfan Sheriff
40843589c4 Add getters and private constructor
Address API feedback

Bug: 8656930
Change-Id: Idc3dd8d8a7e633449329864e41cab58a6b193b5a
2013-04-19 10:02:49 -07:00
Irfan Sheriff
ba1311a3f6 Merge "Fix API name" into jb-mr2-dev 2013-04-19 15:56:11 +00:00
Irfan Sheriff
7ea33eac4b Fix API name
Address council feedback

Bug: 8656932
Change-Id: I92972fc3672afbc38cdeee628c04b639053f7cf3
2013-04-19 08:39:53 -07:00
Irfan Sheriff
d12a7645a3 Merge "Fix enabling networks after driver stop" into jb-mr2-dev 2013-04-16 22:00:11 +00:00
Irfan Sheriff
b8df5451f4 Fix enabling networks after driver stop
Bug: 8630194
Change-Id: If897fc1fe54bf2f35362b8482e56d98f80a3130c
2013-04-16 14:16:18 -07:00
Irfan Sheriff
ed8cdbb780 Merge "Fix CTS failure due to invalid EAP update" into jb-mr2-dev 2013-04-15 22:52:33 +00:00
Irfan Sheriff
0b132962e4 Fix CTS failure due to invalid EAP update
Update EAP only when it has valid entry

Bug: 8604987
Change-Id: Ib6b10bd06c26ee91c4ecd3a231b509d728725dfc
2013-04-15 22:36:45 +00:00
Kenny Root
b2c0ff64d8 Remove old KeyStore call sites
Remove the call sites that don't have the flags specified. This is to
ensure that callers know what flags they're setting.

Bug: 8122243
Change-Id: Ifbd178fddbf8dbd8f7b821ea739a20d056ef9fa7
2013-04-12 18:09:04 -07:00
Robert Greenwalt
a05e4583af Disconnect from AP when teardown requested.
We can leave the driver running if it can't handle quick
start/stop cycles, but we must disconnect when requested.

Bug:8549078
Change-Id: Id2e930fb48ca78bb459b775cba7e9aa31a6c9941
2013-04-12 12:44:56 -07:00
Irfan Sheriff
08b1ad435f Fix WPS handling when already connected
Dont enable networks too quickly

Bug: 8558120
Change-Id: Ibee1ae393d56e532227505d0393a9a337f72f62f
2013-04-11 15:55:31 -07:00
Irfan Sheriff
51e4ece385 Fix proxy and IP settings
- Network disconnect was clobbering IP and proxy settings.
- Track settings correctly in WifiConfigStore

Bug: 7299216
Change-Id: I30e5b68e59e30f7b99a71e8d7cf18750c784cec7
2013-04-11 15:12:20 -07:00
Robert Greenwalt
4b8fabd5a8 Fix crash bug with mismatched iface names
The copied-to LinkProperties needs the same iface name as the copied from.
Since we were copying into an empty LP this was trivial, but I
changed the params to tighten up this contract - don't want to
accidentally change an LP's iface name when we shouldn't.

bug:8569797
Change-Id: I5f88826e37271a0549c14d004bb2f16983b950e6
2013-04-08 18:02:02 -07:00
Irfan Sheriff
964a6a7e20 Merge "Scope certs for wifi UID and handle migration" into jb-mr2-dev 2013-03-29 17:32:44 +00:00
Irfan Sheriff
ce449d9ee5 Merge "Add support for setMiracastMode" into jb-mr2-dev 2013-03-28 17:29:14 +00:00
Irfan Sheriff
8b485adffd Add support for setMiracastMode
Usage is setMiracastMode(WifiP2pManager.MIRACAST_SOURCE) or
setMiracastMode(WifiP2pManager.MIRACAST_SINK) as an example.
Only available for internal use and can be called as long as
driver is active. P2p connection is not needed for it to be
called

Bug: 8493089
Change-Id: I1f87eaf3311212aae980077de26c05651a8cc811
2013-03-28 10:27:17 -07:00
Robert Greenwalt
665e1aed5e Add BT - DataTracker connection
Allows the external BT stack the means to communicate with
ConnectivityService during reverse tethering.

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
2013-03-27 15:45:12 -07:00
Irfan Sheriff
81196b207a Fix clearing linkproperties on disconnect
Bug: 5472644
Change-Id: If2b32b16fd3d65f1da12a9c5a8083d50125283d5
2013-03-26 13:38:57 -07:00
Irfan Sheriff
8b643c13f9 Scope certs for wifi UID and handle migration
Bug: 8183303
Change-Id: I842c9b0c0d4f2fa42a3fc5b1ac22c28e202ef188
2013-03-25 13:49:30 -07:00
Irfan Sheriff
7b7beb7952 Notify user when wi-fi is toggled about scans
We let the user know when he turns off Wi-Fi that scans will continue to
be available.

User has the option to turn off the dialog and not receive this in the future.

Bug: 8141918
Change-Id: I115ce2ac57125b8ffbb34245dc25effd4b3bebb0
2013-03-21 12:27:20 -07:00
Irfan Sheriff
63f1e2fb6b Merge "Add API to control scan always mode" into jb-mr2-dev 2013-03-20 15:49:20 +00:00
Irfan Sheriff
1ef840cdc7 Add API to control scan always mode
Bug: 8141918
Change-Id: I1e5e45e514726c2cbfd86e747123e477e00fd7ed
2013-03-19 07:44:47 -07:00
Irfan Sheriff
367a96b0f3 Fix tethering
Using sendMessageAtFrontofQueue() causes issues here since there can be a start
that is deferred and it basically has no effect. Use defer which is more clean
and obvious here.

Bug: 8410547
Change-Id: I4fbf299283847e7c3009b87a81cb56e765b0e1e1
2013-03-18 13:56:32 -07:00
Lorenzo Colitti
69edd64d9b Add stacking to the NetworkStateTrackers.
Bug: 8276725
Change-Id: I55a107fea78f9cc84f15bd6c75292138fb35a1b6
2013-03-15 14:35:35 +09:00
Irfan Sheriff
b630b7e426 Fix tether restart on settings change
Bug: 8320043
Change-Id: I35d84c5b0ff2b9cc62d77b7fb6a9b9076f2cb695
2013-03-14 14:34:29 -07:00
Irfan Sheriff
e6db500b10 Fix msg argument usage
Change-Id: I5b38dcbae3918a1e8c828d6e246eadf520d06c06
2013-03-14 14:29:26 -07:00
Irfan Sheriff
11aefad94d Add support for scan always available mode
Modify WifiService to add a controller to track the various
desired states and let the WifiStatemachine actually control
the bring up.

Bug: 8141918

Change-Id: I6e98fd5a29b43c3c50c315eff5255cd0a3eaebcd
2013-03-14 13:55:56 -07:00
Irfan Sheriff
accec86ce4 Fix reconnect/reassociate handling
We are dropping incorrectly when in disconnected state

Bug: 8357624
Change-Id: I8919dcd679da6b5fc6c7f671e243f08e42b91ff3
2013-03-11 08:47:39 -07:00
Irfan Sheriff
0ffc81c1ad am 17d89636: am 011b8efc: Merge "frameworks/base: stop find before issuing wps pbc."
* commit '17d89636530f4a5e4e77d3ae11e2e696a697cc64':
  frameworks/base: stop find before issuing wps pbc.
2013-03-06 17:44:42 +00:00