Skip to content

Commit

Permalink
lib: lte_link_control: Update RSRP/RSRQ comments
Browse files Browse the repository at this point in the history
AT Command Reference Guide has been updated based on
how the modem behaves. Doing corresponding update to app side.

Jira: TNSW-62531

Signed-off-by: Tommi Rantanen <[email protected]>
  • Loading branch information
trantanen committed Oct 3, 2024
1 parent d39ff24 commit 39af812
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions include/modem/lte_lc.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,14 +399,14 @@ struct lte_lc_ncell {
/**
* RSRP.
*
* Format is the same as for @c rsrp member of struct @ref lte_lc_cell.
* Format is the same as for @c lte_lc_cell.rsrp member.
*/
int16_t rsrp;

/**
* RSRQ.
*
* Format is the same as for @c rsrq member of struct @ref lte_lc_cell.
* Format is the same as for @c lte_lc_cell.rsrq member.
*/
int16_t rsrq;
};
Expand Down Expand Up @@ -466,13 +466,15 @@ struct lte_lc_cell {
/**
* RSRP.
*
* Can be converted into dBm using @ref RSRP_IDX_TO_DBM macro.
*
* * -17: RSRP < -156 dBm
* * -16: -156 ≤ RSRP < -155 dBm
* * ...
* * -3: -143 ≤ RSRP < -142 dBm
* * -2: -142 ≤ RSRP < -141 dBm
* * -1: -141 ≤ RSRP < -140 dBm
* * 0: RSRP < -140 dBm
* * 0: N/A. Not used.
* * 1: -140 ≤ RSRP < -139 dBm
* * 2: -139 ≤ RSRP < -138 dBm
* * ...
Expand All @@ -486,12 +488,14 @@ struct lte_lc_cell {
/**
* RSRQ.
*
* * -30: RSRQ < -34 dB
* Can be converted into dB using @ref RSRQ_IDX_TO_DB macro.
*
* * -30: RSRQ < -34.5 dB
* * -29: -34 ≤ RSRQ < -33.5 dB
* * ...
* * -2: -20.5 ≤ RSRQ < -20 dB
* * -1: -20 ≤ RSRQ < -19.5 dB
* * 0: RSRQ < -19.5 dB
* * 0: N/A. Not used.
* * 1: -19.5 ≤ RSRQ < -19 dB
* * 2: -19 ≤ RSRQ < -18.5 dB
* * ...
Expand Down Expand Up @@ -807,13 +811,15 @@ struct lte_lc_conn_eval_params {
/**
* Current RSRP level at time of report.
*
* Can be converted into dBm using @ref RSRP_IDX_TO_DBM macro.
*
* * -17: RSRP < -156 dBm
* * -16: -156 ≤ RSRP < -155 dBm
* * ...
* * -3: -143 ≤ RSRP < -142 dBm
* * -2: -142 ≤ RSRP < -141 dBm
* * -1: -141 ≤ RSRP < -140 dBm
* * 0: RSRP < -140 dBm
* * 0: N/A. Not used.
* * 1: -140 ≤ RSRP < -139 dBm
* * 2: -139 ≤ RSRP < -138 dBm
* * ...
Expand All @@ -827,12 +833,14 @@ struct lte_lc_conn_eval_params {
/**
* Current RSRQ level at time of report.
*
* Can be converted into dB using @ref RSRQ_IDX_TO_DB macro.
*
* * -30: RSRQ < -34 dB
* * -29: -34 ≤ RSRQ < -33.5 dB
* * ...
* * -2: -20.5 ≤ RSRQ < -20 dB
* * -1: -20 ≤ RSRQ < -19.5 dB
* * 0: RSRQ < -19.5 dB
* * 0: N/A. Not used.
* * 1: -19.5 ≤ RSRQ < -19 dB
* * 2: -19 ≤ RSRQ < -18.5 dB
* * ...
Expand Down

0 comments on commit 39af812

Please sign in to comment.