summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/include/osmocom/bb')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm322.h8
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h2
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/settings.h2
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/support.h2
4 files changed, 7 insertions, 7 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm322.h b/src/host/layer23/include/osmocom/bb/mobile/gsm322.h
index f39e5668..66bc8522 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm322.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm322.h
@@ -70,7 +70,7 @@ enum {
struct gsm322_plmn_list {
struct llist_head entry;
uint16_t mcc, mnc;
- int8_t rxlev; /* rx level in range format */
+ uint8_t rxlev; /* rx level in range format */
uint8_t cause; /* cause value, if PLMN is not allowed */
};
@@ -103,7 +103,7 @@ struct gsm322_ba_list {
/* Cell selection list */
struct gsm322_cs_list {
uint8_t flags; /* see GSM322_CS_FLAG_* */
- int8_t rxlev; /* rx level range format */
+ uint8_t rxlev; /* rx level range format */
struct gsm48_sysinfo *sysinfo;
};
@@ -137,7 +137,7 @@ struct gsm322_neighbour {
uint8_t state; /* GSM322_NB_* */
time_t created; /* when was this neighbour created */
time_t when; /* when did we sync / read */
- int16_t rxlev_dbm; /* sum of received levels */
+ int16_t rxlev_sum_dbm; /* sum of received levels */
uint8_t rxlev_count; /* number of received levels */
int8_t rla_c_dbm; /* average of the reveive level */
uint8_t c12_valid; /* both C1 and C2 are calculated */
@@ -192,7 +192,7 @@ struct gsm322_cellsel {
struct gsm322_neighbour *neighbour; /* when selecting neighbour cell */
time_t resel_when; /* timestamp of last re-selection */
int8_t nb_meas_set;
- int16_t rxlev_dbm; /* sum of received levels */
+ int16_t rxlev_sum_dbm; /* sum of received levels */
uint8_t rxlev_count; /* number of received levels */
int8_t rla_c_dbm; /* average of received level */
uint8_t c12_valid; /* both C1 and C2 values are
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
index 20121695..6235bfdb 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_rr.h
@@ -112,7 +112,7 @@ struct gsm48_cr_hist {
struct gsm48_rr_meas {
/* note: must be sorted by arfcn 1..1023,0 according to SI5* */
uint8_t nc_num; /* number of measured cells (32 max) */
- int8_t nc_rxlev[32]; /* -128 = no value */
+ int8_t nc_rxlev_dbm[32]; /* -128 = no value */
uint8_t nc_bsic[32];
uint16_t nc_arfcn[32];
};
diff --git a/src/host/layer23/include/osmocom/bb/mobile/settings.h b/src/host/layer23/include/osmocom/bb/mobile/settings.h
index 6d446967..fae12202 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/settings.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h
@@ -83,7 +83,7 @@ struct gsm_settings {
uint8_t half_v1;
uint8_t half_v3;
uint8_t ch_cap; /* channel capability */
- int8_t min_rxlev_db; /* min DB to access */
+ int8_t min_rxlev_dbm; /* min dBm to access */
/* radio */
uint16_t dsc_max;
diff --git a/src/host/layer23/include/osmocom/bb/mobile/support.h b/src/host/layer23/include/osmocom/bb/mobile/support.h
index 035e10a3..b0a10077 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/support.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/support.h
@@ -79,7 +79,7 @@ struct gsm_support {
/* radio */
uint8_t ch_cap; /* channel capability */
- int8_t min_rxlev_db;
+ int8_t min_rxlev_dbm;
uint8_t scan_to;
uint8_t sync_to;
uint16_t dsc_max; /* maximum dl signal failure counter */