aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm0411_smr.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-29fix spelling in 'value_string' arrays: existAnt -> existEntVadim Yanitskiy1-1/+1
It could be that this spelling variant was originally used in the specs., but now at least in 3GPP TS 44.018 they use 'existEnt'. Change-Id: I847de910411f2edf7cc45b8c296b43e65fed5447
2020-07-30gsm0411_{smc,smr}.c: Work around newlib bugHarald Welte1-1/+2
At least on Debian unstable, newlib is [currently?] buggy in that we need to include sys/types.h before including inttypes.h, otherwise PRIu64 is not defined. Change-Id: Ic1c9cdf66cfd5b82bd7e20eaaf05b10e6bdb675e Closes: OS#4686
2018-01-24SMS: Add value_string for TS 04.11 CP and RP stateHarald Welte1-0/+7
Change-Id: I1b2f6fc6f455b0ba2a5732c567a4867bca97c3b0
2017-11-13Fix/Update copyright notices; Add SPDX annotationHarald Welte1-0/+2
Let's fix some erroneous/accidential references to wrong license, update copyright information where applicable and introduce a SPDX-License-Identifier to all files. Change-Id: I39af26c6aaaf5c926966391f6565fc5936be21af
2017-10-17[doc] make sure all SMS related code is part of the 'sms' groupHarald Welte1-2/+2
Change-Id: I24c56ccb56d5b39cfb887808f91b715da54c0f8b
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-3/+4
Considering the various styles and implications found in the sources, edit scores of files to follow the same API doc guidelines around the doxygen grouping and the \file tag. Many files now show a short description in the generated API doc that was so far only available as C comment. The guidelines and reasoning behind it is documented at https://osmocom.org/projects/cellular-infrastructure/wiki/Guidelines_for_API_documentation In some instances, remove file comments and add to the corresponding group instead, to be shared among several files (e.g. bitvec). Change-Id: Ifa70e77e90462b5eb2b0457c70fd25275910c72b
2017-06-12update/extend doxygen documentationHarald Welte1-0/+6
It's a pity that even with this patch we still are fare away from having the whole API documented. However, at least we have a more solid foundation. Updates not only extend the documentation, but also make sure it is rendered properly in the doxygen HTML. Change-Id: I1344bd1a6869fb00de7c1899a8db93bba9bafce3
2017-05-17gsm/gsm0411_smr.c: strip unused variableVadim Yanitskiy1-2/+1
Change-Id: I53f69913907588c45a9661c4e86e1bfb57a2418f
2017-05-09timer: add osmo_timer_setup()Pablo Neira Ayuso1-2/+1
Add a new function timer function to set up the timer, similar to what we have in the Linux kernel. This patch also converts existing opencoded timer setup in the libosmocore tree as initial client of this new function. This patch implicitly removes function callback passed by reference that defeat compile time type validation. Compile-tested only, but I ran make check that reports success when testing timer infrastructure. Change-Id: I2fa49972ecaab3748b25168b26d92034e9145666
2014-10-26Change license of gsm0411_smc/smr to GPLv2+Harald Welte1-4/+4
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.
2014-05-23gsm0411_smr: Fix the size of the arrayHolger Hans Peter Freyther1-1/+1
The code is lacking a "," at the end of a string and we ended up doing string concatination instead of having an invalid state. Fixes Coverity CID 1206564
2014-05-23gsm0411_smr: Make the look-up table staticHolger Hans Peter Freyther1-1/+1
2014-02-08sms: The msg_ref is passed from the outside so remove the wrong fixmeHolger Hans Peter Freyther1-1/+1
2012-12-06sms: Print 'network' or 'mobile' when creating the SMC/SMRHolger Hans Peter Freyther1-2/+2
2012-11-22sms: Mark the state dispatch table as static constHolger Hans Peter Freyther1-2/+2
GCC 4.7.2 was already smart enough to see that the table is const so there is no change in the generated assembly code. For some reason the dispatch is still going through one relocation.
2012-11-22sms: Fix typos in the comments and log messages.Holger Hans Peter Freyther1-3/+3
2012-11-22smr: Introduce an id and prefix all log messages with SMR(ID)Holger Hans Peter Freyther1-31/+68
When OpenBSC is handling more than one message at a time it is difficult to see which log message belongs to which SMR instance. Introduce a uint64_t id that can be set to the row_id/message_id and prefix all log messages with SMR(ID). This change is ABI and API incompatible with previous versions of libosmogsm.
2012-11-11sms: Reduce the logging level to debugHolger Hans Peter Freyther1-3/+3
<001c> gsm0411_smr.c:175 TX: MNSMS-REL-REQ adds little value so I am reducing it to a debug statement.
2011-11-12gsm/sms: Rewrite of SMR process, extracted from OpenBSCAndreas Eversberg1-0/+451
The SMR process is used to transfer SMS TPDUs. It is now extracted from OpenBSC. It includes a real state machine now for easier debugging. Also it implements the TR1M and TR2M timers. The memory notification procedure is missing, but not required for network side. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>