1007 Commits

Author SHA1 Message Date
xinhe
ebc5ced56e No Permission check for WiFi RTT
Bug:19918231
Change-Id: I98aea756cc15683596096e46da48efe0737ae1d1
2015-04-24 22:17:48 +00:00
xinhe
7e5e791d22 Fix build error on API
Change-Id: Id7024feb6baf8c6cc607702b3ac90dfbd3d483ba
2015-04-21 15:42:03 -07:00
xinhe
b99d4144c4 Merge "set softAP band selection API hidden 20460598" into m-wireless-dev 2015-04-21 21:39:07 +00:00
xinhe
023158cbbc set softAP band selection API hidden
20460598

Change-Id: I2a13961896bacf0bd67c387dc1983dc45ca0e52d
2015-04-21 14:33:14 -07:00
Jan Nordqvist
37f0820d6c Changed [gs]etDomSubjectMatch to [gs]etDomainSubjectMatch.
Change-Id: I42a69320a95a96522500375e3e101c159ee5bf1b
2015-04-21 21:12:10 +00:00
Jan Nordqvist
c91bc62f2b Added setDomSuffixMatch for AAA cert suffix matching.
Change-Id: I112399d2ce3d940ccf4451477b3b4edb93010b42
2015-04-17 21:22:37 +00:00
Jan Nordqvist
6593256e78 A few minor fixes for EAP-TLS.
Change-Id: I807d44d1bd84b929d21df402542c4b6f1f646b30
2015-04-17 21:22:03 +00:00
xinhe
7f61051949 enable RTT capability exception
Bug:20299517
Change-Id: I497cc08b90f720d1717e107f93f75fda4212c8a8
2015-04-16 15:34:00 -07:00
Pierre Vandwalle
127217a340 add disconnected scan parameter, add bytes[] container to scanResults
Change-Id: I201b52064ea764ddd406c25c86f41887029ff225
2015-04-14 17:16:15 -07:00
Vinit Deshpande
0326f585e1 Merge "API for config app." into m-wireless-dev 2015-04-07 22:12:40 +00:00
Jan Nordqvist
e9b056f886 API for config app.
Change-Id: Icda0ac1b081a08f438645ccf3667b5b81cb5e244
2015-04-07 14:59:37 -07:00
xinhe
d5351e7b60 RTT framework interface update
Bug:19917983
Change-Id: I1c89c4c583923137983243814e35c8981f6db54a
2015-04-07 18:34:27 +00:00
Vinit Deshpande
b4d90fca0e Implement 'Available via Passpoint' feature
This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: Ib4de956f2ea29709d0212fbcb392815644800e78
2015-04-03 18:03:04 -07:00
Vinit Deshpande
6f6c781cca Remove scanResultCache from WifiConfiguration
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
2015-03-31 15:51:55 -07:00
Jean-Michel Bachot
adf9e95ecc EAP-AKA' : Add support of EAP-AKA' in WiFi Enterprise methods
EAP-AKA' is a new hidden method

Change-Id: Ic103b25ad58807eebd5e0f8eefe3bfc02397aedc
Signed-off-by: Jean-Michel Bachot <jean-michel.bachot@intel.com>
Signed-off-by: Abdelmajid MLAYEH <abdelmajidx.mlayeh@intel.com>
2015-03-25 15:38:28 -07:00
Pierre Vandwalle
ddfd35dbf9 add wifi config for power calculation
Change-Id: Ic312ffeb299d199547cc75bc6977140f8e6e5f7b
2015-03-24 19:30:02 -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
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
xinhe
6e58424f5b add 2 side RTT support on scan
Bug:19533713
Change-Id: I6b7a32aae1a038eb2941f5564d03a4a0286d5bf3
2015-03-04 15:26:49 -08: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
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
72e1d3f538 add debug logs to confirm network flapping issue is fixed
Bug:18706288

Change-Id: I59378faafbccfa58639d942c8b8e2e0e815261f4
2014-12-17 16:38:58 -08:00
vandwalle
53d1f07073 make sure wificonfiguration scan cache doesnt grow unbounded
Bug:18703749

Change-Id: I8e35d602a80b341668d9607db2da3ca6fdb970ae
2014-12-11 02:58:44 -08:00