osmo-ttcn3-hacks/library
Vadim Yanitskiy 43ccaf51f2 library/PCUIF_Types: version 10: add Mobile Allocation length field
My initial assumption was that we can skip redundant '0'B bits or
even '00'O octets in the Mobile Allocation IE, and thus reduce
the overall size of this element.  Unfortunately, this is wrong.

3GPP TS 44.018, section 10.5.2.21 clearly states that the Mobile
Allocation IE contains a bit-string of size NF, where NF is the
number of frequencies in the cell allocation.  If NF % 8 != 0,
then '0'B padding bits must be appended to make it octet-aligned.

In other words, if the cell allocation contains let's say 13
frequencies, but a hopping timeslot makes use of only a small
fraction of it (e.g. 4 first channels), we would still need to
transmit at least 13 bits (+padding), including all redundant
bits and octets.

In RLC/MAC frames though it's not required to make the bit-string
octet aligned, so we need to send exactly NF bits without padding.

In order to achieve that:

  a) add MA length field to INFO.ind (record PCUIF_InfoTrxTs);
  b) ajust the existing test cases to use this field.

It's safe to merge this change as the related patches have not
been merged to osmo-pcu and osmo-bts yet.

Change-Id: I2709673c90a0cd7d76de9db8b8ad82ac59ca84a0
Related: SYS#4868, OS#4547
2020-09-08 19:04:20 +00:00
..
hnbap HNBAP, RUA and RANAP protocol codecs 2019-04-25 20:07:11 +00:00
ranap msc: fix Iu mo call 2019-11-23 07:59:07 +00:00
rua HNBAP, RUA and RANAP protocol codecs 2019-04-25 20:07:11 +00:00
s1ap library: Add S1AP Templates 2019-08-15 09:49:18 +00:00
sabp SABP (Service Area Broadcast Protocol) definitions 2019-09-26 19:31:08 +00:00
AbisOML_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
BSSAP_CodecPort.ttcn library/BSSAP_CodecPort: turn conn_id into a template param 2020-08-28 18:17:55 +07:00
BSSAP_LE_Adapter.ttcn library: Add BSSLAP_LE_{CodecPort,Emulation} 2020-08-30 16:07:00 +00:00
BSSAP_LE_CodecPort.ttcn library: Add BSSLAP_LE_{CodecPort,Emulation} 2020-08-30 16:07:00 +00:00
BSSAP_LE_Emulation.ttcn library: Add BSSLAP_LE_{CodecPort,Emulation} 2020-08-30 16:07:00 +00:00
BSSAP_LE_Types.ttcn library/BSSAP_LE_Types: fix: add missing FIELDLENGTH attributes 2020-09-08 18:26:19 +00:00
BSSGP_Emulation.ttcn BSSGP_Emulation: add BssgpDecodeDepth 2019-09-02 09:15:33 +02:00
BSSGP_Helper.cc BSSGP/IuUP: Fix license disclaimer copy+paste 2020-03-01 20:27:19 +01:00
BSSGP_Helper_Functions.ttcn gprs: Move BSSGP related code to library 2018-02-16 18:33:59 +01:00
BSSGP_Types.ttcn library/BSSGP_Types: use tr_MI_IMSI from library/L3_Templates 2020-03-28 05:20:41 +07:00
BSSLAP_Types.ttcn TTCN-3 definitions for BSSMAP-LE and BSSLAP protocols 2020-08-30 16:07:00 +00:00
BSSMAP_LE_Templates.ttcn TTCN-3 definitions for BSSMAP-LE and BSSLAP protocols 2020-08-30 16:07:00 +00:00
BSSMAP_Templates.ttcn library: Add template helpers for AoIP Transport Layer Address 2020-09-07 08:05:28 +00:00
CBSP_Adapter.ttcn bsc CBSP: add log context for CBSP port errors 2020-07-29 20:03:50 +00:00
CBSP_CodecPort.ttcn Add CBSP_CodecPort + CBSP_Adapter 2019-09-04 10:45:41 +00:00
CBSP_CodecPort_CtrlFunct.ttcn Add CBSP_CodecPort + CBSP_Adapter 2019-09-04 10:45:41 +00:00
CBSP_CodecPort_CtrlFunctdef.cc Add CBSP_CodecPort + CBSP_Adapter 2019-09-04 10:45:41 +00:00
CBSP_Templates.ttcn CBSP_Templates: Fix tons of compiler warnings 2020-08-21 12:39:40 +02:00
CBSP_Types.ttcn bsc: Test suite for CBSP (Cell Broadcast Service Protocol) 2019-09-05 13:13:35 +02:00
DIAMETER_CodecPort.ttcn library: Add DIAMETER Templates, Emulation, CodecPort 2019-08-18 17:14:20 +00:00
DIAMETER_CodecPort_CtrlFunct.ttcn library: Add DIAMETER Templates, Emulation, CodecPort 2019-08-18 17:14:20 +00:00
DIAMETER_CodecPort_CtrlFunctDef.cc library: Add DIAMETER Templates, Emulation, CodecPort 2019-08-18 17:14:20 +00:00
DIAMETER_Emulation.ttcn DIAMETER_Emulation: Notify user of CapabilityExchange 2020-04-26 22:08:34 +02:00
DIAMETER_Templates.ttcn pgw: Add support for PCRF emulation (CCR/CCA) 2020-04-26 22:08:34 +02:00
DIAMETER_Types.ttcn DIAMETER_Types: Add IETF RFC4006 CreditControl + related 2020-04-26 22:08:34 +02:00
DNS_Helpers.ttcn library/DNS_Helpers: add f_enc_IPv4 2020-02-06 16:21:47 +00:00
GSMTAP_PortType.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
GSMTAP_Types.ttcn Introduce 'library' directory for modules shared by multiple test cases 2017-07-19 19:57:26 +02:00
GSM_RR_Types.ttcn library/GSM_RR_Types: add minimalistic HandoverCommand 2020-09-02 19:02:42 +07:00
GSM_RestOctets.ttcn bsc: more SI2quater EUTRAN ARFCN tests 2020-07-09 13:27:50 +00:00
GSM_SystemInformation.ttcn library/GSM_SystemInformation: move 'MobileAllocationT' to GSM_RR_Types 2020-08-28 05:55:58 +07:00
GSM_Types.ttcn GSM_Types: Fix compiler warning 2020-08-21 11:55:23 +02:00
GSUP_Emulation.ttcn library/IPA: use tr_ASP_IPA_EV instead of inline templates 2020-05-18 21:16:35 +07:00
GSUP_Types.ttcn hlr: add tests for GSUP proxy routing 2020-05-11 17:31:57 +00:00
GTP_CodecPort.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
GTP_CodecPort_CtrlFunct.ttcn move GTP_CodecPort from ggsn to library (for sgsn reuse) 2018-02-18 10:26:45 +01:00
GTP_CodecPort_CtrlFunctDef.cc move GTP_CodecPort from ggsn to library (for sgsn reuse) 2018-02-18 10:26:45 +01:00
GTP_Emulation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
GTP_Templates.ttcn ggsn: Add TC_pdp4_act_deact_ipcp_pap_broken() 2019-07-03 16:24:19 +00:00
GTPv2_CodecPort.ttcn Fix/complete the partial GTPv2_CodecPort we already had 2020-04-19 17:25:02 +00:00
GTPv2_CodecPort_CtrlFunct.ttcn Fix/complete the partial GTPv2_CodecPort we already had 2020-04-19 17:25:02 +00:00
GTPv2_CodecPort_CtrlFunctDef.cc Fix/complete the partial GTPv2_CodecPort we already had 2020-04-19 17:25:02 +00:00
GTPv2_Emulation.ttcn Add GTPv2_Emulation component 2020-04-21 22:57:31 +02:00
GTPv2_PrivateExtensions.ttcn mme: Add GTPv2 support 2019-08-18 17:14:20 +00:00
GTPv2_Templates.ttcn Add GTPv2_Emulation component 2020-04-21 22:57:31 +02:00
General_Types.ttcn Add GTPv2_Emulation component 2020-04-21 22:57:31 +02:00
IPA_CodecPort.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
IPA_CodecPort_CtrlFunct.ttcn IPA_CodecPort: Wrap f_IPL4_setGetMsgLen function 2017-11-29 11:46:24 +01:00
IPA_CodecPort_CtrlFunctDef.cc IPA_CodecPort: Wrap f_IPL4_setGetMsgLen function 2017-11-29 11:46:24 +01:00
IPA_Emulation.ttcnpp library/IPA_Emulation: server mode: expose IPA IDENTITY RESPONSE 2020-05-26 18:00:26 +07:00
IPA_Testing.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
IPA_Types.ttcn library/RSL_Emulation: server mode: handle multiple transceivers 2020-05-26 20:57:00 +07:00
IPCP_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
IPL4_GSMTAP_CtrlFunct.ttcn Introduce 'library' directory for modules shared by multiple test cases 2017-07-19 19:57:26 +02:00
IPL4_GSMTAP_CtrlFunctDef.cc Introduce 'library' directory for modules shared by multiple test cases 2017-07-19 19:57:26 +02:00
IuUP_Emulation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
IuUP_EncDec.cc BSSGP/IuUP: Fix license disclaimer copy+paste 2020-03-01 20:27:19 +01:00
IuUP_Types.ttcn Add comments with short module description on top of each file 2018-01-03 21:09:29 +01:00
L1CTL_PortType.ttcn library/L1CTL_PortType: f_L1CTL_DM_EST_REQ_IA(): handle hopping params 2020-05-29 22:33:13 +07:00
L1CTL_PortType_CtrlFunct.ttcn L1CTL: Add message segmentation helper via getMsgLen() 2018-02-27 22:32:49 +01:00
L1CTL_PortType_CtrlFunctDef.cc L1CTL: Add message segmentation helper via getMsgLen() 2018-02-27 22:32:49 +01:00
L1CTL_Types.ttcn library/L1CTL_Types: introduce ts_L1CTL_DM_EST_REQ_H1 2020-05-29 15:31:12 +00:00
L3_Common.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
L3_Templates.ttcn L3_Templates: Fix compiler warning about missing qualifier 2020-08-21 13:17:58 +02:00
LAPDm_RAW_PT.ttcn BTS_Tests_LAPDm: consider frequency hopping parameters 2020-07-14 21:07:50 +07:00
LAPDm_Types.ttcn bts: Add TC_segm_concat to test segmentation+concatenation 2019-06-04 09:12:03 +00:00
LLC_Templates.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
M3UA_CodecPort.ttcn stp: Introduce STP_Tests*.ttcn for testing OsmoSTP 2019-11-12 13:05:41 +01:00
M3UA_CodecPort_CtrlFunct.ttcn stp: Introduce STP_Tests*.ttcn for testing OsmoSTP 2019-11-12 13:05:41 +01:00
M3UA_CodecPort_CtrlFunctDef.cc stp: Introduce STP_Tests*.ttcn for testing OsmoSTP 2019-11-12 13:05:41 +01:00
M3UA_Templates.ttcn M3UA_Templates: Fix tr_M3UA_ASPUP() length value copy+paste error 2019-11-12 13:05:46 +01:00
MGCP_CodecPort.ttcn lib/mgcp: Add new port with support to handle multiple MGCP sockets 2019-06-24 13:53:25 +00:00
MGCP_CodecPort_CtrlFunct.ttcn Move MGCP_CodecPort to library directory 2017-11-25 02:05:04 +01:00
MGCP_CodecPort_CtrlFunctDef.cc Move MGCP_CodecPort to library directory 2017-11-25 02:05:04 +01:00
MGCP_Emulation.ttcn lib/mgcp: Add new port with support to handle multiple MGCP sockets 2019-06-24 13:53:25 +00:00
MGCP_Templates.ttcn library/MGCP_Templates: Apply MGCP AddressType based on provided address 2020-09-07 08:05:28 +00:00
MGCP_Types.ttcn Revert "MGCP: fix pattern warning" 2019-09-18 19:46:22 +02:00
MNCC_CodecPort.ttcn MNCC: Add some useful templates / helper functions 2018-01-17 13:34:58 +00:00
MNCC_Emulation.ttcn sip: bump MNCC version sent to sipcon to 6 2019-11-28 20:57:10 +01:00
MNCC_EncDec.cc msc: add sdp to MNCC 2019-11-23 07:59:07 +00:00
MNCC_Types.ttcn library/MNCC_Types: fix sdp in tr_MNCC_* 2019-11-28 15:07:21 +01:00
MSLookup_mDNS_Emulation.ttcn hlr: add TC_MSLookup_mDNS_service_other_home 2020-02-06 16:21:47 +00:00
MSLookup_mDNS_Templates.ttcn hlr: add TC_MSLookup_GSUP_proxy 2020-02-06 16:21:47 +00:00
MSLookup_mDNS_Types.ttcn hlr: add TC_MSLookup_mDNS_service_other_home 2020-02-06 16:21:47 +00:00
Misc_Helpers.ttcn library: Add template helpers for AoIP Transport Layer Address 2020-09-07 08:05:28 +00:00
NAS_Templates.ttcn library: Add initial set of LTE/EPC NAS templates 2019-08-18 17:14:20 +00:00
NS_CodecPort.ttcn Migrate Gb (NS/BSSGP) code over to Ericsson NS/BSSGP modules 2018-02-16 18:35:44 +00:00
NS_CodecPort_CtrlFunct.ttcn gprs: Move NS Types/CodecPort/Emulation to library directory 2018-02-16 18:33:55 +01:00
NS_CodecPort_CtrlFunctDef.cc gprs: Move NS Types/CodecPort/Emulation to library directory 2018-02-16 18:33:55 +01:00
NS_Emulation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
NS_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
Native_FunctionDefs.cc Native_Functions: Add f_str_to{lower,upper}() 2020-02-19 19:52:22 +01:00
Native_Functions.ttcn Native_Functions: Add f_str_to{lower,upper}() 2020-02-19 19:52:22 +01:00
OSMUX_CodecPort.ttcn Add Osmux support and tests for MGW 2019-05-27 09:56:51 +00:00
OSMUX_CodecPort_CtrlFunct.ttcn Add Osmux support and tests for MGW 2019-05-27 09:56:51 +00:00
OSMUX_CodecPort_CtrlFunctDef.cc Add Osmux support and tests for MGW 2019-05-27 09:56:51 +00:00
OSMUX_Emulation.ttcn Add Osmux support and tests for MGW 2019-05-27 09:56:51 +00:00
OSMUX_Types.ttcn Add Osmux support and tests for MGW 2019-05-27 09:56:51 +00:00
Osmocom_CTRL_Adapter.ttcn library/IPA: use tr_ASP_IPA_EV instead of inline templates 2020-05-18 21:16:35 +07:00
Osmocom_CTRL_Functions.ttcn comment: Osmocom_CTRL: fix example for f_counter_name_vals_list_add() 2020-08-31 16:40:11 +00:00
Osmocom_CTRL_Types.ttcn lib/CTRL: Improve and add more helper templates and functions 2019-06-13 09:39:14 +00:00
Osmocom_Gb_Types.ttcn Osmocom_Gb_Types: add a simple tr_NS_STATUS() 2020-09-07 06:12:51 +02:00
Osmocom_Types.ttcn library/Osmocom_Types: fix f_rnd_ra_cs(): ensure non-emergency RA 2020-08-31 15:05:57 +00:00
Osmocom_VTY_Functions.ttcn another fixup for "fix mscpool cleanup (fixes LCLS tests)" 2020-08-12 11:19:23 +00:00
PAP_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
PCUIF_CodecPort.ttcn library/PCUIF_CodecPort.ttcn: strip padding bytes from PCUIF_data 2019-09-27 03:17:50 +00:00
PCUIF_Types.ttcn library/PCUIF_Types: version 10: add Mobile Allocation length field 2020-09-08 19:04:20 +00:00
RAN_Adapter.ttcnpp move type RAN_Configurations to RAN_Adapter.ttcnpp 2020-06-14 10:54:11 +00:00
RAN_Emulation.ttcnpp library: Add BSSLAP_LE_{CodecPort,Emulation} 2020-08-30 16:07:00 +00:00
RLCMAC_CSN1_Templates.ttcn RLCMAC: Improve support of Pkt Ul AckNack messages 2020-07-14 09:49:31 +00:00
RLCMAC_CSN1_Types.ttcn library/RLCMAC_CSN1_Types: fix length field in GprsMobileAllication 2020-07-23 04:50:59 +07:00
RLCMAC_EncDec.cc RLCMAC_EncDec.cc: Fix egprs data block encode alignment 2020-05-01 15:54:17 +02:00
RLCMAC_Templates.ttcn library/RLCMAC_CSN1_Types: fix definition of PacketDlAssignment 2020-07-22 14:49:41 +07:00
RLCMAC_Types.ttcn RLCMAC_Templates: Add functions to convert HeaderType<->MCS<->CPS 2020-04-30 20:22:25 +02:00
RSL_Emulation.ttcn RSL_Emulation: Fix compiler warning about dead code 2020-08-21 12:39:40 +02:00
RSL_Types.ttcn library/RSL_Types: add missing Channel Identification IE 2020-08-31 15:05:57 +00:00
RTP_CodecPort.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
RTP_CodecPort_CtrlFunct.ttcn Add missing RTP_CodecPort_CtrlFunct TTCN and C++ files 2017-12-13 15:42:31 +01:00
RTP_CodecPort_CtrlFunctDef.cc Add missing RTP_CodecPort_CtrlFunct TTCN and C++ files 2017-12-13 15:42:31 +01:00
RTP_Emulation.ttcn RTP_Emulation: allow expecting connection refused 2019-06-26 16:15:13 +02:00
S1AP_CodecPort.ttcn library: Add S1AP CodecPort/Emulation 2019-08-18 17:14:20 +00:00
S1AP_CodecPort_CtrlFunct.ttcn library: Add S1AP CodecPort/Emulation 2019-08-18 17:14:20 +00:00
S1AP_CodecPort_CtrlFunctDef.cc library: Add S1AP CodecPort/Emulation 2019-08-18 17:14:20 +00:00
S1AP_Emulation.ttcn library: Add S1AP CodecPort/Emulation 2019-08-18 17:14:20 +00:00
SABP_Adapter.ttcn SABP CodecPort and SABP_Adapter 2019-09-26 19:31:08 +00:00
SABP_CodecPort.ttcn SABP CodecPort and SABP_Adapter 2019-09-26 19:31:08 +00:00
SABP_CodecPort_CtrlFunct.ttcn SABP CodecPort and SABP_Adapter 2019-09-26 19:31:08 +00:00
SABP_CodecPort_CtrlFunctDef.cc SABP CodecPort and SABP_Adapter 2019-09-26 19:31:08 +00:00
SCCP_Templates.ttcn sccp: Introduce test TC_it_avoids_tiar 2020-01-21 14:22:20 +01:00
SGsAP_CodecPort.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
SGsAP_CodecPort_CtrlFunct.ttcn Add SGsAP_CodecPort + SGsAP_Emulation module 2018-10-28 09:52:34 +00:00
SGsAP_CodecPort_CtrlFunctDef.cc Add SGsAP_CodecPort + SGsAP_Emulation module 2018-10-28 09:52:34 +00:00
SGsAP_Emulation.ttcn mme: initial skeleton for MME / SGsAP tetss 2019-08-15 09:49:11 +00:00
SGsAP_Templates.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
SIP_Emulation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
SIP_Templates.ttcn More progress on osmo-sip-connector tests 2018-03-26 23:11:51 +02:00
SMPP_CodecPort.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
SMPP_CodecPort_CtrlFunct.ttcn msc: Add SMPP_CodecPort 2018-04-14 21:58:16 +02:00
SMPP_CodecPort_CtrlFunctDef.cc msc: Add SMPP_CodecPort 2018-04-14 21:58:16 +02:00
SMPP_Emulation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
SMPP_Templates.ttcn msc: Add SMPP tests for MO + MT SMS 2018-04-14 21:58:16 +02:00
SS_Templates.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
StatsD_Checker.ttcn Add parsing and checking of StatsD metrics 2020-08-13 15:02:15 +00:00
StatsD_CodecPort.ttcn Add parsing and checking of StatsD metrics 2020-08-13 15:02:15 +00:00
StatsD_CodecPort_CtrlFunct.ttcn Add parsing and checking of StatsD metrics 2020-08-13 15:02:15 +00:00
StatsD_CodecPort_CtrlFunctdef.cc Add parsing and checking of StatsD metrics 2020-08-13 15:02:15 +00:00
StatsD_Types.ttcn StatsD_Types: Use 'present' qualifier; use template hierarchy 2020-08-21 11:16:33 +00:00
TRXC_CodecPort.ttcn library: Ensure setverdict(fail) is followed by mtc.stop 2018-07-24 09:54:18 +00:00
TRXC_CodecPort_CtrlFunct.ttcn Add TRXC (OsmoTRX Control) protocol types + codec port 2018-02-24 01:03:09 +01:00
TRXC_CodecPort_CtrlFunctDef.cc Add TRXC (OsmoTRX Control) protocol types + codec port 2018-02-24 01:03:09 +01:00
TRXC_Types.ttcn library/TRXC_Types.ttcn: add FAKE_CI command for C/I simulation 2019-07-07 08:14:10 +00:00
USSD_Helpers.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
VPCD_Adapter.ttcn VPCD protocol support (for vsmartcard.git PCD/PICC code) 2019-11-22 22:53:40 +01:00
VPCD_CodecPort.ttcn VPCD protocol support (for vsmartcard.git PCD/PICC code) 2019-11-22 22:53:40 +01:00
VPCD_CodecPort_CtrlFunct.ttcn VPCD protocol support (for vsmartcard.git PCD/PICC code) 2019-11-22 22:53:40 +01:00
VPCD_CodecPort_CtrlFunctDef.cc VPCD protocol support (for vsmartcard.git PCD/PICC code) 2019-11-22 22:53:40 +01:00
VPCD_Types.ttcn VPCD protocol support (for vsmartcard.git PCD/PICC code) 2019-11-22 22:53:40 +01:00
mncc.h msc: add sdp to MNCC 2019-11-23 07:59:07 +00:00