mirror of https://gerrit.osmocom.org/libosmocore
gsm_utils: refer to ETSI TS 05.08 instead of TS 08.05
This commit is contained in:
parent
f5a079f739
commit
6b30f925e2
|
@ -69,7 +69,7 @@ unsigned int ms_class_gmsk_dbm(enum gsm_band band, int ms_class);
|
|||
int ms_pwr_ctl_lvl(enum gsm_band band, unsigned int dbm);
|
||||
int ms_pwr_dbm(enum gsm_band band, uint8_t lvl);
|
||||
|
||||
/* According to TS 08.05 Chapter 8.1.4 */
|
||||
/* According to TS 05.08 Chapter 8.1.4 */
|
||||
int rxlev2dbm(uint8_t rxlev);
|
||||
uint8_t dbm2rxlev(int dbm);
|
||||
|
||||
|
|
|
@ -401,7 +401,7 @@ int ms_pwr_dbm(enum gsm_band band, uint8_t lvl)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* According to TS 08.05 Chapter 8.1.4 */
|
||||
/* According to TS 05.08 Chapter 8.1.4 */
|
||||
int rxlev2dbm(uint8_t rxlev)
|
||||
{
|
||||
if (rxlev > 63)
|
||||
|
@ -410,7 +410,7 @@ int rxlev2dbm(uint8_t rxlev)
|
|||
return -110 + rxlev;
|
||||
}
|
||||
|
||||
/* According to TS 08.05 Chapter 8.1.4 */
|
||||
/* According to TS 05.08 Chapter 8.1.4 */
|
||||
uint8_t dbm2rxlev(int dbm)
|
||||
{
|
||||
int rxlev = dbm + 110;
|
||||
|
|
Loading…
Reference in New Issue