aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
AgeCommit message (Collapse)AuthorFilesLines
2012-09-11gsm_data: Include a structure for the geographical location in gsm_btsDaniel Willmann1-0/+2
2012-09-11ctrl: Improve error handling if controlif setup failsDaniel Willmann5-18/+52
2012-09-11osmo-bsc: Put the control commands in osmo_bsc_ctrl.cDaniel Willmann3-259/+314
2012-09-11osmo-bsc: Only send a TRAP if the location changesDaniel Willmann1-4/+14
2012-09-11osmo-bsc: Add support for traps to the location commandDaniel Willmann1-1/+31
2012-09-11osmo-bsc: Allow location tstamp to be zero if fix is invalidDaniel Willmann1-2/+2
2012-09-11osmo-nitb: Update control interface API in osmo-nitbDaniel Willmann1-1/+1
2012-09-11nat: Add support for traps to the natDaniel Willmann1-0/+7
2012-09-11libctrl: Add function ctrl_cmd_send_to_allDaniel Willmann1-0/+15
Sends a command to all ctrl connections except the one it originated from.
2012-09-11libctrl: Add trap helper functionDaniel Willmann1-0/+13
2012-09-11libctrl: Change controlif_setup so it returns the ctrl handleDaniel Willmann3-18/+20
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-09-11libctrl: Keep track of connections in struct ctrl_handleDaniel Willmann1-1/+11
2012-09-11bts_hsl_femtocell.c: Use PRIx64 to printf the uint64_tHolger Hans Peter Freyther1-2/+3
bts_hsl_femtocell.c: In function ‘hsl_sign_link_up’: bts_hsl_femtocell.c:206:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint64_t’ [-Wformat] bts_hsl_femtocell.c:210:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ [-Wformat]
2012-09-11mgcp_network.c: Address compiler warning on returnHolger Hans Peter Freyther1-0/+2
When adding the "omit RTCP" the method started to return with a proper return statement. mgcp_network.c: In function ‘send_to’: mgcp_network.c:233:1: warning: control reaches end of non-void function [-Wreturn-type]
2012-09-11bsc_init: Initialize rc on all paths to address a compiler warningHolger Hans Peter Freyther1-0/+1
bsc_init.c:203:6: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized] bsc_init.c:101:6: note: ‘rc’ was declared here
2012-09-11misc: Address compiler warning on unused variablesHolger Hans Peter Freyther6-20/+12
abis_nm.c: In function ‘abis_nm_get_attr’: abis_nm.c:1380:11: warning: unused variable ‘cur’ [-Wunused-variable] abis_nm.c: In function ‘ipac_parse_bcch_info’: abis_nm.c:2588:11: warning: variable ‘len’ set but not used [-Wunused-but-set-variable] bts_nokia_site.c:1310:6: warning: variable ‘constructed’ set but not used [-Wunused-but-set-variable] bts_nokia_site.c: At top level: bts_nokia_site.c:1364:12: warning: ‘dump_elements’ defined but not used [-Wunused-function] gsm_04_08.c: In function ‘mm_rx_loc_upd_req’: gsm_04_08.c:521:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] osmo_msc.c: In function ‘msc_ciph_m_compl’: osmo_msc.c:122:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] bts_hsl_femtocell.c: In function ‘hslfemto_bootstrap_om’: bts_hsl_femtocell.c:101:11: warning: variable ‘cur’ set but not used [-Wunused-but-set-variable] bts_hsl_femtocell.c: In function ‘hsl_drop_oml’: bts_hsl_femtocell.c:232:21: warning: variable ‘line’ set but not used [-Wunused-but-set-variable] handover_logic.c: In function ‘ho_chan_activ_ack’: handover_logic.c:197:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
2012-09-11gsm_data: Address compiler warning of unhandled switchHolger Hans Peter Freyther1-0/+1
gcc does not really know the _NR_OF_ELEMENTS_IN_ENUM approach, add the _NUM_GSM_BTS_TYPE to the handled cases. gsm_data.c: In function ‘gsm_set_bts_type’: gsm_data.c:349:2: warning: enumeration value ‘_NUM_GSM_BTS_TYPE’ not handled in switch [-Wswitch]
2012-09-07OM2000: don't silently send CON/IS/TF configuration requestHarald Welte1-0/+9
2012-09-07RBS2000: Don't sent IS configuration if we want to config TFHarald Welte1-1/+1
2012-09-07OM2000: make sure to route messages to IXU/DXU over BTS oml linkHarald Welte1-2/+3
Messages to CF and other core objects need to go to the BTS (IXU/DXU) OML link, not to the OML link of the primary TRX!
2012-09-07OM2000: don't signal operational state for a unknown MOHarald Welte1-0/+3
This case happens if the BTS signals operational state for a TRXC which is not configured as TRX in the openbsc.cfg
2012-08-29RSL: Add basic support for CSD transparent modeHarald Welte1-6/+45
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-29reimplement chan_compat_with_mode() to take care of CSDHarald Welte1-9/+34
2012-08-29bsc_api: Invert logic of chan_compat_with_mode()Harald Welte1-4/+4
A function called this way should return 1 if it is compatible, so something like "if (!chan_compat_with_mode())" will check if it is not compatible.
2012-08-17VTY: improve VTY prompt and make sure exit/end works everywhereHarald Welte7-13/+17
Some nodes below 'config' didn't have ournode_exit / ournode_end, and thus were not able to properly perform this function. exit should always only go back one level, while end drops us back to ENABLE_NODE. The prompt now represents the nesting level, and there's one consistent space after the final prompt character (typically #).
2012-08-17VTY: dynamically create BTS "type" command syntaxHarald Welte2-4/+27
2012-08-17BSC VTY: use numeric ranges for bts/trx/timeslot numbersHarald Welte1-8/+8
This effectively limits the number of BTSs to 256, but I think that's acceptable for now. Unfortuantely there's no decent way to dynamically update the valid number range depending on how many BTSs are actually configured in the system :/
2012-08-17dynamically generate a proper VTY reference for phys_chan_configHarald Welte2-5/+53
this uses vty_cmd_string_from_valstr() from _very_ recent libosmocore, so you have to update the library, sorry.
2012-08-17... and more VTY help fixesHarald Welte1-4/+7
2012-08-17Some more VTY documentation / help fixesHarald Welte3-9/+13
2012-08-16complete the VTY help messages so we don't get "null" in the manualHarald Welte4-47/+188
2012-08-14abis_nm: Add function abis_nm_get_attr() to get attributes from BTSHarald Welte1-0/+19
2012-08-03typo: Mandantory -> Mandatory.. a common typo of mineHolger Hans Peter Freyther1-3/+3
2012-08-03gb: suspend_ref was changed to a plain uint8_t, update the codeHolger Hans Peter Freyther1-1/+1
Require a 0.5.2+ libosmogb due the change of the suspend_ref type.
2012-07-28nat: Document all parameters of the VTY commandsHolger Hans Peter Freyther1-26/+50
2012-07-28mgcp: Make sure "no rtcp-omit" is fully documentedHolger Hans Peter Freyther1-4/+6
One command missed the NO_STR in the documentation, share the main text across all commands.
2012-07-28misc: Introduce a script tha generates the VTY referenceHolger Hans Peter Freyther1-24/+0
Update/Move/Create example configuration files for NiTB, BSC, MGCP, NAT and the GbProxy. Create a script that starts, generates the vty reference and terminates the application.
2012-07-21libbsc: Add documentation to MM INFO, LAC, TSC, CIHolger Hans Peter Freyther1-4/+6
2012-07-21nitb: Document missing parameters, reword documentation, combine paramHolger Hans Peter Freyther1-3/+3
Change "pending send" to "pending-send" as there is no other pending command right now, add missing documentation for parameters.
2012-07-16MSC 04.08: RRLP messages are DRR, not DNM !Harald Welte1-1/+1
2012-07-16BSC API: Don't treat a RRLP message as NOTICE eventHarald Welte1-0/+6
While generally we should log troly unknown RR messages, we can simply pass along RRLP messages (which aren't unknown!) In real networks, the RRLP would probably not end up at the MSC, but well, sometimes we don't care what real/classic networks do.
2012-07-14SGSN: Code to help debug / fix sgsn crash in cb_data_ind()Harald Welte2-1/+26
A crash was obsserved in cb_data_ind() when mm is dereferenced. This patch adds some safeguards that try to prevent the library handle back-pointer to the pdp_ctx to be NULL, and print a stack backtrace in case we are free() ing the sgsn-side pdp_ctx while there's still a library handle attached.
2012-07-14add some comments regarding the free() / release of pdp contextxHarald Welte2-0/+8
It might be that we're deleting structures instead of properly cleaning up the attached libgtp handles...
2012-07-12move BTS-specific timezone override into sub-structureHarald Welte2-13/+15
Group all three structure members involved in bts-specific timezone handling into a sub-structure.
2012-07-12handover: Not finding a HO record on CHAN ACT NACK is not an errorHarald Welte1-1/+1
... it might well a completely non-ho-related establishment
2012-07-10msc: Attempt to release the lchan immediately on IMSI DetachHolger Hans Peter Freyther1-6/+6
The Nokia E71 sends a "IMSI Detach" this msc code does not immediately send the "RR Channel Release", the E71 is impatient and sends a DISC, the "RELEASE INDICATION" is handled by starting the channel release procedure. OpenBSC sends a "RR Channel Release" which will never be answered, during the early release there is no timer and the lchan will be in "RELEASE REQUESTED" forever. This commit removes the anchor operation and checks if the channel can be released immediately. Regarding the channel release handling there is already a branch that needs to be tested.
2012-07-04GPRS LLC: fix segfault when transmitting downlink unit-data without mmctxHarald Welte1-5/+10
2012-07-04BSC VTY: Allow encryption to be set to A5/3Harald Welte1-2/+3
We are currently not checking if the BTS actually suports that cipher, and we particularly don't have any hack for ip.access which apparently seems to re-use the RSL algorithm identifier for A5/2.
2012-07-02BSC: introduce new "sysmobts" BTS modelHarald Welte10-8/+97
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-07-02pre-fix measurement reports with subscriber identityHarald Welte1-3/+7
... otherwise it's impossible to distinguish them from each other.