Commit Graph

115 Commits

Author SHA1 Message Date
Vadim Yanitskiy 4a04f1d5ab rlcmac: split ts_24_008.c out of ts_44_060.c
Change-Id: Idedf52423fef18b929e8096fbe4e130b5a6c7d2c
2022-08-24 21:15:53 +07:00
Vadim Yanitskiy 931b64ee79 rlcmac: split gprs_rlcmac.c onto ts_44_{060,018}.c
Change-Id: I2b941f06a70a25e92ba3fd2638f87360a5aa5435
2022-08-24 21:03:51 +07:00
Vadim Yanitskiy 8e3f0fd84a rlcmac: make logging category configurable
Change-Id: Icfef6de126304da81120f1d7b212992ead3409aa
2022-08-24 20:56:17 +07:00
Vadim Yanitskiy 56a2d28f59 csn1: #include <stddef.h> in csn1.h for offsetof()
Do not require the API user to include <stddef.h>:

  note: 'offsetof' is defined in header '<stddef.h>';
        did you forget to '#include <stddef.h>'?

Change-Id: I2a144c9967b90d78d95db103eebce83822d8c64d
2022-08-22 06:00:28 +07:00
Vadim Yanitskiy 00498acb16 rlcmac: add -export-symbols-regex '^osmo_' to LDFLAGS
Change-Id: I17c0f1d7b7f3ec07eb880e4db46e316a5753edd3
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 2b4c0972b8 rlcmac: expose [osmo_gprs_rlcmac_]egprs_pkt_ch_req_type_names[]
Change-Id: Ieb8046b16e1b992dc20055539988af6c3a9a7a4e
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 2532d04f17 rlcmac: properly expose osmo_gprs_rlcmac_encode_ms_ra_cap()
Change-Id: Ib5660f3a384ae8eea976197ad7b7135dbae180e5
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 6e7618e575 rlcmac: prefix enc/dec function names with 'osmo_gprs_'
Change-Id: Ibd8038582699f1f8e7b159898fd431208f13dd9b
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 4c5163c6f1 rlcmac: do not expose internal CSN.1 callbacks and dissectors
Change-Id: Ida9d16b41a2241d72cf5650ad4757ca3ca1da5f3
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 812b95e444 rlcmac: do not expose PSI1_AdditionsR6_t and EGPRS_PacketChannelRequest_t
Change-Id: I1917148ae384b0995c79107a688b02b4997b0c76
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy ed06cbbfbc libosmo-gprs-rlcmac: check-in PDU definitions from osmo-pcu.git
This commit introduces a new library called 'libosmo-gprs-rlcmac',
which is going to be used by osmo-pcu and osmocom-bb for parsing
and generation of PDUs defined using CSN.1 (see 3GPP TS 24.007).

The actual RLC/MAC definitions are imported from osmo-pcu.git [1].

Change-Id: Ic322543e6d9a870beec83fa1166352e4a51366e7
Related: [1] osmo-pcu.git 0eaa3d379828517b5478d0202a26f6f3eb561a4e
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy eb2ab031d4 csn1: add -export-symbols-regex '^osmo_' to LDFLAGS
Expose only those symbols which contain perfis 'osmo_'.

Change-Id: I9d084e9a2660ab14801f9ce418748b7580e9e131
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy d833ff4574 csn1: csnStreamInit() -> osmo_csn1_stream_init()
Change-Id: I8b1486b99e4beb3161ed515889e967556a29cbc1
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 5ff3db84d3 csn1: csnStream{En,De}coder() -> osmo_csn1_stream_{en,de}code()
Change-Id: Iba7b40daf37be8759bb652e3c34653df1ed92d9e
2022-08-07 17:51:26 +07:00
Vadim Yanitskiy 40f95ed7c4 libosmo-csn1: check-in CSN.1 codec from osmo-pcu.git
This commit introduces a new library called 'libosmo-csn1', which
is going to be used by osmo-pcu and osmocom-bb for parsing and
generation of PDUs defined using CSN.1 (see 3GPP TS 24.007).

The actual CSN.1 codec is imported from osmo-pcu.git [1].

Change-Id: Ib195d1e2a53aead4f89c799cef1e5f1be110aad9
Related: [1] osmo-pcu.git 0eaa3d379828517b5478d0202a26f6f3eb561a4e
Depends: libosmocore.git Ie8c0effb764547a0f9cc8c6825e11a6617501e95
2022-08-07 17:51:26 +07:00