summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* am bd3dd73b: Merge "DO NOT MERGE Avoid nullifying dhcp target" into gingerbreadIrfan Sheriff2010-12-041-8/+5
|\ | | | | | | | | * commit 'bd3dd73b361ad59ae8ad0c1e7e215d974b055fdb': DO NOT MERGE Avoid nullifying dhcp target
| * DO NOT MERGE Avoid nullifying dhcp targetIrfan Sheriff2010-12-031-8/+5
| | | | | | | | | | | | | | | | | | 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
* | am f36bde82: DO NOT MERGE Dont let supplicant stay in DORMANT stateIrfan Sheriff2010-12-011-6/+11
|\ \ | |/ | | | | | | * commit 'f36bde828c0e427c0dbbe543b2465114c9aff45c': DO NOT MERGE Dont let supplicant stay in DORMANT state
| * DO NOT MERGE Dont let supplicant stay in DORMANT stateIrfan Sheriff2010-12-011-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | resolved conflicts for merge of 52556689 to gingerbread-plus-aospIrfan Sheriff2010-12-011-24/+24
|\ \ | |/ | | | | Change-Id: I61ed41f03b635ee760dc4c9d01935ac9fac9703a
| * DO NOT MERGE Fix status fetch from supplicantIrfan Sheriff2010-12-011-24/+24
| | | | | | | | | | Bug: 3192891 Change-Id: I2471f144494d398fe1d4572ac4d6421c100693e2
* | am ee93169e: Merge "DO NOT MERGE fix runstate race condition" into gingerbreadIrfan Sheriff2010-11-301-2/+3
|\ \ | |/ | | | | | | * commit 'ee93169ed1072d3be627601223dafbcc061e7568': DO NOT MERGE fix runstate race condition
| * DO NOT MERGE fix runstate race conditionIrfan Sheriff2010-10-271-2/+3
| | | | | | | | | | Bug: 3107829 Change-Id: I94312ad10975af24660455c3aace97634f06f3e1
* | am 4e08a985: Merge "fix build DO NOT MERGE" into gingerbreadIrfan Sheriff2010-10-151-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '4e08a985418f581b4ca8c46316c85defd7b173cd' into gingerbread-plus-aosp * commit '4e08a985418f581b4ca8c46316c85defd7b173cd': fix build DO NOT MERGE
| * fix build DO NOT MERGEIrfan Sheriff2010-10-151-1/+1
| | | | | | | | | | | | my local change and gerritt were out of sync Change-Id: Ie581425f0290bb78b289584067b70507d82d5a57
* | am f8834f87: Merge "fetch macaddr right after supplicant connection" into ↵Irfan Sheriff2010-10-151-0/+6
|\ \ | |/ | | | | | | | | | | | | | | gingerbread Merge commit 'f8834f878fb6911cbd4719640cd2e6bf3a958a92' into gingerbread-plus-aosp * commit 'f8834f878fb6911cbd4719640cd2e6bf3a958a92': fetch macaddr right after supplicant connection
| * fetch macaddr right after supplicant connectionIrfan Sheriff2010-10-151-0/+6
| | | | | | | | | | Bug: 3072163 Change-Id: I13466e3bc73a1a95d42faf17650fad4383f7e5b2
* | am e22eb863: Merge "fix start driver for corner cases DO NOT MERGE" into ↵Irfan Sheriff2010-10-121-12/+8
|\ \ | |/ | | | | | | | | | | | | | | gingerbread Merge commit 'e22eb863dc4419dcaf329e9e28e3dc1f71f82902' into gingerbread-plus-aosp * commit 'e22eb863dc4419dcaf329e9e28e3dc1f71f82902': fix start driver for corner cases DO NOT MERGE
| * fix start driver for corner cases DO NOT MERGEIrfan Sheriff2010-10-121-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | - 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
* | am 7efff5c4: Merge "fix getmacaddress race condition (don\'t auto-merge)" ↵Irfan Sheriff2010-10-101-20/+4
|\ \ | |/ | | | | | | | | | | | | | | into gingerbread Merge commit '7efff5c4c571d1a0111e31d73a87d27e1fae9de6' into gingerbread-plus-aosp * commit '7efff5c4c571d1a0111e31d73a87d27e1fae9de6': fix getmacaddress race condition (don't auto-merge)
| * fix getmacaddress race condition (don't auto-merge)Irfan Sheriff2010-10-081-20/+4
| | | | | | | | | | | | | | | | | | | | 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
* | am 0859b764: Make wifi scan async. (don\'t auto-merge)Irfan Sheriff2010-09-212-3/+5
|\ \ | |/ | | | | | | | | | | Merge commit '0859b764719735e4b9aea5df6051ece13e212841' into gingerbread-plus-aosp * commit '0859b764719735e4b9aea5df6051ece13e212841': Make wifi scan async. (don't auto-merge)
| * Make wifi scan async. (don't auto-merge)Irfan Sheriff2010-09-212-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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
* | 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 "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
* | am 9005e7f4: Merge "Add setWifiApConfiguration interface" into gingerbreadIrfan Sheriff2010-06-252-0/+17
|\ \ | |/ | | | | | | | | | | Merge commit '9005e7f4297a3f04263e81cb61ba2703d5667b0a' into gingerbread-plus-aosp * commit '9005e7f4297a3f04263e81cb61ba2703d5667b0a': Add setWifiApConfiguration interface
| * Add setWifiApConfiguration interfaceIrfan Sheriff2010-06-242-0/+17
| | | | | | | | | | Bug: 2538623 Change-Id: I779044173a2fa0e9b851ea92aeec5ca25eb9c86f
* | merge from froyo-plus-aospThe Android Open Source Project2010-06-212-19/+5
|\ \ | | | | | | | | | Change-Id: I36dd4460cae6e3212d724e70ff1091cb791670cd
| * \ merge from open-source masterThe Android Open Source Project2010-06-152-18/+4
| |\ \ | | | | | | | | | | | | Change-Id: I0684cac9eb230d864614aef0634c072f4e3ef6a3
| | * | - updates NetUtils to use new libnetutils headersSzymon Jakubczak2010-06-152-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - updates WifiStateTracker to track net.XXX.dnsX properties for name servers - removes dhcp from WifiNative (use NetworkUtils instead) Change-Id: Ic69ff253e8784cad34e9291e7970ee38bfa235b9
| * | | merge from open-source masterThe Android Open Source Project2010-06-151-1/+1
| |\ \ \ | | |/ / | | | | | | | | Change-Id: I227bf1b5f1de8f858df72d58a4463aed5cc09cbc
| | * | Fix the ssid display issueKenny2010-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | am f897b443: Fix driver stop checkIrfan Sheriff2010-06-161-24/+27
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Merge commit 'f897b443fed5c88c6b12e3fa1da72f231db67673' into gingerbread-plus-aosp * commit 'f897b443fed5c88c6b12e3fa1da72f231db67673': Fix driver stop check
| * | | Fix driver stop checkIrfan Sheriff2010-06-161-24/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove check for supplicant command: setScanResultHandling - Add check for stopDriver - Fix condition for rest of commands Bug: 2771298 Change-Id: I1262b2228814c4f6a4c251390af2f445c5f47234
* | | | merge from froyo-plus-aospThe Android Open Source Project2010-06-142-3/+28
|\ \ \ \ | |/ / / |/| / / | |/ / Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
| * | merge from open-source masterIrfan Sheriff2010-06-112-3/+28
| |\ \ | | |/ | | | | | | Change-Id: I8a950276787e9439420db396d0e32f88bd6e04cc
| | * WLAN: Reset power save mode to startup value after DHCP response.Mikael Kanstrup2010-06-102-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 9f2a0115: Merge "Remove indefinite DHCP retries" into froyoIrfan Sheriff2010-06-101-5/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '9f2a0115220c8e288c32d8cf90e235a2f2be115b' into kraken * commit '9f2a0115220c8e288c32d8cf90e235a2f2be115b': Remove indefinite DHCP retries
| * | Remove indefinite DHCP retriesIrfan Sheriff2010-06-101-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | Replace indefinite DHCP retries with a sufficiently large retry count Bug: 2761057 Change-Id: I4570b74476aa78c71c73e06c2aafac33d924e867
* | | Pass BluetoothDevice to the Bluetooth Headset calls.Jaikumar Ganesh2010-06-021-1/+1
|/ / | | | | | | | | | | | | This is to support multiple headsets at the same time, atleast at the framework level. Change-Id: I91d05c6c2828c9a09d00806d5e79f1e9c9c7cf84
* | Reset notification state on wifi enableIrfan Sheriff2010-04-181-0/+2
| | | | | | | | | | Bug: 2600111 Change-Id: Ifaa63cd7c05dfa27fbd851de6f7e92f7fc38907b