mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user