diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-11-22 16:00:33 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2012-11-22 16:00:33 +0100 |
commit | d72cb4401e9229da9306fd49dc0d541eb002de9a (patch) | |
tree | a84aabc097cc806ac6d480d700b07098732453a1 /src/host/layer23/src/mobile/support.c | |
parent | 85f4e1b3b8b386fd7e25b33d83768fe8a100e051 (diff) |
Rename various "rxlev" variable to "rxlev_dbm" and correct their signess
All levels in range of 0..63 are now uint8_t and use "rxlev" as
variable name. All levels in range of -110..-47 are now int8_t and use
"rxlev_dbm" as variable name.
Diffstat (limited to 'src/host/layer23/src/mobile/support.c')
-rw-r--r-- | src/host/layer23/src/mobile/support.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/layer23/src/mobile/support.c b/src/host/layer23/src/mobile/support.c index bfc61805..99a01221 100644 --- a/src/host/layer23/src/mobile/support.c +++ b/src/host/layer23/src/mobile/support.c @@ -89,7 +89,7 @@ void gsm_support_init(struct osmocom_ms *ms) /* radio */ sup->ch_cap = GSM_CAP_SDCCH_TCHF_TCHH; - sup->min_rxlev_db = -106; // TODO + sup->min_rxlev_dbm = -106; // TODO sup->sync_to = 6; /* how long to wait sync (0.9 s) */ sup->scan_to = 4; /* how long to wait for all sysinfos (>=4 s) */ sup->dsc_max = 90; /* the specs defines 90 */ @@ -177,6 +177,6 @@ void gsm_support_dump(struct osmocom_ms *ms, print(priv, " Full-Rate V3 : %s\n", SUP_SET(full_v3)); print(priv, " Half-Rate V1 : %s\n", SUP_SET(half_v1)); print(priv, " Half-Rate V3 : %s\n", SUP_SET(half_v3)); - print(priv, " Min RXLEV : %d\n", set->min_rxlev_db); + print(priv, " Min RXLEV : %d\n", set->min_rxlev_dbm); } |