gsm_utils: refer to ETSI TS 05.08 instead of TS 08.05

This commit is contained in:
Bhaskar 2013-05-16 17:35:49 +05:30 committed by Harald Welte
parent f5a079f739
commit 6b30f925e2
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;