Merge "Use 0 as link capacity estimate if device is not connected" am: 0cb21f39ae

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682230

Change-Id: Ib94d8cbd3af34729a0cf1e9a31b1cb29cabd6dcb
This commit is contained in:
Sooraj Sasindran
2021-04-21 19:27:07 +00:00
committed by Automerger Merge Worker

View File

@@ -408,7 +408,7 @@ struct LinkCapacityEstimate {
* the estimated maximum sustainable link bandwidth (as would be measured * the estimated maximum sustainable link bandwidth (as would be measured
* at the Upper PDCP or SNDCP SAP). If the DL Aggregate Maximum Bit Rate is known, * at the Upper PDCP or SNDCP SAP). If the DL Aggregate Maximum Bit Rate is known,
* this value shall not exceed the DL-AMBR for the Internet PDN connection. * this value shall not exceed the DL-AMBR for the Internet PDN connection.
* This must be filled with -1 if network is not connected. * This must be filled with 0 if network is not connected.
*/ */
uint32_t downlinkCapacityKbps; uint32_t downlinkCapacityKbps;
@@ -418,7 +418,7 @@ struct LinkCapacityEstimate {
* estimated maximum sustainable link bandwidth (as would be measured at the * estimated maximum sustainable link bandwidth (as would be measured at the
* Upper PDCP or SNDCP SAP). If the UL Aggregate Maximum Bit Rate is known, * Upper PDCP or SNDCP SAP). If the UL Aggregate Maximum Bit Rate is known,
* this value shall not exceed the UL-AMBR for the Internet PDN connection. * this value shall not exceed the UL-AMBR for the Internet PDN connection.
* This must be filled with -1 if network is not connected. * This must be filled with 0 if network is not connected.
*/ */
uint32_t uplinkCapacityKbps; uint32_t uplinkCapacityKbps;
@@ -427,7 +427,7 @@ struct LinkCapacityEstimate {
* This bandwidth estimate shall be the estimated maximum sustainable link bandwidth * This bandwidth estimate shall be the estimated maximum sustainable link bandwidth
* (as would be measured at the Upper PDCP or SNDCP SAP). This is valid only * (as would be measured at the Upper PDCP or SNDCP SAP). This is valid only
* in if device is connected to both primary and secodary in dual connected * in if device is connected to both primary and secodary in dual connected
* mode. This must be filled with -1 if secondary is not connected or if * mode. This must be filled with 0 if secondary is not connected or if
* modem does not support this feature. * modem does not support this feature.
*/ */
uint32_t secondaryDownlinkCapacityKbps; uint32_t secondaryDownlinkCapacityKbps;
@@ -437,7 +437,7 @@ struct LinkCapacityEstimate {
* This bandwidth estimate shall be the estimated * This bandwidth estimate shall be the estimated
* maximum sustainable link bandwidth (as would be measured at the Upper PDCP or SNDCP SAP). * maximum sustainable link bandwidth (as would be measured at the Upper PDCP or SNDCP SAP).
* This is valid only in if device is connected to both primary and secodary in dual connected * This is valid only in if device is connected to both primary and secodary in dual connected
* mode.This must be filled with -1 if secondary is not connected or if modem * mode.This must be filled with 0 if secondary is not connected or if modem
* does not support this feature. * does not support this feature.
*/ */
uint32_t secondaryUplinkCapacityKbps; uint32_t secondaryUplinkCapacityKbps;