aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-07-31chan_alloc: After freeing set the pointer to NULL.Holger Hans Peter Freyther1-0/+1
2010-07-31sccp: Use the external libosmo-sccp as sccp implementationHolger Hans Peter Freyther16-2903/+55
Add --enable-nat and --enable-osmo-bsc to build applications requiring the Osmo SCCP library to be installed. We are not using autodiscover as this is out of fashion.
2010-07-31abis_rsl: Reduce level from notice to debug for measurement reportsHolger Hans Peter Freyther1-1/+1
It can happen that OpenBSC decides to close the lchan but we still receive some measurement reports until the BTS has decided to close the channel.
2010-07-30[BSC] use correct 0x2B padding for user-specified SIHarald Welte1-0/+4
2010-07-30[BSC] Add support for configfile-hardcoded System Information messagesHarald Welte4-20/+131
2010-07-30Add more RSL <-> Osmo SI type mappings, export osmo_sitype_strs[]Harald Welte2-2/+19
2010-07-30Use hexparse() from libosmocore >= 0.1.14Harald Welte2-28/+2
2010-07-29mgcp: Attempt to count lost packets better...Holger Hans Peter Freyther1-1/+1
2010-07-29mgcp: Provide the RTP packet loss information in the mgcp overviewHolger Hans Peter Freyther1-2/+3
2010-07-29mgcp: Attempt to count missing RTP packets with a basic calculationHolger Hans Peter Freyther3-4/+27
This code compares the UDP sequence numbers of two RTP messages and guesses if packets are missing. It is guessing in two ways: 1.) by default the sequence number is 0, so on the first value we ignore the jump... we might ignore a real issue in case of a wrap around which is easily possible as the sequence should be a random number. 2.) the UDP stream might have been reordered on the network and we would see the jump... In any case these two shortcomings are acceptable for the feature that is meant to provide some basic analysis..
2010-07-29osmo_bsc_rf: Add a grace command, send a signalHolger Hans Peter Freyther2-0/+27
2010-07-27mgcp: Rename TOS to DSCPHolger Hans Peter Freyther3-10/+16
DSCP is the more modern information for TOS and the kernel will set parts of TOS by itself (e.g. for ECN).
2010-07-27nat: Rename ip-tos to ip-dscp and provide an alias...Holger Hans Peter Freyther3-7/+13
2010-07-27gsm_04_80: Allow to specify the alert pattern for the notificationHolger Hans Peter Freyther3-9/+18
Allow to specify the level (not the category) of the notification this provides an easy way to test it on the phones.
2010-07-27gsm_04_80: Embed a ss_Code inside the NotifySS-ARG...Holger Hans Peter Freyther1-1/+7
Indicate that this is about the Call Name Presentation (cnap) but the a1200 still ignores the call completelty...
2010-07-27gsm_04_80: Send a Release Complete otherwise the USSD unit stays BUSYHolger Hans Peter Freyther3-0/+18
We need to release the USSD unit, otherwise it is staying blocked and will stop to function (even across LUs on my a1200). This code should encode the transaction and the direction depending on the network state but this is omitted right now.
2010-07-27gsm_04_80: Fix the size calculation of the 04.80 message..Holger Hans Peter Freyther1-1/+1
Subtract the two bytes we were adding to the length of the message.
2010-07-26gsm_04_80: Add untested code for USSD notification...Holger Hans Peter Freyther3-0/+66
One should be able to send a USSD Notification to a given subscriber if we has an active link...
2010-07-26vty_interface_layer3: Fix a subscriber memory leak..Holger Hans Peter Freyther1-1/+3
2010-07-26gsm_04_80: Use msgb_push to get the verification code of msgbHolger Hans Peter Freyther1-11/+11
msgb started to verify that we do have enough tail/headroom and this code was not using this check.
2010-07-26gsm_04_80: Add code to wrap a facility IE around.Holger Hans Peter Freyther2-0/+10
2010-07-26gsm_04_80: Create a unstructuredSS-Notify messageHolger Hans Peter Freyther2-0/+36
Create a unstructuredSS-Notify for a given type.
2010-07-26gsm_04_80: Fix the style and move the '*' to the functionHolger Hans Peter Freyther1-1/+1
2010-07-26gsm_04_80: Use the return value of gsm_7bit_encode as lengthHolger Hans Peter Freyther1-6/+3
Use the idiom msgb_put(msg, 0) to get the data pointer, then encode the string into the msgb and then adjust the size.
2010-07-26gsm0480: Implement a generic "invoke" wrapping for messages.Holger Hans Peter Freyther2-0/+22
Implement a GSM 04.80 invoke wrapper for a component and an invoke id.
2010-07-26gsm0480: Attempt to encode a NotifySS-Arg with a username..Holger Hans Peter Freyther2-1/+66
2010-07-26gsm_subscriber: Increase the name to 160 charachtersHolger Hans Peter Freyther1-1/+1
160 charachters is the limit of the subscriber name inside the notifySS nameIndicator/callingName.
2010-07-23[gprs] BSSGP: Fix null pointer dereferenceHarald Welte1-2/+3
Zecke has found this using "make CC="clang --analyze"
2010-07-23meas_rep.c: clang reports a possible division by zeroHolger Hans Peter Freyther1-0/+3
Check the input and exit early if we have no measurement reports to avoid a possible division by zero.
2010-07-23nat: Clang reported two places with garbage dataHolger Hans Peter Freyther1-1/+5
Initialize the variables to NULL to fix it.
2010-07-23clang: rc is not initialized in this USSD method.Holger Hans Peter Freyther1-1/+1
2010-07-23clang: Initialize rc with zero.Holger Hans Peter Freyther1-1/+1
In the error case we are assigning errno values but for the success case we have not assigned anything to the rc variable.
2010-07-23clang: Clang warns we have this value twice...Holger Hans Peter Freyther1-1/+0
The type is TLV_TYPE_FIXED, 2 according to the ipaccess wireshark dissector.
2010-07-23nat: u_int32_t -> uint32_tHolger Hans Peter Freyther1-1/+1
2010-07-23nat: u_int16_t -> uint16_tHolger Hans Peter Freyther2-3/+3
2010-07-23nat: u_int8_t -> uint8_tHolger Hans Peter Freyther6-48/+48
2010-07-23mgcp: u_int8_t -> uint8_tHolger Hans Peter Freyther1-4/+4
2010-07-23mgcp: u_int16_t -> uint16_tHolger Hans Peter Freyther1-1/+1
2010-07-23mgcp: u_int32_t -> uint32_tHolger Hans Peter Freyther1-2/+2
2010-07-23Merge branch 'on-waves/sccp'Holger Hans Peter Freyther4-113/+113
2010-07-23sccp: u_int32_t -> uint32_tHolger Hans Peter Freyther2-19/+19
2010-07-23sccp: u_int16_t -> uint16_tHolger Hans Peter Freyther2-3/+3
2010-07-23sccp: u_int8_t -> uint8_tHolger Hans Peter Freyther4-91/+91
2010-07-23rsl: Add method to send a SMSCB inside a SMS BROADCAST COMMANDHolger Hans Peter Freyther2-0/+26
* Untested code for sending the SMS BROADCAST COMMAND.
2010-07-23bsc_api: Add cipher mod reject api callbackHolger Hans Peter Freyther1-1/+3
2010-07-23bsc_api: Add stub for the cipher mode command.Holger Hans Peter Freyther2-1/+9
2010-07-23bsc_api: Create dummy stub for the assignment command.Holger Hans Peter Freyther2-2/+16
2010-07-22network_listen: hexdump the SI2/SI2bis/SI2ter messages once we get themHarald Welte1-0/+6
2010-07-22[ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attributeHarald Welte4-6/+15
... while asking the BTS to perform tests for us. The length of the ARFCN whitelist is the actual length in bytes, not the number of 16bit ARFCN numbers. Also, implement a limit, either by rxlevel or by number of ARFCN that should end up in the whitelist.
2010-07-22[ipaccess-config] make sure the ARFCN Whitelist EIE is built correctlyHarald Welte1-2/+2