aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
2012-09-11gsm_data: Include a structure for the geographical location in gsm_btsDaniel Willmann1-0/+18
2012-09-11ctrl: Improve error handling if controlif setup failsDaniel Willmann1-1/+1
2012-09-11osmo-bsc: Put the control commands in osmo_bsc_ctrl.cDaniel Willmann1-0/+1
2012-09-11libctrl: Add function ctrl_cmd_send_to_allDaniel Willmann1-0/+3
Sends a command to all ctrl connections except the one it originated from.
2012-09-11libctrl: Add trap helper functionDaniel Willmann1-0/+1
2012-09-11libctrl: Change controlif_setup so it returns the ctrl handleDaniel Willmann4-2/+15
nat: Catch up with controlif_setup API change We now save a control handle reference in the nat osmo-bsc: Catch up with controlif_setup API change We now save a control handle reference in the gsm network
2012-08-29RSL: Add basic support for CSD transparent modeHarald Welte1-0/+13
We now have a lchan->csd_mode member that determines if RSL should activate the channel in CSD transparent services or not. The previous code always assumed CSD is non-transparent. (This requires libosmocore >= eed26116c96f03c6128fac3dead9054714af6cab)
2012-08-17VTY: dynamically create BTS "type" command syntaxHarald Welte2-0/+4
2012-08-17dynamically generate a proper VTY reference for phys_chan_configHarald Welte1-0/+4
this uses vty_cmd_string_from_valstr() from _very_ recent libosmocore, so you have to update the library, sorry.
2012-08-14abis_nm: Add function abis_nm_get_attr() to get attributes from BTSHarald Welte1-0/+3
2012-07-12move BTS-specific timezone override into sub-structureHarald Welte1-3/+5
Group all three structure members involved in bts-specific timezone handling into a sub-structure.
2012-07-02BSC: introduce new "sysmobts" BTS modelHarald Welte3-0/+4
so far, osmo-bts/sysmobts used to be entered as "sysmobts" type in the configuration file. However, there are some differences in the protocol/behaviour and we should reflect that by a new BTS plugin (with lots of code reuse from the nanobts driver).
2012-06-28gsm_data_shared: add structure for decoded parameters of RLC configHarald Welte1-0/+45
this is primarily needed on the BTS side, but we should also use it on the BSC side and make the parameters VTY-configurable.
2012-06-17use new external libosmogb (part of libosmocore.git)openbsc/0.12.0Harald Welte10-637/+1
This removes the libgb (GPRS NS/BSSGP) code from the openbsc.git repository and uses the new version from libosmocore.git instead.
2012-06-17libgb: separate header files related to spec and implementationHarald Welte6-219/+238
like in libosmogsm, we separate between header files that are just reflecting information in the respective specs, and header files that related to our specific implementation.
2012-06-17libgb: make sure all BSSGP functions have bssgp_ prefixHarald Welte1-7/+7
We change the minority of functions employing the gprs_bssgp_ prefix to match with the majority without gprs_ in front.
2012-06-17libgb/gprs: don't use log_info from libcommon anymoreHarald Welte1-0/+3
2012-06-17libgb: prefix all NS related functions with gprs_Harald Welte1-9/+10
2012-06-17libgb: don't call directly into GMM / LLC layerHarald Welte1-0/+37
Instead of direct function calls to individual functions, we now generate primitives (osmo_prim) and send them to one application-provided function "bssgp_prim_cb()"
2012-06-17libgb: remove dependency of BSSGP to include sgsn/gmm internal structsHarald Welte1-2/+15
2012-06-16libgb: Remove dependency to openbsc/debug.hHarald Welte4-2/+7
2012-06-16libgb: remove dependencies to openbsc/vty.h and openbsc/gsm_data.hHarald Welte1-2/+0
Rather than using openbsc internal data/functions, we now use only internal and libosmocore-provided ones.
2012-06-16libgb: Use library SS_L_NS instead lf local SS_NSHarald Welte2-14/+13
which removes some further dependencies of libgb to openbsc internal code and data.
2012-06-16libgb: move GPRS specific msgb CB definitions to separate headerHarald Welte5-26/+33
2012-06-16split libgb into a separate library for outside useHarald Welte9-5/+11
This also removes the dependency to osmo_sock() inside libcommon and replaces it with osmo_sock_* from libosmocore
2012-06-16gsm_data_shared: add handover related bits for osmo-btsHarald Welte1-0/+8
2012-06-03Allow VTY-based configuration of T3105Harald Welte1-0/+1
This timer will only be forwarded to BS11 and Ericsson Abis so far, not to Nokia and ip.access BTS yet.
2012-05-11mgcp: Make it possible to drop RTCP packets coming from the BTS/NetHolger Hans Peter Freyther1-0/+2
The ip.access nanoBTS appears to send quite broken NTP timestamps in the RTCP messages might confuse equipment that uses the sender report of the BTS. Make it easy to experiment by adding an option to drop RTCP.
2012-04-19add loopback flag to lchan (for osmo-bts)Harald Welte1-0/+1
2012-04-18lchan: Fix the name of the SACCH in the variable namesHolger Hans Peter Freyther3-3/+3
Call the channel by the right name.
2012-04-08add 'ciph_state' member to BTS-side lchan definitionHarald Welte1-0/+2
2012-03-16bsc: Prepare to have multiple MSC connectionsHolger Hans Peter Freyther1-3/+11
We now have a list of MSCs but in the code we will try to access the MSC with the nr 0.
2012-03-16bsc: Move more things to use osmo_msc_data* directlyHolger Hans Peter Freyther1-1/+1
2012-03-16bsc: Move away from ->bsc.msc to use the selected MSCHolger Hans Peter Freyther1-1/+3
For multiple MSCs we should only have one place where the MSC is selected and the rest will extract it from somewhere.
2012-03-16bsc: Create a osmo_bsc_data and embed osmo_msc_dataHolger Hans Peter Freyther3-5/+16
We want to have multiple MSCs but we also have some data that is only present on a per BSC basis. Right now the MSC data is not allocated with talloc, so we have some change in the talloc contexts.
2012-03-16mgcp: implement a more tolerant parser based on strtok_r()Harald Welte1-3/+0
Instead of building complex manual byte-wise parsers, we simply use two strtok_r loops: one iterating over all the lines, the next one iterating over the invididual space-separated elements in the first line. The benefit is that we now accept \r, \n or \r\n, or any multiple of them as line ending. This works around incompliant MGCP implementations like that of Zynetix MSC. Addition: mgcp_analyze_header returns 0 when all out parameters have been set. Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2012-03-02misc: Deal with smatch warnings about the bitfieldsHolger Hans Peter Freyther2-5/+5
Use unsigned ints for the bitfield.
2012-02-03abis_rsl: The rach information was not used, introduce a signalHolger Hans Peter Freyther1-0/+15
Introduce a SS_CCCH for the paging and the rach load. The paging code could now start using the signal. GCC warning: abis_rsl.c: In function ‘rsl_rx_ccch_load’: abis_rsl.c:1371:11: warning: variable ‘rach_access_count’ set but not used [-Wunused-but-set-variable] abis_rsl.c:1370:11: warning: variable ‘rach_busy_count’ set but not used [-Wunused-but-set-variable] abis_rsl.c:1369:11: warning: variable ‘rach_slot_count’ set but not used [-Wunused-but-set-variable]
2012-01-27mgcp: add missing prototypes for send_mgcp_reset_*Harald Welte1-0/+3
2012-01-23Move the bulk of RR processing from MSC into BSCHarald Welte1-0/+3
RR Messages like STATUS, GPRS SUSPEND, HANDOVER COMPLETE/FAIL, ... should be processed on the BSC side of things, not on the MSC side. This is among other things required in preparation of intra-BSC hand-over support in osmo-bsc.
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.
2012-01-18nat: Prepare to rewrite the TP-DA number of a SMS submit.Holger Hans Peter Freyther1-0/+2
Introduce number rewriting of SMS-SUBMIT. Introduce a new list, move code around to help with finding a new number, somehow the number encoding for TP-DA is borked, 03.40 references 04.11 but the length appears to be strlen(number) without taken the type field into account.
2012-01-17rsl: This is provided by libosmo-abis, remove it hereHolger Hans Peter Freyther1-1/+0
2012-01-17bts: Convert the rsl_link to be a struct ipabis_linkHolger Hans Peter Freyther1-0/+4
2012-01-15abis: gsm_data_shared.h includes libosmo-abis header, add abis to cflagsHolger Hans Peter Freyther1-1/+0
gsm_data_shared.h includes e1_input.h of libosmo-abis, add the LIBOSMOABIS_CFLAGS to Makefile.am, remove AM_LDFLAGS at the same time as we only build .a archives.
2012-01-15mncc: Include size and offsets of struct gsm_mncc in the helloHolger Hans Peter Freyther1-1/+11
Increase the version number and send the sizeof of the gsm_mncc and the gsm_data_frame structure. Include the offsets of some members as well to maybe identify ABI problems. The reason we go through this is that we want to benefit from the native ABI and don't want to force packed structs.
2012-01-15lchan: Rename release_reason to release_modeHolger Hans Peter Freyther2-2/+4
Use the name of GSM 08.58 for the release mode.
2012-01-15channel: Fix a typo in the lchan state documentationHolger Hans Peter Freyther1-1/+1
2012-01-10nat: Implement clearing of TP-SRR flags from TPDUsHolger Hans Peter Freyther1-0/+2
Match IMSI and destination address against a set of entries, if it is matching the header will be modified and no sender report will be requested. Change the test case to request the sender report and then verify that this bit is reset to 0.
2012-01-06gprs: Honor GSM 04.64 8.4.2 Receipt of unacknowledged informationHolger Hans Peter Freyther1-0/+16
GSM 04.64 8.4.2 asks to ignore UI frames if the DLCI is not known, or if the "(V(UR)- 32) <= N(U) < V(UR)". E.g. if we want to have V(UR) == 511 and this frame is dropped, we would ignore N(U)'s 0 to 510. Calculate the delta. The code is based on Jonathan Santos's "LLC UI window" fix but the issue was discovered independly.