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
This commit is contained in:
hai007
2021-10-05 02:29:31 -07:00
committed by Copybara-Service
parent 38f89e4e05
commit 55edd5efa6
+11
View File
@@ -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 {