| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
staging/lineage-17.1_merge-android-10.0.0_r37
Android 10.0.0 Release 37 (QQ3A.200605.001)
* tag 'android-10.0.0_r37':
Enterprise suggestion's catificate share same lifecycle as suggestion
[Passpoint] Fix Passpoint matching algorithm for Home networks
[WifiConfigManager] Log the disable reason when re-enabling.
Fix removing enterprise suggestion certificate
Enterprise suggestion's catificate share same lifecycle as suggestion
Add EAP methods in WifiMetrics
fix soft reboot caused by KeyStore exception
fix soft reboot caused by KeyStore exception
Change-Id: Icd34f29b28ee6c2d329259b14d1c4ecbd8ae5824
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Match Home networks if there is an FQDN match (without realm or method),
or if OtherHomePartners element exists and matches the other advertised
FQDNs, or if HomeOIList element exists and matches advertised RCOIs.
Bug: 151245024
Test: atest PasspointProviderTest ANQPMatcherTest
Change-Id: I7bf9c98c853c3973d30ce2651bdea49546dae4b5
Merged-In: I513f83a6d545b9ae7da5577ee163ce7d186f006e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make when remove a enterprise suggestion, use the internal config object
to remove ketStore. Which has certificate alias.
Bug: 150500247
Test: atest com.android.server.wifi
Merged-In: Id020e16fb6c26f38eb217248f7296b9ae4b0e781
Change-Id: I8015d87599d843e022805ce69fd5a4eae4d7b066
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enterprise network suggestion's catificate will add to keystore immediately after add the suggestion, and will only remove after suggestion is removed.
Bug: 150500247
Test: atest com.android.server.wifi
Merged-In: I85fb81a98f16b6a343fb35ce31e1426e333773b0
Change-Id: Icbe49911d7ca93b03dfdf728ad88057c31aa5974
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To help find the root cause of high authentication failure rate in enterprise network, add EAP method and authentication phase2 method in connection event metrics.
Bug: 150237135
Test: manual
Test: atest com.android.server.wifi
Change-Id: I0c4ab436b1e43cc52d4bd4dab6c01db53fec91a6
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Mac handle obtained from AndroidKeyStore is sometimes invalidated by
the AndroidKeyStore based on some LRU technique.
This change make sure that we always get a valid handle.
And adds exception handling to make sure a crash will not happen for the
same reason again.
If KeyStore continuously fails to generate MAC address, we will use
locally generated MAC as it is the next best option.
Bug: 146203882
Test: atest FrameworksWifiTests
Merged-In: I8a3b810ba95898a96d81fe57979db4787e1a46c4
Change-Id: I8a3b810ba95898a96d81fe57979db4787e1a46c4
(cherry-picked from e299359a6e6e9e13217862f7f66627eccbff46ce)
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Android 10.0.0 release 31
* tag 'android-10.0.0_r31': (36 commits)
fix soft reboot caused by KeyStore exception
p2p: validate the network name of a group
Notification to set MAC randomization setting
MAC randomization SSID hotlist support
Fix race in StaEvents metrics collection
Wifi: Fix connectivity issues with PSK-SHA256+SAE mode APs
Reset num saved networks with mac randomization before counting
Fix boot regression from KeyStore being slow
[MAC rand] Fix unit test slowness
WifiConfigStoreEncryptionUtil: Use 256 bit secret key
Update the WifiConfig each time evalutor return a candidate.
Revert submission
[WPA3] Fix WPA3-Personal transition mode
WifiConfigStore: Encrypt credentials for networks (4/4)
WifiConfigStore: Encrypt credentials for networks (3/4)
WifiConfigStore: Encrypt credentials for networks (2/4)
WifiConfigStore: Encrypt credentials for networks (1/4)
[EAP-SIM] Add NAI realm decoration to pseudonym
[WifiRtt] add check to verify bw and preamble combination valid
[MAC rand] Removing persistent storage
...
Change-Id: I66be9db60b65cdd4ed515a48bb8b0c69b66f860a
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Mac handle obtained from AndroidKeyStore is sometimes invalidated by
the AndroidKeyStore based on some LRU technique.
This change make sure that we always get a valid handle.
And adds exception handling to make sure a crash will not happen for the
same reason again.
If KeyStore continuously fails to generate MAC address, we will use
locally generated MAC as it is the next best option.
Bug: 146203882
Test: atest FrameworksWifiTests
Merged-In: I8a3b810ba95898a96d81fe57979db4787e1a46c4
Change-Id: I8a3b810ba95898a96d81fe57979db4787e1a46c4
(cherry-picked from e299359a6e6e9e13217862f7f66627eccbff46ce)
(cherry picked from commit 0b3eca3c05190e5824638f3da25b8b3167dc9d60)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The network name of a group is also used as the SSID.
The network name must also comply normal SSID naming rules.
Bug: 144472136
Test: atest FrameworksWifiTests
Change-Id: I63f23fdb51a1e96019025e860832f1db7ec99fd0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Launches a notification, which when tapped will show a dialog that
explains to the user why the connection is potentially failing and
provides an option to fix the problem by disabling MAC randomization.
Bug: 144172117
Test: atest FrameworksWifiTests
Test: manaully verified on a device: notification is trigger at the
right time, and the dialogue is successfully disabling MAC
randomization.
Test: verified on device that the fallback path works as expected if the
user removes the network before tapping on the notification.
Change-Id: Id02c56a96b7cba49880b29518d29f79c76db982c
Merged-In: Id02c56a96b7cba49880b29518d29f79c76db982c
(cherry picked from 3f656193a2c6d6ae6b6ba81d1450c813ad1cbbb0)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reads from DeviceConfig and parses a comma separated of SSIDs.
Bug: 144172117
Test: atest FrameworksWifiTests
Test: Manually tested on device
Change-Id: I53b15e884ecba377277eac81f9e3ca86474f5c13
Merged-In: Ie42ce853810aa5dfd4eef89dff281740dafaf3be
(cherry picked from a522b345fa15716a21fd9edcf523cf3c1331dd94)
|
| |\
| | |
| | |
| | |
| | |
| | | |
* changes:
Fix boot regression from KeyStore being slow
[MAC rand] Fix unit test slowness
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Getting the secret hashfunction from KeyStore had increased wifi service
start time by ~20ms.
Moving this to loadFromStore, which happens right after boot complete, should
fix the problem.
Bug: 144579147
Test: atest FrameworksWifiTests
Change-Id: I478f1d558121e56e3d8bdeed4220eb8ba4ef097a
Merged-In: I478f1d558121e56e3d8bdeed4220eb8ba4ef097a
(cherry picked from: 0c6db026e4463abb4030cdf4f7813152f2dd1996)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Removing usage use spyStatic to speed up unit test.
Bug: 143712485
Test: atest WifiConfigManagerTest is back to normal speed now
Change-Id: I39bb0916bf3a88f73a1ca869af347e3442f2384b
Merged-In: I39bb0916bf3a88f73a1ca869af347e3442f2384b
(cherry picked from: 316dd9f75f489c8e4c26efaae56f1cdefe9a56b9)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Current PSK-SAE transition mode network identifier check using "PSK+SAE"
sub-string but the sub-string not able to classify "PSK-SHA256+SAE" APs
as PSK-SAE transition mode network. Due to this DUT cannot connect to
such APs in PSK mode because the framework always targets the highest
security.
To resolve the issue consider network having both "PSK" and "SAE" sub-
strings as PSK-SAE transition mode network.
Also, added unit tests.
Bug: 144773602
Bug: 144753662
Bug: 144737141
Test: atest ScanResultUtilTest
Change-Id: Ida297a162edbed757556475dd4a9b75050054350
Merged-In: I2de88c7f4655de3f9946333fd4002e4b23749db8
Signed-off-by: Vinay Gannevaram <quic_vganneva@quicinc.com>
|
| |/
| |
| |
| |
| |
| |
| | |
Reason for revert: Incomplete fix that causes additional issues which were not anticipated earlier.
Change-Id: Ie75fe87dd671ebe00add8c858da47dff793077a4
Merged-In: I526410612fe2f733ae41efe7ed1a20ab6d620458
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix WPA3-Personal in transition mode issues. Current
solution will create an upgraded WPA3 connection if
there is a WPA2 saved network and AP is in transition
mode.
Bug: 143843364
Test: Manual tests
Test: atest ConfigurationMapTest ScanResultMatchInfoTest WifiConfigManagerTest
Change-Id: Ia4c6d9a36c99fccc7f5144bef4898761b57610b0
Merged-In: I09d589b56d3f0c09cbf8d7f627776c9f87a27162
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a setting to turn on/off encryption. This global setting will be
turned on for devices which require encrypted credentials.
We don't need to support flipping the global settings back n forth.
Only needs to support the one way toggle from off
to on once for the lifetime of the device.
Bug: 140485110
Test: atest com.android.server.wifi
Test: Manual verification
- Store a PSK network config on older build
- Upgrade to build with this CL
- adb shell settings put global niap_mode 1
- Ensured that the psk was read correctly on upgrade
- Ensured that the psk was encrypted when stored on disk after upgrade
Change-Id: Ibabe0814bfc42a7bf610d18e89a7b82bacfdfeed
Merged-In: Ibabe0814bfc42a7bf610d18e89a7b82bacfdfeed
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Encrypt/Decrypt preSharedKey & enterprise config's password fields.
When deserializing, handle migration from older config store
version file.
Any encryption failure are silently ignored. Decryption failures are
however non-recoverable.
Bug: 140485110
Test: atest com.android.server.wifi
Test: Manual verification
- Store a PSK network config on older build
- Upgrade to build with this CL
- Ensured that the psk was read correctly on upgrade
- Ensured that the psk was encrypted when stored on disk after upgrade
Change-Id: Ic7673cb375c9e5447ff4074ed78321152573e1c3
Merged-In: Ic7673cb375c9e5447ff4074ed78321152573e1c3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Plumb the EncryptionUtil & version info to the XmlUtil classes that
actually handle the serialization/deserialization of data.
Also, created a helper class to serialize/deserialize EncryptedData
class.
Bug: 140485110
Test: atest com.android.server.wifi
Change-Id: I92846f1fb63f3b85892750b195a535bcfdc03e2c
Merged-In: I92846f1fb63f3b85892750b195a535bcfdc03e2c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes in the CL:
a) Introduced a new config store version.
The new version gets rid of the integrity computation & adds support for
encryption of credential data.
b) Changed DataIntegrityChecker to WifiConfigStoreEncryptionUtil to
help the different config store modules to encrypt/decrypt their
credential data to be stored.
c) Pass the version & the new EncryptionUtil to all the config store
modules. The version is needed for the modules to handle upgrades.
d) Use the WIFI_UID to store encryption key in keystore (to help ease
migrate keys if we move to a separate process in R)
Actual encryption of credential data/handling of upgrades will be
added in the next CL.
Bug: 140485110
Test: atest com.android.server.wifi
Change-Id: I522b11ef2ffbdbf0ff19ae4f2643023df3843e5e
Merged-In: I522b11ef2ffbdbf0ff19ae4f2643023df3843e5e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The framework stores the last pseudonym given by the server. However,
in some cases, it does not contain @<NAI Realm> suffix which some
servers require. Check if NAI realm exist, and add @<NAI Realm> to the
pseudonym for subsequent connections if missing.
Bug: 109795427
Test: atest ClientModeImplTest
Test: Regression test in lab passed b/143503329
Merged-In: I74ef92e05e76290cbbf96297ed3329426e8b95a3
Change-Id: I74ef92e05e76290cbbf96297ed3329426e8b95a3
(cherry picked from commit 97447d4b970bf7e569d10dc6ca5829d99e9a4e44)
|
| |\
| | |
| | |
| | | |
qt-qpr1-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
check the combination before send the request to the FW
Bug: 142147874
Test: atest android.net.wifi
Test: atest com.android.server.wifi
Change-Id: I98961412cc582ca7b2f1e596017ddc8cd3fee7ab
Merged-In: I98961412cc582ca7b2f1e596017ddc8cd3fee7ab
(cherry picked from commit 27544a5140b9b33f9c77690d524dea21235744f3)
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Will now calculate the randomized MAC address directly for new wifi
networks.
For existing networks that already have saved randomized MAC address, we
will continue to use the saved MAC.
Bug: 140065828
Test: unit tests before and after factory reset
Test: Verified that new MAC address entries are not populated into
WifiConfigStore.xml
Test: Manually verified calculated MAC addresses are consistent and
valid.
Test: Manually verified that the device secret is persisted over
different builds
Change-Id: Ie216fbaf33e2582ae1a0030c5046b0d4162255d9
Merged-In: I4b4e2cc6fe304d277661c4743e4fb86bb7500f16
(cherry picked from commit I4b4e2cc6fe304d277661c4743e4fb86bb7500f16)
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This change is to avoid issues in assigning signed integer
feature (WIFI_FEATURE_DPP) to long featureSet. The
assignement was resulting in large, signed integer.
Bug: 143363031
Test: atest com.android.wifi.server
Test: Wifi ON/OFF, Connect and data transfer
Test: Added logs and verified feature set saved in iface.
Change-Id: I130351037cc87a2c333282b6ba2351f081c53bc0
(cherry picked from commit 18b0feceb73b1465635b0153e4cf88eb51ce4614)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move the argument validity check into the binder thread - which crashes
the caller as opposed to the service.
Bug: 143518156
Test: atest com.android.server.wifi
Merged-In: Ic7c3f59524aa6a0e2aa41b34dd8179b31dba84e3
Change-Id: Ic7c3f59524aa6a0e2aa41b34dd8179b31dba84e3
|
| |\ \
| | | |
| | | |
| | | | |
stats to the upload list." into qt-qpr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
the upload list.
The LABEL_GOOD and LABEL_BAD data may be mixed if the ring buffer is not cleared after each addition of usability stats the upload list. Currently we rely on data post processing to sort them out. The load on data post processing can be reduced if the ring buffer is cleared.
Bug: 143219266
Test: atest WifiMetricsTest
Change-Id: I24bef0f7d3ce47696e9d84eb5e516c5ee2b7df50
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
(cherry picked from commit 12bcb71c4267d7c380c02594571f4eff99613836)
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously, Wifi and telephony would both clear the country code
upon entering airplane mode, and telephony would update the Wifi
country code upon exiting airplane mode.
Now telephony no longer clears the country code immediately upon
entering airplane mode, but Wifi will still clear its country
code immediately. If airplane mode is exited before telephony
clears the country code, telephony will not update Wifi's
country code since it believes that Wifi still has it's previous
country code.
With a cleared country code, Wifi hotspot will always use the
2.4 GHz band, even when the user specified that 5 GHz
is preferred.
Fix this by not clearing the Wifi country code immediately upon
entering airplane mode. Telephony will do the right thing and
clear/update the Wifi country code as needed.
Bug: 140392836
Test: atest FrameworksWifiTests
Test: reboot device, turn airplane mode on, then quickly
turn it off, turn on hotspot with 5 GHz preferred, verify
that hotspot is indeed on 5 GHz band.
Change-Id: I80ab05bed795453077fc1d9d476d91fda1db5ddf
Merged-In: I80ab05bed795453077fc1d9d476d91fda1db5ddf
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* changes:
WifiNetworkFactory: Send match callback on registration
WifiNetworkFactory: Use the latest cached scan results
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If the UI registers its callback to the platform and if we already have
some matching results for the request, send it immediately to the UI.
Otherwise, we'll need to wait for the next scan results to present users
with matches.
Bug: 134712530
Test: atest com.android.server.wifi
Test: Manually verified with CtsVerifier tests that the UI does not
start out with a blank page (because the matched networks are already
found by using the cached results).
Change-Id: Ice7f89952c0a71c181ea5de58e417c02e7f2bf91
Merged-In: Ice7f89952c0a71c181ea5de58e417c02e7f2bf91
(cherry-picked from bbaee0b899a9606f405e27e0af50ee98d2023de4)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before starting scans for processing a network request, fetch the latest
cached scan results to speed up the matching process. The cached scan
results are filtered out to remove scan results that are older than 20
seconds.
As long as there was a previous scan in the last 20 seconds, there are 2
benefits with this change:
a) There is currently a delay of 2-3 seconds after the request
where the user sees a blank screen when platform is performing
the first scan. This can be avoided and we can present the user with
matches immediately when the request is received.
b) If the request is for a specific bssid and there is an approved match
in the cached scan results, then we can bypass the UI and trigger connection.
Also, renames "PreviouslyApproved" -> "Approved" in test name to ensure
the test names fit in one line :)
Bug: 134712530
Test: atest com.android.server.wifi
Test: Manually verified with CtsVerifier tests that the UI does not
start out with a blank page (because the matched networks are already
found by using the cached results).
Change-Id: I7a788777aabd11562077be88fcc4c9cd45e5b9ab
Merged-In: I7a788777aabd11562077be88fcc4c9cd45e5b9ab
(cherry-picked from 0ab35f26f0da8885a5d249a678187993da425447)
|
| |\ \ \
| | |/ /
| |/| | |
|
| | |/
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 140309663
Test: unit tests
Merged-In: I914a2678e62f1e2ef6dc1b358a76a306b9cc0cc4
Change-Id: Ibf281c5e25c21c17652d718c346c8b560aedcc72
(cherry picked from commit I914a2678e62f1e2ef6dc1b358a76a306b9cc0cc4)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Forgot to add @Test for new unit tests.
Bug: 142518824
Test: Wifi related erorrprone error no longer seen.
Change-Id: I9522f9fd3583e78ff24d0e83c220380291bc21b6
Merged-In: I9522f9fd3583e78ff24d0e83c220380291bc21b6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Allow apps to get/remove passpoint profiles installed by them.
Privileged apps can continue to get/remove all profiles.
Bug: 141639265
Test: atest com.android.server.wifi
Change-Id: Id073c25a021dbeb81e87064e93ead966a363390e
Merged-In: Id073c25a021dbeb81e87064e93ead966a363390e
|
| |\ \
| | | |
| | | |
| | | | |
throughput from Mbps to Kbps"" into qt-qpr1-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
throughput from Mbps to Kbps"
This reverts commit ec1e58cd439ae645ff4e5bf55f7961e359bf0e4c.
Reason for revert: This change introduced a bug and it completely changed the functionality of WiFi data stall detection, e.g., high Tx link speed can easily trigger data stall. We would like to roll back them to restore the normal functionality of Wifi data stall detection.
Bug: 141995185
Change-Id: I0a2ca9d20771296774af0196f7d0a147d7874249
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Remove the network configuration from config manager once the processing
of the request is complete. This will otherwise cause the next network
request for the same network to reuse existing credentials.
Bug: 141882562
Test: manual testing with the demo app.
Test: atest com.android.server.wifi
Test: Will send for regression testing.
Change-Id: Id068aab8b48d87beee1edc12f074527850eadfd0
Merged-In: Id068aab8b48d87beee1edc12f074527850eadfd0
(cherry picked from commit 7836168c83b185a1d84d292df57a6e29299c0f76)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Will now calculate the randomized MAC address directly for new wifi
networks.
For existing networks that already have saved randomized MAC address, we
will continue to use the saved MAC.
Bug: 140065828
Test: unit tests before and after factory reset
Test: Verified that new MAC address entries are not populated into
WifiConfigStore.xml
Test: Manually verified calculated MAC addresses are consistent and
valid.
Test: Manually verified that the device secret is persisted over
different builds
Change-Id: Ie216fbaf33e2582ae1a0030c5046b0d4162255d9
Merged-In: I4b4e2cc6fe304d277661c4743e4fb86bb7500f16
(cherry picked from commit I4b4e2cc6fe304d277661c4743e4fb86bb7500f16)
(cherry picked from commit 77ea7bf52f2f08066ac74f49478301e81f579f31)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
throughput from Mbps to Kbps"
This reverts commit ec1e58cd439ae645ff4e5bf55f7961e359bf0e4c.
Reason for revert: This change introduced a bug and it completely changed the functionality of WiFi data stall detection, e.g., high Tx link speed can easily trigger data stall. We would like to roll back them to restore the normal functionality of Wifi data stall detection.
Bug: 141995185
Change-Id: I0a2ca9d20771296774af0196f7d0a147d7874249
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
(cherry picked from commit 1bea2b5d4072cc068fbb120a9d7e9338adee74de)
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To handle multi-user scenarios, pass in the corresponding app's user id
to fetch app info.
Bug: 140895783
Test: atest com.android.server.wifi
Test: Ran presubmit ACTS tests
Change-Id: I400bad75510b064ad405fae07f56671d2c211178
Merged-In: I400bad75510b064ad405fae07f56671d2c211178
(cherry-picked from a1bbebf25cb7b4e33a7b5abaa6ee6402de95ebc9)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mbps to Kbps
Data stall event can be triggered if the tx/rx tput is consecutively below a threshold over multiple RSSI polls. Changing the unit of the threshold from Mbps to Kbps allows us to configure a value below 1Mbps, e.g., 400Kbps.
Bug: 141027476
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: If0ca391b248c4248da8d2fee37c82d74fdb25ed2
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
|
|\
| |
| |
| | |
checks" into qt-qpr1-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To handle multi-user scenarios, pass in the corresponding app's user id
to fetch app info.
Bug: 140895783
Test: atest com.android.server.wifi
Change-Id: I0ff22e39513778b13648b226e91d8a27effc7596
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is an effort to define new criterion for triggering Wifi data stall:
(1) Defined data stall criterion based on transmit and/or receive throughput, transmit packet error rate, and CCA level. Data stall is triggered when transmit and/or receive links are consecutively bad over multiple RSSI polls.
(2) Added DeviceConfig flags (that is disabled by default) which may be configured on the server side to tune the thresholds at which data stall gets triggered.
Bug: 141027476
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I3c5d9756ff74c0b5682a0b2a51ed64c27c679d72
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Merged-In: I76d6338cd2d482d198fde1e5a2d1a0540c087ca6
|