3112931546f051366df4fd15bd3236f11875a915 |
|
15-Jan-2017 |
pkanwar <pkanwar@google.com> |
DO NOT MERGE: Fix to enable reconnecting to a Carrier network. We now generate a new Config for each connection attempt. BUG: 30760683 Change-Id: I88393ecc2964e299e80f6f2802dd85a142e1f473
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
936d25cfe7a682337e9a9c39412650c9ae3ff312 |
|
13-Jan-2017 |
pkanwar <pkanwar@google.com> |
DO NOT MERGE: Fix to maintain the Carrier Network connection. Added isCarrierNetwork param in WifiConfiguration, which is then used in WifiStateMachine. After this change, the connection to Carrier Network should be maintained. BUG: 30760683 Change-Id: Ie6df849182aafc018e336631c502ff7749bfdc35
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
ab9a573e3138911e08d037a6996297be30be20bc |
|
26-Dec-2016 |
pkanwar <pkanwar@google.com> |
DO NOT MERGE ANYWHERE: Connect to Carrier networks if enabled in Settings. After this change the WifiQualifiedSelector will only connect to Carrier networks if enabled in the Settings. Provided a method in WifiConfigManager that will be used to decide if we try connecing to the Carrier network. BUG: 30760683 Change-Id: I5c6841f784bd82f3811837331d3dd0c795da7688
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
68b8c4c1ccdd9fec67a96a2a4e8df284ce15bb7e |
|
21-Dec-2016 |
pkanwar <pkanwar@google.com> |
DO NOT MERGE: Add API to indicate carrier networks. Bug: 31003437 Change-Id: I4a5374b59d08fd8ec8ffbff007764e3f277f79df
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
14145984773a3ffb992723045dd6d829c6328b83 |
|
19-Dec-2016 |
pkanwar <pkanwar@google.com> |
DO NOT MERGE: Allow Carriers to specify Wifi Networks. Added support for Carrier networks. Added functionality to read Carrier networks from Carrier Config. Bug: 31003437 Test: Added new tests, regression tests passed (frameworks-wifi). Change-Id: I9c3c03e2ab4a459898bec125f9dea8f96977e04f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
e22b68960966645a77cb71042879a4ab0d9bd638 |
|
23-Nov-2016 |
pkanwar <pkanwar@google.com> |
DO NOT MERGE: Allow Carriers to specify Wifi Networks. Added a new evaulator for Carrier networks. Added functionality to read Carrier networks from Carrier Config. Bug: 31003437 Test: Added new tests, regression tests passed (frameworks-wifi)Allow Carriers to specify Wifi Networks. Change-Id: I226fb716a2a2883a8b2630c0d4e8cd51636b1089
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
70570f92c6e0a65c144c8df2e5639ef454f1dc7a |
|
05-Nov-2016 |
Randy Pan <zpan@google.com> |
DO NOT MERGE: QNS: less agressive roaming When connected, QNS no longer triggers network switching if the current network didn't show up in the scan results. While there, fixed a QNS unit test failure. Bug: 31707128 Test: Wifi Unit Tests Change-Id: I24a16828fb60af4015a4faf4e00c356898729173
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
a8a5644b48660a166adfad9fdc274cbdb44cdf4b |
|
27-Oct-2016 |
Randy Pan <zpan@google.com> |
DO NOT MERGE: Check on whether an ephemeral network is deleted Add quotes to ScanResult.SSID before passing it to WifiConfigManager#waswasEphemeralNetworkDeleted. While there, improved the java doc of WifiConfigManager#waswasEphemeralNetworkDeleted to make it clear that SSID surrounded by quotes is expected. Bug: 32205260 Test: Ephemeral network added by WiFi Assistant can be forgotten Change-Id: I45afd45fd7257a31ec16aca5b6ae765d417ecead
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
fbc0f388aacac432f5abfadfd25e212d5e4b159b |
|
08-Sep-2016 |
Randy Pan <zpan@google.com> |
QNS: currently connected network BSSID Always get the currently conntect network BSSID from WifiInfo in case that firmware roaming switched the device to a different BSSID than the one previously chosen by QNS. Bug: 31317902 Change-Id: I6f69144e2a386481d127dbd1ba997e2879c6e000 Tests: unit tests and manual test
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
828b94eca5e0ffa67448f67a9dfb4d7eb492312a |
|
23-Jul-2016 |
Randy Pan <zpan@google.com> |
QNS: candidate network BSSID QNS recommends a network for WCM to connect or roam to by returning that network's configuration with the BSSID stored in the 'candidate' field. In a corner case that if 1) two APs are within the same network (SSID), 2) the two APs get exactly the same QNS score (one AP has higher RSSI value but 2.4GHz, and the other is 5GHz but lower RSSI), and 3) the 5GHz AP shows up in the scan results before the 2.4GHz AP, QNS sets the wrong BSSID value. This change fixes that problem. Bug: 30184472 Change-Id: I8c67ab194571ba17b853eae617fb659017f72969 Test: WiFi Framework Unit Tests & manual tests
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
1e911c92133843fc0a50a1b1c6f654f62e7c98a8 |
|
17-Jun-2016 |
Randy Pan <zpan@google.com> |
Cut down Wifi local log buffers size The new buffer size can hold up to around 3 hours of logs. This can be further optimized later after we have more usage data. The goal is to save the logs from the last one hour only. Bug: 29179543 Change-Id: I99e15531328fdb03df28dcf5a014deb2f074b254
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
73b62544391a0a15d9ca2dd7feb7797751026c0f |
|
07-Jun-2016 |
Randy Pan <zpan@google.com> |
QNS: cut down BSSID blacklist time to 5 minutes Today the association to an AP can be rejected because of either the rejection from the AP or the STA host driver time-out. The WiFi framework receives the same ASSOC_REJECT messages for both scenarios. Cut down the blacklist time value to 5 mins for now. When we can differentiate these two types of rejections, the blacklist time for the real AP rejection can go back to 30 minutes. Bug: 28899826 Change-Id: I785e13140bfdfbefbae17320c247ae1c8134fa92
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
15941215e85f924765f00779e9b5daff9ed6f118 |
|
24-May-2016 |
Randy Pan <zpan@google.com> |
Wifi: local log size reduction Cut down the max number of lines allowed in Wifi LocalLogs. Currently LocalLog checks the number of lines in its buffer instead of total size in number of bytes. The buffer being used can grow really big if some lines are lengthy. Bug: 28865103 Change-Id: I7f77de1048bb465b79265b3ecb3a925e3a2659d9 Test: Wifi Framework Unit Tests
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
ee0ab818341d44614ffe56ae73ecc08b974c2cbb |
|
20-May-2016 |
Roshan Pius <rpius@google.com> |
Change clock for time interval/elapsed measurments 1. Use the clock retrieved from WifiInjector in more modules: QNS, Scanner, WifiConfigManager. 2. Use |elapsedRealtime| for time interval/elapsed measurments. Things like scan results, config elements still continue to use |currentTimeMillis| Also, 1. Had to make |tryEnableQualifiedNetwork| public to prevent mockito from calling the real method in WifiConfigManager. 2. Move keystore also into WifiInjector. BUG: 28299258 BUG: 28824635 Change-Id: I91272aa5665abb741da7530d8920d09c8c5ea41f TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
4623817eb6b784f160763a22b3e06891ab11cf20 |
|
03-May-2016 |
Glen Kuhne <kuh@google.com> |
Fix null configs passed to WifiLastResortWatchdog This CL fixes a bug where scan results were being paired with null configs instead of their associated WifiConfiguration, and passed to WifiLastResortWatchdog. This lead to the watchdog trigger potentially not activating. BUG=28476482 Change-Id: I0a10fc2309cf2199001dc440ed93ceaa3c891dba
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
1e5f0667515826cdc9c85a63a82c4c48cad446c2 |
|
22-Apr-2016 |
Ningyuan Wang <nywang@google.com> |
Do not use ANQP when Wifi is connecting or connected Sending ANQP request when wifi is connecting or connected may fail the connection. This CL fixes it by adding a parameter to WifiConfigManager ::updateSavedNetworkWithNewScanDetail(). This boolean value can indicate that we are connecting or connected. Link debouncing is also considered as connecting in this case. BUG=26494190 TEST=runtest frameworks-wifi Change-Id: Ic4dfd0c0ba0392da68b6705d18fb82d92f44e508
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
ea2048738be95ae9d5367a42ba798503a7039a6b |
|
15-Apr-2016 |
Jeremy Joslin <jjoslin@google.com> |
Use external scores on saved networks if requested. When a saved network has the useExternalScores boolean set to true then lump it in with the ephemeral networks when considering it as a candidate. Externally scored saved networks are only considered if a saved network candidate cannot be found. BUG: 25562019 Change-Id: Icdb7318103e14e518536c3179cd30c87cc2c3035
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
a6b66a48b231f5729b8015d3446feb4c2fa0a9d1 |
|
06-Apr-2016 |
Roshan Pius <rpius@google.com> |
QNS: Skip ephemeral networks deleted by user Skip ephemeral networks which were explicitly deleted by the user. This was missed in migration from autojoin to QNS. BUG: 28026676 Change-Id: Ib663183b29774b851e492ddd170c4b4bef03ae61 TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
09abbe29be6e552a2531b0367bd6d29647d33767 |
|
30-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Created LastResortWatchdog class Created the WifiLastResortWatchdog class, that will handle restarting the wifi stack as a last resort when wifi is failing. Implemented the logic that tracks failure counts for all available networks, and the maintaining of that list of available networks. BUG=27856523 Change-Id: I8c944d033955ad7e5cc9484cce8f20cd3755312e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
7429ca2593265cc1b97fb0d616ef3c07364b2931 |
|
12-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Merge "Rename WifiConfigManager.getConfiguredNetworks()" into nyc-dev
|
19628835ddf7b7557ff61dfdf00e916abc2c13d2 |
|
11-Apr-2016 |
Randy Pan <zpan@google.com> |
Remove check for roaming by supplicant from QNS With network switching and roaming by wpa_supplicant disabled, QNS does not have to check for that any more. Bug: 27932378 Change-Id: Iba4639b88e9369148ce3d398203d69c9e9ef8d20
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
030b802722b896b2139e0771a2ceee48bd19699d |
|
11-Apr-2016 |
Randy Pan <zpan@google.com> |
Keep QNS local log enabled While there, changed the local log method name and tags for log dumping to comply with the Wifi stack naming convention. Bug: 27765462 Change-Id: Ie07b4730d58a2768c6f6a2d37fc0b20c6852a3ba
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
60969bf2c849011fb585cf6dc914dbd779dfb8cf |
|
11-Apr-2016 |
Samuel Tan <samueltan@google.com> |
Rename WifiConfigManager.getConfiguredNetworks() Rename WifiConfigManager.getConfiguredNetworks() and related methods to WifiConfigManager.getSavedNetworks, since it better reflects what this method does (i.e. get all configured networks except ephemeral networks). While there, add comments for some previously undocumented helper methods. BUG: 28088229 Change-Id: I30e144b46277605f5847371d9e65b70306013cf5 TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
f1c2e8cc3728f65aee24905ad5c44e84891f0693 |
|
08-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Added buffering of filtered ScanDetails to QNS" into nyc-dev
|
0efd09fea566f4445807b6aff60b18e127e72d38 |
|
31-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Added buffering of filtered ScanDetails to QNS Added logic to buffer the scanDetails considered by QualifiedNetworkSelection as potential candidates (has a saved config, and signal strength over threshold). And a getter to access these. BUG=27932650 Change-Id: I4e04194c944f7d8a18719d7dfc7b66cbf42eb5af
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
73a52d3336a40903965b946f6d3624a223ad5aac |
|
07-Apr-2016 |
Samuel Tan <samueltan@google.com> |
WifiConfigManager: rename member and constant fields Rename fields in WifiConfigManager to properly reflect that they are members (m* prefix), and constants (all caps with underscores). To accomodate this change, also modify uses of these fields outside WifiConfigManager (e.g. in WifiStateMachine). Also: - Remove default values given to WifiConfigManager member fields that are initialized in its constructor, since the initalization renders the default values useless. - Remove member fields and constants that are unused. - Replace the "*Milli" suffix on fields with "Ms". - Re-ordered fields in a logical manner (i.e. static, public, then private). - Fixed checkstyle issues. BUG: 27300099 Change-Id: Ifaef76bc04960f12f09267a581b9a02da7c5ab5c TEST: 'runtest frameworks-wifi' passes. TEST: Checkstyle returns only missing javadoc errors.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
84d962ec8f487f824214744498bba505a6db0c59 |
|
11-Feb-2016 |
Randy Pan <zpan@google.com> |
Wifi Connectivity Manager Created a submodule which manages all the WiFi connectivity related operations. It starts a scan when screen turns on/off, WiFI gets connected/disconnected or on demand. The scan results are passed to QNS for it to recommend a network to connect to. Clean up the relevant logic from WifiStateMachine. Bug: 26666366 Bug: 27227489 Bug: 27677391 Bug: 27364917 Change-Id: I65405506ff55940d0b23f1407e476bff6fce47fa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
3ab8ec5cfa986b07e1c948af0f45bd333edef24c |
|
21-Mar-2016 |
Jeremy Joslin <jjoslin@google.com> |
Allow ephemeral WiFi conns to be marked as metered Pass through the metered hint from the score cache to the WifiStateMachine when making an ephemeral connection. The NetworkPolicyManagerService already looks for the hint after every NETWORK_STATE_CHANGED_ACTION and takes the correct action. BUG: 27120794 Change-Id: I3d4a5030724e8e0fb1084c67d74fb768bd9ad2b5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
e5f74b10e5011ffb33739b2ae3d7840db7a5155b |
|
29-Feb-2016 |
Randy Pan <zpan@google.com> |
Request score from NetworkScoreManager Fixed a regression from QNS that scores were never requested from the NetworkScoreManger. Bug: 27246174 Change-Id: Ie0795d45264d4d18a9f73669bf28a7475a6cf427
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|
2177731ae0a49be7dd66fd05dfb0ca73831b062c |
|
26-Feb-2016 |
Randy Pan <zpan@google.com> |
Correct WifiQualifiedNetworkSelection file name Rename WifiQualifiedNetworkSelection to WifiQualifiedNetworkSelector to be consistent with the class name. Bug: 27296738 Change-Id: I48d21b1361cc2331b09cab84282eb47017be7f23
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiQualifiedNetworkSelector.java
|