aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/gsm48.c
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03Add mnc_t for 3 digit mncs.mmcternan/bb_maintMichael McTernan1-22/+25
Signed-off-by: Michael McTernan <mike.mcternan@wavemobile.com>
2013-09-16gsm48: Added 'Network Daylight Saving Time' info elementJacob Erlbeck1-0/+1
This information element has been added to the MM Information message in GSM24.008. This patch adds it to the tlv_definition to keep the TLV parser from breaking. Ticket: OW#978
2013-07-03gsm0408: Avoid unaligned memory access in gsm48_generate_mid_from_tmsiHolger Hans Peter Freyther1-2/+2
The &buf[3] is unlikely to be aligned properly. Use memcpy instead of an assignment. Add a small testcase that verifies that I didn't mess up the conversion. Alignment trap: osmo-nitb (3293) PC=0x492b7094 Instr=0xe5803003 Address=0xbeb259db FSR 0x801
2012-11-05GSM48: Avoid unaligned access in gsm48_construct_raAndreas Eversberg1-1/+3
This avoids an unaligned access on platforms that don't support them, such as ARMv4/ARMv5.
2012-07-13gsm48_decode_lai(): return real integers for mcc/mnc, not hex!Harald Welte1-6/+13
This is to make it orthogonal with gsm48_encode_lai()
2012-07-13import gsm48_decode_lai() function from osmocom-bb/mobile sysinfo.cHarald Welte1-0/+14
2011-12-14Fix generation of GPRS Routing Area in case of 3-digit MNCGus Bourg1-1/+1
This fixes a simple typo that causes erroneous GPRS Routing Area encoding if you use 3-digit MNCs.
2011-06-26add some utility functions for paging related calculation (TS 05.02)Harald Welte1-7/+7
2011-06-26add gsm48_number_of_paging_subchannels() functionHarald Welte1-0/+13
(from openbsc's rsl_number_of_paging_subchannels)
2011-05-07utils: use namespace prefix osmo_*Pablo Neira Ayuso1-6/+6
Summary of changes: s/bcd2char/osmo_bcd2char/g s/char2bcd/osmo_char2bcd/g s/hexparse/osmo_hexparse/g s/hexdump/osmo_hexdump/g s/hexdump_nospc/osmo_hexdump_nospc/g s/ubit_dump/osmo_ubit_dump/g s/static_assert/osmo_static_assert/g
2011-03-23include: reorganize headers file to include/osmocom/[gsm|core]0.2.0Pablo Neira Ayuso1-4/+4
This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-23This patch moves the GSM-specific functions to the new libraryPablo Neira Ayuso1-0/+415
libosmogsm which is provided by libosmocore. I have also moved generate_backtrace() to backtrace.c instead of gsm_utils.c, otherwise the timer and msgfile tests depend on libosmogsm. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>