aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-05-19socket: Add support for GRE socketsHarald Welte3-5/+30
2010-05-19[SGSN] Gb Proxy: Simplify configurationHarald Welte4-65/+19
Almost all parameters about the SGSNs NS-VC can be specified in the NS protocol node. All that needs to remain in the gbproxy config node is "nsip sgsn nsei XXX".
2010-05-18[GPRS] SGSN: use GGSN IP address from config file, disable TMSI allocationHarald Welte4-17/+41
2010-05-18[GPRS] SGSN: actually isert a ggsn context when we allocate itHarald Welte1-0/+1
2010-05-18[GPRS] SGSN: Make sure libgtp timer doesn't segfaultHarald Welte1-0/+1
2010-05-18[GPRS] SGSN: No need to calculate difference for libgtp timerHarald Welte1-39/+2
The libgtp return value is already a timespan value, not a wallclock time.
2010-05-18[GPRS] fix numerous compiler warningsHarald Welte4-15/+13
2010-05-18[GPRS] SGSN: TMSI allocationHarald Welte4-35/+82
2010-05-18[GPRS] SGSN: Correctly set upper 4 bits of PDP address to 0Harald Welte1-0/+9
It's really strange. In GTP those 4 bits are 1, in 04.08 they are zero. Otherwise the IE is exactly the same :/
2010-05-18[GPRS] SGSN: exit() if we cannot bind to the GTP addressHarald Welte1-0/+3
2010-05-18[GPRS] SGSN: Make sure the PCO from GGSN are passed to the MSHarald Welte1-1/+1
2010-05-18[GPRS] SGSN: properly delete a PDP context after receiving PDP CTX DEACT REQHarald Welte9-47/+95
2010-05-18[GPRS] SGSN: Don't use GGSN-provided QoS as the MS doesn't like itHarald Welte1-4/+3
2010-05-18[GPRS] SGSN: ensure we mark libgtp filedescriptors as READHarald Welte1-0/+3
2010-05-18[GPRS] LLC: Fix logic to detect unknown TLLI/SAPIHarald Welte1-8/+10
2010-05-18[GPRS] SGSN: properly initialzie pdp_list head of mm ctxHarald Welte1-0/+1
2010-05-18[GPRS] LLC: print human-readable LLC command typeHarald Welte1-1/+17
2010-05-18[GPRS] LLC: Add VTY interface for LLCHarald Welte5-36/+125
2010-05-18[GPRS] fix null pointer dereference in GMMHarald Welte1-2/+2
2010-05-18[GPRS] BSSG: Fix Vty printing of BVCHarald Welte1-1/+1
2010-05-18[GPRS] BSSGP: Use correct values for SIGNALLING and PTM BVCIHarald Welte2-5/+9
2010-05-18[GPRS] add missing header file gprs_gmm.hHarald Welte2-1/+11
2010-05-18[GPRS] Make sure libsgsn.a is only built when libgtp is availableHarald Welte1-1/+1
2010-05-18[GPRS] SGSN: Include rate counters in MM ContextHarald Welte5-14/+76
2010-05-18[GPRS] Properly connect GPRS SM with LIBGTP for PDP context activationHarald Welte6-28/+168
* store LLC SAPI as part of PDP ctx * store NSEI + BVCI as part of MM ctx * export gsm48_tx_gsm_act_pdp_acc() and call it from sgsn_libgtp.c * create and use gsm48_tx_gsm_act_pdp_rej for error cases * print SAPI as part of VTY show pdp
2010-05-18[GPRS] SGSN: Activate BSSGP VTY functionsHarald Welte2-0/+4
2010-05-18[GPRS] Build osmo-sgsn only if libgtp is availableHarald Welte2-0/+9
2010-05-17[GPRS] BSSGP: Add VTY for configuration and inpectionHarald Welte5-2/+207
This also includes log filtering based on NSEI/BVCI tuple
2010-05-17[GPRS] BSSGP: Introduce packet/byte countersHarald Welte1-0/+17
2010-05-17[GPRS] VTY: Add BSSGP nodeHarald Welte2-0/+2
2010-05-17[GPRS] BSSGP: expose more internal structures / APIHarald Welte2-27/+33
2010-05-17[GPRS] BSSGP: Rename bssgp_bts_ctx to bssgp_bvc_ctxHarald Welte1-19/+19
The Context really is about a BVC (BSSGP Virtual Connection). In the case we operate BSSGP on the SGSN side, this corresponds to a link to a BTS.
2010-05-17[GPRS] More work on a real SGSNHarald Welte5-92/+431
2010-05-17[SGSN] remove the mmctx->sgsn pointerHarald Welte4-8/+4
We never want to support multiple sgsn's within one process, so there is no point in passing them around all the time.
2010-05-17[GPRS] Initial untested support for libgtpHarald Welte9-47/+637
libgtp of the OpenGGSN project will allow us to speak the GTPv0/v1 protocol of the interface between SGSN and GGSN. This commit includes code for the main libgtp integration (file descriptor, select loop, timer) as well as code to encode/send a CREATE PDP CONTEXT request.
2010-05-16[GPRS] NS: Receiving a STATUS message is a NOTICEable eventHarald Welte1-2/+2
2010-05-16VTY: separate VTY logging commands and OpenBSC node exit codeHarald Welte7-105/+143
2010-05-16VTY: rename vty_interface.c to bsc_vty.cHarald Welte2-1/+1
This should reflect the fact that it contains BSC-specific VTY commands.
2010-05-16VTY: Move BSC specific openbsc_vty_print_statistics() to vty_interface.cHarald Welte2-17/+17
2010-05-16VTY: decouple telnet_interface from 'struct gsmnet'Harald Welte15-120/+153
We want the VTY and telnet code to be independent from the BSC application(s). As a side note, we also like to eliminate static global variables for 'struct gsm_network' all over the code. As such, telnet_init() is now passed along a "private" pointer, which getst stored in telnet_connection.priv. This telnet_connection is then stored in vty->priv, which in turn gets dereferenced if anyone needs a reference to 'struct gsm_network' from the BSC vty code. Also: * vty_init() now calls cmd_init() * the ugliness that telnet_init() calls back into the application by means of bsc_vty_init() function has been removed. * telnet_init() now returns any errors, so the main program can exit e.g. if the port is already in use.
2010-05-16telnet: cosmetic coding style changesHarald Welte1-4/+8
2010-05-16telnet: remove dead codeHarald Welte1-7/+0
2010-05-16VTY: use argv_concat() instead of vty_argv_to_buffer + buffer_getstr()Harald Welte2-38/+13
2010-05-16VTY: remove accidentially enabled TELNET option debuggingHarald Welte1-1/+0
2010-05-16VTY: pass program name, version and copyright to vty_init()Harald Welte13-67/+47
This enables us to make the VTY completely independent of any compile-time program-specific information, i.e. one step closer to using VTY as a shared library from multiple programs.
2010-05-16VTY: remove dead codeHarald Welte1-168/+1
2010-05-16vty: use install_node_ve() instead of separate ENABLE and VIEW node installsHarald Welte1-4/+2
2010-05-16VTY: Context-sensitive help for logging related commandsHarald Welte3-11/+16
2010-05-15[GPRS] NS: Allow filtering of log messages by NSVC / NSEIHarald Welte5-3/+84
2010-05-15VTY / logging: Fix subscriber context / imsi filteringHarald Welte1-5/+1
The debug.c code had its own private CTX_ definitions that were not synchronized with debug.h:BSC_CTX_* definitions.