aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-20make wireshark decode RRLP inside GSM 08.58Harald Welte1-0/+10176
2009-08-20sync wireshark patches with svn rev. 29453Harald Welte2-159/+307
2009-08-17Merge branch 'holger/merge-msc-bsc-split'Holger Hans Peter Freyther18-1786/+2209
2009-08-17[bsc_init] Create a bsc_init.c that can be used for setting up hings.Holger Hans Peter Freyther3-1077/+1085
Share the initialization and bootstraping of the network by moving the code to a new file and making boostrap_network and shutdown_net external. Cleanup the header list after the move and remove trailing whitespace.
2009-08-17[vty] Move layer3+ functionality to vty_interface_layer3.cHolger Hans Peter Freyther3-259/+318
Move everything that is policy, requires access to a DB or is generally in the domain of the MSC to vty_interface_layer3.c.
2009-08-17[bsc] Move the GSM 04.08 helper functions to gsm_04_08_utils.cHolger Hans Peter Freyther5-283/+326
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 Freyther4-10/+12
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 Freyther5-175/+218
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 Freyther4-8/+10
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-17Merge commit 'har/master'Harald Welte8-10/+276
2009-08-17actual code running at end of har2009Harald Welte (local)4-5/+94
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-16trigger RRLP position requests after paging succeeded and after subscriber ↵Harald Welte (local)3-1/+75
attach
2009-08-16store all APDU's received from the MS in the databaseHarald Welte (local)3-1/+37
This helps us to analyze data such as RRLP location information for later analysis.
2009-08-15add support for APPLICATION INFO RR messagesHarald Welte (local)2-0/+44
2009-08-15don't try to deliver sms to a subscriber that's not registeredHarald Welte (local)1-4/+27
2009-08-15paging_request() now returns the number of started paging requestsHarald Welte (local)2-3/+6
this helps the caller to determine if he will ever get called back or not (and if he should free his data structures now or not)
2009-08-15sms_from_text needs to return struct gsm_sms *Harald Welte1-3/+3
2009-08-15fix printing of TMSI on VTYHarald Welte1-1/+2
2009-08-15Merge commit 'har/master'Harald Welte16-69/+100
2009-08-15Fix decoding of SMS Data Coding SchemeDaniel Willmann1-1/+1
2009-08-15provide return code from paging_request() functionHarald Welte3-10/+20
this enables the caller to detect if the paging request was rejected by the paging layer, especially in case it is already paging this very subscriber. In the case of SMS / 04.11, we used to have a memory leak of struct gsm_sms's, since we would only free them from the paging succeeded/expired callbacks.
2009-08-15Handle SMS with UCS2 and binary userdataDaniel Willmann1-2/+11
2009-08-15move talloc context creation out of on_dso / constructorsHarald Welte (local)14-63/+46
the various constructors get called in a non-obvious, linker determined order, which makes certain objects disappear from the talloc report. This change moves the talloc context creation into a new talloc_ctx.c file
2009-08-14allow vty to set periodic location updating timer t3212Harald Welte (local)2-2/+16
2009-08-14Merge commit 'har/stefan'Harald Welte (local)1-0/+25
2009-08-14hlrsync: Sync SMS from the web db to the hlr.Stefan Schmidt1-0/+25
Bugs from me, fixes from Jan. ;)
2009-08-14display TMSI in 8 digit hexHarald Welte (local)1-1/+1
2009-08-14add 'show subscriber cache' vty command to debug subscriber refcount leaksHarald Welte (local)2-0/+18
2009-08-14sms send pending now sends _all_ pending at the same timeHarald Welte (local)1-8/+11
2009-08-14fix sms layer timer leak/corruiption using trans_free()Harald Welte (local)2-2/+10
we only stopped the cp1* timer on reception of cp-ack, but not in error cases like rx of cp-error.
2009-08-14implement a timer_list check before we return into the select() loopHarald Welte (local)2-0/+13
this helps us to debug timer_list corruption
2009-08-14respect the link_id, not only the SAPI from SMS codeHarald Welte (local)6-14/+24
SMS related messages are all sent over SAPI=3. But in addition to that, we also need to send it over the correct link identifier, i.e. SACCH or main signalling channel
2009-08-14add more debugging to SMS layerHarald Welte (local)1-10/+85
2009-08-13Merge branch 'master' of git@192.168.100.10:openbscStefan Schmidt3-8/+8
2009-08-13Merge branch 'master' of git@192.168.100.10:openbscStefan Schmidt11-63/+277
2009-08-13gsm_04_11: Month in unix time starts with 0.Stefan Schmidt1-1/+1
2009-08-13store imsi and tmsi, stop changing the row objectsJan Luebbe1-5/+2
2009-08-13when in token auth mode, accept phones that are authorizedHarald Welte (local)1-0/+2
2009-08-13add the allocated subscriber extension to the auth token SMSHarald Welte (local)1-3/+4
2009-08-13Merge commit 'har/laforge'Daniel Willmann11-63/+277
2009-08-13disable emergency call bit (i.e. cell does not support emergency call)Harald Welte1-4/+4
2009-08-13Encode the network name int the MM info messages in GSM 7bit alphabet.Daniel Willmann1-1/+34
2009-08-13Beautify septet->octet calculation (do not use ceil)Daniel Willmann1-2/+6
2009-08-13Support sms with a validity period format of noneDaniel Willmann1-0/+7
2009-08-13add simple HLR DB sync scriptJan Luebbe1-0/+103
2009-08-13fix token auth implementationHarald Welte (local)2-18/+79
2009-08-13remove FIRST_CONTACT signal, the subscriber flag is sufficientHarald Welte (local)3-23/+4
2009-08-13fix token allocation sql stringsHarald Welte (local)1-13/+15
2009-08-13fix segfault in vty sms sending codeHarald Welte (local)1-3/+2