aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-08-05mgcp: Patch RTP packets again if that is allowed.openbsc/0.9.30.9.3Holger Hans Peter Freyther1-0/+3
2010-08-05mgcp: Allow to dynamically allocate ports from a range..Holger Hans Peter Freyther1-0/+2
Allow to switch to a dynamic port allocator and not reuse the ports for a long time... This should help with a crazy network sending two streams at the same time.
2010-08-05mgcp: Allow to have a different port allocation modeHolger Hans Peter Freyther1-0/+5
2010-08-05mgcp: Prepare to have different port allocation strategies.Holger Hans Peter Freyther1-2/+16
2010-08-05mgcp: Allocate a different port for the networking...Holger Hans Peter Freyther2-0/+3
Use the right source port when sending the message.
2010-08-05mgcp: Rename the base port to bts_base as it will be used for the btsHolger Hans Peter Freyther1-1/+1
2010-08-05mgcp: Move the bfd for rtp/rtcp into the portHolger Hans Peter Freyther1-8/+6
Stop using the memset in the mgcp_rtp_end_reset as we will reset the list pointers and then have a mess..
2010-08-05mgcp: Make the function internal, only used by the init/config codeHolger Hans Peter Freyther2-1/+1
2010-08-05mgcp: Rename the bind method to show it is only binding for the bts portHolger Hans Peter Freyther1-1/+1
2010-08-05mgcp: Only use early bind for the BTS socket.Holger Hans Peter Freyther1-1/+0
Simplify the code by onlt allowing one way to allocate a socket.
2010-08-05mgcp: Attempt to separate the RTP/RTCP port for the Network and for the BTSHolger Hans Peter Freyther2-4/+3
We plan to have two different ports for the network and for the BTS to avoid detecting the BTS and to dynamically allocate the port to have old data not go to a new socket.
2010-08-05mgcp: Group the state for bts/net into a struct and have two instancesHolger Hans Peter Freyther1-13/+14
Group the data that each end (network/bts) have into a struct and use this struct throughout the sourcecode.
2010-08-05mgcp: Remove the forwarding mode as it was not used.Holger Hans Peter Freyther1-3/+0
2010-08-04vty: Remove the logging command that is in libosmocoreHolger Hans Peter Freyther1-1/+0
2010-08-03mgcp: Only patch the header if we had a change in SSRCopenbsc/0.9.10.9.1Holger Hans Peter Freyther1-0/+1
2010-08-03mgcp: Allow switching the audio streams, patch the headerHolger Hans Peter Freyther1-0/+5
Patch the sequence number, the SSRC and the timestamp to allow to mix various voice streams, e.g. toggling the loop during the call.
2010-08-03mgcp: Move the rtp state into a structHolger Hans Peter Freyther1-4/+8
Use a struct to group the rtp state for the up and the down link of the bts.
2010-08-03Use new include paths of libosmo-sccp 0.0.2Harald Welte1-1/+1
2010-08-03mgcp: Allow to change the receive (the loopback part) via the VTYHolger Hans Peter Freyther1-0/+1
2010-08-03mgcp: Implement the "loopback" mode for a connection endpoint.Holger Hans Peter Freyther1-0/+9
2010-07-31nat: Fix compilation with nat not being enabled.Holger Hans Peter Freyther3-64/+95
common_vty.c was including bsc_nat.h which tried to get the sccp/sccp_types.h which is not required to be installed. Move all structs using/embedding SCCP structures into the bsc_nat_sccp.h and include. This should fix the compilation.
2010-07-31chan_alloc: Change Channel Release to release SAPIs, then the channelHolger Hans Peter Freyther2-0/+3
Currently every SAPI release indication will trigger the channel. It was possible that we had SAPI=3 and SAPI=0 allocated and we tried to release the channel by sending a RF Channel Release, the BTS answered with a RF Channel Release ACK but also sent the SAPI Release Indication which triggered a channel release here. So it was possible that we would have released a newly allocated channel because of the SAPI release of the old connection. This code now works by releasing all SAPIs from highest to lowest, then sending a SACH Deactivate and finally releasing the channel. This approach is in use on the on-waves/bsc-master.
2010-07-30[BSC] Add support for configfile-hardcoded System Information messagesHarald Welte1-0/+4
2010-07-30Add more RSL <-> Osmo SI type mappings, export osmo_sitype_strs[]Harald Welte1-0/+3
2010-07-29mgcp: Attempt to count missing RTP packets with a basic calculationHolger Hans Peter Freyther1-0/+6
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 Freyther1-0/+12
2010-07-27mgcp: Rename TOS to DSCPHolger Hans Peter Freyther1-1/+1
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 Freyther1-1/+1
2010-07-27gsm_04_80: Allow to specify the alert pattern for the notificationHolger Hans Peter Freyther1-2/+2
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: Send a Release Complete otherwise the USSD unit stays BUSYHolger Hans Peter Freyther1-0/+1
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-26gsm_04_80: Add untested code for USSD notification...Holger Hans Peter Freyther1-0/+2
One should be able to send a USSD Notification to a given subscriber if we has an active link...
2010-07-26gsm_04_80: Add code to wrap a facility IE around.Holger Hans Peter Freyther1-0/+2
2010-07-26gsm_04_80: Create a unstructuredSS-Notify messageHolger Hans Peter Freyther1-0/+1
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-26gsm0480: Implement a generic "invoke" wrapping for messages.Holger Hans Peter Freyther1-0/+1
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 Freyther1-0/+2
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-23nat: u_int8_t -> uint8_tHolger Hans Peter Freyther1-2/+2
2010-07-23rsl: Add method to send a SMSCB inside a SMS BROADCAST COMMANDHolger Hans Peter Freyther1-0/+4
* 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 Freyther1-1/+3
2010-07-23bsc_api: Create dummy stub for the assignment command.Holger Hans Peter Freyther1-2/+3
2010-07-22[ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attributeHarald Welte1-0/+3
... 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-22ipaccess-config/network-listen updateHarald Welte1-0/+1
* transition through cycles of NWL tests
2010-07-22ipaccess-config / network listen: ordered list of RxLevelsHarald Welte3-3/+6
Use libosmocore 'rxlev_stat' module to generate an ordered list of ARFCN's, sorted by RxLev while performing test nr. 64
2010-07-22move ip.access netowrk listen (NWL) to network_listen.cHarald Welte5-2/+23
Also, we now re-start the network listen test after it has finished, so if you run a test from ipaccess-find, the test will get re-started and re-started all the time.
2010-07-14abis_nm: Create a signal data structure for the NACK messageHolger Hans Peter Freyther1-1/+6
Provide the message type and the msgb of the NACK message.
2010-07-05bsc: Add header file for the true BSC API.Holger Hans Peter Freyther2-1/+11
2010-07-05msc: Create a dummy operation to keep the channel open for five secondsHolger Hans Peter Freyther2-0/+10
* We should create the transaction for SMS, CC on the CM Service Request but for now we will use a band aid and create a dummy operarion to wait five seconds for the transaction to be opened.
2010-07-05nat: Remove the first_contact variable.Holger Hans Peter Freyther1-1/+0