osmo-pcu/src
Pau Espin 98e4c53cad csn1: Extend CSN_SERIALIZE to allow 0 bit of length
Port of wireshark.git 2f024256bf337400ef3a82fa75e6d48d5707e059.

From c6ee558d3bb00bfd25cca7c534448bf60df3c7cf Mon Sep 17 00:00:00 2001
From: Sylvain Munaut <tnt@246tNt.com>
Date: Sat, 4 Feb 2012 10:24:01 +0100
Subject: [PATCH 6/6] packet-csn: Extend CSN_SERIALIZE to allow 0 bit of length

In some coding there is no 'length' field at the top of a serialized
block, or it's more complex than a single field, in which case we
have to rely on the serialize decoder to consume the correct number
of bits.

We extend the CSN_SERIALIZE processing so that if a '0 bit' length
field is specified, then the length is not displayed and the
consumed bits by the serialize function is taken as the length
at posteriori.

The processing keeps the same behavior for any length > 0.

Change-Id: I9fadc99218594447001f7bb9943f4514b9877799
2020-01-28 13:38:42 +01: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 Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02: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.cpp csn1: Extend CSN_SERIALIZE to allow 0 bit of length 2020-01-28 13:38:42 +01:00
csn1.h csn1: Update M_NULL CSN_DESCR to match wireshark 2020-01-28 13:34:08 +01: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 Allow Gb PAGING-PS without P-TMSI 2020-01-06 10:26:46 +00:00
encoding.h Allow Gb PAGING-PS without P-TMSI 2020-01-06 10:26:46 +00:00
gprs_bssgp_pcu.cpp Support PAGING-CS and PAGING-PS on on PTP-BVCI 2020-01-06 10:26:46 +00:00
gprs_bssgp_pcu.h gprs_bssgp_pcu: make gprs_bssgp_ns_cb public 2019-05-25 05:56:32 +02:00
gprs_codel.c llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02:00
gprs_codel.h llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02: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 GprsMs::update_cs_ul(): clarify the meaning of old_link_qual 2019-11-08 06:20:55 +07: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 csn1: Update M_NULL CSN_DESCR to match wireshark 2020-01-28 13:34:08 +01:00
gsm_rlcmac.h tests/rlcmac: Add test to showcase that decode_gsm_ra_cap() fails 2020-01-28 13:29:42 +01:00
gsm_timer.cpp pcu_l1_if: add frame number to log output 2018-04-10 13:35:24 +02:00
gsm_timer.h pcu_l1_if: add frame number to log output 2018-04-10 13:35:24 +02:00
llc.cpp Remove unused includes and forward declarations 2017-12-18 22:05:22 +00:00
llc.h Update header includes 2018-02-19 08:43:46 +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 osmobts_sock.cpp: do not print the same debug message twice 2019-08-27 11:06:11 +02: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 Use osmo_tdef to implement dl-tbf-idle-time 2019-09-17 11:11:04 +02:00
pcu_utils.h Use explicit type for pcu_lsb() 2018-02-19 08:33:04 +00:00
pcu_vty.c Remove dash from name used in VTY cmd prompt 2019-12-02 11:14:26 +00: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 Split identity_lv param into mi+mi_len 2020-01-01 16:10:15 +00: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 Pass paging group instead of imsi where later is not needed 2020-01-06 10:26:46 +00: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 Pass paging group instead of imsi where later is not needed 2020-01-06 10:26:46 +00:00
tbf_dl.h Move out tbf subclasses from tbf.h to their own headers 2019-09-25 17:50:06 +02: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