aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
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 Welte15-69/+75
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-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 Schmidt2-3/+6
2009-08-13Merge branch 'master' of git@192.168.100.10:openbscStefan Schmidt10-63/+174
2009-08-13gsm_04_11: Month in unix time starts with 0.Stefan Schmidt1-1/+1
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 Willmann10-63/+174
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-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
2009-08-13allocate a token for new subscribersJan Luebbe1-0/+14
2009-08-13replace the command line option -a with the auth-policy config optionJan Luebbe2-14/+8
2009-08-13add 'ms max power' vty command to set the maximum MS power in dBmHarald Welte (local)5-2/+18
2009-08-13add code for token auth sequencingHarald Welte2-1/+93
* When we first see a subscriber, send the sms * when the sms completes, send auth req + auth reject and close the channel
2009-08-13factor out the function to generate struct gsm_sms from a stringHarald Welte1-3/+12
2009-08-12Fix gsm_7bit_{en,de}code function and sms user_data calculationsDaniel Willmann2-36/+43
With the 7bit alphabet the user_data_len field needs to be in septets (characters) and not in octets occupied.
2009-08-12add functions to send AUTH REQ and REJECTHarald Welte2-0/+30
2009-08-12fix random extension generationJan Luebbe1-1/+1
2009-08-12fix problems with tmsi uniqueness in the subscriber tableJan Luebbe2-5/+20
2009-08-12fix a wrong format specifierJan Luebbe1-1/+1
2009-08-12allocate an extension when creating the subscriberJan Luebbe2-0/+32
2009-08-12token support in the DBJan Luebbe2-0/+55