diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2020-05-12 19:24:58 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-05-12 19:24:58 +0000 |
commit | 8df90b1cd8a1b181060d679dca3488be4bc3072d (patch) | |
tree | aa35b7c3dc6c4d6b1bed3d0bf2e07f2fb0013e83 /service | |
parent | 1f6460fd04da318dc22d6889e0558e45e6ea4bbe (diff) | |
parent | 144c0dd0c1c34e9e9d1c997a44dd6a5625b792f2 (diff) |
Handle 6GHz band in channel utilization calculation am: 144c0dd0c1
Change-Id: I319967f7889910eeb8c722bbb502f732e9a345e9
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/ThroughputPredictor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/ThroughputPredictor.java b/service/java/com/android/server/wifi/ThroughputPredictor.java index 9a33863e4..0e750efc5 100644 --- a/service/java/com/android/server/wifi/ThroughputPredictor.java +++ b/service/java/com/android/server/wifi/ThroughputPredictor.java @@ -42,7 +42,7 @@ public class ThroughputPredictor { public static final int CHANNEL_UTILIZATION_DEFAULT_2G = MAX_CHANNEL_UTILIZATION * 6 / 16; // Default value of channel utilization at 5G when channel utilization is not available from // BssLoad IE or from link layer stats - public static final int CHANNEL_UTILIZATION_DEFAULT_5G = MAX_CHANNEL_UTILIZATION / 16; + public static final int CHANNEL_UTILIZATION_DEFAULT_ABOVE_2G = MAX_CHANNEL_UTILIZATION / 16; // Channel utilization boost when bluetooth is in the connected mode public static final int CHANNEL_UTILIZATION_BOOST_BT_CONNECTED_2G = MAX_CHANNEL_UTILIZATION / 4; //TODO: b/145133625 Need to consider 6GHz @@ -388,7 +388,7 @@ public class ThroughputPredictor { channelUtilization = channelUtilizationLinkLayerStats; } else { channelUtilization = is2G ? CHANNEL_UTILIZATION_DEFAULT_2G : - CHANNEL_UTILIZATION_DEFAULT_5G; + CHANNEL_UTILIZATION_DEFAULT_ABOVE_2G; } if (is2G && isBluetoothConnected) { |