aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-08-04on-waves: Increase the version number...on-waves/0.3.99.19Holger Hans Peter Freyther1-1/+1
2010-08-04mgcp: Only patch the header if we had a change in SSRCHolger Hans Peter Freyther2-5/+9
2010-08-04mgcp: Style issue... add a space.Holger Hans Peter Freyther1-1/+1
2010-08-04mgcp: Allow switching the audio streams, patch the headerHolger Hans Peter Freyther2-3/+30
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-04mgcp: Move the rtp state into a structHolger Hans Peter Freyther4-18/+21
Use a struct to group the rtp state for the up and the down link of the bts.
2010-08-04mgcp: Fix the documentation entry for the parametersHolger Hans Peter Freyther1-1/+1
2010-08-03bsc: Fix the vty writing... it is dtx-used...Holger Hans Peter Freyther1-1/+1
2010-08-03grace: Do not crash if there is no rf ctlHolger Hans Peter Freyther1-0/+2
Accept the new connection if there is no rf ctl. Fixes a segfault.
2010-08-03mgcp: Allow to change the receive (the loopback part) via the VTYHolger Hans Peter Freyther3-0/+35
Conflicts: openbsc/src/mgcp/mgcp_vty.c
2010-08-03mgcp: Implement the "loopback" mode for a connection endpoint.Holger Hans Peter Freyther3-7/+15
2010-08-03osmocore: Build a against the latest version..Holger Hans Peter Freyther2-28/+1
2010-07-29osmo-grace: Send USSD messages on the TCH to inform the user..Holger Hans Peter Freyther2-1/+36
Send a USSD notification to the user to inform him that the service will go away in a second..
2010-07-29osmo-grace: Introduce a global trace text to be send to subscribersHolger Hans Peter Freyther2-0/+21
2010-07-29osmo-grace: Handle the grace signal to execute a grace actionHolger Hans Peter Freyther1-0/+31
2010-07-29osmo_grace: Allow new connections when the network policy is S_RF_ON.Holger Hans Peter Freyther1-1/+3
In case of S_RF_OFF and S_RF_GRACE we will allow new connections.
2010-07-29osmo_rf: Keep the current policy inside the RF struct..Holger Hans Peter Freyther2-6/+10
Keep a back pointer to the rf struct inside the connection, resolve the network through the back pointer. Also assume that the RF is on. In case we start with RF locked, the policy is on but we will not see any MS talking to us.
2010-07-29bsc_rf: Embed the rf status inside the GSM Network.Holger Hans Peter Freyther2-3/+4
Right now we have a network-wide RF lock, in the future one BSC might have multiple BTSs at different positions and a global state will not make sense anymore and need to be moved over to the BTS struct..
2010-07-29bsc_grace: Add a new per network check to decide if new connections are allowedHolger Hans Peter Freyther6-3/+67
In case of an ordered RF shutdown we can enter a grace period where no new RF connections are allowed but active connections will stay alive until the RF is switched off.
2010-07-29gsm_04_80: Allow to specify the alert pattern for the notificationHolger Hans Peter Freyther2-6/+12
Allow to specify the level (not the category) of the notification this provides an easy way to test it on the phones. Conflicts: openbsc/src/vty_interface_layer3.c
2010-07-29gsm_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-29gsm_04_80: Send a Release Complete otherwise the USSD unit stays BUSYHolger Hans Peter Freyther2-0/+19
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. Conflicts: openbsc/src/vty_interface_layer3.c
2010-07-29gsm_04_80: Add untested code for USSD notification...Holger Hans Peter Freyther2-0/+24
One should be able to send a USSD Notification to a given subscriber if we has an active link... Conflicts: openbsc/src/vty_interface_layer3.c
2010-07-29gsm_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-29gsm_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-29gsm_04_80: Add code to wrap a facility IE around.Holger Hans Peter Freyther2-0/+10
2010-07-29gsm_04_80: Create a unstructuredSS-Notify messageHolger Hans Peter Freyther2-0/+36
Create a unstructuredSS-Notify for a given type.
2010-07-29gsm_04_80: Fix the style and move the '*' to the functionHolger Hans Peter Freyther1-1/+1
2010-07-29gsm0480: Implement a generic "invoke" wrapping for messages.Holger Hans Peter Freyther2-1/+23
Implement a GSM 04.80 invoke wrapper for a component and an invoke id. Conflicts: openbsc/src/gsm_04_80.c
2010-07-29gsm0480: Attempt to encode a NotifySS-Arg with a username..Holger Hans Peter Freyther2-1/+66
2010-07-29bsc_msc_rf: Add a grace command, send a signalHolger Hans Peter Freyther2-0/+27
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-27bsc_msc_ip: Use ip-dscp and provide the old value as alias.Holger Hans Peter Freyther3-7/+12
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: Remove the nat code from the On-Waves branch... new code is in masterHolger Hans Peter Freyther14-4141/+2
2010-07-23bssap: Use libosmocore for the assignment complete msg generationHolger Hans Peter Freyther1-44/+4
2010-07-23bssap: Use gsm0808 method to create complete layer3 message.Holger Hans Peter Freyther1-46/+2
2010-07-23bssap: Move cipher mode complete to libosmocoreHolger Hans Peter Freyther2-32/+1
2010-07-23bssap: Use libosmocore GSM0808 generation routines.Holger Hans Peter Freyther1-53/+2
2010-07-23abis_nm: Band aid on OML initialisation by queuing messagesHolger Hans Peter Freyther6-9/+80
Instead of sending many messages we will queue the OML messages and wait for the ACK/NACK before sending the next message from the queue. We tag the msgb to remember if we need to wait for an ack or not. We keep the order of all messages, on ACKs and similiar occassions we will drown the queue until we reach a message that needs to be acked and then wait for that ack again. Possible breakage can appear when we send an OML (e.g. BS11 specific message) msg which does not need to be acked through the abis_nm_sendmsg call. The fix will be to use the _direct version of this method. Re-Enable as it might have fixed something... who knows. Conflicts: openbsc/include/openbsc/abis_nm.h openbsc/include/openbsc/gsm_data.h openbsc/src/gsm_data.c openbsc/src/input/ipaccess.c
2010-07-09Revert "abis_nm: Band aid on OML initialisation by queuing messages"Holger Hans Peter Freyther6-80/+9
This has not fixed the init issue and we will need to figure out an alternative to this. This reverts commit a68f139820ea02c05ff64e265084c1dda8c7ea3a.
2010-06-28bsc_init: Allow DTXu and enable DTXd on RSLHolger Hans Peter Freyther4-4/+28
Allow the MS to use uplink discontinous transmission by setting the right bit in the SystemInformation and set DTXd/DTXu on the RSL channel commands. This is configurable via dtx-used (0|1) on the network level..
2010-06-24abis_nm.c: Use LOGPC with a LOGL_ERROR for the NACK messagesHolger Hans Peter Freyther1-3/+3
Make NACK messages print as errors.
2010-06-23Bump the version for init and alignment fixes.on-waves/0.3.99.18Holger Hans Peter Freyther1-1/+1
2010-06-23abis_nm: Band aid on OML initialisation by queuing messagesHolger Hans Peter Freyther6-9/+80
Instead of sending many messages we will queue the OML messages and wait for the ACK/NACK before sending the next message from the queue. We tag the msgb to remember if we need to wait for an ack or not. We keep the order of all messages, on ACKs and similiar occassions we will drown the queue until we reach a message that needs to be acked and then wait for that ack again. Possible breakage can appear when we send an OML (e.g. BS11 specific message) msg which does not need to be acked through the abis_nm_sendmsg call. The fix will be to use the _direct version of this method. Conflicts: openbsc/include/openbsc/abis_nm.h openbsc/include/openbsc/gsm_data.h openbsc/src/gsm_data.c openbsc/src/input/ipaccess.c
2010-06-22bssap.c: handle CHAN Activate NACK...Holger Hans Peter Freyther1-0/+14
This was previously handled by the unexpected release lchan handling for the secondary channel, we will now just set the secondary_lchan pointer back to NULL and let the framework free the resources.
2010-06-22abis_rsl: Send the IMMEDIATE Assignment after the Channel Ack.Holger Hans Peter Freyther3-12/+53
The Channel Activate might be sent to a different TRX than the Immediate Assignment. So we need to make sure that the channel is activated before we send the immediate assignment for the RACH. Another reason for that is according to GSM 08.58 we should take the frame number from the activate and use it for the starting time inside the immediate assignment message. We obviously do not do this yet. The code assumes that the BTS will either respond with a CHAN ACK or a CHAN NACK if not the lchan will remain in the request state. Conflicts: openbsc/include/openbsc/gsm_data.h openbsc/src/abis_rsl.c openbsc/src/chan_alloc.c
2010-06-21bssap.c: Fix possible unaligned memory access.Holger Hans Peter Freyther1-5/+17
Use a memcpy to read and access the data to gurantee that the data is properly aligned. The performance hit should be smaller than the abort handled by the kernel.
2010-06-21abis_nm.c: Reading the in_addr can lead to unaligned memory accessHolger Hans Peter Freyther1-4/+7
The value of the in_addr might not be 32 bit aligned and reading it can generate an alignment error on ARM. Fix it by using memcpy to copy the data into a local variable. There are many more potential alignment issues that we will fix when we hit them.