Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sim: Prepare infrastructure for protocols != T=0 and other drivers | Harald Welte | 2014-10-26 | 1 | -2/+17 |
| | |||||
* | sim: More comments in sim.h | Harald Welte | 2014-10-26 | 1 | -12/+44 |
| | |||||
* | sim: Make TETRA SIM (TSIM) support compile | Harald Welte | 2014-10-26 | 1 | -0/+9 |
| | |||||
* | sim: mark osim_msgb_cb as __may_alias__ to avoid gcc warnings | Harald Welte | 2014-10-26 | 1 | -1/+1 |
| | |||||
* | sim: Add sfi to EF_*() macros | Harald Welte | 2014-10-26 | 1 | -11/+14 |
| | |||||
* | sim: Add minimal/recommended size of file / record | Harald Welte | 2014-10-26 | 1 | -15/+29 |
| | |||||
* | sim: further updates/fixes | Harald Welte | 2014-10-26 | 1 | -1/+3 |
| | |||||
* | sim: add decoding of status words | Harald Welte | 2014-10-26 | 1 | -2/+8 |
| | |||||
* | sim: replaced function/structure comments with doxygen comments | Kevin Redon | 2014-10-26 | 1 | -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 | ||||
* | sim: add comment/explaination for structure osim_msgb_cb | Kevin Redon | 2014-10-26 | 1 | -4/+5 |
| | |||||
* | sim: add comment/explaination for structure osim_apdu_cmd_hdr | Kevin Redon | 2014-10-26 | 1 | -5/+6 |
| | |||||
* | sim: renamed case to the one defined in ISO7816-3 | Kevin Redon | 2014-10-26 | 1 | -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 | ||||
* | sim: add comment/explaination for structure osim_apdu_case | Kevin Redon | 2014-10-26 | 1 | -8/+8 |
| | |||||
* | initial checkin of 'libosmosim' | Harald Welte | 2014-10-26 | 2 | -1/+270 |
| | |||||
* | msgb: make msgb_get() finally work as expected | Harald Welte | 2014-10-26 | 1 | -1/+1 |
| | |||||
* | gprs-ns: Let gprs_nsvc_reset return a value | Jacob Erlbeck | 2014-10-09 | 1 | -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 | ||||
* | logging: Add ability to save/print current log filters | Harald Welte | 2014-08-25 | 1 | -0/+16 |
| | | | | | | This enables the persistent configuration of let's say 'log filter imsi 012345678' for a given log file in the config file. | ||||
* | gsm48.h: define the reserved TMSI in libosmocore, not openbsc | Harald Welte | 2014-08-24 | 1 | -0/+3 |
| | |||||
* | add port number 4238 for BTS control interface | Harald Welte | 2014-08-24 | 2 | -0/+2 |
| | |||||
* | libctrl: Add support for 'deferred control commands' | Harald Welte | 2014-08-24 | 1 | -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. | ||||
* | Convert recently-introduced header files to #pragma once | Harald Welte | 2014-08-21 | 3 | -13/+3 |
| | |||||
* | New <osmocom/ctrl/ports.h> file listing tcp ports for CTRL interface | Harald Welte | 2014-08-21 | 2 | -0/+8 |
| | |||||
* | rename controlif_setup() to ctrl_interface_setup() | Harald Welte | 2014-08-21 | 1 | -2/+2 |
| | | | | | which means that all control interface related functions now have the common ctrl_ prefix. | ||||
* | libctrl: Move bulk of control node lookup inti libosmoctrl | Harald Welte | 2014-08-21 | 1 | -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. | ||||
* | libctrl: remove 'struct gsm_network' references | Harald Welte | 2014-08-21 | 1 | -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. | ||||
* | libctrl: remove bsc-specific declaration | Harald Welte | 2014-08-21 | 1 | -1/+0 |
| | | | | this was moved by accident when importing the code from openbsc. | ||||
* | libctrl: autotools build system integration | Harald Welte | 2014-08-21 | 1 | -0/+2 |
| | | | | Now we actually build the recently-imported libctrl | ||||
* | libctrl: Add DLCTRL as logging context for the control interface | Harald Welte | 2014-08-21 | 1 | -1/+2 |
| | | | | ... and make libctrl code use it | ||||
* | libctrl: remove reference to bsc_replace_string() | Harald Welte | 2014-08-21 | 2 | -1/+8 |
| | | | | | ... and rather introduce a general osmo_talloc_replace_string() to libosmocore. | ||||
* | libctrl: remove openbsc headers, convert from make_sock to libosmocore | Harald Welte | 2014-08-21 | 2 | -4/+5 |
| | |||||
* | libctr: rename/move control interface to libosmocore naming scheme | Harald Welte | 2014-08-21 | 2 | -0/+208 |
| | |||||
* | new <osmocom/vty/ports.h> file listing VTY tcp ports | Harald Welte | 2014-08-21 | 2 | -1/+16 |
| | | | | imported from http://openbsc.osmocom.org/trac/wiki/PortNumbers | ||||
* | ipa: rename functions for consistency | Harald Welte | 2014-08-20 | 2 | -13/+13 |
| | | | | | | | | 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. | ||||
* | import various generic IPA related functions from libosmo-abis | Harald Welte | 2014-08-20 | 2 | -0/+63 |
| | | | | | | | | | 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. | ||||
* | Add osmo_get_macaddr() function to obtain etherent mac address | Harald Welte | 2014-08-18 | 1 | -0/+1 |
| | | | | | This used to be private in osmo-bts/common/abis.c, where it really didn't belong. | ||||
* | osmocore: Add function osmo_macaddr_parse() to parse ETH MAC address | Harald Welte | 2014-08-18 | 2 | -0/+7 |
| | |||||
* | TLV: add TLVP_PRES_LEN() definition to check for existance + minimum length | Harald Welte | 2014-08-18 | 1 | -0/+3 |
| | | | | | This is an import from osmo-bts where it was introduced in 6b561bb7ba5f10c5fd96542a7e42de2822352a67 | ||||
* | ipaccess.h: Add IPAC_PROTO_EXT_ORC for OML Router Control | Harald Welte | 2014-08-18 | 1 | -0/+1 |
| | |||||
* | abis_nm: add abis_nm_msg_disc_names[] value_string | Harald Welte | 2014-08-17 | 1 | -0/+1 |
| | |||||
* | abis_nm: introduce abis_nm_{osmo,ipa}_magic[] | Harald Welte | 2014-08-17 | 1 | -0/+3 |
| | | | | ... used to be oml_{osmo,ipa}_magic in osmo-bts | ||||
* | update TS 08.08 header + TLV definitions to TS 48.008 / 11.7.0 | Harald Welte | 2014-06-21 | 1 | -2/+2 |
| | | | | | | | | | | This adds support for A-over-IP and LCLS related message/IEI definitions. Old definitions are in decimal, which is very hard (at least for me) to compare with the binary tables in the spec. Hex is much easier to manually compare for completeness/correctness. I didn't touch the existing definitions, but think they should move to hex, too. | ||||
* | update gsm_08_08.h to Release 11 | Harald Welte | 2014-06-21 | 1 | -1/+119 |
| | |||||
* | core/bitXXgen: Don't do 'return' in functions returning void | Sylvain Munaut | 2014-06-16 | 1 | -2/+2 |
| | | | | | | ISO C forbids 'return' with expression, in function returning void Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | core/bitXXgen: Use explicit cast of void* to uint8_t | Sylvain Munaut | 2014-06-16 | 1 | -4/+6 |
| | | | | | | Turns out we use this header in C++ code ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | gsm: Add Kasumi cipher implementation | Sylvain Munaut | 2014-06-16 | 2 | -1/+51 |
| | | | | | Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | bits: Add left circular shift function | Max | 2014-06-16 | 1 | -0/+10 |
| | | | | | Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | core: Add generic LE/BE load/store uint type convertors and use them in msgb | Max | 2014-06-16 | 4 | -10/+128 |
| | | | | | Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | include: Switch to #pragma once pattern | Sylvain Munaut | 2014-06-16 | 84 | -335/+84 |
| | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | gsmtap: add LTE defines to GSMTAP v2 | Max | 2014-06-15 | 1 | -1/+10 |
| | | | | | Submitted-by: Max <max.suraev@fairwaves.co> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | abis_nm: Add the abis_nm_osmo_att_tlvdef to the abis header | Álvaro Neira Ayuso | 2014-05-20 | 1 | -0/+1 |
| | | | | | | | Avoid compiler warnings and declare the presence of the new tlv_description. Signed-off-by: Alvaro Neira Ayuso <anayuso@sysmocom.de> |