| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '9f2a0115220c8e288c32d8cf90e235a2f2be115b' into kraken
* commit '9f2a0115220c8e288c32d8cf90e235a2f2be115b':
Remove indefinite DHCP retries
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace indefinite DHCP retries
with a sufficiently large retry count
Bug: 2761057
Change-Id: I4570b74476aa78c71c73e06c2aafac33d924e867
|
|/ /
| |
| |
| |
| |
| |
| | |
This is to support multiple headsets at the same time, atleast
at the framework level.
Change-Id: I91d05c6c2828c9a09d00806d5e79f1e9c9c7cf84
|
| |
| |
| |
| |
| | |
Bug: 2600111
Change-Id: Ifaa63cd7c05dfa27fbd851de6f7e92f7fc38907b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Due to message removal, wakelock could be held forever.
Do a timer only based wakelock release until we do this
more cleanly in ConnectivityService for later release.
Also, add an optimization to prevent use of wakelocks when driver is
already stopped.
Bug: 2529883
Change-Id: Ia1c2ddd44213ef3aa609855613bf155945bef8e4
|
| |
| |
| |
| |
| |
| |
| |
| | |
mWifiState was split up to speed up access
of wifi state when things are synchronized.
Use a single atomic state variable throughout.
Change-Id: I345981e3ffa3d2b0b7e70a5c6efc43185cba9062
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previous it was synchronized on the same lock that was held while
transitioning wifi states, effectively making it impossible to ever
find out about such states, and worse: making calls during transitions
block.
This manifested itself in a really laggy power control widget, which
I'm working on fixing in general in a separate change.
Change-Id: Ia34af98c73d7f5662e41360a213df87f6adaf130
|
| |
| |
| |
| |
| | |
Bug: 2525763
Change-Id: If2f334187af26e0352d754d7e00a9ca3efc5dffa
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove AP persist settings
Add new netd interface
Handle errors
Handle AP config change
Bug: 2413908
Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
|
| |
| |
| |
| |
| |
| |
| |
| | |
Driver commands should be issued when driver has started.
Supplicant commands should be issued when Wi-Fi is enabled
Bug: 2339709
Bug: 2371609
Change-Id: I9ba6ddfa0cf4c4b8ca049b0eb7eaaa8edb42bad1
|
| |
| |
| |
| |
| | |
Bug: 2339709
Change-Id: Ibb2eeb09b83dc24897116ea15a9016f81a08d442
|
| |
| |
| |
| |
| | |
Bug: 2421638
Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
|
| |
| |
| |
| |
| | |
Bug: 2274930
Change-Id: Ia1eafe422f6e18b826e53e72a306dd2961b948a6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The IP state was not being refreshed when the supplicant transitions
from COMPLETED to ASSOCIATED to COMPLETED. This can lead to
a connected state with no real connection due to old IP settings.
The fix refreshes IP on each connection.
Bug: 2329261
Change-Id: I38cd56369ee2d8ab3e0f06f5c9f5712b9b2f35a0
|
| |
| |
| |
| |
| | |
Bug: 2399119
Change-Id: I481cfbfb11fb453659134004aafa3df236ba050b
|
| |
| |
| |
| |
| |
| |
| |
| | |
We currently disable networks upon too many reconnects. This leads to asking
the user input for reconnects. Blacklist it instead.
Bug: 2129037
Change-Id: I23d69daf3964c066ed7f70d32fefb81016f19aa2
|
| |
| |
| |
| |
| |
| |
| | |
Some of the native calls were left unsynchronized in the framework. Pre-empted IOCTL call
interrupted by another call from the framework cannot be handled in the driver.
Bug: 2310455
|
| |
| |
| |
| |
| |
| | |
Use this in various places where it should serve no purpose to deliver
both broadcasts. This is intended to reduce somewhat the flurry of
broadcasts that we churn through during boot.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '68b15b68497e373fe63a13f11e18349a738a7989' into eclair-mr2
* commit '68b15b68497e373fe63a13f11e18349a738a7989':
Porting change I064698b3 from mr2 to eclair.
|
| |
| |
| |
| |
| |
| | |
Add support for "HANGED" driver state - we'll reboot the driver when requested (by the driver).
bug: 2310372
|