aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
AgeCommit message (Collapse)AuthorFilesLines
2009-08-17[bsc] Move the GSM 04.08 helper functions to gsm_04_08_utils.cHolger Hans Peter Freyther1-1/+1
The existing gsm_04_08.c implementation is mixing BSC and MSC behavior. Move some simple parsing and generation functions over to gsm_04_08_utils.c to allow a different MSC to define the policy.
2009-08-17[msc] Move gsm_04_08.c, mncc and various others to libmscHolger Hans Peter Freyther3-3/+3
Currently we have circular dependencies from libbsc to libmsc and this requires to play some linker tricks. The problem will be solved in two ways, first we will get rid of the circular dependencies and second we can start using --start-group and --end-group of the linker to play the tricks for us.
2009-08-17[subscr] Split gsm_subscriber.c in BSC and MSC partHolger Hans Peter Freyther2-1/+2
For the BSC part we still assign a gsm_subscriber to lchan but it might only contain the TMSI of this subscriber. For the MSC part we will need the HLR/VLR feature of the gsm_subscriber, specially the lookup's by number... So if libbsc.a/libmsc.a are compiled in one app and used the subscribers will be shared, and if only libbsc.a gets used we will have more empty gsm_subscriber.c..
2009-08-17[msc] Introduce a libmsc.a libraryHolger Hans Peter Freyther3-3/+3
Attempt to split up bsc/msc functionality according to the specs. The libbsc.a will be responsible for communicating with the BTS, configuring it, paging, channel allocation and passing layer3 messages in both ways. libmsc.a will implement the policy and such.
2009-08-17tests: Remove the sms sending from the sms testHolger Hans Peter Freyther1-58/+0
The test for the 7bit encoding and decoding remains in the code. The test didn't compile and the code changed too much so the current test didn't make any sense.
2009-08-10misc: Firs round of fixing compilation of test casesHolger Hans Peter Freyther3-2/+4
Next round should be using them again
2009-07-29db_test.c: Make it compile againHolger Hans Peter Freyther1-6/+6
2009-06-26make tests compile again after talloc branch changesHarald Welte3-5/+11
2009-06-10[channel] Add a test case for the request foo in gsm_subscriber.cHolger Hans Peter Freyther3-1/+87
This is simulating a successfull request and is causing a segfault. The test is done with a "mock object" in this case a minimalistic paging implementation which is enough to show the crash. Compare that the callback data is supposed to be the same....
2009-06-10move openbsc into its own subdirectoryHarald Welte12-0/+470