summaryrefslogtreecommitdiffstats
path: root/wifi
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix default population of wifi settings" into jb-mr1-devChristopher Tate2012-09-141-6/+6
|\
| * Fix default population of wifi settingsChristopher Tate2012-09-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various wifi settings that are explicitly defaulted did not get their default code properly converted to refer to the correct settings database table. A collection of moved-to-Global settings that had not yet been marked @deprecated in the Secure.* namespace are now so marked. Also updated the namespace used to refer to wifi settings from the Wifi Service. These changes are cosmetic, but they do eliminate a number of runtime log messages. Bug 7153671 Change-Id: I9e5b6464d025cfb480ef97373996e38e82f90593
* | Merge "Fix suspend bugs" into jb-mr1-devIrfan Sheriff2012-09-142-11/+10
|\ \
| * | Fix suspend bugsIrfan Sheriff2012-09-142-11/+10
| |/ | | | | | | | | | | | | | | | | | | Listen to screen broadcast all the time to avoid situations of losing this information when wifi is turned on and off Avoid duplicate suspend commands to driver Bug: 7156907 Change-Id: I162b7ba249ae8925119a534229045965c0c13d1f
* | Increase GO idle time out to 5 secondsIrfan Sheriff2012-09-141-1/+1
|/ | | | | | | This is needed to work well with cavium dongle and 2 seconds was too aggressive to let a client scan and connect. Change-Id: Id3f1e3711333365c1e90827fb92675fd5dbc49da
* Disable suspend optimizations during DHCPIrfan Sheriff2012-09-111-44/+79
| | | | | | | | | We were not handling disabling suspend optimization during DHCP. This can cause problems with certain routers when screen is off (and suspend optimizations enabled). Bug: 7106423 Change-Id: Ib762fff2edec28d7c6990263d4b641566e971213
* Handle ascii encoded SSIDIrfan Sheriff2012-09-118-40/+326
| | | | | | | | | | | | | | | Supplicant now passes as an ascii encoded string that allows it to pass any sequence of bytes for a SSID. see src/utils/common.c in supplicant for details of the implementation. We create a SSID structure WifiSsid in framework to store the ssid and handle the conversion appropriately when required for printing and for an application. At this point, we still do not handle non-printable octets from an application perspective for connectivity Bug: 7110903 Change-Id: I520e5ee23baed4867b8b408bbb3eda5c9e92b6bf
* Fix device list updateIrfan Sheriff2012-09-102-1/+2
| | | | Change-Id: I6a57d90f3750590db4ac5d538956b989d9589501
* Merge "Update WifiP2pWfdDevInfo from device found event" into jb-mr1-devIrfan Sheriff2012-09-092-2/+16
|\
| * Update WifiP2pWfdDevInfo from device found eventIrfan Sheriff2012-09-092-2/+16
| | | | | | | | Change-Id: I197e84e16147d3db7362e3d6d169ff917c112de2
* | Copy all mutable state before sending to clients.Jeff Brown2012-09-093-14/+23
|/ | | | | | | | | | This resolves an issue with ConcurrentModificationException or inconsistent data being perceived by clients. Fixed an NPE in the WifiP2pDeviceList copy constructor. Bug: 7133752 Change-Id: I37a4d004f7b1ca21d490f131039d81695db2ba42
* Add connection broadcast on group creation failureIrfan Sheriff2012-09-061-2/+5
| | | | Change-Id: I8075a53997d968e6926e5ca78c9aadc60d8fcb2a
* P2p API for WFDAndreas Huber2012-09-066-7/+271
| | | | Change-Id: I3914a515313654f7032d8bb102afebf0ed776783
* Improve multi-user broadcasts.Dianne Hackborn2012-08-304-16/+20
| | | | | | | | | | | | | | | | | | | You can now use ALL and CURRENT when sending broadcasts, to specify where the broadcast goes. Sticky broadcasts are now correctly separated per user, and registered receivers are filtered based on the requested target user. New Context APIs for more kinds of sending broadcasts as users. Updating a bunch of system code that sends broadcasts to explicitly specify which user the broadcast goes to. Made a single version of the code for interpreting the requested target user ID that all entries to activity manager (start activity, send broadcast, start service) use. Change-Id: Ie29f02dd5242ef8c8fa56c54593a315cd2574e1c
* Fix DHCP handling at disconnect/reconnectIrfan Sheriff2012-08-291-5/+11
| | | | | | | | | | | | | | Wifi can have a quick disconnection followed by a reconnection. We used to create a new DHCP state machine thread for every new connection and never really waited until it quit after disconnect. This may have lead to situations where repeated disconnect/reconnects resulted in multiple dhcp start calls. We now keep the statemachine after a disconnect and only shut it at supplicant stop. Bug: 6417686 Change-Id: Icf66efdc654be886e3eb46c81f09f8cce536f2f6
* Fix join scenario with provision discoveryIrfan Sheriff2012-08-281-6/+12
| | | | | Bug: 7072467 Change-Id: I8aafd5cee1055463aeda26ad313071cfe4e335c6
* Captive portal handlingIrfan Sheriff2012-08-275-182/+55
| | | | | | | | | | We now notify the user of a captive portal before switching to the network as default. This allows background applications to continue to work until the user confirms he wants to sign in to the captive portal. Also, moved out captive portal handling out of wifi as a seperate component. Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
* am 129d6fac: am 67ea8c86: Merge "Added a persistent feature in WiFi Direct."Irfan Sheriff2012-08-279-92/+927
|\ | | | | | | | | * commit '129d6fac00545d6ea4eee75f25ddb3ffe8452bb9': Added a persistent feature in WiFi Direct.
| * am 67ea8c86: Merge "Added a persistent feature in WiFi Direct."Irfan Sheriff2012-08-279-92/+927
| |\ | | | | | | | | | | | | * commit '67ea8c86419ffbf603052e816d6b1e9e7e20fbb9': Added a persistent feature in WiFi Direct.
| | * Merge "Added a persistent feature in WiFi Direct."Irfan Sheriff2012-08-279-92/+927
| | |\
| | | * Added a persistent feature in WiFi Direct.Yoshihiko Ikenaga2012-08-279-92/+927
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a new feature to use persistent group at default. In the normal connect sequence, if the persistent profile has been stored, try to use it. Otherwise, a new persistent group is created. If the persistent profiles are stored over 32, an old profile is deleted automatically. Change-Id: Iccb9fa044f1907f0818cd259275e1675f4c3e222 Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | | | Merge "Fix permission issue on channel" into jb-mr1-devIrfan Sheriff2012-08-271-2/+8
|\ \ \ \
| * | | | Fix permission issue on channelIrfan Sheriff2012-08-231-2/+8
| | | | | | | | | | | | | | | | | | | | Change-Id: I57f5d128dc2e2aa3bff93e82456f73cb96851f82
* | | | | resolved conflicts for merge of 9455f8f2 to jb-mr1-devJean-Baptiste Queru2012-08-241-1/+6
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / Change-Id: I6c6970adb58ac45473c7cc665d99f8e8a6ca8571
| * | | am 729f810d: am 8f7100a0: Merge "WifiStateMachine: ignore auth-fail event ↵Jean-Baptiste Queru2012-08-231-0/+7
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | during WPS connection" * commit '729f810d3bca086cf651aa4e2299594a57d6d543': WifiStateMachine: ignore auth-fail event during WPS connection
| | * | WifiStateMachine: ignore auth-fail event during WPS connectionArik Nemtsov2012-08-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disregard auth failure events during WPS connection. The EAP sequence is retried several times, and there might be failures (especially for wps pin). We will get a WPS_XXX event at the end of the sequence anyway. Without this change, the SupplicantStateTracker class will disable the WPS network we are connecting to after 2 failed authentication events. Then, even if WPS succeeds, we will never connect to the selected network. Change-Id: I57c8e508bfd738405b7f2c2c2325df7838e1b4af Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
| * | | am e5773274: Merge "WifiWatchdog: handle exception from ArpPeer"Irfan Sheriff2012-08-221-0/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'e5773274d68cf91cb9966f47c54ce69a7a6b03f4': WifiWatchdog: handle exception from ArpPeer
| | * | Merge "WifiWatchdog: handle exception from ArpPeer"Irfan Sheriff2012-08-221-0/+3
| | |\ \ | | | |/ | | |/|
| | | * WifiWatchdog: handle exception from ArpPeerAndrii Beregovenko2012-08-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes IllegalArgumantException can happen in constructor of ArpPeer class when IPv6 address is provided. This causes crash of systemserver. Fixing it by adding appropriate exception handler Change-Id: I4bb7bbca790745a1bf56ece96dd91b84b1f70cad Signed-off-by: Andrii Beregovenko <a.beregovenko@ti.com> Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | | | Fix NPEIrfan Sheriff2012-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 7026244 Change-Id: I21f13bdbd2d33f0cc082f85474229d9909eb47c1
* | | | Merge "Revert "Revert "Add timestamp in scan results""" into jb-mr1-devIliyan Malchev2012-08-203-115/+129
|\ \ \ \
| * | | | Revert "Revert "Add timestamp in scan results""Iliyan Malchev2012-08-203-115/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With b/6979211 fixed, we can reinstate timestamps. This reverts commit 578531082b8e8c8aa03868e69591b7613b0e8b8e Change-Id: I5dffc8d9701004f7c6325f21e1e33d1cdd2d05c0
* | | | | CTS test for WiFi watchdog - framework support.Yuhao Zheng2012-08-154-45/+152
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | The new WiFi watchdog requires kernel/driver to export some packet loss counters. This CTS tests whether those counters are correctly exported. Change-Id: I41999676f8488e86f35f1f8214ce668f1a2b5638
* | | | Revert "Add timestamp in scan results"Iliyan Malchev2012-08-143-129/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporarily reverting this until all devices switch to using wpa_supplicant_8. This reverts commit b31f78f93768fef269617ec788a5c6655a375f80. Change-Id: I33fcb8415288d95289dcd46fa71e950e0f2b87ec Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | am 2605aeeb: am b17a583a: Merge "Fix interface name for tethering"Wink Saville2012-08-131-3/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '2605aeeb30e39c2616bbe6ff088d1ed0020b4a3b': Fix interface name for tethering
| * | | am b17a583a: Merge "Fix interface name for tethering"Wink Saville2012-08-131-3/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'b17a583a3acc57db845993599e4de56e91d5e75a': Fix interface name for tethering
| | * | Fix interface name for tetheringVishal Mahaveer2012-08-131-3/+3
| | |/ | | | | | | | | | | | | | | | | | | Fix the interface name used in stopTethering Change-Id: I3a8fb80c3c6cd382e7641d1735bff85d8a938ee9 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
* | | Add timestamp in scan resultsIrfan Sheriff2012-08-133-115/+129
| | | | | | | | | | | | | | | | | | | | | | | | Propogate 802.11 tsf details per scan result to the applications and open up hidden access points BUg: 2961159 Change-Id: I05658fd0cf010c0b36193db3f79422640e8b3a6b
* | | Add control to disable suspend optimizationsIrfan Sheriff2012-08-091-4/+29
| | | | | | | | | | | | | | | | | | | | | Add an advanced setting that allows user to turn off power savings at screen off. Bug: 5885175 Change-Id: I2dd013b86d7500a2ad1f9ec75d86551808f05543
* | | WifiWatchdog changes for poor link detectionYuhao Zheng2012-08-063-324/+845
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use packet loss (wlutil pktcnt) instead of frame loss, retune all parameters - use wpa_supplicant to get packet loss counters, instead of netd - handle BSSID roaming in all situations - improve flapping avoidance mechanism by setting different target RSSI - handle high packet loss in high RSSI (never seen in real testing) - add more comments on how to set all parameters Signed-off-by yuhaozheng@google.com Change-Id: I33429f063d8625a458be4791edd83a86d5a723df
* | | am ddd88726: am 71930dd7: am a45746ef: Fix several cases of broken droiddoc ↵Jeff Smith2012-07-251-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | syntax external issue 35214 * commit 'ddd88726a247e4100cb62b3dc9d0887ca2ae2ec4': Fix several cases of broken droiddoc syntax external issue 35214
| * \ \ am 71930dd7: am a45746ef: Fix several cases of broken droiddoc syntax ↵Jeff Smith2012-07-251-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | external issue 35214 * commit '71930dd77e4dc6f6be5c648019d2ab0da5f0584c': Fix several cases of broken droiddoc syntax external issue 35214
| | * | am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214Jeff Smith2012-07-251-1/+1
| | |\ \ | | | |/ | | |/| | | | | | | | | * commit 'a45746efadd11bb7dfab026fb3c81a25fae74ca4': Fix several cases of broken droiddoc syntax external issue 35214
| | | * Fix several cases of broken droiddoc syntaxJeff Smith2012-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external issue 35214 patch contributed by Jeff Smith <whydoubt@yahoo.com> Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
| | * | Enhance StateMachine Quitting and logging support. DO NOT MERGEWink Saville2012-07-022-4/+4
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make StateMachine#quit non-conditional and remove the need to process the SM_QUIT_CMD it is now private. Rename halting to onHalting. Add onQuitting Change the message specific logging to be more generic and change the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add addLogRec(String) and addLogRec(String, State) as the generic logging methods. bug: 5678189 Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7 Conflicts: services/java/com/android/server/NsdService.java
* | | Update WifiManager APIIrfan Sheriff2012-07-241-169/+161
|/ / | | | | | | | | | | Use feedback based on NSD to update WifiManager API Change-Id: I0c1dc74f7e2fa7cd697a995b7194e3e0366d7981
* | Ignore auth failures during WPSIrfan Sheriff2012-07-021-0/+2
| | | | | | | | | | | | | | | | | | | | During WPS, EAP failure occurs many times due to searching external registrar. EAP failure can also occur after WPS-success. WPS failures are handled through seperate events, ignore auth failures. Change-Id: I6a051398d306250510536d157bf812b5a434c84b Signed-off-by: Irfan Sheriff <isheriff@google.com> Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
* | Move ARP test functionality to ArpPeerIrfan Sheriff2012-06-211-48/+3
| | | | | | | | Change-Id: Iecd6037cf8e0faa626ba6c27cef014822a6bc61b
* | Cleanup softap interface to netdIrfan Sheriff2012-06-191-18/+7
| | | | | | | | Change-Id: I01e6c5b5a5a8ddaf05b979f9cc6d1293c86e8773
* | Clear interface addresses upon disconnectIrfan Sheriff2012-06-111-2/+3
| | | | | | | | | | | | Change-Id: I8ce289cfc72babe894ce9f4d0119a2f2ac5f0859 Signed-off-by: Irfan Sheriff <isheriff@google.com> Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>