Skip to content

Commit 2df371b

Browse files
tokangasrlubos
authored andcommitted
lib: lte_link_control: Add missing time units in cell information
Added missing time units in structs lte_lc_cell and lte_lc_ncell. Signed-off-by: Tommi Kangas <[email protected]>
1 parent cecedab commit 2df371b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

include/modem/lte_lc.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ struct lte_lc_ncell {
399399
uint32_t earfcn;
400400

401401
/**
402-
* Difference of current cell and neighbor cell measurement, in the range
402+
* Difference of current cell and neighbor cell measurement in milliseconds, in the range
403403
* -99999 ms < time_diff < 99999 ms. @ref LTE_LC_CELL_TIME_DIFF_INVALID if the value is not
404404
* valid.
405405
*/
@@ -441,7 +441,9 @@ struct lte_lc_cell {
441441
uint32_t earfcn;
442442

443443
/**
444-
* Timing advance decimal value.
444+
* Timing advance decimal value in basic time units (Ts).
445+
*
446+
* Ts = 1/(15000 x 2048) seconds (as specified in 3GPP TS 36.211).
445447
*
446448
* Range 0 - @ref LTE_LC_CELL_TIMING_ADVANCE_MAX. @ref LTE_LC_CELL_TIMING_ADVANCE_INVALID if
447449
* timing advance is not valid.
@@ -453,7 +455,7 @@ struct lte_lc_cell {
453455
uint16_t timing_advance;
454456

455457
/**
456-
* Timing advance measurement time, calculated from modem boot time.
458+
* Timing advance measurement time in milliseconds, calculated from modem boot time.
457459
*
458460
* Range 0 - 18 446 744 073 709 551 614 ms.
459461
*
@@ -466,7 +468,7 @@ struct lte_lc_cell {
466468
uint64_t timing_advance_meas_time;
467469

468470
/**
469-
* Measurement time.
471+
* Cell measurement time in milliseconds, calculated from modem boot time.
470472
*
471473
* Range 0 - 18 446 744 073 709 551 614 ms.
472474
*/

0 commit comments

Comments
 (0)