aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-21 14:02:34 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-02-27 09:07:17 +0100
commit64c5e3a19c94c29331414da30e9d8eca81a70fce (patch)
treefbafdb2d1afaa2258f238f9d7f0953aff3cd06f8 /src/osmo-bts-sysmo/l1_if.h
parentb6942ffeb9c5b742ca111a8c2b49a98e102da2fe (diff)
sysmobts: Embed the calib state in the femtol1_hdl and use hdl->priv
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.h')
-rw-r--r--src/osmo-bts-sysmo/l1_if.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.h b/src/osmo-bts-sysmo/l1_if.h
index 8d015519..60e21e23 100644
--- a/src/osmo-bts-sysmo/l1_if.h
+++ b/src/osmo-bts-sysmo/l1_if.h
@@ -27,6 +27,11 @@ enum {
_NUM_MQ_WRITE
};
+struct calib_send_state {
+ const char *path;
+ int last_file_idx;
+};
+
struct femtol1_hdl {
struct gsm_time gsm_time;
uint32_t hLayer1; /* handle to the L1 instance in the DSP */
@@ -53,6 +58,8 @@ struct femtol1_hdl {
uint8_t fpga_version[3];
uint32_t band_support; /* bitmask of GSM_BAND_* */
} hw_info;
+
+ struct calib_send_state st;
};
#define msgb_l1prim(msg) ((GsmL1_Prim_t *)(msg)->l1h)