Commit Graph

6695 Commits (3c26a1dc3cb747a694068d79bfc54be044d16c54)

Author SHA1 Message Date
Harald Welte bcae43fe1b SMS stub 2008-12-27 21:45:37 +00:00
Harald Welte 75a983fab0 * add database handling
* fix IMSI handling
2008-12-27 21:34:06 +00:00
Harald Welte 10b487b1c0 * fix location update reject (actually reject, not accept) 2008-12-27 19:53:37 +00:00
Harald Welte 98243f8e48 * release channel after LOCATION UPDATE REJECT 2008-12-27 19:46:41 +00:00
Harald Welte 2d5b638bd3 * fix sending of wrong message discriminator for dedicated channel RSL msgs
* remove dead old code for TCH/SDCCH activation
* fix RF CHANNEL RELEASE logic + integration with lchan_alloc/free
* use Page Mode SAME and not NORMAL
2008-12-27 19:46:06 +00:00
Jan Luebbe e30dbb3fa3 also track creation and update time for subscriber and equipment 2008-12-27 18:08:13 +00:00
Jan Luebbe fac25fccbd add a equipment table 2008-12-27 18:04:34 +00:00
Harald Welte a3d0438ff7 missing header file changes 2008-12-27 17:02:56 +00:00
Jan Luebbe 6e2e545fa1 add authorized state to subscribers in db 2008-12-27 16:47:55 +00:00
Harald Welte e9a8261486 hack to write TS2 frames to a file 2008-12-27 16:45:29 +00:00
Harald Welte 4bc90a160a add minimal MO call state transitions 2008-12-27 16:32:52 +00:00
Jan Luebbe 7eda3ab3c8 remove db debug output 2008-12-27 16:24:42 +00:00
Jan Luebbe 5c15c85be3 rewrite db backend 2008-12-27 15:59:25 +00:00
Holger Freyther b332f61f0d 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 5ee72eeeb1 Prefix debug symbols with debug_ to reduce the namesapce pollution 2008-12-27 12:46:49 +00:00
Holger Freyther 7c03e4c57a 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 d546e31628 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 42f50bb3ee Make the test timer a noinst program 2008-12-27 12:03:04 +00:00
Harald Welte 6125306e73 fix typo 2008-12-27 11:25:50 +00:00
Harald Welte b275042cd0 reduce usleep time for RSL to 10ms 2008-12-27 11:24:23 +00:00
Harald Welte 231ad4f9c1 Send IDENTITY REQUEST after LOCATION UPDATE REQUEST 2008-12-27 11:15:38 +00:00
Harald Welte 9524e34ee4 * lchan_free() the channels that we RF_CHAN_RELEASE 2008-12-27 11:13:36 +00:00
Holger Freyther 32636e8910 Move the debug code to a separate debug.c 2008-12-27 11:07:15 +00:00
Harald Welte 14537e5f1d * send RF CHANNEL RELEASE if we get CONNECTION FAIL INDICATION 2008-12-27 10:29:08 +00:00
Harald Welte fc977a8b8b * translate MOBILE IDENTITY into string
* add empty handler for GPRS SUSPENSION REQUEST
2008-12-27 10:19:37 +00:00
Harald Welte 0f7bf9ce4a send RF CHANNEL RELEASE upon RELEASE INDICATION from BTS 2008-12-27 10:18:47 +00:00
Holger Freyther 5f75598c28 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 5677ae35ba misdn.h forward declare mi_setup 2008-12-27 09:41:03 +00:00
Holger Freyther 059c254487 Fix warning and return an error code 2008-12-27 09:39:48 +00:00
Holger Freyther facfce925f whcih -> which 2008-12-27 09:38:51 +00:00
Harald Welte 4b634544e6 now we get up to the SETUP of MO calls 2008-12-27 01:55:51 +00:00
Jan Luebbe faaa49ca51 db: add GPL headers and integrate with autofoo 2008-12-27 01:07:07 +00:00
Harald Welte 5b6cfaf933 mISDN header files 2008-12-27 00:51:07 +00:00
Jan Luebbe 7398eb9847 add first sketch of a DB backend 2008-12-27 00:45:41 +00:00
Harald Welte 702d8707a9 working state up to location update and classmark inquiry 2008-12-26 20:25:35 +00:00
Harald Welte 5d2f8eca60 Send OML messages to OML TEI/SAPI, not RSL :) 2008-12-26 10:46:24 +00:00
Harald Welte ad38464728 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
Harald Welte 3633a6daf9 * fix DEBUGP defines, activate DEBUG functionality
* fix typo in db_transmission function
2008-12-26 00:06:02 +00:00
Harald Welte f6b7a9054c add debugp() function to fulfill link dependency and build executable 2008-12-26 00:05:11 +00:00
Harald Welte 4f4a3901df free incoming msg after processing by RSL 2008-12-26 00:04:49 +00:00
Harald Welte e571fb827b free() the outgoing msg's after they've been sent to the kernel 2008-12-25 23:50:30 +00:00
Harald Welte 0e2a5f2bca add channel allocator to makefile 2008-12-25 23:50:01 +00:00
Harald Welte 8470bf200d no reasonable commit message possible. tons of changes of the last 2 days 2008-12-25 23:28:35 +00:00
Harald Welte de729a139e autoconf 2008-12-23 21:01:25 +00:00
Harald Welte 52b1f98889 initial commit of current OpenBSC state 2008-12-23 20:25:15 +00:00