summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove synchronous bluetooth callbacksIrfan Sheriff2010-10-141-21/+23
| | | | | | Also, fixed an issue with disabling bluetooth coexistence Change-Id: Ia7f68dfe6e8d587101ba8513783a0123ff0561a1
* state machine fixesIrfan Sheriff2010-10-121-44/+23
| | | | | | | | | | | | | | | - When supplicant dies, restart it - When wifimonitor fails to connect in time, restart supplicant - fix dhcp counter reset - defer all load/unload actions when waiting for supplicant control connection - we dont need to disconnect & reconnect at start with the faster monitor connection and handling of failures Bug: 2973023 Bug: 3090725 Change-Id: I5c834ddd08e6300e2b29da0941a24633825b4d3b
* Retry quicker for control channel setupIrfan Sheriff2010-10-111-2/+2
| | | | | Bug: 2976277 Change-Id: Ifedb0c1aebefc251028e8d2f578f530a3840c702
* Use LinkProperties for IP and proxy configurationIrfan Sheriff2010-10-083-209/+315
| | | | Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270
* Add LinkAddressIrfan Sheriff2010-10-061-11/+7
| | | | | | LinkAddress stores IP address + prefix for a network link Change-Id: Id3e74e9d0a62121d097ebdc9be064eeea257ba1f
* Add proxy settings per wifi networkIrfan Sheriff2010-10-063-129/+350
| | | | | | | | | Provide per network proxy settings configuration for wifi. This is stored along with the ip configuration in ipconfig.txt bug: 3039302 Change-Id: Ic8bc14493583be19fde3d7c463d1e5a77e6df25f
* Wifi: Update code for new BT Apis.Jaikumar Ganesh2010-09-281-15/+49
| | | | Change-Id: I1deb0a9a1533958cdb79179bebd2d3b435b0b07c
* Add Wifi Protected Setup supportIrfan Sheriff2010-09-236-23/+149
| | | | | | | | | Add WPS PBC and WPS pin method support with pin obtained from AP Bug: 2277571 Change-Id: I6ff8e447ab8c5e59456a55152588fd4d6386c610
* resolved conflicts for merge of 1f377298 to masterDianne Hackborn2010-09-171-10/+63
|\ | | | | | | Change-Id: I0d92abae3a86792b47777f795143acc0489adfe4
| * am 58e0eefe: Improve power tracking of WIFI use.Dianne Hackborn2010-09-171-6/+51
| |\ | | | | | | | | | | | | | | | | | | Merge commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5' into gingerbread-plus-aosp * commit '58e0eefeb5e2e270e2b04369bbf29fc22abda8d5': Improve power tracking of WIFI use.
| | * Improve power tracking of WIFI use.Dianne Hackborn2010-09-171-6/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Add LinkCapabilitiesWink Saville2010-09-162-2/+31
| | | | | | | | | | | | Change-Id: Ia1599ade936b79f12526252c0a2e6b453abb136e
* | | Add per network static IP settingsIrfan Sheriff2010-09-143-198/+407
| | | | | | | | | | | | | | | | | | | | | Remove the existing global static IP settings and add support for per network configuration Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
* | | resolved conflicts for merge of 53686433 to masterDianne Hackborn2010-09-132-2/+34
|\ \ \ | |/ / | | | | | | Change-Id: I27004dc464f5771d3205ae5757c6eccc5b16854d
| * | am 7e9f4eb2: Track client requests through location manager.Dianne Hackborn2010-09-132-2/+34
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '7e9f4eb2608148436cef36c9969bf8a599b39e72' into gingerbread-plus-aosp * commit '7e9f4eb2608148436cef36c9969bf8a599b39e72': Track client requests through location manager.
| | * Track client requests through location manager.Dianne Hackborn2010-09-132-2/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | am 80db4381: Merge "DO NOT MERGE Enable all networks on screen on" into ↵Irfan Sheriff2010-08-211-0/+28
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '80db4381c010c4dec74c2bf1e02380759e4ff97b' into gingerbread-plus-aosp * commit '80db4381c010c4dec74c2bf1e02380759e4ff97b': DO NOT MERGE Enable all networks on screen on
| | * DO NOT MERGE Enable all networks on screen onIrfan Sheriff2010-08-201-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add set/get band in WifiNative"Irfan Sheriff2010-09-022-0/+19
|\ \ \
| * | | Add set/get band in WifiNativeIrfan Sheriff2010-09-022-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for set and get band and set the default to 2GHz for now till we get a fix on issues with 11A Change-Id: Icb9bddc353e4bf013bdb8a08d9b4ee3451c282f4
* | | | Remove unused Intent filter values.Wink Saville2010-09-011-2/+0
|/ / / | | | | | | | | | Change-Id: I902cdbbff9238b2ac975441ef6ecb3c6d5c7a56f
* | | Add WifiConfigStore to manage networksIrfan Sheriff2010-08-312-527/+715
| | | | | | | | | | | | | | | | | | | | | | | | | | | Split configuration management into a seperate class, next to come is per configuration ip management as part of WifiConfigStore. Bug: 2876746 Change-Id: I44b85fb0e23a83d97a5052ba6beafe06f2027f5a
* | | Rename NetworkProperties to LinkPropertiesRobert Greenwalt2010-08-303-29/+29
| | | | | | | | | | | | | | | | | | Also add copy constructors and use them when giving out data. Change-Id: Id320eb8fb91d0bd250305ce7bb4f628570215615
* | | resolved conflicts for merge of 4ea54f44 to masterRobert Greenwalt2010-08-271-27/+4
| | | | | | | | | | | | Change-Id: Ia77bb59a6e1950648c8ebf7db307e204f93a9f56
* | | Merge "Updated documentation for upcoming fix for @code tags"Ben Dodson2010-08-261-2/+2
|\ \ \
| * | | Updated documentation for upcoming fix for @code tagsBen Dodson2010-08-261-2/+2
| | | | | | | | | | | | | | | | Change-Id: Id7b163179132b9cf180afecb4e9e10ee39bcd415
* | | | Add WifiStateMachine details for dumpIrfan Sheriff2010-08-261-0/+31
|/ / / | | | | | | | | | Change-Id: I3015411dd11f3df57422b41125d4db44be1e0854
* | | fix connectNetwork corner casesIrfan Sheriff2010-08-251-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. if we try to use the api for an already connected network we could end up in disabling other networks since we dont get events back in that scenario. fix to ignore connect. 2. force transition to mDisconnectingState since we expect a disconnection when we connect to a network. If we are in the other child states in ConnectModeState and dont transition, we could ignore the connection/disconnection which would cause other networks to get disabled. Change-Id: I603d504af21c5ba09411d5e2515b8031b9f8a97a
* | | sendBroadcast needs protectionIrfan Sheriff2010-08-241-0/+2
| | | | | | | | | | | | | | | | | | we need to check if system is ready for broadcasts Change-Id: I342c51ae85c9ca1aa0cb289c673a20f582eb0423
* | | cache configured networksIrfan Sheriff2010-08-232-61/+97
| | | | | | | | | | | | | | | | | | | | | | | | Remove the sync-wait call into state machine for fetching configured networks Bug: b/2876746 Change-Id: I4434627abb78f7112fd613008c4c77374ac1b966
* | | Clean up synchronous callsIrfan Sheriff2010-08-231-95/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We dont plan to have asynchronous versions of the existing synchronous calls since we have added more powerful asynchronous calls. Remove functionality to check for synchronous calls. Also, remove unused sync call for fetching status Change-Id: I2982cb7b2aabc88a63289d49686a6e3645085263
* | | resolved conflicts for merge of 34df5ccc to masterJean-Baptiste Queru2010-08-201-1/+1
|\ \ \ | |/ / | | | | | | Change-Id: I55558b2ab9452b2a819a1fce5b3ee5af29688e98
| * | Merge "fix build" into gingerbread-plus-aospJean-Baptiste Queru2010-08-181-2/+0
| |\ \
| | * | fix buildJean-Baptiste Queru2010-08-181-2/+0
| | | | | | | | | | | | | | | | Change-Id: I13a6a34e8eae73b046769df365be8a46489bd111
| * | | am a1af0d7c: Merge "Fix SDK build" into gingerbreadIrfan Sheriff2010-08-181-2/+2
| |\ \ \ | | |/ / | |/| / | | |/ | | | | | | | | | Merge commit 'a1af0d7c80a0119630926810644e6cdee481ba80' into gingerbread-plus-aosp * commit 'a1af0d7c80a0119630926810644e6cdee481ba80': Fix SDK build
| | * Fix SDK buildIrfan Sheriff2010-08-171-2/+2
| | | | | | | | | | | | | | | | | | Add the tag and documentation when we open up the high perf mode Change-Id: I921e46a7519561e59fb917d08a36dd1d3d2fc7f3
| * | DO NOT MERGE resolved conflicts for merge of 8c11e952 to gingerbread-plus-aospJean-Baptiste Queru2010-08-183-6/+114
| |\ \ | | |/ | | | | | | Change-Id: I29703133654f0f80a4425914d290e9dc50cbc3cc
| | * DO NOT MERGE WifiLock extensions for high performance modeIrfan Sheriff2010-08-173-6/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Revert "- updates NetUtils to use new libnetutils headers"Jean-Baptiste Queru2010-08-182-3/+20
| | | | | | | | | | | | This reverts commit 9bf3bb21c097cc96f30d9bf3ec7dea62a74a738b.
| * | am e300b8c1: Merge "DO NOT MERGE Always set/remove default routes." into ↵Robert Greenwalt2010-08-131-2/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit 'e300b8c10c306b575bbbec29d5572ba92a97785e' into gingerbread-plus-aosp * commit 'e300b8c10c306b575bbbec29d5572ba92a97785e': DO NOT MERGE Always set/remove default routes.
| | * DO NOT MERGE Always set/remove default routes.Robert Greenwalt2010-08-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * DO NOT MERGE WLAN: Reset power save mode to startup value after DHCP response.Mikael Kanstrup2010-08-132-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | update ssid in WifiInfoIrfan Sheriff2010-08-191-2/+19
| | | | | | | | | | | | | | | Bug: 2876746 Change-Id: I58295e01f07f168e234ab344065fe50047902c76
* | | clean up scanresults on exit from driver start stateIrfan Sheriff2010-08-191-0/+1
| | | | | | | | | | | | | | | Bug: 2934389 Change-Id: I918bb9e198aba0bdbb2be356a680789c9678e47c
* | | asynchronous driver commandsIrfan Sheriff2010-08-193-88/+35
| | | | | | | | | | | | | | | | | | | | | Make some of the common driver commands scan/disconnect/reconnect/reassociate asynchronous. We already have broadcasts to indicate results. Change-Id: I343c6be077fb11a3d488e586ab10ab2373b269d8
* | | Fix divide-by-zero when calculating signal level over a large output range.Daniel Sandler2010-08-191-2/+3
| | | | | | | | | | | | Change-Id: I17eff6fb458532465a836414e1973a8d5b7c715b
* | | Add documentation to NetworkStateTracker and a small change to the API.Wink Saville2010-08-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also, removed some unused NetworkStateTracker event codes. The API change was to add context and target to startMonitor, this makes it easier to document what the actual interface contract is. Change-Id: If9b52486c3c281fe4794bc78417c8b03888414b1
* | | Asynchronous APIIrfan Sheriff2010-08-123-4/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add asynchronous API for simplified connect, save and remove. Add a SUPPLICANT_CONFIG_CHANGED_ACTION broadcast to notifiy a supplicant configuration change. Change-Id: I69ae116246094de4a469cb2af5baf37e5ad4d6dd
* | | Fix buildIrfan Sheriff2010-08-111-1/+0
| | | | | | | | | | | | | | | | | | A local change had remained. Change-Id: Iad01d6da7f6cc75b470296383e1121d21008883a
* | | Split WifiStateMachine from WifiStateTrackerIrfan Sheriff2010-08-105-3789/+3727
| | | | | | | | | | | | | | | | | | | | | Notifications handled in WifiService. WifiStateTracker tracks state for connectivity service Change-Id: Idb0cf494898d28712af0f95f9e60c5417cd4a053