path: root/openbsc/include/openbsc
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-26 16:02:04 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-26 16:02:04 +0800
commitd1b19f3308633a9712831264f8ba1e25352dd4bf (patch)
tree688858571e1f00e53c260e7343829742062e9011 /openbsc/include/openbsc
parent33f531fd129a68205e97957fcf464130a9c396b7 (diff)
[ts] Make the e1inp_ts delay configurable
Currently the nanoBTS bootstrap code requires a high delay otherwise we are not bringing the device up properly. Changing the init code turns out harder than it seems like. So this is a workaround for that to allow a high speed RSL/OML connection after the bringup. The line driver can have a default TS delay. It is set to the current default for the nanoBTS and the BS11. For the ipaccess case we will set the delay lower for the RSL connection and inside the ipaccess-config we can set it low right away to have fast firmware flashing and such.
Diffstat (limited to 'openbsc/include/openbsc')
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/e1_input.h b/openbsc/include/openbsc/e1_input.h
index 1a3d9d6ad..aa4aa392f 100644
--- a/openbsc/include/openbsc/e1_input.h
+++ b/openbsc/include/openbsc/e1_input.h
@@ -66,6 +66,8 @@ struct e1inp_ts {
struct {
/* list of all signalling links on this TS */
struct llist_head sign_links;
+ /* delay for the queue */
+ int delay;
/* timer when to dequeue next frame */
struct timer_list tx_timer;
} sign;
@@ -93,6 +95,7 @@ struct e1inp_driver {
struct llist_head list;
const char *name;
int (*want_write)(struct e1inp_ts *ts);
+ int default_delay;
struct e1inp_line {