aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_api.h
AgeCommit message (Collapse)AuthorFilesLines
2016-03-03move subscriber conns list into struct gsm_network.Neels Hofmeyr1-2/+0
Replace the global sub_connections llist with gsm_network.subscr_conns. Initialize and apply where applicable. Remove bsc_api_sub_connections().
2015-10-02amr: Attempt to unbreak the AMR support in the BSCHolger Hans Peter Freyther1-1/+1
The signature of mr_config and the BSC implementation didn't match and the compiler was warning about it: osmo_bsc_api.c:530:2: warning: initialization from incompatible pointer type .mr_config = bsc_mr_config, ^ osmo_bsc_api.c:530:2: warning: (near initialization for ‘bsc_handler.mr_config’) Change the mr_config again and provide an implementation that will set the ms and bts data structure. It would be better to put the size outside of the IE but I am not going to change it right now. It would also be nice to either move the AMR setting into the "nitb" structure or have the msc data be used _after_ the bts settings. This needs to be cleaned up in the next step. Manually verified by placing a MO call and checking that both the channel mode modify and the mode modify request contain the multi rate config with the rate mr config (length two bytes, version 1, icmi==1, no start mode being set).
2015-09-22Add full AMR multirate IE support with VTY config for MS and BTS sideAndreas Eversberg1-1/+1
2014-08-08bsc: Add a ctrl command to send a ussdNotify for a callHolger Hans Peter Freyther1-0/+2
Send a non-call related SS message for an active call indentified by the CIC of that call. As an ugly hack the order of the SS release and the invocation are changed. That was necessary for the E71 on a TCH. The time between notify and release was just too short. The right would be to wait for the returnResultLast but this would involve keeping more local state. Let's see how far we get here. It might be necessary to change the order in the other call sites as well.
2013-01-07audio: Make the BSC handle the new mr_config request of the BSC APIHolger Hans Peter Freyther1-0/+7
Handle the mr_config request and set the AMR multirate config for the given MSC. Initialize the mr_config with the AMR5.9 default we have been using until now.
2012-04-18lchan: Fix the name of the SACCH in the variable namesHolger Hans Peter Freyther1-1/+1
Call the channel by the right name.
2012-01-23Move processing of CLASSMARK CHANGE behind bsc_apiHarald Welte1-0/+4
This prevents osmo-bsc from sending RR messages to the MSC and rather process them inside the BSC and turn them into BSSAP CM UPDATE.
2011-09-13bsc_api.h: Add some comments to the API structureHarald Welte1-0/+7
2010-11-15bsc_api: Change submit dtap to allow to automatically use the SACHHolger Hans Peter Freyther1-1/+1
For SAPI=3 on a TCH it might be nice to use the SACH to submit the message. The api allows to automatically use the SACH if a message like this is submitted.
2010-11-15bsc_api: Clarify the parameters of the assignment commandHolger Hans Peter Freyther1-1/+1
2010-11-15bsc_api: Make the cipher_mode take the 'include imei sv' argumentHolger Hans Peter Freyther1-1/+1
The cipher mode command should enable encryption and send the right RR message to the other side.
2010-11-15bsc_api: The rr_cause is optional, pass it as a pointerHolger Hans Peter Freyther1-1/+1
2010-11-15bsc_api: Nuke the clear complete from the API.Holger Hans Peter Freyther1-1/+0
There is no place where it can be called. Whoever is calling the gsm0808_clear method should generate the clear complete as the result.
2010-11-15bsc_api: Provide the link_id in the dtap callback.Holger Hans Peter Freyther1-1/+2
2010-11-15bsc_api: Add needed parameters to the assignment complete callbackHolger Hans Peter Freyther1-1/+2
Provide the chosen channel and more information in the assignment complete method.
2010-11-15bsc_api: The cipher mode is not a message on the air interfaceHolger Hans Peter Freyther1-2/+0
The cipher mode reject will be send in case the BSC is not able to support the requested cipher. So this reject can be handled by however attempts to enable ciphering.
2010-11-15bsc_api: Change the cause to a uint8_t for nowHolger Hans Peter Freyther1-1/+1
The RR Cause can only be one byte. Change from uint16_t to uint8_t for that.
2010-11-15bsc_api: Fix a use after free error in the Clear Request pathHolger Hans Peter Freyther1-1/+1
The implementation of bsc_hack would call subscr_con_free before the BSC API has had the chance to call gsm0808_clear to try to release other channels. Fix that by adding a return value.
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-06-28bsc_msc: Remove use_count from the subscriber connectionHolger Hans Peter Freyther1-0/+1
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-17bsc_api: Move gsm48_rcvmsg into the BSC API and dispatch.Holger Hans Peter Freyther1-2/+6
The next step in the way to the BSC API. We have a clear a new connection was opened signal now... and the MSC could use it...
2010-06-16bsc_api: Move BSC API between MSC and RSL code...Holger Hans Peter Freyther1-0/+2
The lowlevel BSC paging API is a simple wrapper around the RSL command. The BTS will automatically repeat these messages but if we end up with two MSC inputs we will need to count these messages somewhere...
2010-06-14bsc_api: Add init, dispatch the clear request when a channel is going missingHolger Hans Peter Freyther1-0/+1
2010-06-14bsc_api: Add a callback based BSC -> MSC api...Holger Hans Peter Freyther1-0/+19
2010-03-25bsc: Start creating 08.08 like APIHolger Hans Peter Freyther1-0/+6
The 08.08 API will interface with the internal BSC code and it is the boundary between MSC and BSC. So nothing that calls the BSC functionality should know about lchan or such.