summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/gsm48_rr.h
diff options
context:
space:
mode:
authorHarald Welte2010-06-25 03:13:52 +0200
committerHarald Welte2010-06-25 03:13:52 +0200
commitd58af304ee3415e5559db183fa4759a4c4447f17 (patch)
treee36a79f2fcd970c74f5488c7d4eaf1dea946b0a5 /src/host/layer23/include/osmocom/gsm48_rr.h
parent[build scripts] Make sure libosmocore for the target uses --disable-vty (diff)
downloadosmocom-d58af304ee3415e5559db183fa4759a4c4447f17.tar.gz
osmocom-d58af304ee3415e5559db183fa4759a4c4447f17.tar.xz
osmocom-d58af304ee3415e5559db183fa4759a4c4447f17.zip
[layer23] reverse-engineer missing header file changes
It seems one of the recent commits introduced build errors due to missing commits for header file changes. Based on the code, I reconstructed what I believe might have been the header files...
Diffstat (limited to 'src/host/layer23/include/osmocom/gsm48_rr.h')
-rw-r--r--src/host/layer23/include/osmocom/gsm48_rr.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/host/layer23/include/osmocom/gsm48_rr.h b/src/host/layer23/include/osmocom/gsm48_rr.h
index 4fc7547..002587d 100644
--- a/src/host/layer23/include/osmocom/gsm48_rr.h
+++ b/src/host/layer23/include/osmocom/gsm48_rr.h
@@ -87,6 +87,12 @@ struct gsm48_rr_meas {
uint8_t bcch_f_nc[6];
};
+struct gsm48_cr_hist {
+ uint32_t fn;
+ uint8_t chan_req;
+ int valid:1;
+};
+
/* RR sublayer instance */
struct gsm48_rrlayer {
struct osmocom_ms *ms;
@@ -118,8 +124,9 @@ struct gsm48_rrlayer {
uint8_t n_chan_req; /* number left, incl. current */
uint8_t chan_req_val; /* current request value */
uint8_t chan_req_mask; /* mask of random bits */
- int16_t cr_hist[3];
- /* cr_hist must be signed and greater 8 bit, -1 = no value */
+
+ /* cr_hist must be signed and greater 8 bit, -1 = no value */
+ struct gsm48_cr_hist cr_hist[3];
/* current channel descriptions */
struct gsm48_rr_cd cd_now;