From 6e9d3413e1b53d0809938ec3b4e44ad8b3f44d0e Mon Sep 17 00:00:00 2001 From: Sooraj Sasindran Date: Tue, 20 Apr 2021 23:00:24 +0000 Subject: [PATCH] Use 0 as link capacity estimate if device is not connected Use 0 as link capacity estimate if device is not connected instead of -1 Bug: 184663919 Change-Id: Id634c7e32200b5d94eed36cefbee6ba8babc8f26 Test: only documentation change --- radio/1.6/types.hal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radio/1.6/types.hal b/radio/1.6/types.hal index 640490d70b..4b75db5e1e 100644 --- a/radio/1.6/types.hal +++ b/radio/1.6/types.hal @@ -408,7 +408,7 @@ struct LinkCapacityEstimate { * 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, * 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; @@ -418,7 +418,7 @@ struct LinkCapacityEstimate { * 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, * 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; @@ -427,7 +427,7 @@ struct LinkCapacityEstimate { * 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 * 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. */ uint32_t secondaryDownlinkCapacityKbps; @@ -437,7 +437,7 @@ struct LinkCapacityEstimate { * 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 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. */ uint32_t secondaryUplinkCapacityKbps;