Commit graph

4334 commits

Author SHA1 Message Date
Jan Luebbe
21496726c4 remove db debug output 2008-12-27 16:24:42 +00:00
Jan Luebbe
79e4ab473e rewrite db backend 2008-12-27 15:59:25 +00:00
Holger Freyther
44fc77e550 Use getopt in the bsc_hack to parse options
Current options include a draft of the help screen, an option
to disable the colors and to specify the debug categories to
show.
2008-12-27 12:46:51 +00:00
Holger Freyther
5b9c8c7170 Prefix debug symbols with debug_ to reduce the namesapce pollution 2008-12-27 12:46:49 +00:00
Holger Freyther
00125f2173 Assign colors to the different categories
Let there be colors. I have no idea if this will be appreciated. It can
be disabled by an option.
2008-12-27 12:46:48 +00:00
Holger Freyther
c95546b3e1 Add code to parse a debug category string
Use strdup to be able to use strtok on the category string and add
a test case. Also safe some more information to be able to use color
in the print statement.
2008-12-27 12:03:07 +00:00
Holger Freyther
e30a246433 Make the test timer a noinst program 2008-12-27 12:03:04 +00:00
43c43c6199 fix typo 2008-12-27 11:25:50 +00:00
9e3b41dc0a reduce usleep time for RSL to 10ms 2008-12-27 11:24:23 +00:00
4f2cc2321f Send IDENTITY REQUEST after LOCATION UPDATE REQUEST 2008-12-27 11:15:38 +00:00
b8bd1e5ec7 * lchan_free() the channels that we RF_CHAN_RELEASE 2008-12-27 11:13:36 +00:00
Holger Freyther
e0437922d8 Move the debug code to a separate debug.c 2008-12-27 11:07:15 +00:00
05e4464cb8 * send RF CHANNEL RELEASE if we get CONNECTION FAIL INDICATION 2008-12-27 10:29:08 +00:00
2fc100610e * translate MOBILE IDENTITY into string
* add empty handler for GPRS SUSPENSION REQUEST
2008-12-27 10:19:37 +00:00
1133071936 send RF CHANNEL RELEASE upon RELEASE INDICATION from BTS 2008-12-27 10:18:47 +00:00
Holger Freyther
1bad601135 Introduce a simple timer API....
One can use add_timer or schedule_timer to add a timer. After
the timeout time has been reached the callback will be called.
One can call add_time/schedule_timer and del_timer from within
the callback.
2008-12-27 09:42:59 +00:00
Holger Freyther
6a15d37c8c misdn.h forward declare mi_setup 2008-12-27 09:41:03 +00:00
Holger Freyther
932bc3eec6 Fix warning and return an error code 2008-12-27 09:39:48 +00:00
Holger Freyther
b8927ba912 whcih -> which 2008-12-27 09:38:51 +00:00
5f3376515c now we get up to the SETUP of MO calls 2008-12-27 01:55:51 +00:00
Jan Luebbe
4fcd890254 db: add GPL headers and integrate with autofoo 2008-12-27 01:07:07 +00:00
72ce9ab790 mISDN header files 2008-12-27 00:51:07 +00:00
Jan Luebbe
175e76aff5 add first sketch of a DB backend 2008-12-27 00:45:41 +00:00
4e7bbd1833 working state up to location update and classmark inquiry 2008-12-26 20:25:35 +00:00
2b24b72baf Send OML messages to OML TEI/SAPI, not RSL :) 2008-12-26 10:46:24 +00:00
3406459655 this is the first version that actually talks to the BTS
* initialize OML and RSL based on TEI establish (ACTIVATE_IND) events
* fix abis_nm_raw_msg() to not overwrite the OML header with payload
* fix debug print statements
* fix msgb_dequeue: actually dequeue it from the list ;)
2008-12-26 10:20:07 +00:00
ba50310ed6 * fix DEBUGP defines, activate DEBUG functionality
* fix typo in db_transmission function
2008-12-26 00:06:02 +00:00
fc79240c82 add debugp() function to fulfill link dependency and build executable 2008-12-26 00:05:11 +00:00
ee5ea25a8f free incoming msg after processing by RSL 2008-12-26 00:04:49 +00:00
4a89bb1c27 free() the outgoing msg's after they've been sent to the kernel 2008-12-25 23:50:30 +00:00
36bde5e0f0 add channel allocator to makefile 2008-12-25 23:50:01 +00:00
9cb55f0c82 no reasonable commit message possible. tons of changes of the last 2 days 2008-12-25 23:28:35 +00:00
2b944cf8c7 autoconf 2008-12-23 21:01:25 +00:00
947c6f81a5 initial commit of current OpenBSC state 2008-12-23 20:25:15 +00:00