osmo-pcu/src
Pau Espin 1de6873810 Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere
We should really be using monotonic clock in all places that
gettimeofday is used right now. Since clock_gettime() uses timespec,
let's move all code to use timespecs instead to avoid having to convert
in several places between timespec and timeval.
Actually use osmo_clock_gettime() shim everywhere to be able to control
the time everywhere from unit tests.

Change-Id: Ie265d70f8ffa7dbf7efbef6030505d9fcb5dc338
2020-03-16 10:31:56 +00:00
..
osmo-bts-litecell15 PTCCH: properly handle RACH.ind for PCU_IF_SAPI_PTCCH 2019-11-23 17:42:45 +07:00
osmo-bts-oc2g PTCCH: properly handle RACH.ind for PCU_IF_SAPI_PTCCH 2019-11-23 17:42:45 +07:00
osmo-bts-sysmo PTCCH: properly handle RACH.ind for PCU_IF_SAPI_PTCCH 2019-11-23 17:42:45 +07:00
.gitignore Adding .gitignore to source directory 2012-06-27 17:45:15 +02:00
Makefile.am csn1: get rid of C++ specific code, compile with GCC 2020-02-17 02:31:15 +07:00
bts.cpp Pass paging group instead of imsi where later is not needed 2020-01-06 10:26:46 +00:00
bts.h Pass paging group instead of imsi where later is not needed 2020-01-06 10:26:46 +00:00
coding_scheme.c Update MCS selection for retransmission 2019-04-08 07:35:19 +00:00
coding_scheme.h Update MCS selection for retransmission 2019-04-08 07:35:19 +00:00
csn1.c csn1: fix: do not return 0 if no bits left in the buffer 2020-03-11 19:55:55 +00:00
csn1.h csn1: get rid of C++ specific code, compile with GCC 2020-02-17 02:31:15 +07:00
cxx_linuxlist.h llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
decoding.cpp fix spelling errors detected by lintian 2019-07-17 10:56:19 +00:00
decoding.h Add header type 1 support for EGPRS uplink 2016-06-16 14:32:07 +00:00
egprs_rlc_compression.cpp decompress_crbb: add length argument for search_runlen 2019-06-24 13:51:06 +00:00
egprs_rlc_compression.h egprs_rlc_compression: fix white spaces 2019-06-17 02:04:09 +02:00
encoding.cpp encoding: assert return value of bitvec_set_u64() 2020-02-10 14:52:33 +07:00
encoding.h Allow Gb PAGING-PS without P-TMSI 2020-01-06 10:26:46 +00:00
gprs_bssgp_pcu.cpp Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
gprs_bssgp_pcu.h Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
gprs_codel.c Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
gprs_codel.h Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
gprs_coding_scheme.cpp Update MCS selection for retransmission 2019-04-08 07:35:19 +00:00
gprs_coding_scheme.h Update MCS selection for retransmission 2019-04-08 07:35:19 +00:00
gprs_debug.cpp gprs_debug: Use named initializers and explicit array indicies 2019-03-27 07:39:02 +00:00
gprs_debug.h TBF: add dedicated log categories 2018-01-19 18:49:16 +01:00
gprs_ms.cpp Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
gprs_ms.h Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
gprs_ms_storage.cpp MS store: move test helper to unit test 2019-03-19 15:05:51 +00:00
gprs_ms_storage.h MS store: move test helper to unit test 2019-03-19 15:05:51 +00:00
gprs_rlcmac.cpp Allow Gb PAGING-PS without P-TMSI 2020-01-06 10:26:46 +00:00
gprs_rlcmac.h Allow Gb PAGING-PS without P-TMSI 2020-01-06 10:26:46 +00:00
gprs_rlcmac_meas.cpp Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
gprs_rlcmac_sched.cpp Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
gprs_rlcmac_ts_alloc.cpp Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
gsm_rlcmac.cpp rlcmac: fix encode_gsm_*(): do not suppress encoding errors 2020-03-11 19:55:55 +00:00
gsm_rlcmac.h gsm_rlcmac: improve dissection of MS RA Capability IE 2020-03-07 05:04:40 +07:00
gsm_timer.cpp gsm_timer: fix comparison of constant LONG_MAX with an integer 2020-01-29 06:14:54 +07:00
gsm_timer.h pcu_l1_if: add frame number to log output 2018-04-10 13:35:24 +02:00
llc.cpp Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
llc.h Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
mslot_class.c mslot_class: two more: use uint32_t to shift 1 << 31 2018-03-28 14:44:47 +02:00
mslot_class.h Simplify TS alloc: move slot check into functions 2018-02-21 12:08:40 +00:00
osmobts_sock.cpp pcu_sock: cosmetic: fix typo in a comment message 2020-02-08 14:36:01 +07:00
pcu_l1_if.cpp pcu_l1_if.cpp: fix NULL-pointer dereference in imsi2paging_group() 2020-01-16 00:25:54 +07:00
pcu_l1_if.h Pass paging group instead of imsi where later is not needed 2020-01-06 10:26:46 +00:00
pcu_main.cpp VTY: install talloc context introspection commands 2020-02-08 14:36:01 +07:00
pcu_utils.h Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
pcu_vty.c VTY: install talloc context introspection commands 2020-02-08 14:36:01 +07:00
pcu_vty.h Remove undefined param passed to {logging,osmo_stats}_vty_add_cmds 2019-08-05 14:30:47 +02:00
pcu_vty_functions.cpp VTY: fix command 'show tbf all': properly filter TBFs 2019-10-09 22:00:54 +07:00
pcu_vty_functions.h VTY: fix command 'show tbf all': properly filter TBFs 2019-10-09 22:00:54 +07:00
pdch.cpp Send UL-CTRL Packet to GSMTAP even if we fail to decode. 2020-03-05 19:51:06 -06:00
pdch.h Split identity_lv param into mi+mi_len 2020-01-01 16:10:15 +00:00
poll_controller.cpp Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00
poll_controller.h Update header includes 2018-02-19 08:43:46 +00:00
rlc.cpp rlc: replace int with uint16_t 2019-06-24 13:48:09 +00:00
rlc.h tbf: Fix memset(0) on object with no trivial copy-assignment 2018-05-16 15:20:43 +02:00
sba.cpp Move PDCH-related functions into separate files 2018-02-19 17:41:24 +01:00
sba.h Update header includes 2018-02-19 08:43:46 +00:00
tbf.cpp tbf: fix NULL pointer dereference in create_[ul|dl]_ass() 2020-02-10 14:12:24 +07:00
tbf.h VTY: fix command 'show tbf all': properly filter TBFs 2019-10-09 22:00:54 +07:00
tbf.txt Doc: Update on README and tbf.txt 2012-12-18 10:04:03 +01:00
tbf_dl.cpp Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
tbf_dl.h Use clock_gettime(CLOCK_MONOTONIC) and timespec everywhere 2020-03-16 10:31:56 +00:00
tbf_ul.cpp Move tbf_{dl,ul} child constructors to respective .cpp files 2019-09-26 14:43:22 +02:00
tbf_ul.h Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02:00