osmo-pcu/src
Pau Espin 2182e627cd Unify BTS into a C usable structure
Previous work on BTS class started to get stuff out of the C++ struct
 into a C struct (BTS -> struct gprs_glcmac_bts) so that some parts of
it were accessible from C code. Doing so, however, ended up being messy
too, since all code needs to be switching from one object to another,
which actually refer to the same logical component.

Let's instead rejoin the structures and make sure the struct is
accessible and usable from both C and C++ code by rewriting all methods
to be C compatible and converting 3 allocated suboject as pointers.
This way BTS can internally still use those C++ objects while providing
a clean APi to both C and C++ code.

Change-Id: I7d12c896c5ded659ca9d3bff4cf3a3fc857db9dd
2021-01-19 16:28:10 +01:00
..
osmo-bts-litecell15 Use osmo_fd_setup() whenever applicable 2020-10-19 11:36:33 +00:00
osmo-bts-oc2g Use osmo_fd_setup() whenever applicable 2020-10-19 11:36:33 +00:00
osmo-bts-sysmo Use osmo_fd_setup() whenever applicable 2020-10-19 11:36:33 +00:00
.gitignore Adding .gitignore to source directory 2012-06-27 17:45:15 +02:00
Makefile.am Split PCU global PCU object from BTS object 2021-01-18 10:37:05 +00:00
bts.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
bts.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
coding_scheme.c Fix mcs_is_valid(): UNKNOWN value is not a valid (M)CS 2020-11-05 15:48:04 +01:00
coding_scheme.h Move dl_arq_type field from BTS to PCU 2021-01-18 11:54:53 +01:00
csn1.c csn1: Log CSN_VARIABLE_ARRAY values as hex 2020-11-24 11:24:11 +01:00
csn1.h csn1: fix: never use enumerated types in codec structures 2020-05-23 19:26:58 +07:00
cxx_linuxlist.h llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
decoding.cpp decoding.cpp: Improve logging in malformed UL data parsing 2020-06-30 21:33:49 +02:00
decoding.h Get rid of class GprsCodingScheme 2020-05-20 11:07: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 Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
encoding.h Dl TBF: Get rid of LLC UI dummy blocks following other data 2020-12-01 15:57:37 +01:00
gprs_bssgp_pcu.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_bssgp_pcu.h Split PCU global PCU object from BTS object 2021-01-18 10:37:05 +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_debug.cpp migrate to DLBSSGP as log sub-system for BSSGP 2020-12-12 20:05:51 +01:00
gprs_debug.h migrate to DLBSSGP as log sub-system for BSSGP 2020-12-12 20:05:51 +01:00
gprs_ms.c Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_ms.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_ms_storage.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_ms_storage.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_pcu.c Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_pcu.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_rlcmac.cpp paging: pass struct osmo_mobile_identity, not encoded IE bytes 2020-08-24 01:12:16 +00:00
gprs_rlcmac.h pdch: rcv pkt meas rep: Allocate MS object early in path and use it 2020-08-24 07:50:49 +00:00
gprs_rlcmac_meas.cpp pdch: rcv pkt meas rep: Allocate MS object early in path and use it 2020-08-24 07:50:49 +00:00
gprs_rlcmac_sched.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gprs_rlcmac_ts_alloc.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gsm_rlcmac.c rlcmac: Fix typo in MT_PACKET_CELL_CHANGE_NOTIFICATION value_string 2020-12-11 19:57:29 +00:00
gsm_rlcmac.h gsm_rlcmac: use consistent naming for [Extended] Packet Timing Advance 2020-08-24 10:53:08 +00:00
gsm_timer.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
gsm_timer.h pcu_l1_if: add frame number to log output 2018-04-10 13:35:24 +02:00
llc.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
llc.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01: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 Split PCU global PCU object from BTS object 2021-01-18 10:37:05 +00:00
pcu_l1_if.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
pcu_l1_if.h Split PCU global PCU object from BTS object 2021-01-18 10:37:05 +00:00
pcu_main.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
pcu_utils.h Convert GprsMS and helpers classes to C 2021-01-05 10:34:25 +00:00
pcu_vty.c Fix configuration mess of initial_cs/mcs between PCUIF and VTY 2021-01-18 11:57:14 +01:00
pcu_vty.h vty: add attributes to VTY commands indicating when they apply 2020-10-08 07:16:31 +00:00
pcu_vty_functions.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
pcu_vty_functions.h vty: Add 'show bts pdch' command 2020-09-22 20:56:53 +02:00
pdch.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
pdch.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
poll_controller.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
poll_controller.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
rlc.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
rlc.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
sba.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
sba.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
tbf.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
tbf.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
tbf.txt Doc: Update on README and tbf.txt 2012-12-18 10:04:03 +01:00
tbf_dl.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
tbf_dl.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
tbf_ul.cpp Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
tbf_ul.h Unify BTS into a C usable structure 2021-01-19 16:28:10 +01:00
wireshark_compat.h Move gsm_rlcmac.cpp -> .c 2020-03-30 10:08:02 +00:00