Pierre Vandwalle
ddfd35dbf9
add wifi config for power calculation
...
Change-Id: Ic312ffeb299d199547cc75bc6977140f8e6e5f7b
2015-03-24 19:30:02 -07:00
Prerepa Viswanadham
4209a28270
Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge
...
Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
2015-03-24 13:46:08 -07:00
Jan Nordqvist
3105289af3
Merge "More fixes to get passpoint working" into m-wireless-dev
2015-03-19 17:09:10 +00:00
Pierre Vandwalle
af3f1c995c
Merge "export API to disable autojoin scan initial implementation" into lmp-mr1-wfc-dev
...
automerge: 7c39808
* commit '7c398083319bbd1ad51d23cb307cfc3ac9091c3a':
export API to disable autojoin scan initial implementation
2015-03-19 02:58:01 +00:00
Vinit Deshpande
ad25bb8925
More fixes to get passpoint working
...
Change-Id: If8639bb0fd3bdaad7ee09217a9152c1695cb9354
2015-03-18 17:00:48 -07:00
xinhe
9954faa70d
Change rtt Framework interface
...
Bug:19735392
Change-Id: I0886d3c0e40a6dd5477c81a5df5dbc2746942ec3
2015-03-18 22:26:48 +00:00
Vinit Deshpande
2522c830a3
Fix scan results to hold passpoint data
...
Change-Id: I8ab75ec49226a59b04de6463de596cc9f5f6d800
2015-03-17 17:11:06 -07:00
Vinit Deshpande
04444427d0
Improve passpoint configuration validation
...
Change-Id: I717242b2f8b2e7d0f84c3a7c74c4672289387151
2015-03-16 14:07:55 -07:00
Robert Greenwalt
88dadfaa3b
am 7cff91ea: am 079cfa64: Merge "Frameworks/base: Fix a hashCode implementation"
...
* commit '7cff91ea67f89ca963a822daa1b68674bfc0e587':
Frameworks/base: Fix a hashCode implementation
2015-03-16 16:48:46 +00:00
Andreas Gampe
34a7d13a65
Frameworks/base: Fix a hashCode implementation
...
Equals uses Arrays.equals. That means two responses are equal if
the content of the data arrays is equal. By convention, the hash
code of those objects should agree. In that case one cannot use
hashCode on the array (which is the identity hash code).
Change-Id: Icce8e2e71e9142421f5dac8a0ee8a211623fb704
2015-03-15 14:38:59 -07:00
Vinit Deshpande
fd67bf63e6
am "add 2 side RTT support on scan"
...
merged from goog/mirror-m-wireless-internal-release
6e58424 add 2 side RTT support on scan
2015-03-15 13:42:38 -07:00
Vinit Deshpande
8115762514
am "Passpoint API - Take 1"
...
merged from goog/mirror-m-wireless-internal-release
b21d248 Passpoint API - Take 1
2015-03-15 13:39:33 -07:00
Vinit Deshpande
9e535b86ee
am "Do not provide 5GHz option for softap if there is no country code available"
...
merged from goog/mirror-m-wireless-internal-release
b938c0e Do not provide 5GHz option for softap if there is no country code available
2015-03-15 13:39:30 -07:00
Vinit Deshpande
a86f0741c7
am "get channel list from driver for SoftAP channel selection"
...
merged from goog/mirror-m-wireless-internal-release
18ae1d2 get channel list from driver for SoftAP channel selection
2015-03-15 13:37:54 -07:00
Vinit Deshpande
fc19120fc7
am "Revert "Initial Passpoint code.""
...
merged from goog/mirror-m-wireless-internal-release
5d7768f Revert "Initial Passpoint code."
2015-03-15 13:37:52 -07:00
Vinit Deshpande
53f8738448
am "Initial Passpoint code."
...
merged from goog/mirror-m-wireless-internal-release
2eba02a Initial Passpoint code.
2015-03-15 13:37:24 -07:00
Vinit Deshpande
b35f4efe15
am "set softAP on a specified band, including both 2.4 and 5 GHz band"
...
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
2015-03-15 13:34:56 -07:00
Pierre Vandwalle
5914caff06
export API to disable autojoin scan initial implementation
...
Change-Id: I28e268dd8b859a3a22c3d6f699216bbd7124af26
2015-03-13 13:58:53 -07:00
Vinit Deshpande
046ac5e6f7
Few changes to make API check happy [DO NOT MERGE]
...
These changes are made to make the API check in mwd-staging
happy. It doesn't look like they are needed in master branch;
so marking them as DO NOT MERGE.
Change-Id: I45363165b6a8ffe896cf9a31c0b3cb410aa69cba
2015-03-09 19:02:09 -07:00
Vinit Deshpande
0019e53e11
am "add 2 side RTT support on scan"
...
merged from partner/m-wireless-wifi-dev
6e58424 add 2 side RTT support on scan
2015-03-09 19:01:39 -07:00
Vinit Deshpande
d2585f3050
am "Passpoint API - Take 1"
...
merged from partner/m-wireless-wifi-dev
b21d248 Passpoint API - Take 1
2015-03-09 19:01:37 -07:00
Vinit Deshpande
e95944300e
am "Do not provide 5GHz option for softap if there is no country code available"
...
merged from partner/m-wireless-wifi-dev
b938c0e Do not provide 5GHz option for softap if there is no country code available
2015-03-09 19:01:37 -07:00
Vinit Deshpande
14a2008f63
am "Introduce onLost event on bssid hotlist [DO NOT MERGE]"
...
merged from partner/m-wireless-wifi-dev
ab325cb Introduce onLost event on bssid hotlist [DO NOT MERGE]
2015-03-09 19:01:36 -07:00
Vinit Deshpande
3cb5e4d72f
am "get channel list from driver for SoftAP channel selection"
...
merged from partner/m-wireless-wifi-dev
18ae1d2 get channel list from driver for SoftAP channel selection
2015-03-09 19:01:35 -07:00
Vinit Deshpande
76f9aceecf
am "Revert "Initial Passpoint code.""
...
merged from partner/m-wireless-wifi-dev
5d7768f Revert "Initial Passpoint code."
2015-03-09 19:01:34 -07:00
Vinit Deshpande
29267b6dd6
am "Initial Passpoint code."
...
merged from partner/m-wireless-wifi-dev
2eba02a Initial Passpoint code.
2015-03-09 19:01:33 -07:00
Vinit Deshpande
b4499afde5
am "set softAP on a specified band, including both 2.4 and 5 GHz band"
...
merged from partner/m-wireless-wifi-dev
a0be0fb set softAP on a specified band, including both 2.4 and 5 GHz band
2015-03-09 19:01:31 -07:00
Vinit Deshpande
1aa4dcee03
am "Bring in passpoint code [DO NOT MERGE]"
...
merged from partner/m-wireless-wifi-dev
7dd2f6b Bring in passpoint code [DO NOT MERGE]
2015-03-09 19:01:31 -07:00
Vinit Deshpande
472cca08eb
am "New Additions to WifiScanner APIs [DO NOT MERGE]"
...
merged from partner/m-wireless-wifi-dev
f45acfe New Additions to WifiScanner APIs [DO NOT MERGE]
2015-03-09 19:01:29 -07:00
Adam Lesinski
488caeb702
Change WiFi and Bluetooth ActivityEnergyInfo classes
...
Have them take an elapsed time millis timestamp instead
of having the constructor call System.currentTimeMillis.
Change-Id: Ic9ca8f92347c336beee8ebcc3407de2c1e5b4073
2015-03-09 15:28:29 -07:00
xinhe
6e58424f5b
add 2 side RTT support on scan
...
Bug:19533713
Change-Id: I6b7a32aae1a038eb2941f5564d03a4a0286d5bf3
2015-03-04 15:26:49 -08:00
John Spurlock
08c7116ab9
Remove unused imports in frameworks/base.
...
Change-Id: I031443de83f93eb57a98863001826671b18f3b17
2015-02-28 14:47:49 -05:00
xinhe
a357b5adf0
Merge "Do not provide 5GHz option for softap if there is no country code available" into m-wireless-wifi-dev
2015-02-25 23:34:40 +00:00
Vinit Deshpande
c4423a5f0a
Merge "Passpoint API - Take 1" into m-wireless-wifi-dev
2015-02-25 20:04:00 +00:00
Vinit Deshpande
b21d2489c1
Passpoint API - Take 1
...
Added some common fields to WifiConfigurations; which
should be used with WifiEnterpriseConfig. The network
information is saved in a file.
Change-Id: Ica2069900dfc373e14792cbe81a185586e2954cc
2015-02-24 18:25:59 -08:00
xinhe
b938c0e203
Do not provide 5GHz option for softap if there is no country code available
...
Bug:19414134
Change-Id: I88da5c3d547522263394403c97147baabae45394
2015-02-23 15:58:21 -08:00
Vinit Deshpande
ab325cbcc8
Introduce onLost event on bssid hotlist [DO NOT MERGE]
...
Change-Id: I84c3174398fea9a1456fb007586c2c559dd3fe4d
2015-02-20 16:35:38 -08:00
xinhe
18ae1d2207
get channel list from driver for SoftAP channel selection
...
Instead of hard coding the available channel list, we should
get channel list from driver
Bug:19237543
Change-Id: Id2ec689273407f54709cb034d6ba666f91da51c0
2015-02-04 17:19:33 -08:00
Vinit Deshpande
5d7768ff5e
Revert "Initial Passpoint code."
...
This reverts commit 2eba02a11234c9cfa6c597effb4f32349826cee4.
Change-Id: I11da074b8d8990fc01faac3586fd3488f76af326
2015-02-04 01:37:10 +00:00
Jan Nordqvist
2eba02a112
Initial Passpoint code.
...
Change-Id: Ie4800b408d979c31c5cebef7d4a60a9a040d7200
2015-01-30 00:01:32 +00:00
vandwalle
b53d1a2794
Merge "aggressively blacklist WifiConfiguration for the purpose of switching network" into lmp-mr1-dev automerge: d169839 automerge: 0a22d43
...
automerge: 7e553a0
* commit '7e553a06a0506529563c6a0920e0de2a0d48cedc':
aggressively blacklist WifiConfiguration for the purpose of switching network
2015-01-29 05:04:48 +00:00
vandwalle
7e553a06a0
Merge "aggressively blacklist WifiConfiguration for the purpose of switching network" into lmp-mr1-dev automerge: d169839
...
automerge: 0a22d43
* commit '0a22d43c9143475c889ce54f0de6261e8857ab9d':
aggressively blacklist WifiConfiguration for the purpose of switching network
2015-01-29 05:00:44 +00:00
vandwalle
8650c03560
aggressively blacklist WifiConfiguration for the purpose of switching network
...
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
2015-01-23 18:35:27 -08:00
xinhe
08cbd3e156
Merge "set softAP on a specified band, including both 2.4 and 5 GHz band" into m-wireless-wifi-dev
2015-01-16 19:30:09 +00:00
xinhe
a0be0fb270
set softAP on a specified band, including both 2.4 and 5 GHz band
...
Bug:18929692
Change-Id: I6109b477937b0ecab95f5a2b414f2bec9b30e1cd
2015-01-16 10:53:15 -08:00
Vinit Deshpande
7dd2f6b57b
Bring in passpoint code [DO NOT MERGE]
...
This change brings in all the passpoint code from master
to here - so that all development can be done with partners
Change-Id: I9185c35c69630ffb9b4313f973893996051075ed
2015-01-12 15:30:53 -08:00
Vinit Deshpande
f45acfe096
New Additions to WifiScanner APIs [DO NOT MERGE]
...
Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.
Bug: 18087596
Bug: 17694040
Bug: 18059273
Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
2015-01-12 14:22:45 -08:00
vandwalle
1c9c3f4e9b
am a3c187bc: am f87606fe: Merge "add debug logs to confirm network flapping 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
2014-12-18 22:28:38 +00:00
vandwalle
67878bb5ea
am a3c187bc: am f87606fe: Merge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into lmp-mr1-dev
...
* commit 'a3c187bc1f97dc098ff939cfe937a482a9bdf7fb':
add debug logs to confirm network flapping issue is fixed Bug:18706288
2014-12-18 22:26:38 +00:00
vandwalle
72e1d3f538
add debug logs to confirm network flapping issue is fixed
...
Bug:18706288
Change-Id: I59378faafbccfa58639d942c8b8e2e0e815261f4
2014-12-17 16:38:58 -08:00