aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2009-11-20[debug] Add a debug area for SCCPHolger Hans Peter Freyther2-0/+3
2009-11-19[vty] Remove tab to make the cell_identity nicely indentHolger Hans Peter Freyther1-1/+1
2009-11-19[vty] Write out the neci configurationHolger Hans Peter Freyther1-0/+1
2009-11-19[lchan] RSL and RR need the multirate config, place it in the lchanHolger Hans Peter Freyther6-15/+23
Both GSM 04.08 RR and GSM 08.58 RSL need the multirate config in the channel modify. Place the config in the lchan, change the gsm48 methods to not take the argument, change the RSL implementation to make use of it with the right IE. The other code should use the t(l)v_put routines as well but were left untouched for now.
2009-11-19[lchan] Fix the SAPI reset in the chan allocation...Holger Hans Peter Freyther1-1/+1
Reset the whole array instead of just the first element.
2009-11-19[gsm48] Send the IPA CRCX after the chan modify ackHolger Hans Peter Freyther1-6/+8
Change the CRCX after the channel has been modified.
2009-11-19[ipa] Change names of RTP methods to follow MGCP namingHolger Hans Peter Freyther5-43/+43
IPA is naming these functions CRCX, MDCX, DLCX to follow the naming of the MediaGatewayControlProtocol. Change the code to go from BIND to CRCX (create connection) and from CONNECT to MDCX (modify connection). Connect indicates that it is only possible to call it once while it is possible to call it more than once to modify the audio parmaters and such. So the IPA terminology is making a bit more sense here (now that we know it).
2009-11-19misc: Add routine to generate backtrace from within the applicationHolger Hans Peter Freyther3-0/+54
E.g. to analyze the subscr_get/subscr_put behavior one can place the generate_backtrace into the functions, recompile and then filter the output with contrib/bt.py to get the function name, file and line.
2009-11-18Merge remote branch 'origin/master'Harald Welte12-40/+123
2009-11-18max_power_limit: the limit is 24 dB !Harald Welte1-1/+1
2009-11-17[gsm48] When picking AMR we need to supply the multirate configHolger Hans Peter Freyther3-7/+52
On channel mode modify and assignment command when using the a multirate code the multirate configuration must be present in the packet. Add a parameter and add a warning when using it in a broken way.
2009-11-17[neci] Separate handling of chan requested for paging anyHolger Hans Peter Freyther2-5/+8
Allow to handle the channel requested differently based on the NECI value for the "paging any" case. This will allow to open a TCH/H, TCH/F depending on the neci mode.
2009-11-17[neci] Use the correct length when going over the arrayHolger Hans Peter Freyther1-6/+25
Use the correct length when going over the array instead of using the neci0 values. Remove the fixme from the method as well as the issue has been addressed by adding a parameter to the method.
2009-11-17[paging] In expiration handling remove the request before doing the callbackHolger Hans Peter Freyther1-4/+10
Not doing this could lead to a double deletion due the paging request being removed during the callback and afterwards as well. Change the code to save the callback data, remove the request, do the callback. A patch was proposed by Andreas Eversberg and this one is based on it.
2009-11-17Fix configuration file generationAndreas.Eversberg1-1/+1
Assign the encryption status to the right variable. Signed-off-by: Holger Freyther <zecke@selfish.org>
2009-11-17[si] Make it possible to set the NECI value...Holger Hans Peter Freyther6-8/+25
Allow to configure the NECI value... and change code that is relying on the NECI value.
2009-11-17[rsl] Improve error message when the lchan allocation is failingHolger Hans Peter Freyther1-1/+2
2009-11-17ipaccess-config.c: Spelling fix in the config modeHolger Hans Peter Freyther1-1/+1
2009-11-17[ipaccess] Fix spelling in the commentHolger Hans Peter Freyther1-1/+1
2009-11-17[telnet] Remove unused variables from the telnet interfaceHolger Hans Peter Freyther2-8/+0
These became unused when the interface was switched to use the vty module. It is about time to remove these.
2009-11-17fix some more compiler warningsHarald Welte3-2/+3
2009-11-17[abis_nm] avoid integer-to-pointer casting and associated gcc warningsHarald Welte3-6/+12
2009-11-17silent call: add header file for function prototypesHarald Welte2-0/+8
2009-11-14VTY (silent sms / sms): better error reportingHarald Welte1-4/+9
2009-11-14silent sms: make it silent again (type 64), fix subscriber refcount leakHarald Welte1-1/+5
2009-11-14Add "silent call" feature to OpenBSCHarald Welte4-2/+162
This allows the administrator to use the vty interface to issue a silent call to a given subscriber by using "subscriber extension XXXX silent call start" and stopping that silent call with "subscriber extension XXXX silent call stop"
2009-11-14[VTY] restructure sms and silent sms commandsHarald Welte1-63/+32
2009-11-14[VTY] Add feature to send silent SMS from consoleHarald Welte1-4/+46
"Silent SMS" is a SMS that is delivered (and confirmed) but not shown on the display of the phone. You can now send such SMS by using sms send silent extension 12345 text or sms send silent imsi 123451234512345 text
2009-11-13ipaccess-config: Print BCCH info test reportsHarald Welte1-3/+17
This will print test rep[orts that look like: <0020> ipaccess-config.c:91 TEST REPORT: test_no=0x43 test_res=PARTIAL <0020> ipaccess-config.c:140 ==> ARFCN 37, RxLev 24, RxQual 0: 262-1, LAC 13830 CI 10759
2009-11-13[OML] don't hexdump bcch infoHarald Welte1-2/+0
2009-11-13[OML] fix bugs in BCCH info parser for ip.accessHarald Welte2-4/+6
2009-11-13[OML] more verbose error reporting in case object instance unknownHarald Welte1-7/+21
2009-11-13[ip.access] Parse cell global ID as part of BCCH infoHarald Welte2-3/+31
2009-11-13make ipaccess-config compile again (remove duplicate testres_name definition)Harald Welte1-17/+0
2009-11-12ip.access: Introduce parser function for BCCH Info test resultHarald Welte2-0/+147
2009-11-12move 'struct value_string' and 'get_value_string()' to gsm_dataHarald Welte3-18/+20
2009-11-11[SMS] implement GSM340_TP_VPF_ABSOLUTESteffen Neubauer1-3/+50
- Added function "gsm340_scts" to decode the service center time stamp into a UTC/GMT timestamp - in function gsm340_validity_period: can now decode validity period format absolute.
2009-11-07change some identifiers from u_int64_t to unsigned long longHarald Welte2-2/+2
makes printf much easier on 64bit platforms...
2009-11-06[mncc] Fix possible transaction/subscriber and real life subscriber leakHolger Hans Peter Freyther1-1/+6
In the case a transaction has been already scheduled return 0 was called but the subscriber and transaction would leak. Fix it by calling subscr_put and trans_free. After claiming the channel also remove the reference on the subscr.
2009-11-06vty: Do not leak the gsm_subscriberHolger Hans Peter Freyther1-0/+5
2009-10-30Merge remote branch 'origin/master'Harald Welte3-0/+15
2009-10-29ip.access: Header has a 16bit length in network byte orderSylvain Munaut2-7/+6
This is confirmed by looking at the source of their dissector. The length can go up to 273 bytes apparently (again, according to the source of their dissector).
2009-10-29[lchan] Keep track which SAPIs has been established with the BTSHolger Hans Peter Freyther3-0/+15
Keep track of which SAPIs have been established either by the BTS (from the MS) or by us. This can be used by the on-waves BSC code to figure out if a new request should be made.
2009-10-29[misc] Use talloc_zero instead of talloc and later memsetHolger Hans Peter Freyther3-14/+7
2009-10-27misc: Use NULL instead of integer value for a NULL pointerHolger Hans Peter Freyther1-2/+2
2009-10-27misc: Make bitfields unsigned int...Holger Hans Peter Freyther2-5/+5
There is no use to have a signed bit in bitfields..
2009-10-27misc: Fix make distcheck and welcome the two new header files to OpenBSCHolger Hans Peter Freyther1-1/+1
2009-10-27input/ipaccess.c: clang says ret might be uninitializedHolger Hans Peter Freyther1-1/+1
and it appears to be right that for the "default" case ret will not be assigned and we return ret.
2009-10-27abis_nm.c: Remove duplicate entry from the tableHolger Hans Peter Freyther1-1/+0
2009-10-27[gsm48] Handle the RR CHAN MODIFY ACK in the gsm04_08_utilsHolger Hans Peter Freyther3-6/+43
Move the handling code to the gsm_04_08_utils.c and add a note that the method value needs to be checked.