summaryrefslogtreecommitdiffstats
path: root/src/host
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
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')
-rw-r--r--src/host/layer23/include/osmocom/gsm48_rr.h11
-rw-r--r--src/host/layer23/include/osmocom/osmocom_data.h6
2 files changed, 15 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;
diff --git a/src/host/layer23/include/osmocom/osmocom_data.h b/src/host/layer23/include/osmocom/osmocom_data.h
index c15c1b6..691fa4b 100644
--- a/src/host/layer23/include/osmocom/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/osmocom_data.h
@@ -57,6 +57,7 @@ enum osmobb_meas_sig {
S_L1CTL_RESET,
S_L1CTL_PM_RES,
S_L1CTL_PM_DONE,
+ S_L1CTL_RACH_CONF,
};
struct osmobb_meas_res {
@@ -65,4 +66,9 @@ struct osmobb_meas_res {
uint8_t rx_lev;
};
+struct osmobb_rach_conf {
+ struct osmocom_ms *ms;
+ uint32_t fn;
+};
+
#endif