From d1b19f3308633a9712831264f8ba1e25352dd4bf Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 26 Apr 2010 16:02:04 +0800 Subject: [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. --- openbsc/include/openbsc/e1_input.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbsc/include') 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 { -- cgit v1.2.3