summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | 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
* | | | Make NetworkStateTracker an interfaceIrfan Sheriff2010-06-101-7/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of the WifiStateTracker cleanup, need to have NetworkStateTracker as an interface. Change-Id: I2ac48d7e4c7274ac4df40bc3b8591b182956a936
* | | | Clean up APN notifications.Robert Greenwalt2010-06-091-20/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add APNType info to notifications so you can tell what's happening. Now, even if a new APN shares a connection with an already-connected-to- apn type, the new type will get all the connecting and connected messages on connect and disconnecting/disconnected on disconnect even though the shared connection remains connected. Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation. bug:2226092 Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42
* | | 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
* | Fix WakeLock issue for driver stopIrfan Sheriff2010-03-241-24/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Use a single mWifiState instanceIrfan Sheriff2010-03-221-47/+44
| | | | | | | | | | | | | | | | 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
* | Make getting wifi state lockless.Brad Fitzpatrick2010-03-221-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix null pointer exceptionIrfan Sheriff2010-03-181-1/+5
| | | | | | | | | | Bug: 2525763 Change-Id: If2f334187af26e0352d754d7e00a9ca3efc5dffa
* | softAp framework changesIrfan Sheriff2010-03-162-0/+16
| | | | | | | | | | | | | | | | | | Remove AP persist settings Add new netd interface Handle errors Handle AP config change Bug: 2413908 Change-Id: I31a1221ef5479da8d4a2620f0f0ee0b62539bc69
* | Clean up native access from frameworkIrfan Sheriff2010-03-101-11/+362
| | | | | | | | | | | | | | | | 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
* | Re-organize access to native interface through WifiStateTrackerIrfan Sheriff2010-03-103-123/+235
| | | | | | | | | | Bug: 2339709 Change-Id: Ibb2eeb09b83dc24897116ea15a9016f81a08d442
* | Wifi AP framework changes first passIrfan Sheriff2010-03-042-4/+137
| | | | | | | | | | Bug: 2421638 Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
* | Remove redundant interface disableIrfan Sheriff2010-02-231-13/+9
| | | | | | | | | | Bug: 2274930 Change-Id: Ia1eafe422f6e18b826e53e72a306dd2961b948a6
* | get DHCP IP on each connectionIrfan Sheriff2010-02-101-10/+22
| | | | | | | | | | | | | | | | | | | | 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
* | Handle error strings from monitor connectionIrfan Sheriff2010-01-281-6/+49
| | | | | | | | | | Bug: 2399119 Change-Id: I481cfbfb11fb453659134004aafa3df236ba050b
* | Blacklist APs instead of disableIrfan Sheriff2010-01-282-10/+34
| | | | | | | | | | | | | | | | 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
* | Synchronize all WifiNative callsIrfan Sheriff2010-01-081-3/+4
| | | | | | | | | | | | | | 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
* | Implement API to have new broadcasts replace existing broadcasts.Dianne Hackborn2009-12-141-2/+4
| | | | | | | | | | | | 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.
* | am 68b15b68: Porting change I064698b3 from mr2 to eclair.Robert Greenwalt2009-12-081-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '68b15b68497e373fe63a13f11e18349a738a7989' into eclair-mr2 * commit '68b15b68497e373fe63a13f11e18349a738a7989': Porting change I064698b3 from mr2 to eclair.
| * Porting change I064698b3 from mr2 to eclair.Robert Greenwalt2009-12-082-13/+38
| | | | | | | | | | | | Add support for "HANGED" driver state - we'll reboot the driver when requested (by the driver). bug: 2310372
| * Make FWK start a wifi scan if supplicant forgets. (do not merge)Robert Greenwalt2009-10-211-0/+37
| | | | | | | | | | | | | | | | Waits 15sec after getting a DISCONNECTED or INACTIVE state. Also tracks the number of supplicant state transitions. After the period is up if we haven't received any more supplicant state transitions, it requests a scan. bug: 2168081
* | Add wifi "HANGED" driver state triggering reload.Robert Greenwalt2009-10-232-12/+37
| | | | | | | | | | | | | | | | | | The driver can now report to us that they are hosed and we'll shut down wifi and restart it - only to be used as a last resort. Also fixing synch problem with updateWifiState. bug: 2173119
* | Add a new API for initing Wifi multicast filteringRobert Greenwalt2009-10-213-9/+16
| | | | | | | | | | | | Gets rid of the old method which generated Log noise. bug: 1973855
* | Make FWK start a wifi scan if supplicant forgets.Robert Greenwalt2009-10-081-0/+37
|/ | | | | | | | Waits 15sec after getting a DISCONNECTED or INACTIVE state. Also tracks the number of supplicant state transitions. After the period is up if we haven't received any more supplicant state transitions, it requests a scan. bug: 2168081
* Stop bringing the wifi interface up on reset.Robert Greenwalt2009-09-301-6/+5
| | | | | | | The driver will bring up the interface when needed and bring it up at reset time has caused some problems. bug: 2144870
* Fix the incorrect field name in EAP wifi network.Chung-yih Wang2009-09-221-1/+1
| | | | The field identity should not be "anonymous_identity".