summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Enhance WPS"Irfan Sheriff2012-03-026-26/+150
|\
| * Enhance WPSIrfan Sheriff2012-03-026-26/+150
| | | | | | | | | | | | | | | | - Add a cancel API - Add more error reporting on WPS - Fix network status reporting that showed up with new implementation Change-Id: I499796c80d16d18df95fb702d029aa7e7283b603
* | Fix connect on a network id with zeroIrfan Sheriff2012-03-021-1/+4
|/ | | | | | Pass invalid network id on arg1 when using a config object Change-Id: I8ef047c951911324d9bf79b744c3e7122bb73bae
* Fix WifiManager async APIIrfan Sheriff2012-03-017-453/+483
| | | | | | | | | Fix the current asynchronous API to use callback like the way was done with p2p API. In the process, fix the use of WPS Change-Id: Ib6f8714cf51b3525b655948268804e7eaaf17587
* Improve Wi-Fi hand-offIrfan Sheriff2012-02-295-781/+532
| | | | | | | | | | | | | | | | | | | | | | | | When Wi-fi connects at L2 layer, the beacons reach and the device can maintain a connection to the access point, but the application connectivity can be flaky (due to bigger packet size exchange). We now use Watchdog to monitor the quality of the last hop on Wi-Fi using signal strength and ARP connectivity as indicators to decide if the link is good enough to switch to Wi-Fi as the uplink. ARP pings are useful for link validation but can still get through when the application traffic fails to go through and thus not best indicator real packet loss since they are tiny packets (28 bytes) and have much low chance of packet corruption than the regular data packets. Signal strength and ARP used together ends up working well in tests. The goal is to switch to Wi-Fi after validating ARP transfer and RSSI and then switching out of Wi-Fi when we hit a low signal strength threshold and waiting until the signal strength improves and validating ARP transfer. Change-Id: Ica593291ec7772da892f03cf45b649635b730c47
* WifiStateTracker: add support for overriding DCHP max retry count in an overlayMike Lockwood2012-02-161-1/+3
| | | | | | | | | | | | Bug: 5551068 Signed-off-by: Mike Lockwood <lockwood@google.com> Conflicts: packages/SettingsProvider/res/values/defaults.xml Change-Id: I6a6519316a87bd1af39ea9dc51e0d312011135ef
* Merge "Initial support for concurrency"Irfan Sheriff2012-02-146-432/+125
|\
| * Initial support for concurrencyIrfan Sheriff2012-01-256-432/+125
| | | | | | | | | | | | | | | | | | Use of multiple socket connections over wlan0 and p2p and p2p state machine is now controlled entirely from wifi state machine Add discovery stop to allow STA scans to proceed after p2p is used Change-Id: I790c9112d3f475f638f06fc3ae9e191f6d90ef35
* | Fix shutdown delayIrfan Sheriff2012-02-131-5/+8
| | | | | | | | | | | | | | We were timing out on commands after shutting down supplicant Bug: 5973030 Change-Id: I442ae6a9ad206406dc5f1c8c27be2456a339bba2
* | am 27d2ab8b: am dc8668c8: am 97818704: Merge "Wi-Fi: Handle disconnect in ↵Jean-Baptiste Queru2012-01-271-0/+4
|\ \ | |/ |/| | | | | | | | | middle of DHCP operation" * commit '27d2ab8b27e7e1927e18869e898fa556e5da3d43': Wi-Fi: Handle disconnect in middle of DHCP operation
| * Wi-Fi: Handle disconnect in middle of DHCP operationVishal Mahaveer2012-01-271-0/+4
| | | | | | | | | | | | | | Restore power mode and BT co-ex settings when disconnect happens in middle of DHCP operation. Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | cleanup for concurrencyIrfan Sheriff2012-01-137-409/+430
| | | | | | | | | | | | | | Allow multiple instances of WifiMonitor and WifiNative to be created in preparation for multiple socket connections Change-Id: I06a227f87f1406dc62f884d56ad639ac623414b6
* | Sync up state with supplicant at startIrfan Sheriff2012-01-111-0/+4
| | | | | | | | | | Bug: 5534039 Change-Id: I70b3e03b3039877b3c64167d0d246346f9131fc6
* | Add multi-interface support to native callsIrfan Sheriff2011-12-282-6/+40
| | | | | | | | | | | | | | | | | | | | Add the initial support for supporting seperate socket connections on the p2p interface. This is the initial change making primary interface connections work alongside native support for p2p socket connection Change-Id: I7619715ca75b10afd29af852279fe713331f75e0
* | clean up jni codeIrfan Sheriff2011-12-284-187/+343
| | | | | | | | | | | | | | | | | | - Move all supplicant commands out of jni code in preparation for multi-socket changes - Also, clean up some function names to remove the explicit command Change-Id: Id609ac7df0792fb85b52554d159f22064227c584
* | Merge "p2p fixes"Irfan Sheriff2011-12-215-26/+85
|\ \
| * | p2p fixesIrfan Sheriff2011-12-195-26/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Change default GO intent to 7 - Handle P2P invitation scenario - Fix p2p STA connect notification handling to figure device address. Proper fix for handling both STA connection and disconnection is after we update supplicant Change-Id: I9ff82f84ad3913905952d1119b7224dff41c24d9
* | | Fix configured network statusIrfan Sheriff2011-12-122-1/+23
|/ / | | | | | | | | | | | | | | | | | | | | For a connected network, keep status as CURRENT. For a network, that is disconnected it should be ENABLED. A disabled network will have the status as DISABLED Also, add a unit test to ensure there is only one CURRENT network that is connected Change-Id: Iaa4a7124a0c372a8f6df3d846ae8c15d9b29cf13
* | Clean up synchronizationIrfan Sheriff2011-12-122-179/+203
| | | | | | | | | | | | | | | | - Add delayed disk write in WifiConfigStore - Remove synchronization and keep all access to config store throught the state machine thread Change-Id: I53768a17895e48da7b99542ac95c6c2fddbcb021
* | am a3c7c358: am 583fdf00: Merge "Handle emergency call back mode correctly" ↵Irfan Sheriff2011-12-091-6/+19
|\ \ | |/ | | | | | | | | | | into ics-mr1 * commit 'a3c7c35873235486787d58fa8310eebd87508bc9': Handle emergency call back mode correctly
| * Handle emergency call back mode correctlyIrfan Sheriff2011-12-081-6/+19
| | | | | | | | | | Bug: 5726996 Change-Id: I5815dd402bd73c530b9ba6d545d8956064949aa2
* | Remove explicit network disabling codeIrfan Sheriff2011-12-093-41/+2
| | | | | | | | | | | | | | We are going to always disable the notification Bug: 5556629 Change-Id: I981eb55a1bb6f44defd674e3a86d9c6f3805f4fc
* | Merge "Change RSSI notification levels to 5 in framework"Irfan Sheriff2011-12-092-5/+9
|\ \
| * | Change RSSI notification levels to 5 in frameworkIrfan Sheriff2011-12-092-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At some point the system UI switched to using 5 rssi levels while the framework only broadcasts a change for 4 levels. Hence RSSI change can be slow to be displayed on the UI, fix this Bug: 5732700 Change-Id: I21700f96ba7a8dd678fb2ccfff8ef59f9b696666
* | | am 8c2122cb: am a85cc282: Merge "Fix CS wakelock handling" into ics-mr1Irfan Sheriff2011-12-071-16/+5
|\ \ \ | | |/ | |/| | | | | | | * commit '8c2122cb3e347c607126c49d76fb165125a02295': Fix CS wakelock handling
| * | Fix CS wakelock handlingIrfan Sheriff2011-12-071-16/+5
| | | | | | | | | | | | Change-Id: Ibe1c1ab3e26ff0ae7cab7bfb0bd868bfab246037
* | | am 7c92e2dc: am 8a4cd3b1: Merge "Disable poor network connection alone" into ↵Irfan Sheriff2011-12-061-11/+41
|\ \ \ | |/ / | | | | | | | | | | | | | | | ics-mr1 * commit '7c92e2dccb4e5cb5314455692ac32d2ccff24292': Disable poor network connection alone
| * | Disable poor network connection aloneIrfan Sheriff2011-12-061-11/+41
| | | | | | | | | | | | | | | | | | | | | - Keep the walled garden detection in place Bug: 5719771 Change-Id: I9e5d69b6d56096be904106b1db48c02db4c0fb50
* | | am 5e2e7d5f: am 40cb30c2: am 7b62313e: Disable wifiwatchdog for nowIrfan Sheriff2011-12-061-1/+3
|\ \ \ | |/ / | | | | | | | | | * commit '5e2e7d5fb81266640f8284abb25fe8be06693f5b': Disable wifiwatchdog for now
| * | am 7b62313e: Disable wifiwatchdog for nowIrfan Sheriff2011-12-061-1/+3
| |\ \ | | | | | | | | | | | | | | | | * commit '7b62313eab4af8835a64fb3fe1e15e5e534a9479': Disable wifiwatchdog for now
| | * | Disable wifiwatchdog for nowIrfan Sheriff2011-12-061-1/+3
| | | | | | | | | | | | | | | | Change-Id: I2ac4fa706f3d0a415cb8e86002173b776aba4e02
| * | | Switch to notifications for walled gardenIrfan Sheriff2011-12-051-42/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, switches the URL for browser to the actual URL used for checking walled garden Bug: 5398921 Change-Id: Ie4d4b1d47f4151d0f85975b10190bdcf5f2e7a57
* | | | Merge "p2p enhancements"Irfan Sheriff2011-12-053-9/+18
|\ \ \ \
| * | | | p2p enhancementsIrfan Sheriff2011-11-303-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add device name on SSID for legacy devices to discover a given group and join - Do not remove a group for a device lost event which only indicates discovery is stopped Change-Id: Id431c29da371986e694ab230d72d32061b209ebe
* | | | | Clean up InterfaceConfiguration flags.Jeff Sharkey2011-11-292-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Offer modifier methods for interface flags instead of mutating directly, and remove square brackets. Change-Id: I4cce719dccedfb3f0e8448c111e65b93c0008cbb
* | | | | Merge "Redesign p2p around provision discovery"Irfan Sheriff2011-11-296-277/+543
|\ \ \ \ \ | |/ / / /
| * | | | Redesign p2p around provision discoveryIrfan Sheriff2011-11-286-277/+543
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | = Provision Discovery:Is an optional discovery technique for figuring out if a peer supports the specific WPS option. For compatibility reasons, we will now always use it during connection but at the same time support devices that request to support connection without it = State machine and UI redesign around the new interaction = Specify config methods explicitly for compatibility Bug: 5599949 Change-Id: Ib79435dda472c43cc0746f56bf79ea896b2e33a4
* | | | am 694b266e: am 7b6d238b: Merge "Fix tethering interaction from wifi" into ↵Irfan Sheriff2011-11-231-15/+191
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | ics-mr1 * commit '694b266e0366e5400d577659d1bb8152f0a106e7': Fix tethering interaction from wifi
| * | Fix tethering interaction from wifiIrfan Sheriff2011-11-231-15/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the right interface for untether - Wait till tethering service confirms that untether() is successful before shutting down soft Ap. This helps to make sure interface does not go away before clean up is done. Bug: 5659166 Change-Id: Iff9d4a67ff40664c2114e766590d6a83b7739738
* | | am 1c9126c6: am 59c73b92: Merge "Convert soft ap config store to state ↵Irfan Sheriff2011-11-092-154/+200
|\ \ \ | |/ / | | | | | | | | | | | | | | | machine" into ics-mr1 * commit '1c9126c64b56b6465fd551680461caed2e1ea20d': Convert soft ap config store to state machine
| * | Convert soft ap config store to state machineIrfan Sheriff2011-11-082-154/+200
| | | | | | | | | | | | | | | | | | | | | | | | - Create thread when needed - asynchronous interaction with wifi state machine Bug: 5587391 Change-Id: Ie6d01b5a6b398a3fa12c384920a473e242443131
* | | am 45a04db3: Merge "Avoid quick shutdown after a driver start" into ics-mr1Irfan Sheriff2011-11-051-12/+37
|\ \ \ | |/ / | | | | | | | | | * commit '45a04db3f95755829b24043d30d7da7182b4f33b': Avoid quick shutdown after a driver start
| * | Merge "Avoid quick shutdown after a driver start" into ics-mr1Irfan Sheriff2011-11-041-12/+37
| |\ \
| | * | Avoid quick shutdown after a driver startIrfan Sheriff2011-11-031-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Causes problems on our wext driver and potentially on cfg based driver as well. NLP can trigger very quick acquire and release within seconds leading to driver switching between start and stop state. We now keep driver up for atleast couple of minutes after a start Bug: 5478196 Change-Id: I1b261578252c5fb9a65446241b51e5686d4d9cc3
* | | | am a3d9eba1: Merge "Reset IP failure counter on a success" into ics-mr1Irfan Sheriff2011-11-031-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'a3d9eba10461158a52acfc2a0324696b25db761f': Reset IP failure counter on a success
| * | | Merge "Reset IP failure counter on a success" into ics-mr1Irfan Sheriff2011-11-031-0/+1
| |\ \ \ | | |_|/ | |/| |
| | * | Reset IP failure counter on a successIrfan Sheriff2011-11-011-0/+1
| | |/ | | | | | | | | | | | | Bug: 5552673 Change-Id: I56c032577be217895b75bf72ecb2c986d2064ab4
* | | am b419abca: am 7f00c22b: Merge "Avoid duplicate dialogs leading to NPE" ↵Irfan Sheriff2011-11-021-14/+101
|\ \ \ | |/ / | | | | | | | | | | | | | | | into ics-mr0 * commit 'b419abcadad79cd908acfe51dc6e8902c16ff728': Avoid duplicate dialogs leading to NPE
| * | Merge "Avoid duplicate dialogs leading to NPE" into ics-mr0Irfan Sheriff2011-11-021-14/+101
| |\ \
| | * | Avoid duplicate dialogs leading to NPEIrfan Sheriff2011-11-011-14/+101
| | | | | | | | | | | | | | | | | | | | Bug: 5548268 Change-Id: I383d5dba5ed2d77c1623d03990f1139872a65e2a