23216ca333dc411e6ce0829f777ca29992388443 |
13-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Cache only results of full single scans Change the single scan results caching logic inside WifiScanner: 1. Only cache scan results if they were for full scans. We've expanded the meaning of "full scans" to include both 2g + 5g and 2g + 5g + dfs. 2. Filter out any scan results from the cache if they're over 3 minutes old. The motivation of this CL is to solve these problems: 1. Do not overwrite full scan results requested by an external app (ex. Settings) with results from a partial scan (ex. from WifiConnectivityManager). This avoids the race condition where the settings app performs a scan and gets a partial list of results back because it was ovewritten by an internal partial scan request in between. 2. Scan results retrieved by apps will not contain stale scan results. In N, wpa_supplicant evicted any scan results which were older than 3 minutes from the cache. So, this CL restores that behavior. Bug: 38212080 Test: Verified that both the settings and wifi wake is working properly with the fix. Test: Will send for full regression tests (b/62711875). Test: New unit tests to verify that the partial scan results don't override the cache. Test: Modified existing unit tests to account for the change in behavior. The broadcast (and cache) is now only updated on full scans. Some of the tests were modified to produce full scan results, while the other tests expectations were modified for partial scan results. Change-Id: I4d6fb994d50995434f76218386272aa2562476fe
ifiScanningServiceImpl.java
ificondScannerImpl.java
|
04977155d75180c629a6c44b9db1fa9d2e250e76 |
08-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Revert "WifiScanningService: Don't cache results of partial scan"" into oc-dev
|
ae5d7343534f7f41c53f98a1782183405ff32a0d |
08-Jun-2017 |
Roshan Pius <rpius@google.com> |
Revert "WifiScanningService: Don't cache results of partial scan" This reverts commit 24dc6bb288a15516c89ab507bb86511556824144. BUG: 62394341 Change-Id: Ice9c5d34a374d5a600e0797504d3c4774e4b2ace
ifiScanningServiceImpl.java
|
0bb87ee68b2e35f7f442c009d81263f63ba9a426 |
07-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Remove WTF log for WificondScannerImpl This changes the log type from wtf to warning for inconsistent scan event log because we already have a fix for this. Bug: 62019591 Test: compile Change-Id: Ib0bd86f8d591905fc9d87c2de291cc3664bff7b7
ificondScannerImpl.java
|
e7ec898b26f04fca3390b2219965f365036b15ce |
01-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Report single scan failure on inconsistent event When mLastScanSettings is set for single scan but a pno scan event comes, we should report single scan failure event, so WifiSingleScanStateMachine won't stick in ScanningState forever. Bug: 62019591 Test: compile, unittests, manual tests, integration test Change-Id: I96bcc3fedf1eeb47e662225724ead1713e1a7ce2
ificondScannerImpl.java
|
e2e66be742947c65f882dd1fe6a267b1acf97001 |
01-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Dump SingleScanStateMachine events" into oc-dev
|
e29b548574b1dac325038659834d0a8fd28da01f |
01-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Dump SingleScanStateMachine events This is useful for single scan debugging. This also reduces the PnoScanStateMachine's locallog size, so as a result we won't increase the total log size. Bug: 62019591 Test: compile, unit tests, manual tests Change-Id: Ia59f24a977d332d7993448c0df41b4df6d038922
ifiScanningServiceImpl.java
|
24dc6bb288a15516c89ab507bb86511556824144 |
30-May-2017 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Don't cache results of partial scan These partial scan requests are initiated by the wifi stack when connected to a network for network selection purposes. This might interfere with full scan requests made by external apps. So, don't cache such partial scan results. The apps will always get results of the last full scan request made. Bug: 38212080 Test: Unit tests Test: Verified manually that the WifiManager#getScanResults() no longer outputs partial scan results. Change-Id: I5e320435e34c6bd74639dd13a480bb26ecea1edb
ifiScanningServiceImpl.java
|
9dc9a8750ecd1ab25c5b4c7d17c8930ca2ffb6c3 |
23-May-2017 |
Ningyuan Wang <nywang@google.com> |
Rename ChannelHelper.getSupplicantScanFreqs() We no longer use supplicant for scanning, so we need to rename this helper function. Since this helper function is not specifically for supplicant, this CL just removes the 'Supplicant' part in its name. This also fixes a few comments related to supplicant. Bug: 36031295 Test: compile, unit tests, manual tests Change-Id: Iabbf20e07b52ea015db227984511affaa055f205
hannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
ificondScannerImpl.java
|
2739f73dec628d2493e5447b71a83fe59c143fbd |
11-May-2017 |
Ningyuan Wang <nywang@google.com> |
Do not cancel scan timeout alarm on PNO scan result mScanTimeoutListener is only used for single scan timeout. Canceling this time out alarm on PNO scan result may leave WificondScannerImpl in the state where it is waiting for a single scan result event forever. This causes problems because it prevents processPendingScans() to accept any new single scan requests. Bug: 38139817 Test: compile, unit tests, manual tests, integration tests Change-Id: I7a4ab04a7702986cd2de53f595dd958704cef95f
ificondScannerImpl.java
|
b47a0de674df76df087f0a0d642aea2603bbf6ab |
27-Apr-2017 |
Ningyuan Wang <nywang@google.com> |
Remove networks from supplicant before starting PNO scan We only start PNO scan when network is disconnected and screen is off. In the case we get disconnected from an AP, supplicant will keep triggering scan and reconnect to that network. This behavior is useful for immediate reconnection. However, when PNO scan is on, the supplicant's single scan and PNO scan would usually fail each other because they share the same radio resource. This is causing power regression. With this patch, we remove networks from supplicant so supplicant will not keep scanning for reconnection when PNO scan is on. Bug: 37744179 Test: unit tests, manual test, integration test Change-Id: I03d4dea3b7f1acb51d716126f1057c13cd3ee9be
ificondScannerImpl.java
|
bb9016d1e5f7c2b27502e7d7db13b55460bca88b |
24-Mar-2017 |
Michael Plass <mplass@google.com> |
Cherry-picl: Remove bssid hotlist from framework Bug: 30147676 Test: Relevant unit tests pass, wifi functions Change-Id: Iac6a4c3d4a9e842e73b6122218fe0842126e43e7
alWifiScannerImpl.java
ifiScannerImpl.java
ifiScanningServiceImpl.java
ificondScannerImpl.java
|
6490231d83f30b48ac48e62e707ed68e1f3ef730 |
29-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Fix hidden network list comparision for scan merging" into oc-dev
|
8a9a103245ecfaf2c596603ccef884b870509566 |
29-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Fix hidden network list comparision for scan merging This fixes the case where we reject the scan merging because we think a null hidden network list and an empty hidden network list is practically different. Bug: 36697185 Test: compile, unit tests, integration test Change-Id: Ib0185f3ad962805b1939d2d108f82506eccf5940
ifiScanningServiceImpl.java
|
83e248aeeea818b3c4267c80fdd5d4eeb5197b63 |
28-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Remove temporary logging from WificondScannerImpl.java Bug: 36276738 Test: compile, wifi works Change-Id: I502463bf7f9bbcd3e899a39e5a1853b7003af482
ificondScannerImpl.java
|
13124e91e541c1a91cd91075064d5560cc2f7db0 |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Do not return member array reference upon CMD_GET_SINGLE_SCAN_RESULTS" am: 4990cf1ecd am: a94723b115 am: 1f16394997 Change-Id: I12f870225685ef48f680b6a32930455643696013
|
4990cf1ecd9df8da76ea60b56c414ff3271b30ce |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Do not return member array reference upon CMD_GET_SINGLE_SCAN_RESULTS"
|
1294ec27c04b8efffcd1d38056dfa7368eae39a4 |
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Separate single scan and sched scan result handling" am: 7a74c36073 am: f0f96d5741 am: b68f68e3bc Change-Id: I43fe1b256d1d35d4c7c7043d47f8927f3b6da517
|
6781d02916ada0ee87df09b68e4082e44932b25d |
20-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Do not return member array reference upon CMD_GET_SINGLE_SCAN_RESULTS If the caller is within the same process, this might cause concurrent access of mCachedScanResults. This patch uses a copy of this array instead. Bug: 34670610 Test: compile, unit tests, integration test Change-Id: I143ce97f21f172fe195a3b97383b9fb8d6e5e5b2
ifiScanningServiceImpl.java
|
51493e199ebf1e1191ccf652f0081d229018a11f |
21-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Separate single scan and sched scan result handling Bug: 36479602 Test: compile, unit tests, integration test Change-Id: I066619ca7c53cf7e8e53ce776c1b419201d522f1
ificondScannerImpl.java
|
e6a5d3f13010dad76e55e4c386d7c3f7154556fd |
16-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Add temporary logs in WificondScannerImpl" am: 9b7ac0c52f am: 94dfca04cf am: d5eb01234e Change-Id: Ia085f628fbcf37a4e8d426cd37b054c1fc4ace21
|
4bae3afd6041218b1eb2f0947d06c7839e6063e5 |
16-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Add temporary logs in WificondScannerImpl Bug: 36276738 Test: compile, manual test Change-Id: Ib94df5326ced497b7d32820d053763ceeda1800a
ificondScannerImpl.java
|
53aa2cc5f30cf53c73324a4629b404d49023a0dc |
15-Mar-2017 |
Michael Plass <mplass@google.com> |
Merge "BgScan rename for wifi vendor background scan" am: f66217fc1b am: 5af7cdd3d8 am: 1eef091776 Change-Id: I2d97934b64dec3c733a3f2528e5b1be210501d4d
|
6ba8a37de432d957e10dd9cc74798758870d02e6 |
14-Mar-2017 |
Michael Plass <mplass@google.com> |
BgScan rename for wifi vendor background scan Also clean up some stale todos Test: Unit tests pass Bug: 35806209 Bug: 34900537 stale todo fixed by b/35101185 Bug: 34901818 removed todo Bug: 34901744 retarget todo to b/35138520 Change-Id: I90a77a1aad7ff55c26ee70b383bcdbd16cac32cf
alWifiScannerImpl.java
ifiScannerImpl.java
|
efe96b06536c59bf0e47d83c5544b228caf5111f |
13-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Rename SupplicantWifiScannerImpl to WificondScannerImpl am: 05d51a2d8e am: e11ddc06aa am: bea1f6ae58 Change-Id: Ic65d1cc964329c93e53b5a3f3bc39a8bc9f68b06
|
05d51a2d8eb67ea2eaf4cae43280d1cf9fe92645 |
02-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Rename SupplicantWifiScannerImpl to WificondScannerImpl This also fixes a few formatting issues. Bug: 35707137 Test: compile, unit tests, integration test Change-Id: I1b6642b723c5676620d65136cc6c773b49e28559
alWifiScannerImpl.java
upplicantWifiScannerImpl.java
ifiScannerImpl.java
ifiScanningServiceImpl.java
ificondScannerImpl.java
|
75604d5cc2934b9740371f91f9b5e72e594f756b |
10-Mar-2017 |
Roshan Pius <rpius@google.com> |
Remove all legacy HAL usage from framework am: b8b3fb8228 am: 23014c56a4 am: dcb18d42a1 Change-Id: I1f68855260304b6be21e2184aeddd85fe4368542
|
b8b3fb8228a1f90106bad8c59ce006b81ef7921c |
09-Mar-2017 |
Roshan Pius <rpius@google.com> |
Remove all legacy HAL usage from framework WifiNative now just becomes a module to route calls into the appropriate native module: WifiVendorHal, WificondControl, SupplicantStaIfaceHal, SupplicantP2pIfaceHal. Changes in the CL: 1. Cleanup WifiNative to remove the legacy HAL usage. 2. Remove the |HIDL*| flags in WifiNative. 3. Remove static instance of WifiNative/WifiMonitor. 4. Remove WifiMonitor code parsing the string events from wpa_supplicant. 5. Remove all unused jni code used for legacy HAL interactions. 6. Remove dependency of libwifi-hal & libwifi-system from framework. Notes: a) We can now potentially split up WifiNative into separate chunks: WifiStaNative, WifiP2pNative, WifiRttNative, etc instead of having a monolithic WifiNative instance. b) We may have to add back the local log in WifiNative (b/36059665). Bug: 35702893 Bug: 34457880 Bug: 34884202 Bug: 35421721 Test: Compiles, existing unit tests pass. Test: Device boots up and connects to wifi networks. Test: Verified with wifi regression (b/36068282) Change-Id: I3e13522c912242af8023471e029edb1ce47fd3e9
alWifiScannerImpl.java
upplicantWifiScannerImpl.java
ifiScannerImpl.java
|
622fa1247e4fdbc588e9ff15ea36e5f1adb50a62 |
07-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Request Pno scan via wificond and re-enable pno scan am: 04c453c2e0 am: aa4cd04469 am: d591170013 Change-Id: Ie9b5bac0c47e7dc2faee7efec73e3597aa1e7c3e
|
04c453c2e07efc30b99528926f205740226f1c7b |
17-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Request Pno scan via wificond and re-enable pno scan Bug: 32977707 Test: compile, unit tests, manual test, will do integration test Change-Id: I3b7d5020aa695120a047a2d228fc6be5760e2343
upplicantWifiScannerImpl.java
ifiScanningServiceImpl.java
|
d7c6593969fd73e7e85ff885d06df541ca360d32 |
01-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Log the number of filtered scan results am: f82729c2cd am: a4d4ce37f6 am: 13c13a8b47 Change-Id: Ide2eb41535870f9095e5896933ca85edf0c42295
|
f82729c2cda359ebebffe8ea11d2fa95ada8486c |
01-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Log the number of filtered scan results Bug: None Change-Id: Ie6d969daca5e853e12de85958088ef168428e1f4 Test: compile, unit tests
upplicantWifiScannerImpl.java
|
d9e0e830e4b4f3c8397460cf5e197345df62c802 |
10-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Fix WifiScanningServiceImpl stand-alone unit test failure WifiAsyncChannel and WifiHandler objects use lazy intialization for the logging objects. WifiInjector.getInstance() may return a null object if the unit test is run by itself or if earlier tests have not created it. If the unit tests are able to update these instances with a logging objects that are not null, then unit test can pass stand-alone. - Add a method in FrameworkFacade to return new instances of WifiAsyncChannel - Update WifiAsyncChannel to expose setWifiLog() API for testing only - Call this method on instances of WifiAsyncChannel returned by the mock of FrameworkFacade factory to ensure mLog is not null - Add a method in WifiScanningServiceImpl, also meant for testing only to update WifiHandler with logging object - Change unit tests to call this method after starting scanning service Bug: 34127212 Test: WifiScanningServiceTest by itself and all unit tests pass Change-Id: I0bc7a55d6d6862e2360bfb20897828e84358dd39 Merged-In: I0bc7a55d6d6862e2360bfb20897828e84358dd39
ifiScanningServiceImpl.java
|
e7ebc3fba71f4f996794bc5fa939674f8b4b2c5a |
10-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Fix WifiScanningServiceImpl stand-alone unit test failure WifiAsyncChannel and WifiHandler objects use lazy intialization for the logging objects. WifiInjector.getInstance() may return a null object if the unit test is run by itself or if earlier tests have not created it. If the unit tests are able to update these instances with a logging objects that are not null, then unit test can pass stand-alone. - Add a method in FrameworkFacade to return new instances of WifiAsyncChannel - Update WifiAsyncChannel to expose setWifiLog() API for testing only - Call this method on instances of WifiAsyncChannel returned by the mock of FrameworkFacade factory to ensure mLog is not null - Add a method in WifiScanningServiceImpl, also meant for testing only to update WifiHandler with logging object - Change unit tests to call this method after starting scanning service Bug: 34127212 Test: WifiScanningServiceTest by itself and all unit tests pass Change-Id: I0bc7a55d6d6862e2360bfb20897828e84358dd39
ifiScanningServiceImpl.java
|
710639ecf8ff2ab929c30121e7194c0a1b20d003 |
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService am: 4fbaf3821b am: 993626cd83 am: 688db32a92 am: 8e3ac94e9d Change-Id: I7f6df4508e7be56abd00f2392b56f270809b3bb6
|
4fbaf3821bd5c3056c7c4cdd1aee3e17ac7046d0 |
29-Nov-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService Add logging to trace the following API surfaces in WifiScanningService - AIDL methods calls, - Async Channel messages sent to the scanning service - Use WifiHandler instead of Handler to define the client handler to trace incoming messsages - Async Channel messages sent by the service - Use WifiAsyncChannel to trace reply messages sent by the service - Fully connected Async Channel is used here, therefore, it can send messages directly to the client's messenger without using Async channel methods. Add logging in replySucceeded() and replyFailed() to trace messages sent by the service directly to the client. Bug: 33085782 Test: Unit test suite, verify logging, sanity test (power on and connect to Wifi Access Point) Change-Id: I8df4f4077801c359e11a93fde2c1ce5ea811a0e4
ifiScanningServiceImpl.java
|
c4ab3a215e66b9745bd8ad0b48372f090919cb7c |
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiScanninService: Reject bgscan requests on invalid caps" am: cb5d15ae89 am: 22be8e6da9 am: cf13c9cb33 am: c8ec943671 Change-Id: I39d0c640877baae11c3fbdffb57374e93bc06fe4
|
1b76ca405029249b41b38424a253a8c5fa72dab1 |
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiScanninService: Reject bgscan requests on invalid caps Reject any bgscan requests if the HAL returns invalid capabilities at startup. Bug: 33566846 Test: Added unit test. Change-Id: I1a6a986194dd0da2ef139f13307657aafd67b4e4
ifiScanningServiceImpl.java
|
da94688198c864bb29be2e9603ebbe9ae6492a87 |
01-Nov-2016 |
Tamas Berghammer <tberghammer@google.com> |
Update package names to work with the proto3 compiler Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
ifiScanningServiceImpl.java
|
a049f83a308e7753b68c1a5036ab67d9806807ec |
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: move scan results dump to scanner The dump command includes the most recent scan results. This information should be dumped directly from WifiScanningServiceImpl instead of WifiServiceImpl. The output was also updated to better reflect the age of the entries. Invalid scan result timestamps are output with "___?___". Values that are older than the allotted characters are displayed as ">1000.0". Valid ages were not changed. The character representing isAutoJoinCandidate was removed from the output. SSID names that are longer than 32 characters are truncated. BUG: 31523862 Test: manual check of bugreport output Test: manual check of adb shell dumpsys wifi output Test: manual check of adb shell dumpsys wifiscanner output Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6529fa7b125a6d7d283fd7dc5f8938632ae4e93f
ifiScanningServiceImpl.java
|
c9c91fd93350151a33d87fca768921520c256256 |
20-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Ignore disconnect messages that don't indicate the channel is dead Bug: 29368784 Test: mmma frameworks/opt/net/wifi/tests && runtest frameworks-wifi Change-Id: I5ae3665898565379b101c4ac0c5570c9debb1228 (cherry picked from commit d76a14997a969ea44daa47756dcc8f83aee96935) (also includes cherry picked from commit ca0add40bb7138b361c8a86e42aa5facc4fa5f2d)
ifiScanningServiceImpl.java
|
d94a62ffdf0e7f282948109d05d96e682eb32eef |
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiService: get scan results from WifiScanner Retrieve scan results in WifiServiceImpl from WifiScanner instead of WifiStateMachine. This utilizes a new method and message type in WifiScanner. Tests are added to verify the scan results are returned, updated and cleared properly. This CL additionally fixes a few typos in tests. Removal of cached scan results from WifiStateMachine will be included in a separate CL. BUG: 31444878 Test: manually tested from settings UI Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: ran GTS CtsNetTestCases Change-Id: I02c4e24030d2801eb195a84177d908574de0596e
ifiScanningServiceImpl.java
|
6259b630ddb59b642729a2d2113d81ed8e33a0e3 |
12-Sep-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Change hidden/PNO scan params Since networks are no longer configured in wpa_supplicant, network IDs/priorities being passed around for hidden/PNO scanning does not make any sense. Changing the wifi scanner interface to remove all network ID/priority references. For hidden networks, we'll now send a sorted array of <ssid> for each network (similar to PNO). This should help wificond prioritize networks when the size exceed the max supported by driver. Also, since wpa_supplicant already supports sending a list of ssids for scanning, plumb it all the way through. NOTE: 1. The backend for all these scans will eventually be replaced by wificond. 2. Hidden networks are no longer considered in bgscan requests. This was anyway not workin in HalWifiScanner's gscan backed bgscan. BUG: 29503772 TEST: Existing unit tests. TEST: Successfully connected to a hidden network on device Change-Id: Ie7783353d2eb87c2fd7b9a10f44e3e5df4cbc218
ackgroundScanScheduler.java
upplicantWifiScannerImpl.java
ifiScanningServiceImpl.java
|
6c11cd5d6ff04afdf1bbbc99a850025d46c7bdc9 |
12-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiScanningService: Move scan results bcast A WifiManager.SCAN_RESULTS_AVIALABLE_ACTION broadcast is sent when scan results are returned for an app/user initiated scan. This broadcast is now located in the WifiScanningService instead of WifiStateMachine. Further cleanup will move retrieval of the scan results from WifiStateMachine to WifiScanningService. Tests were added to WifiScanningServiceTest to verify the broadcast is sent in both scanning success and failure cases. BUG: 31347837 TEST: frameworks/opt/net/wifi/tests/wifitests/runtests.sh on angler Change-Id: I7c11d571552090057593539b0ed736bc2cedeb00
ifiScanningServiceImpl.java
|
3219e97566a093ed10b2a9d6fe77ed9089084d63 |
07-Sep-2016 |
Mitchell Wills <mwills@google.com> |
Add a flag to indicate if a ScanData is for a scan for all channels BUG=30897947 Change-Id: I989a25dd3df3f473090b76b4e3cb798a2d513490 (cherry picked from commit 4e1f32efceee1db37bfb1e2624b434dbfb055686)
hannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
upplicantWifiScannerImpl.java
|
909a6e58d5cb6222f329ac8b3f2083db2345eed7 |
25-Aug-2016 |
songjinshi <songjinshi@xiaomi.com> |
[WifiScanningServiceImpl]:Fixes the system server crash issue. When the ScanData results is null we should return to aviod the crash issue. https://code.google.com/p/android/issues/detail?id=219999 Change-Id: I4ccf4808208ec8dc7a96b798330cfc99551100cc Signed-off-by: songjinshi <songjinshi@xiaomi.com>
ifiScanningServiceImpl.java
|
503d588975085552863f781d38e2d77aae10c75b |
20-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Restart PNO on settings change am: 1bf983a421 am: 1a21f2a41d am: b486a6e4a6 Change-Id: I2045dbda093b03f05e41e17479bc2bef10168803
|
274cb7b17018d86ea71e97fdcf7e9a8e12a3ec57 |
19-Aug-2016 |
Roshan Pius <rpius@google.com> |
resolve merge conflicts of e78bb65 to master Change-Id: Ieab0520573b62ed35480af80620f2e5e3aa8b12c
|
1bf983a4211f547593a60523e43112ecdb5c8997 |
15-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Restart PNO on settings change When a new network is added, ConnectivityManager will stop/restart PNO scans. However because of the 5 second debounce logic in HwPnoDebouncer, this toggle will not be sent to wpa_supplicant. So, force restart PNO in SupplicantWifiScannerImpl whenever there is a change in the network list . PS: wpa_supplicant already has some internal logic to handle network additions when PNO scans are running. But, not sure if this is working as intended. BUG: 30833790 Change-Id: Ib328abd866298a8a672a2f19fc863ee515dcbe74 TEST: Added unit tests
upplicantWifiScannerImpl.java
|
e483fd4a3151e59b3d0a596572b4d9f035fa8424 |
09-Aug-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScannerImpl: Ignore PNO stop failure Ignore PNO stop failures when resetting the |mCurrentPnoState| flag. The stop PNO command failure indicates that wpa_supplicant has already stopped PNO scan internally. So, we should reset our flag to reflect that. Otherwise, the next attempt to turn on PNO scans will be silently ignored by |SupplicantWifiScannerImpl|. BUG: 30764879 Change-Id: If75993ebe3bfc853628a96a698bb5806f0da5962 TEST: Unit tests TEST: `act.py -c connectivity_basic.config -tb basic_wifi_tethering -tc TelLiveDataTest:test_lte_wifi_switching`
upplicantWifiScannerImpl.java
|
1581a6e6da810df4173dcbb62a1c51eb624ad427 |
06-Aug-2016 |
Mitchell Wills <mwills@google.com> |
Log the message contents received from disconnected clients BUG=29368784 Change-Id: I7c34366132985de93e03d9b316c137dcbc99fbcb
ifiScanningServiceImpl.java
|
635e01902944c3367ccca28611a5b0b718f98bfd |
21-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Add ClientInfo null checks am: 5382acb5eb am: 0df9502510 Change-Id: Ibd4c01c4a32935d2a1d72ef179dbca9d8b3ff2c7
|
5382acb5eb3a0448a32651dcc7fe9fd634ce0e38 |
20-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Add ClientInfo null checks Add missing null checks for |ClientInfo| in a few places. ClientInfo could end up being null if there was a pending cleanup of the client before processing of the request in the appropriate state machine. Also, add a unit test to simulate the scenario in the bug specified. BUG: 30241457 Change-Id: Ic4412ae03b5176764b10cba357d19086c0c09e6e TEST: Unit tests
ifiScanningServiceImpl.java
|
bc23392fd5f2d7df4c00b1647016394b2bbbd78f |
01-Jul-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Fix NPE in WifiScanningService\\" into nyc-mr1-dev am: a03e931932 am: e5911436b9 Change-Id: I28c07eff5677aa01e76998c463ad30e17ff7a8cb
|
ed70365e5a3a6e2b06c2d4d06603f97596f1124b |
01-Jul-2016 |
Mitchell Wills <mwills@google.com> |
Fix NPE in WifiScanningService Fixes: 29924121 Change-Id: Iabb8111d0d4cdef6b02710f6ea2b3545f1b6d70b
ifiScanningServiceImpl.java
|
251a38bb7fcac510ad8b0264a0346573e724519d |
27-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Add a WifiScanner API to listen for ongoing scans\\" into nyc-mr1-dev am: 450fee26a2 am: f12262368a Change-Id: I159d7a82a9cf965b90284174c635090ee8704c26
|
1ba04405f98489f0fbd66b6566c64324be11111a |
23-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Add a WifiScanner API to listen for ongoing scans Bug: 29412469 Change-Id: I1b8c6f3524e937cbc902af0be391b5e6b23e8ee2
ifiScanningServiceImpl.java
|
4dcf7a8d2b9253e5a58328a9cd954c524c76c7af |
25-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Reuse single scan results if a request comes in during an ongoing scan\\" into nyc-mr1-dev am: 55b1b58e72 am: b5dcbf476f Change-Id: I341a4d5523ef20e0e44558ee12d448fd7324e0e4
|
5751e82f645ab5b4366c63e0fbc561534c1cb3b8 |
22-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Reuse single scan results if a request comes in during an ongoing scan Change-Id: I590c64a4718385214e4ba803112ed7283f69b3be Fixes: 28936380
ifiScanningServiceImpl.java
|
c1a5efc53a277b68c72bc501f6ab68e266bb6cd1 |
20-Jun-2016 |
Randy Pan <zpan@google.com> |
Merge \\"Cut down Wifi local log buffers size\\" into nyc-mr1-dev am: 4301f4786e am: 4a770e2e3f Change-Id: Ibd4f5d9e77ddab7ea16ee4f9a8af736d601f9648
|
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
ifiScanningServiceImpl.java
|
a2f9a80b25772edfa6a8b4cb679202fc8e9154cd |
16-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Better distinguish between WifiScanner clients in logs\\" into nyc-mr1-dev am: b271c249de am: 8b35350228 Change-Id: I8f827d683a15c285194b7e4a773368dd02e9d85e
|
9e7f5e0a47a9a4aa519a50d9a0959547c1c604f1 |
15-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Better distinguish between WifiScanner clients in logs Change-Id: I15327935f4b9ccdf3d3244087c508f19fd275c1f Fixes: 29385784
ifiScanningServiceImpl.java
|
7684d94aa98d82c82e060ff48326181669184f35 |
11-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled am: 3040b86393 am: 82f4aada1c am: cecab03d5d Change-Id: I1378659fc87d0b419a8f96e4fec779e4251db158
|
3040b86393a04bc939a5a94cda4169b0293dfac7 |
10-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled Change-Id: Ia212840fcf781740d5e185d3e3c2e30a477e25f0 Fixes: 29250616
ifiScanningServiceImpl.java
|
83681ce58e32ab802ce46e8f1999a90e035a61d4 |
09-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crashes in significant change when wifi hasn\\\'t started am: 11bb0926a6 am: f1f88eebd8 am: 49872c10dc Change-Id: I118db5b04233a512ba43349dfa1d9da3536fc37e
|
11bb0926a6cc3380f2217532fefb9605a1fdc9e8 |
09-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crashes in significant change when wifi hasn't started The SignificantChange state machine doesn't actually have a concept of if Wifi is on or not. This will simply ensure that it is not possible to cause a crash. Change-Id: I8ff87364bf7d5c87f0519b6cdc32d164facf30eb Fixes: 29237535
ifiScanningServiceImpl.java
|
e93d46675d154a85b5aea7c04b925794816ad143 |
04-Jun-2016 |
John Eckerdal <john.eckerdal@sonymobile.com> |
Stop the recurring alarm if no scansettings are available am: 0d0a4c339b am: a08979a414 am: 6485025ee6 * commit '6485025ee6bdf01fb2add32ebd51e09da7405d75': Stop the recurring alarm if no scansettings are available Change-Id: I3e2b379a0632708bd0c4d314cac2a1bd1d8ea9a7
|
0d0a4c339b3950ad6d882e89223dc21a89ef3953 |
02-Jun-2016 |
John Eckerdal <john.eckerdal@sonymobile.com> |
Stop the recurring alarm if no scansettings are available This will fix an NPE whenever no scansettings are available. The stop of the recurring alarm should not introduce a permanent stop though since the whole processPendingScans function is dependant on mPendingBackgroundScanSettings != null. Anyway, as soon as mPendingBackgroundScanSettings is changed, the processPendingScans function will be called, either directly or indirectly through handleScanPeriod(). Crash call stack: java.lang.NullPointerException: Attempt to read from field 'int com.android.server.wifi.WifiNative$ScanSettings.base_period_ms' on a null object reference at com.android.server.wifi.scanner.SupplicantWifiScannerImpl.processPendingScans (SupplicantWifiScannerImpl.java:395) Bug: 29113658 Author: Ola Olsson <ola.olsson@sonymobile.com> Change-Id: Ibf08c9d6c5e476052449ef11d82ce005e50bd4fd
upplicantWifiScannerImpl.java
|
5de29ec72c54cb73fdc1b59072f66a2627b8764c |
25-May-2016 |
Ningyuan Wang <nywang@google.com> |
Migrating existing code to Clock abstraction part 1 This CL includes the following changes: Refactor Clock.java for better readability Use Clock abstraction for classes which already have a reference of Clock obejct. BUG=28701686 TEST=compile TEST=runtest frameworks-wifi Change-Id: I49e896a91a63cf4519368a9de259046c21c94ddb
upplicantWifiScannerImpl.java
ifiScanningServiceImpl.java
|
f038e61cf0064bd1081ece932fc268e21efe1faa |
26-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Update background scan bucket periods to align with minutes" into nyc-dev am: 528d0693bd am: 40adbd9d89 am: 9bbcd0683c * commit '9bbcd0683c16bbb64efccc9ad599cc172162133f': Update background scan bucket periods to align with minutes Change-Id: I9d64c544bc41ada4fdfcc38ac1427cb54ab66a8e
|
1b266ec1524c516a7ebf25b76801db86427ba68b |
25-May-2016 |
Mitchell Wills <mwills@google.com> |
Update background scan bucket periods to align with minutes Bug: 28320003 Change-Id: Ic551cc6d7fcaa94945d2768d7aa2cf705dd510fd
ackgroundScanScheduler.java
|
c08e5f08975e6a504b6f8e5b04d66e0a0c18416b |
23-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure that all ways a scan can fail get logged" into nyc-dev am: 1f9f7c109c am: 7a56e2720d am: 96a9d6f315 * commit '96a9d6f31570331a127aa1f5cf271f899bcf638a': Make sure that all ways a scan can fail get logged Change-Id: I6cdd08add801a472359cab21a77f31b03e9486be
|
1f9f7c109ca952884fb7bff7271669d879ce9b97 |
23-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Make sure that all ways a scan can fail get logged" into nyc-dev
|
256ee9e914f0e7470a4a0f804d2d5ce7f1a9697d |
21-May-2016 |
Roshan Pius <rpius@google.com> |
resolve merge conflicts of cbb193c to master Change-Id: I8ba39ea770cef1f5163452fd322631356de80d15
|
9d6a7a1b5f9e9ea194fc6b15044c9d14d6aefabf |
21-May-2016 |
Roshan Pius <rpius@google.com> |
Merge changes Ie64c11f3,I91272aa5 into nyc-dev * changes: WifiNetworHistory: Don't persist QNS blacklist Change clock for time interval/elapsed measurments
|
56820e92fd4b1a0cee83f552905fc76fc8290146 |
20-May-2016 |
Mitchell Wills <mwills@google.com> |
Make sure that all ways a scan can fail get logged Bug: 28682351 Change-Id: If9296d862adbd479e8600699f06f4684d377ae6a
ifiScanningServiceImpl.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
alWifiScannerImpl.java
upplicantWifiScannerImpl.java
ifiScannerImpl.java
ifiScanningServiceImpl.java
|
b4cf1c90ec3a5940fb1bed391c1b2e3cad53e830 |
19-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix crash when scanner gets results that don\'t match the request" into nyc-dev am: bf984686a3 am: a426c873a4 am: 5a09481c2e * commit '5a09481c2e7c9519ad0dc882b4be0ea2e7e5fcda': Fix crash when scanner gets results that don't match the request Change-Id: Ic1d01560bc6f6cc4c385da9450ab709e91431d0a
|
bf984686a38b0574c18f728a21dfadf620d5e427 |
19-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix crash when scanner gets results that don't match the request" into nyc-dev
|
f5cdd8e7a6b7d4c0b5f77134273c7e894d8c087b |
16-May-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when scanner gets results that don't match the request Before this, when WifiScanningService processed single scan results from supplicant that only contained results that did not match a request the filter code would return null indicating that the results should not be delivered, causing a NPE later. This change updates the meaning of the bucket index that the single scan code provides to the filtering code to instead force it to always include scan results. Change-Id: I65cd57b14abacec3f407991188c570601d05ac77 Fixes: 28794598
canScheduleUtil.java
|
8efd7501ca714c051422355909986835bae6b31c |
17-May-2016 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantScannerImpl: Change PNO scan log location" into nyc-dev am: c03758554f am: 0db993da77 am: 0b70d2f21c * commit '0b70d2f21c86071653bcd7969286862183ea214c': SupplicantScannerImpl: Change PNO scan log location Change-Id: I80e6f4d0174f71ae118fa77d6a7360aa2697b3ec
|
c03758554f64e6afeaaf5068df0e691d0aa006a3 |
17-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "SupplicantScannerImpl: Change PNO scan log location" into nyc-dev
|
ab3adbcced14ec2ae5cf8f8a75f2ef9c9224f2a3 |
17-May-2016 |
Roshan Pius <rpius@google.com> |
SupplicantScannerImpl: Change PNO scan log location Since PNO scans are started by the PNO debouncer (which debounces PNO state change for 5 seconds), the log message stating that we have started PNO scan should be moved to the location where the scan is actually started. This removes the confusion from the logs in the below case: 05-16 16:51:40.135 D/SupplicantWifiScannerImpl( 876): Change PNO state from false to true 05-16 16:51:42.356 D/SupplicantWifiScannerImpl( 876): Change PNO state from true to false 05-16 16:51:45.109 D/SupplicantWifiScannerImpl( 876): Start PNO timer with delay 2247 05-16 16:51:45.116 D/SupplicantWifiScannerImpl( 876): Starting wifi PNO scan 05-16 16:51:50.111 D/SupplicantWifiScannerImpl( 876): Change PNO state from false to true 05-16 16:51:52.368 D/SupplicantWifiScannerImpl( 876): Change PNO state from true to false 05-16 16:51:55.143 D/SupplicantWifiScannerImpl( 876): Start PNO timer with delay 2225 05-16 16:51:55.148 D/SupplicantWifiScannerImpl( 876): Starting wifi PNO scan BUG: 28800979 Change-Id: Ib4cc7c59fde83a02a2b938fb334a85f0c046cd87
upplicantWifiScannerImpl.java
|
d0cc1e9206ac2b6fca2051e873ecd1369c97c5c0 |
17-May-2016 |
Mitchell Wills <mwills@google.com> |
Add scan bucket for 80s period scans am: 6b838f693a am: f28d32d58f am: 6d431f7467 * commit '6d431f7467747587b46bbdf47c5e63cb5fd68d1f': Add scan bucket for 80s period scans Change-Id: I76773a2aca77d5f6bad6a2a428a5e86b79e5d3ca
|
6b838f693ae0635b8f513d14725e54efadc29977 |
16-May-2016 |
Mitchell Wills <mwills@google.com> |
Add scan bucket for 80s period scans Change-Id: I87779468d37971c53c1c9cfd615e5ca2e7a65108 Fixes: 28793104
ackgroundScanScheduler.java
|
78b9b40b7a14bdabd3fa4b4200b2d9bb40552794 |
10-May-2016 |
Roshan Pius <rpius@google.com> |
Merge "SupplicantScanner: Truncate hidden network list" into nyc-dev am: b53cd9aa26 am: c3664512a8 am: f2b409c76c * commit 'f2b409c76caa03c27820157b8de92c6fc6bd41cb': SupplicantScanner: Truncate hidden network list Change-Id: I0f5bd8ccb51305f3eeed7649ea0c2e522e3edf57
|
572e33a514b88950cf825632c60f8221e4884497 |
07-May-2016 |
Ningyuan Wang <nywang@google.com> |
Code should synchronize on a final field BUG=28606520 TEST=compile TEST=runtest frameworks-wifi Change-Id: I69e4940acf37b410bbeb3be03c97f84d9fa39622
upplicantWifiScannerImpl.java
|
362fad8eddd674d7cf19ffcc1fec38d2d2ee2f53 |
06-May-2016 |
Roshan Pius <rpius@google.com> |
SupplicantScanner: Truncate hidden network list Truncate the hidden network id list if it goes beyond wpa_supplicant's max value. wpa_supplicant has a hard coded value of 16 for the max number of networks that can be specified for each scan. There is currently no way to query this value from wpa_supplicant, so hardcoding this value in SupplicantScanner. BUG: 28632556 Change-Id: I31a338b91c221c1686437b738894e13abb897474 TEST: Compiles & unit-test passes
upplicantWifiScannerImpl.java
|
d06a43097e21f90b9dca90a3767e8c7f610c67d8 |
04-May-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Suppress some Supplicant WifiScanner logs" into nyc-dev
|
59298c7cfffdf856e32879ec967fe27c7e977a49 |
04-May-2016 |
Mitchell Wills <mwills@google.com> |
Add more details about what scan results were delivered to clients Fixes: 28563549 Change-Id: I445054af4b176c69a26af6fe340a6eb88cf06452
ifiScanningServiceImpl.java
|
5cdc80d103ebd2935693a8d855162d55bed2821c |
04-May-2016 |
Mitchell Wills <mwills@google.com> |
Suppress some Supplicant WifiScanner logs Fixes: 28452172 Change-Id: I99a1c11f15adf615b13496aec63642bfc2e552de
upplicantWifiScannerImpl.java
|
c7c241f0e59329c7c50101926fb9bde7ef6cca6f |
26-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Merge "Fix another potential crash when dumping WifiScanningService" into nyc-dev
|
d36b93b07ee7a3f6116cc7ae7a1a1e6b687a9d3c |
25-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Fix another potential crash when dumping WifiScanningService Also make logging in WifiScanningService not static and add some tests to verify some logging behavior. Fixes: 28274869 Change-Id: I879200778dcadb4e67d5a85d42442baf3ceef6c9
ifiScanningServiceImpl.java
|
7ce0f144104c68da40c196c16f73e2d0bcc50cc7 |
21-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiConnectivityManager: Turn off ePno/Gscans There is a lot of instability/unknowns for using ePno/Gscans for connectivity purposes. Unless we've all of them hashed out, turn them off. BUG: 28300874 BUG: 28278197 Change-Id: Ifd650032237ac510687f0d374d31f7c9f13d18bd TEST: Compiles & unit-test passes (Will send for ACTS testing).
alWifiScannerImpl.java
|
985df17909a5703a86f3e665abc9dd964d9623d9 |
20-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Fix NullPointerException when dumping WifiScanningService If WiFi was not turned on prior to dumping WifiScanningService a NullPointerException would be thrown. Change-Id: I79d7a0d23db670f4fef3fb01072d3eb2155428b2 Fixes: 28274869
ifiScanningServiceImpl.java
|
79e3bf8db6b566a5b3c7065cdd43f87f07e73747 |
08-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiConnectivityManger: Enable background/ePNO scan Add a new flag to control both background scans & connected PNO scan in WifiConnectivityManager (We may need to disable connected PNO even if we enable gscan). Also, change the disconnected PNO interval to 20 seconds. BUG: 28020168 BUG: 27877781 Change-Id: I6e7224b02456573070a68dbe8f5a5b0d49f37fdc
alWifiScannerImpl.java
|
cae5f15cb8d8cc925398b29c7bb16ade3eed7475 |
15-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiScanningService: Correct state machine names" into nyc-dev
|
799f1c026941c9183657ffb99f0fb34ff643a0dd |
15-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Correct state machine names This improves readability of the state machine dump command. BUG: 27886011 Change-Id: I8676f3c3c638d8f32dde063adb5e79b0cf978ea5
ifiScanningServiceImpl.java
|
00e988440a0b1bf0c443142fa6a1a0369cb95799 |
14-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Add log when we don't update the channel list" into nyc-dev
|
0fa34e0ff61d7aa41ef69da1ebaf24adf5aaca2f |
14-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "WifiScanningService: Remove ClienthandlerMap" into nyc-dev
|
f8f5cb07ca2ead74f7f8bb03621fe0157aeba373 |
14-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Remove ClienthandlerMap Migrate all scans to use the new RequestList class to maintain the list of active scans. BUG: 28190728 Change-Id: Iad84fda9c50c0c1c493a399ce2adb2792ec75a2f
ifiScanningServiceImpl.java
|
deaf58e6f2c5fb93543f3ead79c1f160cc2248a8 |
14-Apr-2016 |
Roshan Pius <rpius@google.com> |
Merge "BackgroundScanScheduler: Optimize buckets" into nyc-dev
|
ffd253e626fd6154dbd77320d08e2a42cc178aa6 |
14-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Add log when we don't update the channel list Change-Id: I4f95934636d63faced42954831f8be6389db1f8f
alChannelHelper.java
|
a85fc1b07490d3ff194a98fe7389f6697ace5801 |
13-Apr-2016 |
Roshan Pius <rpius@google.com> |
SupplicantWifiScanner: Increase single scan timeout Increase single scan timeout to 15 seconds to account for delays in scan processing when there is a parallel gscan running. BUG: 28005679 Change-Id: I5efd2c547f1ffb12ea026f2e289cb7e83e6f3021
upplicantWifiScannerImpl.java
|
216eb45e7fb44a1ba8edc156d08b532a17219f66 |
08-Apr-2016 |
Roshan Pius <rpius@google.com> |
BackgroundScanScheduler: Optimize buckets Optimize the buckets to ensure that the same channel is not scheduled across multiple buckets. The settings are split if some of the channels in the setting is already being scanned in lower time period bucket. Also go thru each bucket and check if any of them don't fit into the bucket specifications, if yes create split buckets with the same time period. The split buckets will cumulatively contain all the channels needed to be scanned in the original buckets. BUG:28022609 Change-Id: Ie24bc3ec891965adad0ce6e855015be6ff5f0740 TEST: Compiles & unit-test passes
ackgroundScanScheduler.java
hannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
|
a8367288377cbaed6371256ca837b7aa22280706 |
11-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Move WifiScanner related code to scanner package Change-Id: I73d01fe4d0de99a4e9758353cacf1d7a790cf040
alWifiScannerImpl.java
upplicantWifiScannerImpl.java
ifiScannerImpl.java
ifiScanningService.java
ifiScanningServiceImpl.java
|
c4f23cbd6de85cbffcd91b398e51eff106ef08d4 |
26-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Use buckets scanned field when delivering scan results Fixes: 27506257 Change-Id: I224b78a89dfde54ef4f3dae37f1bb10d2a12b78e
ackgroundScanScheduler.java
canScheduleUtil.java
|
c9e6069eb941d282af213dc20b171877db6b567b |
23-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Pass buckets scanned from HAL to framework Bug: 27506257 Change-Id: Ia57327e265317fd0d1ce09d238d9c1e9c55bf2b1
ackgroundScanScheduler.java
|
4e54617758f86acef751bc8588257a58ed985b0f |
22-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Move scan filtering to a common utility class This way single scans don't depend on the background scan scheduler Bug: 27506257 Change-Id: I7130302b364cc86e3a8f1cd0a168e0068c29953b
ackgroundScanScheduler.java
canScheduleUtil.java
|
95984d1af44a00183a4b0e0ed61417583096ff90 |
17-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Merge MultiClientScheduler and WifiScanningScheduler And move them to the com.android.server.wifi.scanner package Change-Id: Iceac6823f118017f577e316d8eacc77c3445b2a7
ackgroundScanScheduler.java
canScheduleUtil.java
|
e6d8fa5fb50afdfc04922f7f87c2cac08db5bbec |
29-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Update scan band channels when needed The involves adding an ability to channel helper to trigger a channel list update. Bug: 27381346 Change-Id: I7908018ff8136b9ce7880d5090bbe9e6fb63405d
hannelHelper.java
alChannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
resetKnownBandsChannelHelper.java
|
7e3e85327ca82a83de84b4750e793f2e3d1b3bfc |
06-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Replace WifiChannelHelper with ChannelHelper implementations Change-Id: I20c266825e3b0b0566d6d2939ca2d0c67d213d78
nownBandsChannelHelper.java
|
798a997d2e5bf8b3278bfeaa7ca841394e2db4b9 |
12-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add final bits of required functionality for ChannelHelper Add support for getting the list of available channels for a band if available. Add support for estimating the duration of a scan. Change-Id: I8abe6d857400775f72969abd4b15e8763ec772c5
hannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
|
54e2c84547e22622ba4a08bddd1c632d1d937be3 |
11-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Migrate channel/band toString to ChannelHelper Change-Id: Ia4ea1d29b74cd08593f13b9e74cb6f6257adf78b
hannelHelper.java
|
39175cc807488dd849e2c530f8be30dd674fbd9f |
09-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add more functionality to ChannelHelper Check if a channel is in a ScanSettings Add channels to accumulator from native settings Add unit tests for non-abstract ChannelHelper methods Change-Id: I86b5194b2a5c852fd25041a363f42caa202dfa7a
hannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
|
712ef6246834caeac3d5b06bea08e85d6b29cd7a |
05-Feb-2016 |
Mitchell Wills <mwills@google.com> |
Add scan channel helper abstraction This will allow code to easily function without worrying about the differences in the amount of information known about scan channels. Currently this abstraction will only support merging channels, but more functionality will be added as needed. Eventually this will replace all functionality in WifiChannelHelper. Change-Id: Ic41501204fa4ff4470491055f4204ad9a88000d4
hannelHelper.java
nownBandsChannelHelper.java
oBandChannelHelper.java
|