aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
AgeCommit message (Collapse)AuthorFilesLines
2014-12-30SMS-CB: Add #defines for maximum block/msg size and payload charsHarald Welte2-0/+8
2014-12-30add missing gsm0341.hHarald Welte1-0/+9
2014-12-29Add Cell Broadcast MSGIDs from TS 23.041 v12.6.0 Release 12Harald Welte1-0/+38
2014-12-28bitvec: Fix typo in the csn1 encoding codeHolger Hans Peter Freyther1-1/+1
We can curse about CSN.1 and 3GPP but I think we want to call it cursor here.
2014-12-28libosmo-gsm: Add PCHAN/LCHAN types for CBCHHarald Welte1-0/+3
2014-12-22ipa: Add forward declaration of struct osmo_fdJacob Erlbeck1-0/+2
A pointer to struct osmo_fd is used in a few prototypes declared in gsm/ipa.h, but is neither declared explicitly nor is such a declaration reachable via the given include directives. This patch adds a forward declaration of this type to ensure proper compilation. Sponsored-by: On-Waves ehf
2014-12-14ipa: Make a reservation for the GSUP protocolHolger Hans Peter Freyther1-0/+1
GSUP is a protocol to have the OpenBSC SGSN talk to an exterbal system for 3GPP MAP connectivity.
2014-12-05logging: Make it possible to print category/subsys and timestampsHolger Hans Peter Freyther1-0/+6
We want to see from which category/subsystem a certain log message is coming from and use a different timestamp format as well. Add two new bitfields. This doesn't change the size of the structure and on 32bit we still have 27bits left. The extended timestamp will take preference over the current and default timestamp format. Fixes: SYS#602
2014-12-04gtp: Add a global region for the gtp library of OpenGGSNHolger Hans Peter Freyther1-1/+2
We want to use libosmocore/libosmovty in the GGSN sourcecode and reserve a global region here.
2014-12-04vty: Check with the application before writing the configHolger Hans Peter Freyther1-0/+2
For the BSC/NITB application we see that people modify the band without modifying the ARFCN. This creates an unbootable config. Using the new hook the BSC/NITB can check if the config is consistent and prevent the config file being written. Related: SYS#739
2014-11-14remove references to u_char type, use 'unsigned char' insteadHarald Welte2-2/+2
... u_char not being defined on Nuttx.
2014-10-26sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+Harald Welte2-2/+2
according to Holger, using AGPLv3+ at the time was a mistake and the license should always have indicated GPLv2+.
2014-10-26Change license of libosmogb from AGPLv3+ to GPLv2+Harald Welte1-4/+4
The copyright holders Harald Welte, Holger Freyther, Andreas Eversberg and sysmocom - s.f.m.c. GmbH (represented by Holger and Harald) agree that the license of libosmogb should be GPLv2+ and not AGPLv3+. The reason the source files stated AGPLv3+ is due to the history, as they were moved from OpenBSC to libosmocore at the time we needed to use them from osmo-pcu. It was an oversight back then to not re-license them accordingly.
2014-10-26make sure to register DF.TELECOM and DF.GSM for SIM, USIM + TSIMHarald Welte1-2/+2
before we only did it partially, and by exporting data from sim, rather than the new osim_int_cprof_add_{gsm,telecom}() functions.
2014-10-26sim: add missing const to reader_ops member of reader_handleHarald Welte1-1/+1
2014-10-26sim: Prepare infrastructure for protocols != T=0 and other driversHarald Welte1-2/+17
2014-10-26sim: More comments in sim.hHarald Welte1-12/+44
2014-10-26sim: Make TETRA SIM (TSIM) support compileHarald Welte1-0/+9
2014-10-26sim: mark osim_msgb_cb as __may_alias__ to avoid gcc warningsHarald Welte1-1/+1
2014-10-26sim: Add sfi to EF_*() macrosHarald Welte1-11/+14
2014-10-26sim: Add minimal/recommended size of file / recordHarald Welte1-15/+29
2014-10-26sim: further updates/fixesHarald Welte1-1/+3
2014-10-26sim: add decoding of status wordsHarald Welte1-2/+8
2014-10-26sim: replaced function/structure comments with doxygen commentsKevin Redon1-19/+39
affected files: sim.h, sim/core.c affected funtions/strucutres: osim_new_apdumsg, osim_apdu_case,osim_apdu_cmd_hdr, osim_msgb_cb
2014-10-26sim: add comment/explaination for structure osim_msgb_cbKevin Redon1-4/+5
2014-10-26sim: add comment/explaination for structure osim_apdu_cmd_hdrKevin Redon1-5/+6
2014-10-26sim: renamed case to the one defined in ISO7816-3Kevin Redon1-6/+6
APDU_CASE_2 becomes APDU_CASE_2S APDU_CASE_2_EXT becmoes APDU_CASE_2E APDU_CASE_3 becomes APDU_CASE_3S APDU_CASE_3_EXT becmoes APDU_CASE_3E APDU_CASE_4 becomes APDU_CASE_4S APDU_CASE_4_EXT becmoes APDU_CASE_4E
2014-10-26sim: add comment/explaination for structure osim_apdu_caseKevin Redon1-8/+8
2014-10-26initial checkin of 'libosmosim'Harald Welte1-0/+268
2014-10-26msgb: make msgb_get() finally work as expectedHarald Welte1-1/+1
2014-10-09gprs-ns: Let gprs_nsvc_reset return a valueJacob Erlbeck1-1/+1
Currently gprs_nsvc_reset does not return any value. This patch changes the function to return an integer, where a value less than zero indicates an error. The value is taken from the gprs_ns_tx_reset function. In case of failure, an error message is logged. Sponsored-by: On-Waves ehf
2014-08-25logging: Add ability to save/print current log filtersHarald Welte1-0/+16
This enables the persistent configuration of let's say 'log filter imsi 012345678' for a given log file in the config file.
2014-08-24gsm48.h: define the reserved TMSI in libosmocore, not openbscHarald Welte1-0/+3
2014-08-24add port number 4238 for BTS control interfaceHarald Welte2-0/+2
2014-08-24libctrl: Add support for 'deferred control commands'Harald Welte1-0/+15
Sometimes a control interface command cannot be processed and responded immediately, but we need to process it asynchronously. In order to support this, we introduce the 'ctrl_cmd_def', which represents such a deferred command. It is created by the service implementing the command using ctrl_cmd_def_make(), and a response is later sent using ctrl_cmd_def_send(). ctrl_cmd_def_is_zombie() must be called to handle the case where the control connection has disconnected/died between receiving the command and sending the response.
2014-08-21Convert recently-introduced header files to #pragma onceHarald Welte3-13/+3
2014-08-21New <osmocom/ctrl/ports.h> file listing tcp ports for CTRL interfaceHarald Welte1-0/+7
2014-08-21rename controlif_setup() to ctrl_interface_setup()Harald Welte1-2/+2
which means that all control interface related functions now have the common ctrl_ prefix.
2014-08-21libctrl: Move bulk of control node lookup inti libosmoctrlHarald Welte1-4/+7
The control interface user now only has to register a very short node lookup function callback. This function is optional, and only required if hierarchical command lookup should be supported.
2014-08-21libctrl: remove 'struct gsm_network' referencesHarald Welte1-5/+2
libctrl doesn't need any knowledge about the type of the user-private data that it gets passed upon setup time and includes on callbacks.
2014-08-21libctrl: remove bsc-specific declarationHarald Welte1-1/+0
this was moved by accident when importing the code from openbsc.
2014-08-21libctrl: Add DLCTRL as logging context for the control interfaceHarald Welte1-1/+2
... and make libctrl code use it
2014-08-21libctrl: remove reference to bsc_replace_string()Harald Welte2-1/+8
... and rather introduce a general osmo_talloc_replace_string() to libosmocore.
2014-08-21libctrl: remove openbsc headers, convert from make_sock to libosmocoreHarald Welte2-4/+5
2014-08-21libctr: rename/move control interface to libosmocore naming schemeHarald Welte2-0/+208
2014-08-21new <osmocom/vty/ports.h> file listing VTY tcp portsHarald Welte1-0/+14
imported from http://openbsc.osmocom.org/trac/wiki/PortNumbers
2014-08-20ipa: rename functions for consistencyHarald Welte1-12/+12
As we are breaking builds by moving functions from libosmo-abis to libosmocore anyway, we might as well give functions more appropriate names. ipaccess is a company, while IPA is the multiplex protocol, and CCM is the protocol used for establishing identities on the IPA multiplex.
2014-08-20import various generic IPA related functions from libosmo-abisHarald Welte1-0/+62
libosmo-abis is about forming A-bis interfaces/lines by means of E1 or the IPA multiplex (or possibly other link layers). The IPA multiplex is used in other contexts, such as the Control interface, or the A interface. In that context, it makes sense to have generic IPA related functions in libosmocore.
2014-08-18Add osmo_get_macaddr() function to obtain etherent mac addressHarald Welte1-0/+1
This used to be private in osmo-bts/common/abis.c, where it really didn't belong.
2014-08-18osmocore: Add function osmo_macaddr_parse() to parse ETH MAC addressHarald Welte1-0/+6