summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorSunil Ravi <sunilravi@google.com>2020-03-26 00:04:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-03-26 00:04:27 +0000
commit8a4c5e709e27c306e2d8562bdb5eca40ac003cbc (patch)
treea29cb9ab5f36576cd16f6c3ae57c4c19a6e562c6 /service
parent4255d177937aac4abf6c1271432d860f86f91ecf (diff)
parentd66d7953ed80e1ef044499b96ef404598b944021 (diff)
Merge "Blacklist the BSS only if MBO assoc retry delay is included." into rvc-dev
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/ClientModeImpl.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java
index 173e10d14..6941fbf7d 100644
--- a/service/java/com/android/server/wifi/ClientModeImpl.java
+++ b/service/java/com/android/server/wifi/ClientModeImpl.java
@@ -6095,11 +6095,6 @@ public class ClientModeImpl extends StateMachine {
return;
}
- boolean isImminentBit = (frameData.mBssTmDataFlagsMask
- & (MboOceConstants.BTM_DATA_FLAG_DISASSOCIATION_IMMINENT
- | MboOceConstants.BTM_DATA_FLAG_BSS_TERMINATION_INCLUDED
- | MboOceConstants.BTM_DATA_FLAG_ESS_DISASSOCIATION_IMMINENT)) != 0;
-
if ((frameData.mBssTmDataFlagsMask
& MboOceConstants.BTM_DATA_FLAG_MBO_CELL_DATA_CONNECTION_PREFERENCE_INCLUDED)
!= 0) {
@@ -6107,12 +6102,13 @@ public class ClientModeImpl extends StateMachine {
}
- if (isImminentBit) {
+ if ((frameData.mBssTmDataFlagsMask
+ & MboOceConstants.BTM_DATA_FLAG_MBO_ASSOC_RETRY_DELAY_INCLUDED)
+ != 0) {
long duration = frameData.mBlackListDurationMs;
if (duration == 0) {
/*
- * When AP sets one of the imminent bits and disassociation timer / BSS termination
- * duration / MBO assoc retry delay is set to zero(reserved as per spec),
+ * When MBO assoc retry delay is set to zero(reserved as per spec),
* blacklist the BSS for sometime to avoid AP rejecting the re-connect request.
*/
duration = MboOceConstants.DEFAULT_BLACKLIST_DURATION_MS;