aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
2011-09-06add AMR mode member of gsm_lchan for osmo-btsHarald Welte1-0/+14
2011-09-06fix some "implicit declaration" warnings in libbscAlexander Huemer1-0/+11
2011-09-06fix some "implicit declaration" warnings in libtrauAlexander Huemer1-0/+7
2011-09-06fix some "implicit declaration" warnings in osmo-nitbAlexander Huemer4-0/+34
2011-09-04gsm_data_shared: add some fields for voice support of sysmo-btsHarald Welte1-0/+6
2011-09-03Add VTY command to specify default speech codecHarald Welte4-1/+15
In order to have the MNCC application reliably decide on the codec type, it needs to know if we are running on a TCH/F or TCH/H. Thus, we pass lchan_mode as a new parameter to the 'struct gsm_mncc'
2011-08-24add missing #include line to gsm_data_shared.hHarald Welte1-0/+2
gsm_data_shared.h references structures defined in abis/e1_input.h
2011-08-23add missing ipaccess.h to Makefile.amHarald Welte1-1/+1
2011-08-23add control_cmd.h to Makefile.amHarald Welte1-1/+1
2011-08-22libctrl: Add a function to create the cmdHolger Hans Peter Freyther1-0/+1
2011-08-22libctrl: Mark the cmd set/get/verify functions staticDaniel Willmann1-8/+8
2011-08-22audio: From RTP point of view we can use one payload for HR/FR AMRHolger Hans Peter Freyther1-2/+1
Remove the separation of half-rate and full-rate AMR. The used rate can be found inside the AMR payload. The signalling of what kind of traffic channel is used can be done with the GSM 08.08 Chosen Channel IE in the Assignment Complete message. This way I can use a fixed payload type in the MGCP GateWay but have a mixed TCH/F and TCH/H config. E.g. use TCH/F FR3 for some subscribers when connected to MSC A but use AMR5.9 on a TCH/F for MSC B when all TCH/Hs are gone.
2011-08-22audio: Remove the hardcoding of the RTP PayloadHolger Hans Peter Freyther1-1/+0
The MGCP config must be correct and use 99 for RTP AMR.
2011-08-22misc: Move the bsc_parse_reg to libcommom and name it gsm_parse_regHolger Hans Peter Freyther2-1/+9
Move the regexp parsing code from the NAT to libcommon as it will be used by the NAT and BSC code. This also adds the #include <regex.h> include to gsm_data. This header should be split up.
2011-08-19src: port openBSC over libosmo-abis0.9.15Pablo Neira Ayuso13-409/+15
This is a big patch that ports openBSC over libosmo-abis. Sorry, the changes that are included here are all dependent of libosmo-abis, splitting them into smaller pieces would leave the repository in some intermediate state, which is not desired. The main changes are: - The directory libabis/ has been removed as it now lives in libosmo-abis. - new configuration file format for nanoBTS and HSL femto, we need to define the virtual e1_line and attach it to the OML link. - all the existing BTS drivers (nanoBTS, hsl femto, Nokia site, BS11 and rbs2000) now use the new libosmo-abis framework. - use r232 input driver available in libosmo-abis for bs11_config. - use ipa_msg_recv instead of old ipaccess_read_msg function. - delete definition of gsm_e1_subslot and input_signal_data. These structures now lives in libosmo-abis. Most of this patch are deletions of libabis/ which has been moved to libosmo-abis. This patch also modifies openBSC to use all the new definitions available in libosmocore and libosmo-abis. In order to do that, we have replaced the following: - DINP, DMI, DMIB and DMUX by their respective DL* correspondences. - SS_GLOBAL by SS_L_GLOBAL - SS_INPUT by SS_L_INPUT - S_GLOBAL_SHUTDOWN by S_L_GLOBAL_SHUTDOWN - SS_INPUT by SS_L_INPUT - S_INP_* by S_L_INP_* sub-signals - E1INP_NODE by L_E1INP_NODE vty node This patch has been tested with: - one nanoBTS - the HSL femto with the examples available under libosmo-abis - BS11 with both dahdi and misdn drivers.
2011-08-19src: use new msg->dst pointer instead of deprecated msg->trxPablo Neira Ayuso1-0/+2
This patch modifies openBSC code to use msg->dst which stores the pointer to the signalling link structure instead of the pointer to the transceiver structure. This patch prepares the introduction of libosmo-abis.
2011-08-11RSL: add timer for lchan activation/deactivation without BTS responseHarald Welte1-0/+1
The timer callback will simply reset the lchan state to NONE in order to prevent channels getting stuck in 'activation requested' or 'deactivation requested' states.
2011-08-11E1 Input: Add rate counters for events related to E1 linesHarald Welte1-0/+10
2011-08-10LAPD: Propagate lapd_receive() errors to the E1 driverPablo Neira Ayuso1-0/+1
Scenario: BTS are configured and working, then the BSC stops working for some reason (crash or administrative stop). If the BSC comes back to life, LAPD among other things does not know about the previous existing TEIs. Instead of ignoring these frames, we notify the driver that we are seeing frames with unknown TEIs, so it can try to recover, e.g. by resending the SABM message.
2011-08-10NOKIA: Move more static variables into 'struct gsm_bts'Harald Welte1-0/+7
2011-08-10Initial version of Support for Nokia *Site BTSDieter Spaar3-0/+9
This includes the MetroSite, but also other Nokia BTS models.
2011-07-27GPRS: Fix buffer overflow in case of very long MS RA CAP IEHarald Welte1-1/+1
The MS Radio Access Capability IE can be _very_ long in some recent high-end mobile phones, way beyond the old 14-byte limit. We increase our array to 52 bytes, and make sure not to overflow that buffer.
2011-07-23fix some header file related issues preventing lcr from compilingHarald Welte1-4/+6
2011-07-19libcommon: Add DCTRL logging destination for libctrl related messagesDaniel Willmann1-0/+1
2011-07-19paging: Add method to find the paging data for a given subscriberHolger Hans Peter Freyther1-0/+2
2011-07-19mgcp: Implement RSIP based on a trunk levelHolger Hans Peter Freyther1-1/+1
Implement the RSIP spec extension to work on the specified trunk instead of hardcoding it to the virtual trunk.
2011-07-19bsc: Call the RF Control interface ctrl all the wayHolger Hans Peter Freyther1-1/+1
We had the rf_ctrl_name and the rf_ctl pointer, make both use the word ctrl.
2011-07-16db: use ANSI (void) function declarationsHarald Welte1-2/+2
2011-07-13controlif: declare controlif_setup() in control_cmd.hHarald Welte1-0/+3
this avoids us to copy+paste external declarations over all 'main' files.
2011-07-13nat: Use libctrl and add command forwarding to osmo-bscDaniel Willmann1-0/+22
Passes commands beginning with "bsc.<num>" to the bsc that is responsible for LAC <num>.
2011-07-13libctrl: Add ctrl_cmd_cpy() to copy a commandDaniel Willmann1-0/+1
2011-07-13libctrl: Add macros to help define commandsDaniel Willmann1-0/+69
2011-07-13Add libctrl, an SNMP-like control interfaceDaniel Willmann1-0/+81
In contrast to the VTY interface the control interface is meant to be used by programs. This patch adds basic support, no commands are defined.
2011-06-29properly reset the MO state of all MO on Abis disconnect0.9.14Harald Welte1-0/+5
When we loose the A-bis link, we should properly re-set the administrative, operational and availability state of all MOs
2011-06-29add lchan->meas for BTS side codeHarald Welte1-0/+38
TODO: move all of the BTS side per-lchan data behind a 'void *role' pointer like 'struct gsm_bts'
2011-06-26move gsm 05.02 related calculations into libosmocoreHarald Welte1-3/+0
2011-06-26use new gsm48_number_of_paging_subchannels from libosmocoreHarald Welte1-1/+0
2011-06-26system information related bits for osmo-btsHarald Welte1-1/+9
2011-06-25move {ts,lchan}2chan_nr() functions to gsm_data_shared.cHarald Welte2-1/+5
... this way osmo-bts can use them
2011-06-07add back-pointer for l1 as part of BTS role.Harald Welte1-0/+4
2011-06-06add mo->bts member so we can discover which BTS a MO belong stoHarald Welte1-0/+1
2011-06-06move objclass2{nmstate,mo,}obj() to gsm_data_shared.c (and prefix)Harald Welte1-1/+12
2011-06-05split gsm_data.c in gsm_data_shared.c and gsm_data.cHarald Welte2-9/+14
This facilitates the use of gsm_data.c from osmo-bts
2011-06-05abis_nm.h: Use osmocom/core/abis_nm.hHarald Welte1-2/+1
2011-06-03Introduce per-ts TSCHarald Welte1-0/+1
This allows us to configure a TSC for each timeslot, not just one globally for the entire BTS.
2011-06-03gsm_data_shared: introduce 'struct gsm_abis_mo'Harald Welte1-19/+24
... as a common wrapper around nm_attr and nm_state
2011-06-03split gsm_data.h in gsm_data_shared.h and gsm_data.hHarald Welte3-514/+522
gsm_data.h is the part that contains BSC-specific data, whereas gsm_data_shared.h is now shareda with osmo-bts
2011-06-03gsm_data: Use osmocom/gsm/sysinfo.hHarald Welte1-3/+3
and include rest_octets.h only in case of BSC
2011-06-01nat: Look into the TPDU/SMS-SUBMIT and use the TP-DestAddress for matchesHolger Hans Peter Freyther1-0/+2
Match the used SMSC and the destination of the SMS and change the SMSC address if both are matched.
2011-06-01nat: Patch the destination SMS address of a messageHolger Hans Peter Freyther1-1/+4
Use the same filtering infrasturcture to patch the SMSC address in a CP-DATA/RP-DATA message. Add a very simple testcase for this code.