| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'df1734e3f57646df1fa96275cbb65bb91ac9d2ac':
Fix lease duration handling
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to convert lease duration from int to long before
converting into milliseconds
Also add basic sanity check
Bug: 4561231
Change-Id: I9bcafaa798a04c8de3f2c1897dc5b3c4ae245672
|
|\ \
| |/
| |
| |
| | |
* commit 'd2127c438fc858a4f6c8ad75b7a1e4491da69a78':
Handle DHCP renewal and wakeup in framework
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The native DHCP client renews IP address, but can fail to do so when the device
is in suspend. This has lead to issues where device fails to renew in time and
on networks with lots of devices re-using expired DHCP IP addresses, it leads to
severe issues.
Handle DHCP renewal and wakeup in framework
Bug: 3344732
Change-Id: Ie4062e04a477f4a233946155e40a7c999b337c3f
|
|\ \
| |/
| |
| |
| | |
* commit 'bd3dd73b361ad59ae8ad0c1e7e215d974b055fdb':
DO NOT MERGE Avoid nullifying dhcp target
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A race condition causes an NPE on mDhcpTarget. The safest change is
to avoid nullifying it. A dummy call to remove messages
on a handler whose looper is quit should do no harm.
Bug: 3191203
Change-Id: I7613a5add873ce9512e9719cb2dc8da61255370e
|
|\ \
| |/
| |
| |
| | |
* commit 'f36bde828c0e427c0dbbe543b2465114c9aff45c':
DO NOT MERGE Dont let supplicant stay in DORMANT state
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some situations, the supplicant stays in a DORMANT
state. This prevents a connections to a network.
As long as the driver is started and we are not in scan-only
mode, issue a reconnect to get supplicant out of DORMANT
state.
Upon failures and network disable, supplicant should get
into an INACTIVE state.
Bug: 3236920
Change-Id: If32b5bfb7fea6c69c4a461db0b2012875b6273b5
|
|\ \
| |/
| |
| | |
Change-Id: I61ed41f03b635ee760dc4c9d01935ac9fac9703a
|
| |
| |
| |
| |
| | |
Bug: 3192891
Change-Id: I2471f144494d398fe1d4572ac4d6421c100693e2
|
|\ \
| |/
| |
| |
| | |
* commit 'ee93169ed1072d3be627601223dafbcc061e7568':
DO NOT MERGE fix runstate race condition
|
| |
| |
| |
| |
| | |
Bug: 3107829
Change-Id: I94312ad10975af24660455c3aace97634f06f3e1
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '4e08a985418f581b4ca8c46316c85defd7b173cd' into gingerbread-plus-aosp
* commit '4e08a985418f581b4ca8c46316c85defd7b173cd':
fix build DO NOT MERGE
|
| |
| |
| |
| |
| |
| | |
my local change and gerritt were out of sync
Change-Id: Ie581425f0290bb78b289584067b70507d82d5a57
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit 'f8834f878fb6911cbd4719640cd2e6bf3a958a92' into gingerbread-plus-aosp
* commit 'f8834f878fb6911cbd4719640cd2e6bf3a958a92':
fetch macaddr right after supplicant connection
|
| |
| |
| |
| |
| | |
Bug: 3072163
Change-Id: I13466e3bc73a1a95d42faf17650fad4383f7e5b2
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit 'e22eb863dc4419dcaf329e9e28e3dc1f71f82902' into gingerbread-plus-aosp
* commit 'e22eb863dc4419dcaf329e9e28e3dc1f71f82902':
fix start driver for corner cases DO NOT MERGE
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Force a start when in RUN_STATE_STOPPING since there
could have a stop driver in that state
- When a driver started event is received is received
from the supplicant, force a reconnect since we could
have out of an intermediate stop event that would have
forced the run state to STOPPED
Bug: 3087621
Change-Id: I3652747a267a3da8349a9fd5c4065d3837a0c545
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
into gingerbread
Merge commit '7efff5c4c571d1a0111e31d73a87d27e1fae9de6' into gingerbread-plus-aosp
* commit '7efff5c4c571d1a0111e31d73a87d27e1fae9de6':
fix getmacaddress race condition (don't auto-merge)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
getMacAddress wont go through if the wifi state is not enabled
by the time the connection from the supplicant comes through.
we now fetch the mac address right after a driver start.
Bug: 3072163
Change-Id: I55943e6d618fd7c3170bc579697bc61d70fc8b86
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '0859b764719735e4b9aea5df6051ece13e212841' into gingerbread-plus-aosp
* commit '0859b764719735e4b9aea5df6051ece13e212841':
Make wifi scan async. (don't auto-merge)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When an entity (NLP for example) acquires
a WifiLock and initiates a scan, scan can
get blocked until driver starts.
scan returns no useful info, scan results
are broadcast when obtained.
Bug: 2964633
Change-Id: Iaefc32bb6b82f0718285a18ac600e6bbbb096e77
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5' into gingerbread-plus-aosp
* commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5':
Improve power tracking of WIFI use.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We now distribute "wifi started" time across all apps that are
holding WIFI locks that cause it to be started. But only when
WIFI would not normally be running. Also have a mechanism to
distribute other WIFI work that has happened across those processes
based on their use.
Also fixed a bug where we were not retaining the CPU speed step
stats across boots...!
Change-Id: I00e3153b98429166273750512cc37e7975211ab9
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '7e9f4eb2608148436cef36c9969bf8a599b39e72' into gingerbread-plus-aosp
* commit '7e9f4eb2608148436cef36c9969bf8a599b39e72':
Track client requests through location manager.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a problem where applications could ask the location
manager to do very heavy-weight things (like... say... update
location every minute), which would get accounted against the
system instead of the application because ultimately it is the
system making the heavy calls (wake locks, etc).
To solve this, we introduce a new class WorkSource representing
the source of some work. Wake locks and Wifi locks allow you
to set the source to use (but only if you are system code and thus
can get the permission to do so), which is what will be reported
to the battery stats until the actual caller.
For the initial implementation, the location manager keeps track
of all clients requesting periodic updates, and tells its providers
about them as a WorkSource param when setting their min update time.
The network location provider uses this to set the source on the
wake and wifi locks it acquires, when doing work because of the
update period.
This should also be used elsewhere, such as in the GPS provider,
but this is a good start.
Change-Id: I2b6ffafad9e90ecf15d7c502e2db675fd52ae3cf
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit '80db4381c010c4dec74c2bf1e02380759e4ff97b' into gingerbread-plus-aosp
* commit '80db4381c010c4dec74c2bf1e02380759e4ff97b':
DO NOT MERGE Enable all networks on screen on
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Connectivity to a disabled network never happens.
An old dhcp issue for example prevents
connectivity again in future. Allow connectivity
on all networks on screen on.
Bug: 2129037
Change-Id: I42afc17ddb5cd238e46d7e50f1b6e708e107b35d
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I13a6a34e8eae73b046769df365be8a46489bd111
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
Merge commit 'a1af0d7c80a0119630926810644e6cdee481ba80' into gingerbread-plus-aosp
* commit 'a1af0d7c80a0119630926810644e6cdee481ba80':
Fix SDK build
|
| |
| |
| |
| |
| |
| | |
Add the tag and documentation when we open up the high perf mode
Change-Id: I921e46a7519561e59fb917d08a36dd1d3d2fc7f3
|
|\ \
| |/
| |
| | |
Change-Id: I29703133654f0f80a4425914d290e9dc50cbc3cc
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add extension to WifiLock to allow apps to operate
in high performance mode (high power & disable suspend
optimizations for battery consumption).
Bug: 2834260
Change-Id: I8b33d307f3d569bc92ba2139b9ed224ffc147547
|
| |
| |
| |
| | |
This reverts commit 9bf3bb21c097cc96f30d9bf3ec7dea62a74a738b.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit 'e300b8c10c306b575bbbec29d5572ba92a97785e' into gingerbread-plus-aosp
* commit 'e300b8c10c306b575bbbec29d5572ba92a97785e':
DO NOT MERGE Always set/remove default routes.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Must clean up default route if a default 3g connection is replaced
by a non-default (ie, mms) connection on teh same interface.
Also stop mucking with all connections dns and routes - do it only
for the connection that has changed.
bug:2865974
Change-Id: Ifdf49080fa0413a4d826813706c809975a562dfa
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the driver was configured to run with power save mode disabled the
power save mode incorrectly got reverted back to AUTO mode right after
DHCP response. The power save mode value is now saved so that the device
properly reverts back to a previous mode after DHCP response.
Change-Id: Ie68cd107872d233bf422e24130a1eb9f6432db91
Bug: 2834260
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '9005e7f4297a3f04263e81cb61ba2703d5667b0a' into gingerbread-plus-aosp
* commit '9005e7f4297a3f04263e81cb61ba2703d5667b0a':
Add setWifiApConfiguration interface
|
| |
| |
| |
| |
| | |
Bug: 2538623
Change-Id: I779044173a2fa0e9b851ea92aeec5ca25eb9c86f
|
|\ \
| | |
| | |
| | | |
Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I0684cac9eb230d864614aef0634c072f4e3ef6a3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- updates WifiStateTracker to track net.XXX.dnsX properties for name servers
- removes dhcp from WifiNative (use NetworkUtils instead)
Change-Id: Ic69ff253e8784cad34e9291e7970ee38bfa235b9
|
| |\ \ \
| | |/ /
| | | |
| | | | |
Change-Id: I227bf1b5f1de8f858df72d58a4463aed5cc09cbc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Reproduce steps:
1. Set a special AP name that contains "=" (looks like "-=^-^=-");
2. Connect to this AP;
3. The display of ssid will be incorrect;
Change-Id: Idc7433a42cf59932f5fb147f5500e0175f745399
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Merge commit 'f897b443fed5c88c6b12e3fa1da72f231db67673' into gingerbread-plus-aosp
* commit 'f897b443fed5c88c6b12e3fa1da72f231db67673':
Fix driver stop check
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Remove check for supplicant command: setScanResultHandling
- Add check for stopDriver
- Fix condition for rest of commands
Bug: 2771298
Change-Id: I1262b2228814c4f6a4c251390af2f445c5f47234
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I8a950276787e9439420db396d0e32f88bd6e04cc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the driver was configured to run with power save mode disabled the
power save mode incorrectly got reverted back to AUTO mode right after
DHCP response. The power save mode value is now saved so that the device
properly reverts back to a previous mode after DHCP response.
Change-Id: I5035aad10146812ecef1be8ea4b22a03e230ccc9
|