aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-07-05nat: Create a method to determine if any MSC is connected.Holger Hans Peter Freyther1-0/+2
In the future we will have multiple MSC connections so we will need to figure if any of them is active.
2010-07-05nat: Store the msc_con in the data of the bsc_fdHolger Hans Peter Freyther1-0/+1
* Stop using nat->msc_con in the read_cb but use the data.
2010-07-05nat: Keep track of the MSC handling the connection.Holger Hans Peter Freyther1-0/+1
In the future we might have multiple MSCs connected and need to dispatch it to the right one.
2010-07-03[SGSN] Initial work on GMM authentication and cipheringHarald Welte1-0/+17
2010-07-02[SGSN] Use libosmocore GPRS encryption plugins from LLC layerHarald Welte1-0/+12
This adds the bits that call into libosmocore (and its plugins) to implement GPRS (LLC) encryption.
2010-07-02[SGSN] Call libosmocore helper to load cipher pluginsHarald Welte2-7/+3
2010-07-01[SGSN] Fix segfault when passing re-assembled SN-PDU to GMMHarald Welte1-2/+2
sgsn_rx_sndcp_ud_ind() can no longer make the assumption that msgb_bcid() is valid, as this is only true for an un-fragmented SN-PDU. So instead, we now store the RAID in the SNDCP Entity and pass it as an explicit argument to sgsn_rx_sndcp_ud_ind().
2010-06-30osmo-bsc: Start adding code for the osmo_bsc..Holger Hans Peter Freyther2-1/+22
This adds the unix domain socket rf control protocol into the new subdirectory.
2010-06-30handover: Call bsc_handover_clear from gsm0808_clearHolger Hans Peter Freyther1-0/+6
The bsc_handover_clear will release an in-progress handover and free the lchana and the data associated with this handover
2010-06-30handover: Attempt to use the same gsm_subscriber_conn for new/old channelHolger Hans Peter Freyther2-4/+1
The transaction should not know on which lchan we are operating as this can change due handover. Add untested code to share the subscriber connection of the new and old lchan and move the pointer in case of success/failure. Also on a clear command we will free any resources allocated... This code is not tested and needs to be debugged, but it should have the right structure. I am going to fix a potential memleak in the next commit.
2010-06-28bsc_msc: Remove use_count from the subscriber connectionHolger Hans Peter Freyther4-28/+5
A channel will be released in case of * Errors via the clear_request callback... * no more transactions and operations are going on. This means that if we do something without a transaction the channel might be closed down right away. The bug fix will be to create a transaction/operation.
2010-06-28bsc_api: Allocate the subscriber_connection dynamicallyHolger Hans Peter Freyther1-2/+4
This is a big change to the way we use the subscriber connection. From now on it is is dynamically allocated and we will slowly move from a 1:1 lchan to conn to having more than one lchan per connection. This is the first commit, the subscr_con* methods will move to gsm_data once the use_count is removed from the connection, the freeing of the connection will also change.
2010-06-22abis_rsl: Send the IMMEDIATE Assignment after the Channel Ack.Holger Hans Peter Freyther1-0/+4
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.
2010-06-21bsc_api: Remove the lchan usage from the Paging Response handling.Holger Hans Peter Freyther1-1/+1
2010-06-21silent_call: Use the gsm_subscriber_connection instead of lchan->connHolger Hans Peter Freyther1-2/+4