summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
...
* | Additional logging to debug lost Wifi APsVinit Deshapnde2013-08-234-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds some in-memory logging to get some information that doesn't seem to get captured in bug reports readily. We can remove this after we've got to the bottom of this issue. This is the sort of log it produces in bugreport - WifiConfigStore - Log Begin ---- 16:30:06 - loadConfiguredNetwork GoogleGuest 16:30:06 - loadConfiguredNetworks loaded 1networks 16:30:06 - disableAllNetworks 16:30:06 - loadConfiguredNetwork GoogleGuest 16:30:06 - loadConfiguredNetworks loaded 1networks WifiConfigStore - Log End ---- Bug: 10375978 Change-Id: Iaecd3b391aea3711bf376d6cb520217d3242e6f1
* | Merge "Introduce network link quality statistics" into klp-devVinit Deshapnde2013-08-221-9/+67
|\ \
| * | Introduce network link quality statisticsVinit Deshapnde2013-08-211-9/+67
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change starts tracking traffic quality data for WiFi and mobile networks. The quality is tracked based on incidental traffic, and not on specific measurements. Theoretical bandwidths are hard-coded, as well as sampling interval; although sampling interval can be changed by setting a system policy. Bugs filed to remove shortcomings of this change - 10342372 Change LinkInfo name to something better 10342318 Move hardcoded values of MobileLinkInfo to resources so they can be updated without changing code Bug: 10006249 Change-Id: I83d8c7594da20fe53abbd5e1f909b1f606b035bb
* | Merge "Expose WifiManager.setTdlsEnabled public API" into klp-devVinit Deshapnde2013-08-191-12/+18
|\ \
| * | Expose WifiManager.setTdlsEnabled public APIVinit Deshapnde2013-08-161-12/+18
| | | | | | | | | | | | | | | | | | Bug: 10221775 Change-Id: I559e4a2afd525a03c8a13fd151eca4638426d03e
* | | Merge "wifi: Do not use prefix for p2p commands" into klp-devDmitry Shmidt2013-08-161-1/+6
|\ \ \
| * | | wifi: Do not use prefix for p2p commandsDmitry Shmidt2013-08-141-1/+6
| | |/ | |/| | | | | | | | | | | | | | | | Bug: 9298955 Change-Id: I73dab83d133ab3a79cdf804764ba0583a6c9af7f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | Merge "Modify wifi BatchedScan." into klp-devRobert Greenwalt2013-08-165-33/+81
|\ \ \
| * | | Modify wifi BatchedScan.Robert Greenwalt2013-08-155-33/+81
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Add pollBatchedScan API to allow forced retrieval. Modified driver API, adding MSCAN, removing nextCount and making the results look more like normal manual scan results. bug:9301872 Change-Id: I58bce0624c36e2ad8d3c3f5defcb4d4e155dc8f9
* | | wifi: Send event without prefix to p2p0Dmitry Shmidt2013-08-151-15/+16
|/ / | | | | | | | | | | | | Bug: 9298955 Change-Id: I71037dd1cd60ee4efa75e1d6fab60a07bdf0626d Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | Merge "Add support for batched wifi scans." into klp-devRobert Greenwalt2013-08-139-19/+833
|\ \ | |/ |/|
| * Add support for batched wifi scans.Robert Greenwalt2013-08-139-19/+833
| | | | | | | | | | | | bug:9301872 Change-Id: I5a7edfdbd2b78a65119d11acad491eae350c0870
* | Fix a bug in single socket connection to Wifi SupplicantVinit Deshapnde2013-08-121-0/+6
| | | | | | | | | | | | | | | | | | | | My change to post messages without IFACE=<iface> prefix to all interfaces was correct; but messages sent with IFACE=p2p-p2p0-0 et al were being sent to p2p monitor only. This change mimics that to resolve some issues introduced by the single socket change. Bug: 10257602 Change-Id: Ia6164cb3cfd11c2a0a7b011eceaeabfd9677f62c
* | am 9b7b4450: am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal ↵Wink Saville2013-08-082-0/+11
|\ \ | | | | | | | | | | | | | | | | | | is detected enable fail fast." into jb-mr2-dev * commit '9b7b4450185e723dc7021f7e8bae4a12d4dd5606': If in a mobile captive portal is detected enable fail fast.
| * \ am 02eab434: am 4d87d91d: Merge "If in a mobile captive portal is detected ↵Wink Saville2013-08-082-0/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | enable fail fast." into jb-mr2-dev * commit '02eab434ad9faa25291e63023b7e66698ca457a8': If in a mobile captive portal is detected enable fail fast.
| | * | If in a mobile captive portal is detected enable fail fast.Wink Saville2013-08-072-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When captive portal checking completes pass back the result. This is used to enable/disable failing fast for mobile. When failing fast is enabled we don't check for data stalls and thus won't be continually trying to do recovery operations, such as restarting the radio. Bug: 9462512 Change-Id: I0dea0eee519f8ee7f94e79d40e82c18f30d7fe2e
* | | | Use a single socket to communicate with supplicantVinit Deshapnde2013-08-084-212/+363
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | This helps to prepare for future updates from external sources. Bug: 9298955 Change-Id: I4c63ad5fc1ea3564aab38cfce955de19bad75c0c (cherry picked from commit fb40801ed8c217ae01082fb1cbd0c30bbf5532ac)
* | | Add PAC File support for proxy configurationJason Monk2013-08-072-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PAC (Proxy auto-config) files contain a single javascript function, FindProxyForURL(url, host). It gets called to determine what proxy should be used for a specific request. This adds PAC support to the system. The ProxyProperties has been modified to hold the PAC file when one is present. The Proxy method setHttpProxySystemProperty has been modified to insert a PacProxySelector as the default ProxySelector when it is required. This new ProxySelector makes calls to the ConnectivityService to parse the PAC file. The ConnectivityService and the WifiConfigStore have been modified to support saving the extra PAC file data. The ConnectivityService now has a class attached (PacProxyNative) that interfaces to the native calls for PAC files. The parsing of the PAC file is handled by libpac (which is being added to external/) which utilizes libv8 to parse the javascript. As a fallback to applications that don't use the java ProxySelector, the proxy is setup to point to a local proxy server that will handle the pac parsing. bug:10182711 Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
* | | am 5d6b7db5: am 20c911ba: Merge "When wifi wants ASCII lowercasing, it needs ↵Elliott Hughes2013-08-024-4/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | to ask for it." * commit '5d6b7db5d9cb7de5cee45dd35af18e179f01d583': When wifi wants ASCII lowercasing, it needs to ask for it.
| * | When wifi wants ASCII lowercasing, it needs to ask for it.Elliott Hughes2013-08-024-4/+9
| | | | | | | | | | | | | | | | | | | | | http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: Ibf25d0bbc76015cf8353ec01ab2b743cbc2bde67
* | | Add WorkSource capability to WifiManager for starting a scan.David Christie2013-07-253-13/+31
| | | | | | | | | | | | Change-Id: I011bf3b91fbddaba7ab0128bb03d27d90b8a886f
* | | wifi: Add tdls_discover command to tdls enable callDmitry Shmidt2013-07-161-2/+4
| | | | | | | | | | | | | | | | | | | | | Bug: 8539031 Change-Id: I29739e74f73b68fbf9ff73cfc19017a01655f9a4 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | Merge "Allow enabling TDLS on specific routes"Vinit Deshapnde2013-07-124-0/+66
|\ \ \
| * | | Allow enabling TDLS on specific routesVinit Deshapnde2013-07-114-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change exposes couple of internal APIs to enable TDLS between local machine and a remote machine. The implementation translates client provided remote IP to a MAC address using system ARP cache, and then instructs the driver to enable TDLS with that endpoint. Another API takes application specified MAC address. Bug: 8538898 Change-Id: Ida343fc42ba3a817a4f380255596e7fb7fcdfb9b
* | | | am 6f2b31fc: am 56a7e4ad: am 116d4665: Merge "Block Wifi P2p discovery while ↵Robert Greenwalt2013-07-112-1/+74
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | doing dhcp." into jb-mr2-dev * commit '6f2b31fcf57e4e7f5cd8af9b66619c8f5825a850': Block Wifi P2p discovery while doing dhcp.
| * | am 56a7e4ad: am 116d4665: Merge "Block Wifi P2p discovery while doing dhcp." ↵Robert Greenwalt2013-07-112-1/+74
| |\ \ | | |/ | | | | | | | | | | | | | | | into jb-mr2-dev * commit '56a7e4ad43eb5288a80b34566db365aaaa845e87': Block Wifi P2p discovery while doing dhcp.
| | * Block Wifi P2p discovery while doing dhcp.Robert Greenwalt2013-07-112-1/+74
| | | | | | | | | | | | | | | | | | bug:9531609 bug:9302399 Change-Id: Ie4b7c3a75245a0e7cc09fa89ddb1187d349779a1
* | | Flush scan results et al after band changeVinit Deshapnde2013-07-092-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change flushes all bss data after a band change (because it is potentially invalid). We do scan for new data just after we've established connectivity on the new band. Bug: 7053587 Change-Id: I8ab9d0bbc5c3f8f383c2b7868349634085cf94c1
* | | am c869696e: am 65f7a95f: am 2f50097a: Merge "Fix power issues around wifi ↵Robert Greenwalt2013-06-262-5/+63
|\ \ \ | |/ / | | | | | | | | | | | | | | | scans." into jb-mr2-dev * commit 'c869696ef3c1dca3efbc6ce8ab804e8a1b117900': Fix power issues around wifi scans.
| * | am 65f7a95f: am 2f50097a: Merge "Fix power issues around wifi scans." into ↵Robert Greenwalt2013-06-262-5/+63
| |\ \ | | |/ | | | | | | | | | | | | | | | jb-mr2-dev * commit '65f7a95fc4c06127e7372bcb0d14e561cc23dd80': Fix power issues around wifi scans.
| | * Fix power issues around wifi scans.Robert Greenwalt2013-06-262-5/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sending a broadcast indicating when scan requests could be serviced so that apps don't request scans we won't do anything with. - Fix our batt stats accounting so we only count it if we send the request to the driver. bug: 8868201 bug: 9496690 Change-Id: I64a4f1c294c848ac64c50d8854ed4a6a1a47f603
* | | am 7bc28ed7: am e6345a19: am 9233fc00: Revert "Revert "wifi: Get full scan ↵Iliyan Malchev2013-06-202-7/+40
|\ \ \ | |/ / | | | | | | | | | | | | | | | results"" * commit '7bc28ed76b9a6591bdda37b472c3f7dc1ffae987': Revert "Revert "wifi: Get full scan results""
| * | am e6345a19: am 9233fc00: Revert "Revert "wifi: Get full scan results""Iliyan Malchev2013-06-202-7/+40
| |\ \ | | |/ | | | | | | | | | * commit 'e6345a19129484572d3200edfff7f002a4314d0b': Revert "Revert "wifi: Get full scan results""
| | * Revert "Revert "wifi: Get full scan results""Iliyan Malchev2013-06-212-7/+40
| | | | | | | | | | | | | | | | | | This reverts commit c2cbd4c11bfb83344502bd80389538795bae03cb. Change-Id: Ia1cbde588ae9706966d6340c702fcfe1a82cfa79
* | | am 2a155213: am 66acbc22: am 0dff78aa: Merge "Revert "wifi: Get full scan ↵Iliyan Malchev2013-06-182-40/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | results"" into jb-mr2-dev * commit '2a155213c85f84a944551c09c0eefde3368267db': Revert "wifi: Get full scan results"
| * | am 66acbc22: am 0dff78aa: Merge "Revert "wifi: Get full scan results"" into ↵Iliyan Malchev2013-06-182-40/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | jb-mr2-dev * commit '66acbc221b750a645a1c9581f4a5bbe52e38729c': Revert "wifi: Get full scan results"
| | * Revert "wifi: Get full scan results"Vineeta Srivastava2013-06-182-40/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 67b3fbf49c0c92641e19e3278a1feab7b68aa7b8. Change-Id: I458924e6c95661f522ffa5e7780c6888cdb3a713 Conflicts: wifi/java/android/net/wifi/WifiNative.java wifi/java/android/net/wifi/WifiStateMachine.java
* | | More work on process tracking.Dianne Hackborn2013-06-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-arranged code to be more flexible, now track state of services, dump ordered list of running processes while memory was critical and low. Also rename battery stats service from "batteryinfo" to "batterystats". Change-Id: I0f4f0c8d443c49d255cb84d0fc917e8ec18b152e
* | | Explicit locale when formatting machine strings.Jeff Sharkey2013-06-116-13/+23
| | | | | | | | | | | | | | | Bug: 9390451 Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
* | | am 66c7bd54: am 0161d229: Merge "Remember wifi country that\'s set before ↵Robert Greenwalt2013-06-011-1/+29
|\ \ \ | |/ / | | | | | | | | | | | | | | | boot" into jb-mr2-dev * commit '66c7bd54046c567de5e3a4d332987a28ecb78092': Remember wifi country that's set before boot
| * | am 0161d229: Merge "Remember wifi country that\'s set before boot" into ↵Robert Greenwalt2013-06-011-1/+29
| |\ \ | | |/ | | | | | | | | | | | | | | | jb-mr2-dev * commit '0161d229fdbd8407f5b8b783ffa02b145b0cef8e': Remember wifi country that's set before boot
| | * Remember wifi country that's set before bootRobert Greenwalt2013-05-311-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Telehony seems to sometimes be reporting the country before boot is completed so can't persist the data at that time. Remember and write it on BOOT_COMPLETED Also, there are permission issues around writing the setting. bug:9225156 Change-Id: Ifdf2243da71b0d2ce5743267842597937d790ef5
* | | am 466ceb46: am aa4b2ee0: Merge "Ignore outstanding delayed shutdown on ↵Robert Greenwalt2013-05-281-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | restart" into jb-mr2-dev * commit '466ceb463f44f72bdd73764e50dcb34c174a0cfe': Ignore outstanding delayed shutdown on restart
| * | am aa4b2ee0: Merge "Ignore outstanding delayed shutdown on restart" into ↵Robert Greenwalt2013-05-281-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | jb-mr2-dev * commit 'aa4b2ee0d654b345b727cb47afd246d0b769fafd': Ignore outstanding delayed shutdown on restart
| | * Ignore outstanding delayed shutdown on restartRobert Greenwalt2013-05-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This was causing us to go disabled when we shouldn't so the API being tested in the CTS would fail. Bug is timing dependent and hard to repro. bug:9067887 Change-Id: I70b813bf826988d859cc29201242238f18dcf2e6
* | | wifi: Use 'IFNAME=iface CMD' instead of 'CMD interface=iface Rest'Dmitry Shmidt2013-05-231-8/+8
| | | | | | | | | | | | | | | Change-Id: Iad7389a9030c9f8a697b147941a8f296db6eb08d Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | am c3de50cd: am 30c798d5: Merge "Add some temp wifi debugging output" into ↵Robert Greenwalt2013-05-191-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | jb-mr2-dev * commit 'c3de50cd3cff76082bc01b04a8a6bbde300d725e': Add some temp wifi debugging output
| * | am 30c798d5: Merge "Add some temp wifi debugging output" into jb-mr2-devRobert Greenwalt2013-05-191-2/+2
| |\ \ | | |/ | | | | | | | | | * commit '30c798d58772efd595fffebd9d0d54f717e34ed6': Add some temp wifi debugging output
| | * Add some temp wifi debugging outputRobert Greenwalt2013-05-181-2/+2
| | | | | | | | | | | | | | | bug: 9014777 Change-Id: I38c61f235742a36be10cdf9125e19ac9406a61b9
* | | am 23abefef: am 28d3dbf9: Merge "Remove wifi scan-always dialog." into ↵Robert Greenwalt2013-05-131-9/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | jb-mr2-dev * commit '23abefef00b4d47bb97b2597f74c9dae6a169286': Remove wifi scan-always dialog.