Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vty: Check with the application before writing the config | Holger Hans Peter Freyther | 2014-12-04 | 3 | -0/+12 |
| | | | | | | | | | 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 | ||||
* | fix libosmocore build for NuttX target | Harald Welte | 2014-12-04 | 5 | -3/+19 |
| | | | | | | this fixes some compilation issues with libosmocore under NuttX, particularly as some #defines are missing or some header files are slightly different. | ||||
* | vty/vector.c: Use string.h, not memory.h | Harald Welte | 2014-11-14 | 1 | -1/+1 |
| | |||||
* | remove references to u_long type, use 'unsigned long' instead | Harald Welte | 2014-11-14 | 2 | -3/+3 |
| | | | | .. Nuttx doesn't know u_long | ||||
* | remove references to u_char type, use 'unsigned char' instead | Harald Welte | 2014-11-14 | 4 | -4/+4 |
| | | | | ... u_char not being defined on Nuttx. | ||||
* | strrb.c: Use string.h, not strings.h | Harald Welte | 2014-11-14 | 1 | -1/+1 |
| | | | | Not all systems have strings.h | ||||
* | select.c: Add missing #include lines for string.h and sys/select.h | Harald Welte | 2014-11-14 | 1 | -0/+2 |
| | | | | This is needed on Nuttx. | ||||
* | pcsc: Allow to disable the PCSC dependency | Holger Hans Peter Freyther | 2014-11-14 | 2 | -7/+11 |
| | | | | | | | | * PCSC is enabled by default * --enable-pcsc is enabling it * --disable-pcscis disabling it * Fix the makefile of the utilities to not build pcsc and use the right header files/libraries. | ||||
* | Fix debian packaging | Ciaby | 2014-11-10 | 2 | -0/+7 |
| | | | | | - Added debian/libosmosim0.install - Added libosmosim definition in debian/control | ||||
* | bssgp: Fix VTY command 'show bssgp nsei N' | Jacob Erlbeck | 2014-11-10 | 1 | -1/+1 |
| | | | | | | | | | | Currently this command segfaults (at least when ASAN is enabled), because when getting the NSEI the index to argv is wrong and out of bounds. This patch fixes the offset. Sponsored-by: On-Waves ehf | ||||
* | osmo-sim-test: Fix read_binary() return check | Harald Welte | 2014-10-27 | 1 | -1/+1 |
| | | | | if we expect rmsg to be set, we should check for it... | ||||
* | sim: reader_pcsc:Remove dead code | Harald Welte | 2014-10-27 | 1 | -2/+0 |
| | | | | | | PCSC_ERROR() macro is already performing error checking. Found by coverity. | ||||
* | pcsc: Fix the include path | Holger Hans Peter Freyther | 2014-10-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | The pkg-config file already points into the PCSC directory. This is needed for FreeBSD where /usr/local/include is not in the default compiler search path. On Debian $ pkg-config --cflags libpcsclite -pthread -I/usr/include/PCSC On FreeBSD $ pkg-config --cflags libpcsclite -I/usr/local/include/PCSC -D_THREAD_SAFE -pthread | ||||
* | sttrb / loggingrb: Use GPLv2+ as license, not AGPLv3+ | Harald Welte | 2014-10-26 | 4 | -4/+4 |
| | | | | | according to Holger, using AGPLv3+ at the time was a mistake and the license should always have indicated GPLv2+. | ||||
* | Change copyright notice of ipa.c to GPLv2+ | Harald Welte | 2014-10-26 | 1 | -4/+4 |
| | | | | ... which it should have been all along. | ||||
* | Change license of gsm0411_smc/smr to GPLv2+ | Harald Welte | 2014-10-26 | 3 | -12/+12 |
| | | | | | | libosmocore.{so,a} should always have been GPLv2+. However, when migrating some code from OpenBSC or OsmocomBB, we sometimes introduced it with a wrong license header. | ||||
* | Change license of libosmogb from AGPLv3+ to GPLv2+ | Harald Welte | 2014-10-26 | 9 | -36/+36 |
| | | | | | | | | | | | 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. | ||||
* | Merge branch 'laforge/sim' | Harald Welte | 2014-10-26 | 20 | -4/+3085 |
|\ | | | | | | | | | | | | | | | This contains some work from 2012 about creating a general library about the data structure of data contained on SIM cards. This 'libosmosim' is supposed to be used by (among others) * tools to review/modify/personalize SIM card filesystem data * virtual SIM card implementation | ||||
| * | remove doxygen_sqlite3.db during 'make clean' | Harald Welte | 2014-10-26 | 1 | -1/+1 |
| | | |||||
| * | make sure to register DF.TELECOM and DF.GSM for SIM, USIM + TSIM | Harald Welte | 2014-10-26 | 5 | -44/+58 |
| | | | | | | | | | | before we only did it partially, and by exporting data from sim, rather than the new osim_int_cprof_add_{gsm,telecom}() functions. | ||||
| * | sim: More talloc return NULL checking | Harald Welte | 2014-10-26 | 1 | -0/+8 |
| | | |||||
| * | sim: add missing const to reader_ops member of reader_handle | Harald Welte | 2014-10-26 | 1 | -1/+1 |
| | | |||||
| * | sim: Prepare infrastructure for protocols != T=0 and other drivers | Harald Welte | 2014-10-26 | 5 | -20/+59 |
| | | |||||
| * | 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 | 3 | -183/+143 |
| | | |||||
| * | sim: Only one default_decode() function for all card types | Harald Welte | 2014-10-26 | 5 | -37/+15 |
| | | |||||
| * | sim: Add 3GPP TS 31.103 ISIM definitions | Harald Welte | 2014-10-26 | 2 | -1/+117 |
| | | |||||
| * | sim: Update to latest SIM/USIM specs and include size information | Harald Welte | 2014-10-26 | 3 | -175/+335 |
| | | |||||
| * | sim: Make osmo-sim-test compile again | Harald Welte | 2014-10-26 | 1 | -1/+1 |
| | | |||||
| * | sim: reader_pcsc.c: Avoid compiler warnings by using pcsc-lite LONG | Harald Welte | 2014-10-26 | 1 | -3/+3 |
| | | |||||
| * | sim: mark osim_msgb_cb as __may_alias__ to avoid gcc warnings | Harald Welte | 2014-10-26 | 2 | -1/+316 |
| | | |||||
| * | 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 | 5 | -4/+19 |
| | | |||||
| * | sim: add decoding of status words | Harald Welte | 2014-10-26 | 3 | -4/+65 |
| | | |||||
| * | sim: replaced function/structure comments with doxygen comments | Kevin Redon | 2014-10-26 | 2 | -27/+51 |
| | | | | | | | | | | 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: added utils/osmo-sim-test to .gitignore | Kevin Redon | 2014-10-26 | 1 | -0/+1 |
| | | |||||
| * | sim: renamed case to the one defined in ISO7816-3 | Kevin Redon | 2014-10-26 | 3 | -24/+24 |
| | | | | | | | | | | | | | | | | | | 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 |
| | | |||||
| * | sim: comment/explain signature of osim_new_apdumsg | Kevin Redon | 2014-10-26 | 1 | -2/+9 |
| | | |||||
| * | sim: strip the SW from the returned data, as SW is passed in msgb->cb | Harald Welte | 2014-10-26 | 2 | -5/+8 |
| | | |||||
| * | sim: Use autotools for libpcsc-lite linkage | Harald Welte | 2014-10-26 | 2 | -4/+18 |
| | | |||||
| * | sim: add copyright notices and merge file_codec.c into core.c | Harald Welte | 2014-10-26 | 9 | -45/+186 |
| | | |||||
| * | sim: osmo-sim-test: Also dump binary files | Harald Welte | 2014-10-26 | 1 | -10/+39 |
| | | |||||
| * | initial checkin of 'libosmosim' | Harald Welte | 2014-10-26 | 17 | -2/+2147 |
| | | |||||
| * | msgb: make msgb_get() finally work as expected | Harald Welte | 2014-10-26 | 1 | -1/+1 |
|/ | |||||
* | misc: Ignore the new test file as well | Holger Hans Peter Freyther | 2014-10-25 | 1 | -0/+1 |
| | |||||
* | bssgp: Include sys/socket.h for AF_INET on FreeBSD | Holger Hans Peter Freyther | 2014-10-25 | 1 | -0/+1 |
| |