From 55edd5efa689377c7c9e538f77711c6c791db06b Mon Sep 17 00:00:00 2001 From: hai007 Date: Tue, 5 Oct 2021 02:28:43 -0700 Subject: [PATCH] Branch BandwidthUpgradeManagerV2 to support the re-priority mechanism, separate the priority logic into BandwidthUpgradeProtocol to support below priority 1. 6GHz > 5GHz > 2.4 GHz 2. 80 MHz > 40 MHz > 20 MHz medium for 5GHz mediums(next CL) PiperOrigin-RevId: 400929119 --- proto/connections_enums.proto | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/proto/connections_enums.proto b/proto/connections_enums.proto index 4b34d86d..2efe8e6a 100644 --- a/proto/connections_enums.proto +++ b/proto/connections_enums.proto @@ -204,6 +204,17 @@ enum PayloadStatus { ENDPOINT_UNENCRYPTED = 9; } +// The bandwidth of the mediums. +enum Bandwidth { + BANDWIDTH_UNKNOWN = 0; + /** 2.4 GHz band */ + BANDWIDTH_24_GHZ = 1; + /** 5 GHz band */ + BANDWIDTH_5_GHZ = 2; + /** 6 GHz band */ + BANDWIDTH_6_GHZ = 3; +} + // next_id: 19 // Result of an upgrade attempt. enum BandwidthUpgradeResult {