Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e9d3413 authored by Sooraj Sasindran's avatar Sooraj Sasindran
Browse files

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
parent 251b679e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;