summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Handle null SSID cleanly" into jb-devIrfan Sheriff2012-04-281-0/+1
|\
| * Handle null SSID cleanlyIrfan Sheriff2012-04-271-0/+1
| | | | | | | | | | Bug: 6411912 Change-Id: I12f9df403c9633d928d898ae675ce36303dda1a8
* | Merge "Recover immediately from driver hang" into jb-devIrfan Sheriff2012-04-271-4/+4
|\ \
| * | Recover immediately from driver hangIrfan Sheriff2012-04-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | A firmware crash can now put the interface down without notifiying the framework. We detect this and recover immediately. Bug: 6263857 Change-Id: Ib2dc0412fcdf9ce7b90a7fc0fab778f7af9c0513
* | | Merge "Switch to standard commands for pno & power save" into jb-devIrfan Sheriff2012-04-272-43/+24
|\ \ \ | |/ /
| * | Switch to standard commands for pno & power saveIrfan Sheriff2012-04-272-43/+24
| |/ | | | | | | | | | | | | Remove DRIVER commands and switch to cfg based commands Bug: 6318223 Change-Id: I5e21c4bb554c2992a52fd3c1741629645b22ae43
* | Allow override of p2p dialogsYoshihiko Ikenaga2012-04-273-81/+474
|/ | | | | | | | | | | | | | | | | By default, we show dialogs for connection requests and for user interaction for pin input from the framework. For applications, that want to make the experience more seamless we should allow automatic discovery and connection as long as one app can control it. We allow this for a foreground app alone right now. This will be a hidden API for now. Bug: 6411069 Change-Id: Id342e933073d30eb58bf5a03a47ca26a64df8ddb Signed-off-by: isheriff@google.com Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* Merge "Add support for changing p2p device name" into jb-devIrfan Sheriff2012-04-272-9/+73
|\
| * Add support for changing p2p device nameIrfan Sheriff2012-04-272-9/+73
| | | | | | | | | | | | Change-Id: Ie13fe2adedd0bac6aa07b3369c4d6a05ef33cd24 Signed-off-by: isheriff@google.com Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | Fix flag on network state change broadcastIrfan Sheriff2012-04-261-2/+1
|/ | | | | | | | Using FLAG_RECEIVER_REPLACE_PENDING causes broadcasts to be missed confusing the connectivity service BUg: 6401167 Change-Id: Id69b2df18b9eb6b3e2195fbf399f36501a8d41df
* Better assertions when bandwidth module disabled.Jeff Sharkey2012-04-211-1/+1
| | | | | | | Also disable some verbose logging in WifiStateTracker. Bug: 6368329 Change-Id: I9a5219bc1b3fd870468f7de46cdf4f173a437c59
* Connect metered DHCP hint for Wi-Fi networks.Jeff Sharkey2012-04-202-2/+33
| | | | | | | | | | | | When DHCP lease includes vendor info indicating that remote Wi-Fi network is metered, advise NetworkPolicy. Users can still manually change the metered flag in Settings. Also remove any policies belonging to removed Wi-Fi networks, and teach isNetworkMetered() about ethernet networks. Bug: 6344821, 6369307, 6365872 Change-Id: I108606c6fddf2d02828fcab011f3a1501415f1bc
* Merge "Expose NO_SERVICE_REQUESTS error condition"Irfan Sheriff2012-04-191-2/+2
|\
| * Expose NO_SERVICE_REQUESTS error conditionIrfan Sheriff2012-04-191-2/+2
| | | | | | | | Change-Id: I45214557579fc82faa93a41d22c0890a218b091e
* | Fix service discovery bugsIrfan Sheriff2012-04-181-6/+25
|/ | | | | | | | | | - Application does not have transaction id information. go through list and remove - Avoid removing client info while enumerating it Change-Id: Ie293876756418ed4cd6dc3a903689ee7003bd12d Signed-off-by: yoshihiko.ikenaga@jp.sony.com
* Merge "Open p2p pre-association service discovery API"Irfan Sheriff2012-04-1710-271/+307
|\
| * Open p2p pre-association service discovery APIIrfan Sheriff2012-04-1410-271/+307
| | | | | | | | | | | | | | | | | | | | | | | | This allows applications to filter out the devices by the services supported for the purpose of establishing a connection. so, a game app can connect to devices that support the game, and a media streaming app can filter and connect only to the available media display devices Change-Id: Ia792e292d2ca771beeb4ca3b007a047527c19229
* | Fix SSID parseIrfan Sheriff2012-04-171-2/+2
| | | | | | | | | | Bug: 6350079 Change-Id: I104dafa982bd1f144ea3a4fe19a0a23d6bf8075d
* | Fix ssid fetchIrfan Sheriff2012-04-163-24/+13
| | | | | | | | Change-Id: Iee5ee5f53bea7dea219b41735cd169389ca7e719
* | Log messages in dumpIrfan Sheriff2012-04-161-39/+32
|/ | | | | | Remove event logging and add messages in dump Change-Id: Ic79c68443bac9b7257644ed6941853f44a9b0661
* Merge "Pre-association service discovery support"Irfan Sheriff2012-04-1217-36/+2909
|\
| * Pre-association service discovery supportIrfan Sheriff2012-04-1217-36/+2909
| | | | | | | | | | | | | | | | Add UPnp, Bonjour and vendor specific support for discovering services on Wi-Fi direct before establishing a connection. Change-Id: I1c1f3427180abdc80a4e682e713adc7f0326c5ef Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | Merge "P2p fixes"Irfan Sheriff2012-04-092-12/+86
|\ \ | |/ |/|
| * P2p fixesIrfan Sheriff2012-04-062-12/+86
| | | | | | | | | | | | | | | | Add powersave on client after connect Set concurrency priority to STA Fix connection cancellation Change-Id: I76fd9d1085c611a8c4068047b64289ef539ab389
* | Merge "Fix key handling"Irfan Sheriff2012-04-041-2/+6
|\ \ | |/ |/|
| * Fix key handlingYoshihiko Ikenaga2012-04-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | putListener() returns 0 when the argument is null. And The key value of listener registered first is always 0. For this reason, if the p2p functions are called continuously and first call is without listener and the second call is with listener, then the message against first call wrongly pick up the second call's listener because the key value is the same. In order to avoid this issue, we don't use 0 as the valid listener key. Change-Id: I0cc960b2ad37f17cf7f528d839b39aa272b83670 Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | Wifi: change empty "engine" config to integerKenny Root2012-03-291-1/+9
| | | | | | | | | | | | | | | | | | "engine" is specified as an integer in wpa_supplicant, so we have to make sure we send an integer instead of a NULL when we want to disable it. Bug: 6250670 Change-Id: I693ccb49badbd400a5882e9df1bbd4febc847a6e
* | Merge "Add discovery broadcasts for p2p"Irfan Sheriff2012-03-293-0/+64
|\ \ | |/
| * Add discovery broadcasts for p2pIrfan Sheriff2012-03-283-0/+64
| | | | | | | | | | | | | | This will allow apps to figure out if discovery is active or not and based on that initiate a new discovery for fresh connections Change-Id: I4778f135fdd88773e4f0d50c384f9b6ebf561e6d
* | Merge "p2p fixes"Irfan Sheriff2012-03-286-154/+112
|\ \ | |/
| * p2p fixesYoshihiko Ikenaga2012-03-276-154/+112
| | | | | | | | | | | | | | | | | | Fix space handling in device name and ssid (This builds from contribution of Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>) Also clean up STA event handling and remove the unused interface address Change-Id: Ic16a4aadf905c1da5c060faa8a3caa83adc0549f
* | Merge "Control suspend optimizations from framework"Irfan Sheriff2012-03-282-30/+74
|\ \
| * | Control suspend optimizations from frameworkIrfan Sheriff2012-03-262-30/+74
| |/ | | | | | | | | | | | | | | | | | | | | The suspend optimizations handling in the driver is being removed. The framework will hence forth control when these optimizations occur - we do this at screen off and hold a short wakelock to ensure this. We also remove the use of the now defunct setsuspendopt command and handle the high perf locking with the new suspend mode command. Change-Id: Ia12e38befb2c4f85cad6612bc8f807805bd0dae1
* | Merge changes Ibdf23227,I3681f98cKenny Root2012-03-272-4/+94
|\ \ | |/ |/| | | | | | | * changes: Update Wifi to use new keystore function Add signing to keystore
| * Update Wifi to use new keystore functionKenny Root2012-03-212-4/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | The old wpa_supplicant.conf format used a special URI prefix "keystore://" for the private_key value to indicate when to load things from keystore. The new format uses an OpenSSL ENGINE to perform operations with the private key, so we don't need the special URI prefix. This changes enables that usage and also supports migrating the old style configuration to the new style. Change-Id: Ibdf2322743eaa129bd2aa5e874f197b573714b57
* | Merge commit '74803dc'Mike Lockwood2012-03-223-13/+113
| | | | | | | | Change-Id: I35a76a27390c75a47e6387fb0ee853a5a689a56f
* | WifiStateMachine: Move wifi teardown delay to a framework resourceMike Lockwood2012-03-221-2/+5
|/ | | | | | | Bug: 5931171 Change-Id: I96a4e3bf1d044ea4a4d2955775703b6f0ce862ed Signed-off-by: Mike Lockwood <lockwood@google.com>
* Improve network avoidanceIrfan Sheriff2012-03-121-8/+26
| | | | | | | | | | Adds a back-off based technique where the amount of time we wait before avoiding wi-fi is increased. This will reduce power consumption on devices that are experiencing high variance on wi-fi Change-Id: I40da03edfb5373ddb51056818ca0744dc26a5600
* Enhancements for avoiding poor connection on wifiIrfan Sheriff2012-03-082-39/+150
| | | | | | | - Avoid flapping - Increase thresholds and monitor rssi more closely to detect consistently weak signal Change-Id: I6139a20b7306839b345146a72ce690020a2e00b8
* 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>