summaryrefslogtreecommitdiffstats
path: root/wifi/java
Commit message (Collapse)AuthorAgeFilesLines
* add frequency band control APIIrfan Sheriff2010-11-083-8/+122
| | | | Change-Id: I6cc6cdef27d493d4ef76cec17fdca7e49d9dc8d7
* Initiate wake up scan only in a disconnected stateIrfan Sheriff2010-11-041-2/+49
| | | | | | | When wifi is connected to an access point, we should not wake up the device to initiate scans. Change-Id: I1a48387a0cac7b23a8d947d8409cafc63da18d38
* Set country code in the driver and remove channel setIrfan Sheriff2010-11-024-103/+49
| | | | | | | | With dual band support, using country code settings is the way to go Bug: 2936741 Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
* Use AsynChannel for synchronous APIIrfan Sheriff2010-11-021-218/+76
| | | | | | | also cleaned up some unnecessary synchronous commands from state machine, and fixed an issue with a synchronous WPS command Change-Id: I55bf4379d9810e11f2ba2e03e2e703b132d1488f
* WifiLock extensions for high performance modeIrfan Sheriff2010-10-263-27/+67
| | | | | | | | | 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: Id394d265b9876bf0230efb3d222056e9b80b44fd
* add wps pin from device capabilityIrfan Sheriff2010-10-265-24/+82
| | | | | | Bug: 3119043 Bug: 3112178 Change-Id: Iaae6bcf53e11f7fac82b3c604ddc27ff05e00542
* Update BT APIs return type from Set to List.Jaikumar Ganesh2010-10-221-3/+2
| | | | Change-Id: Ia27220dd26cde13007f6938c830517ee7f6968ce
* Change removeNetowrk to a synchronous channel call.Wink Saville2010-10-201-8/+24
| | | | Change-ID: Iad0380d56972826615e044fa2aaee418b617d732
* Fix wake and scan behaviorIrfan Sheriff2010-10-201-22/+28
| | | | | | | | | | | | - Add wakelock for driver start/stop to ensure a wifilock acquisition kick starts driver. Also cleaned up state machine driver start/stop behavior. - Add periodic scans when driver is started to ensure wifi reconnections when wifilock exists or when user chooses never to sleep - some minor clean up Change-Id: I844eb70491d5aa2f8c8933b3d8dd01ba237ee534
* wifi: Allow dual-band supportDmitry Shmidt2010-10-201-8/+0
| | | | | Change-Id: I90e421efca783080261789378ef6054ac394c1e2 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* 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.