summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | Handle loss of supplicant events at startIrfan Sheriff2010-07-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the supplicant events are lost even before connection, we stay stuck without doing IP address. The earlier implementation used polling at connection to handle this case. A disconnect after connection handles this cleanly. Bug: 2876987 Change-Id: I7509c5f332f87b91e1ff8438cf859a0e49df2e6d
* | | sticky broadcasts dont need system ready checkIrfan Sheriff2010-07-281-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix an issue where checking for system ready status for sticky broadcasts can lead to boot up with wifi turned on and settings showing incorrect status. Bug: 2876746 Change-Id: Iae39855c255513e28a13bd819b3d14d81fbaba43
* | | Refactor WifiStateTrackerIrfan Sheriff2010-07-274-1886/+3228
| | | | | | | | | | | | | | | | | | Implement WifiStateTracker as a HSM. Change-Id: Ic12fd78f1f183b5c4dea8ad2301002267ceff0cb
* | | Pass network properties to ConnectivityService.Robert Greenwalt2010-07-131-19/+62
| | | | | | | | | | | | | | | | | | | | | | | | Used as a bag to hold ipaddr, gateway, dns, proxy info. addr's are InetAddresses for v4/v6 use. Cleaning up some old v4-only code bug:2655015 Change-Id: I7ac886fe5c519e8bab42f49cd82a5189d9c9ab59
* | | am 53dca61f: am 9005e7f4: Merge "Add setWifiApConfiguration interface" into ↵Irfan Sheriff2010-06-252-0/+17
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | gingerbread Merge commit '53dca61f26f4ff348418add60599213297acc899' * commit '53dca61f26f4ff348418add60599213297acc899': Add setWifiApConfiguration interface
| * | 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
* | | | | Recover a handful of commits that were reverted earlierJean-Baptiste Queru2010-06-211-1/+1
| | | | |
* | | | | am 1af48920: am f897b443: Fix driver stop checkIrfan Sheriff2010-06-161-24/+27
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1af489205a3942630e6203237213e98ef53d4118' * commit '1af489205a3942630e6203237213e98ef53d4118': Fix driver stop check
| * | | | 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
* | | | | Move the net transition wakelock to ConnService.Robert Greenwalt2010-06-161-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the default network goes down we lose the wake-on-incoming-data capability until the new net is brought up and apps rebuild their connections. We fixed this in Wifi, but it's a general connectivity issue, not a wifi issue so moving the mechanism to connecitivty so other networks can use it. bug:2734419 Change-Id: I39b5d825eb6b548bd9bb8f179b89254f4db53147
* | | | | am 864c68ea: merge from froyo-plus-aospThe Android Open Source Project2010-06-142-3/+28
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '864c68ea452baa0f4f298faf2155af45a9b6d60c' * commit '864c68ea452baa0f4f298faf2155af45a9b6d60c': Added an addAll to the ArrayAdapter WLAN: Reset power save mode to startup value after DHCP response. Add PageUp and PageDown hot keys Should accept "application/vnd.wap.multipart.alternative" message. replaced deprecated getIntent with parseURI
| * | | | 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 749defb0: am f4f614f5: am 9f2a0115: Merge "Remove indefinite DHCP ↵Irfan Sheriff2010-06-101-5/+4
|\ \ \ \ | |/ / / | | | | | | | | retries" into froyo