summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net/wifi/WifiConfiguration.java
Commit message (Collapse)AuthorAgeFilesLines
* Tethering: Turn off Wi-Fi Hotspot after inactivity (1/3)d34d2016-02-021-0/+10
| | | | | | | | Turn off the Wi-Fi hotspot after a specified time of inactivity. The hotspot is considered to be inactive when no clients are connected to it. Change-Id: Ife48d5254b06b4e80841d5970984ab9979574e07
* wifi: Framework support for Ad-Hoc WiFi (IBSS mode)Bruno Randolf2015-10-261-0/+24
| | | | | | | * Backport from previous CM releases, adapted to new API Change-Id: Id175bbfb7500329d5f8abfe645106854c201b2fb Signed-off-by: Steve Kondik <steve@cyngn.com>
* wifi: Enhance WiFi Configuration to also include sim number.Sravanthi Palakonda2015-10-061-0/+17
| | | | | | | | | For EAP SIM/AKA/AKA` authentication to happen on a specific SIM , the SIM number has to be also a part of Wi-Fi configuration . This commit ensures the same. Change-Id: I3239c534bd8d221dc0af0174304427491a1d586b CRs-Fixed: 905749
* Wifi: Maintain configKey generation logic same in all APIsSravanthi Palakonda2015-10-061-11/+10
| | | | | | | | | | | AutoJoinController uses configKey to distinguish networks. It compares configKeys of saved network with recent ScanResult. WifiConfiguration has two different APIs to generate configKey based on input variables. Framework should use same logic to generate configkey even though input differs. This fix ensures the parity between configKey(boolean) and configKey(ScanResult) APIs. Change-Id: I0b0adacafaa656cbf96f24f178f99596162b155a
* Merge "correctly print wificonfiguration creation and update time" into mnc-devVinit Deshpande2015-07-011-2/+2
|\
| * correctly print wificonfiguration creation and update timePierre Vandwalle2015-07-011-2/+2
| | | | | | | | Change-Id: I1c4abf9bed86cddea3592f0604def1a7727b73fc
* | More API review feedbackVinit Deshpande2015-06-301-4/+4
|/ | | | | | | | | | ScanResult now hides all flags and their values, only methods are public; and converted roaming consortium to an array of longs instead of Longs. Bug: 22179306 Change-Id: I644110dbddd5fa7a7109ac16051845fcc4c4e9d1
* Address API review commentsVinit Deshpande2015-06-221-11/+9
| | | | | | | | | | | | | Added a flags field in ScanResult; along with flag values and methods to read them. Changed types of passpoint related fields. Bug: 21342042 Bug: 21572290 Bug: 21343777 Change-Id: I413960de88b387853d11b9e10f92665e9c06a81b
* add creation/update time to WifiConfigurationPierre Vandwalle2015-06-161-0/+20
| | | | Change-Id: Iaace83e752c8aa7d740a3dfad42cd8bba80a7a08
* Cleaned out "isValid" from WifiConfig.Jan Nordqvist2015-06-031-56/+2
| | | | | Change-Id: I028615e55700aa92889670297f1130397eba650f (cherry picked from commit c50315e014efded84b8f1981602951011816360b)
* fix annoying typoPierre Vandwalle2015-06-021-6/+6
| | | | | Change-Id: Ic8411d622755ee168da6495d2e86201fb3c1154f (cherry picked from commit c4ea0369dd01ec1ed53b5c8930d2f3831d793442)
* Merge commit '17455a3' into master_mergePrerepa Viswanadham2015-05-011-1/+1
|\
| * Changed logging tag.Jan Nordqvist2015-04-271-1/+1
| | | | | | | | Change-Id: I9a916305910c65425ffe7ea8d5a29dba0ee9a8da
* | Merge commit '7e5e791' into merge2Etan Cohen2015-04-241-2/+2
|\ \ | |/ | | | | Change-Id: Ie4889e3448b905afe5c0df453da96df0735e60d7
| * Fix build error on APIxinhe2015-04-211-2/+2
| | | | | | | | Change-Id: Id7024feb6baf8c6cc607702b3ac90dfbd3d483ba
* | Merge commit '4cb5d80' into merge2Etan Cohen2015-04-241-0/+2
|\ \ | |/
| * set softAP band selection API hiddenxinhe2015-04-211-0/+2
| | | | | | | | | | | | 20460598 Change-Id: I2a13961896bacf0bd67c387dc1983dc45ca0e52d
* | Merge commit 'c91bc62' into merge2Etan Cohen2015-04-241-1/+1
|\ \ | |/
| * A few minor fixes for EAP-TLS.Jan Nordqvist2015-04-171-1/+1
| | | | | | | | Change-Id: I807d44d1bd84b929d21df402542c4b6f1f646b30
* | Add a noInternetAccessExpected boolean to WifiConfiguration.Lorenzo Colitti2015-04-151-0/+12
| | | | | | | | | | | | | | | | | | This will be set if the user explicitly confirms a connection to a Wi-Fi network without Internet access and checks the "don't ask again" box. Bug: 20081183 Change-Id: I75223ae41dbf0d3a827527a0a131855d8eb4c515
* | Add an UNKNOWN_UID constant to WifiConfiguration.Lorenzo Colitti2015-04-151-1/+6
| | | | | | | | | | | | | | | | | | | | This value will be used to indicate that one of the various UIDs tracked stored in the WifiConfiguration is unknown. Currently the code just uses "-1" everywhere for this purpose; a constant is clearer. Bug: 20081183 Change-Id: Id865da9284f642587eed11f67685e5b12ce772c2
* | Merge commit 'e593d0a' into merge_workPrerepa Viswanadham2015-04-101-13/+25
|\ \ | |/ | | | | Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
| * API for config app.Jan Nordqvist2015-04-071-13/+25
| | | | | | | | Change-Id: Icda0ac1b081a08f438645ccf3667b5b81cb5e244
* | Merge commit 'b2ff415' into merge_workPrerepa Viswanadham2015-04-101-183/+2
|\ \ | |/ | | | | Change-Id: I4f9c662112fc49e4f94315d3c69860607be3bc1e
| * Remove scanResultCache from WifiConfigurationVinit Deshpande2015-03-311-183/+2
| | | | | | | | | | | | | | | | | | | | This is in preparation to use ScanDetail - which is a superset of ScanResult - in wifi stack. There are no external users of scanResultCache; so it can be safely removed. Also fixed a javadoc comment for getPlmn() Change-Id: I7c49532664ffe2e3e5e134bfcd42615d5999d02f
* | Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into ↵Prerepa Viswanadham2015-03-241-4/+19
|\ \ | |/ | | | | | | | | master_merge Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
| * More fixes to get passpoint workingVinit Deshpande2015-03-181-2/+1
| | | | | | | | Change-Id: If8639bb0fd3bdaad7ee09217a9152c1695cb9354
| * Fix scan results to hold passpoint dataVinit Deshpande2015-03-171-0/+11
| | | | | | | | Change-Id: I8ab75ec49226a59b04de6463de596cc9f5f6d800
| * Improve passpoint configuration validationVinit Deshpande2015-03-161-4/+9
| | | | | | | | Change-Id: I717242b2f8b2e7d0f84c3a7c74c4672289387151
| * am "Passpoint API - Take 1"Vinit Deshpande2015-03-091-22/+48
| |\ | | | | | | | | | | | | merged from partner/m-wireless-wifi-dev b21d248 Passpoint API - Take 1
| * \ am "get channel list from driver for SoftAP channel selection"Vinit Deshpande2015-03-091-14/+0
| |\ \ | | | | | | | | | | | | | | | | merged from partner/m-wireless-wifi-dev 18ae1d2 get channel list from driver for SoftAP channel selection
| * \ \ am "set softAP on a specified band, including both 2.4 and 5 GHz band"Vinit Deshpande2015-03-091-0/+41
| |\ \ \ | | | | | | | | | | | | | | | | | | | | merged from partner/m-wireless-wifi-dev a0be0fb set softAP on a specified band, including both 2.4 and 5 GHz band
* | \ \ \ am "Passpoint API - Take 1"Vinit Deshpande2015-03-151-21/+48
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | merged from goog/mirror-m-wireless-internal-release b21d248 Passpoint API - Take 1
| * | | | Passpoint API - Take 1Vinit Deshpande2015-02-241-22/+48
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Added some common fields to WifiConfigurations; which should be used with WifiEnterpriseConfig. The network information is saved in a file. Change-Id: Ica2069900dfc373e14792cbe81a185586e2954cc
* | | | am "get channel list from driver for SoftAP channel selection"Vinit Deshpande2015-03-151-14/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | merged from goog/mirror-m-wireless-internal-release 18ae1d2 get channel list from driver for SoftAP channel selection
| * | | get channel list from driver for SoftAP channel selectionxinhe2015-02-041-14/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | Instead of hard coding the available channel list, we should get channel list from driver Bug:19237543 Change-Id: Id2ec689273407f54709cb034d6ba666f91da51c0
* | | am "set softAP on a specified band, including both 2.4 and 5 GHz band"Vinit Deshpande2015-03-151-0/+43
|\ \ \ | |/ / | | | | | | | | | | | | | | | merged from goog/mirror-m-wireless-internal-release a0be0fb set softAP on a specified band, including both 2.4 and 5 GHz band Change-Id: I8f2514dfc35fafddc52d9244a093f2924697b748
| * | set softAP on a specified band, including both 2.4 and 5 GHz bandxinhe2015-01-161-0/+41
| | | | | | | | | | | | | | | Bug:18929692 Change-Id: I6109b477937b0ecab95f5a2b414f2bec9b30e1cd
* | | Remove unused imports in frameworks/base.John Spurlock2015-02-281-3/+0
| | | | | | | | | | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* | | Merge "aggressively blacklist WifiConfiguration for the purpose of switching ↵vandwalle2015-01-291-0/+46
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | network" into lmp-mr1-dev automerge: d169839 automerge: 0a22d43 automerge: 7e553a0 * commit '7e553a06a0506529563c6a0920e0de2a0d48cedc': aggressively blacklist WifiConfiguration for the purpose of switching network
| * | aggressively blacklist WifiConfiguration for the purpose of switching networkvandwalle2015-01-231-0/+46
| |/ | | | | | | | | | | | | | | | | | | In cases where networks are not properly configured, WiFi might tries to repeatdly switch from one network to a bad network, or might try to roam and renew DHCP which can fail. In KK, WiFi autojoin would try other networks (by cycling to network it sees) and end up associated to a "good" network. In L release even thought WiFi might pick a good network it will still repeatedly try to switch to what it thinks is a better network and fail, thus annoying the user whose connection becomes unstable. This CL tries to remember networks that have seen multiple DHCP or auth failure in the past and for those networks it disable roaming temporarily. That is, if wifi is not associated to any network, it will tries to join a network aggressively, however if wifi is currently associated to a network, it will not try to switch to a new network if that new network has seen multiple failure in the past. The maximum blacklist time is set to 2 days for now. An example of such situation is: - user has multiple SSID at home, one of which is incorrectly configured with a wrong password - broken DHCP situation (potentially: multiple servers on home network, broken implementation incorrecting NAK'ing DHCP requests but properly serving DHCP offer...) Bug:18792931 Change-Id: I332a9cebdc19be2e00b455205d386fcffcb70b29
* | am a3c187bc: am f87606fe: Merge "add debug logs to confirm network flapping ↵vandwalle2014-12-181-3/+15
|\ \ | |/ | | | | | | | | | | | | | | issue is fixed Bug:18706288" into lmp-mr1-dev automerge: 67878bb * commit '67878bb5ea8b4cc873a25ab577a94a8d6f122dc1': add debug logs to confirm network flapping issue is fixed Bug:18706288
| * add debug logs to confirm network flapping issue is fixedvandwalle2014-12-171-3/+15
| | | | | | | | | | | | Bug:18706288 Change-Id: I59378faafbccfa58639d942c8b8e2e0e815261f4
* | am fa205fff: am 9ef07ad2: Merge "make sure wificonfiguration scan cache ↵Prem Kumar2014-12-141-0/+36
|\ \ | |/ | | | | | | | | | | | | | | doesnt grow unbounded Bug:18703749" into lmp-mr1-dev automerge: da6ebb4 * commit 'da6ebb4ee29fff8b5455cd8b779aaabc029cd3b5': make sure wificonfiguration scan cache doesnt grow unbounded Bug:18703749
| * make sure wificonfiguration scan cache doesnt grow unboundedvandwalle2014-12-111-0/+36
| | | | | | | | | | | | Bug:18703749 Change-Id: I8e35d602a80b341668d9607db2da3ca6fdb970ae
* | Merge commit 'ec3e9805dd7c527f961d1f2a14e5752b461186ca' into fix-merge-conflictWink Saville2014-11-121-8/+31
|\ \ | |/ | | | | | | | | | | Conflicts: wifi/java/android/net/wifi/WifiConfiguration.java Change-Id: If52be614cadf80955025097589f922072363e7ba
| * dont blacklist wifi config that have had validated internet status in the pastvandwalle2014-11-101-8/+31
| | | | | | | | Change-Id: Iadb4e0e1beeb9e582b944e003470815a5a865652
* | am 1199a4c4: am f2a598e4: am 074c5b5b: Merge "Don\'t drop ↵Jeff Davidson2014-10-151-1/+5
|\ \ | |/ | | | | | | | | | | WifiConfiguration\'s ephemeral bit on copy/parcel." into lmp-mr1-dev * commit '1199a4c436b4e08306c02f615360e233124bff55': Don't drop WifiConfiguration's ephemeral bit on copy/parcel.
| * Merge "Don't drop WifiConfiguration's ephemeral bit on copy/parcel." into ↵Jeff Davidson2014-10-151-1/+5
| |\ | | | | | | | | | lmp-mr1-dev
| | * Don't drop WifiConfiguration's ephemeral bit on copy/parcel.Jeff Davidson2014-10-061-1/+5
| | | | | | | | | | | | | | | Bug: 15892711 Change-Id: I4a027c99634a11d13bb3c8420ba959c201644689