osmo-ttcn3-hacks/library
Vadim Yanitskiy 36558d9526 library/PCUIF_Types.ttcn: extend RACH.ind with TRX / TS number fields
Since there can be multiple PDCH channels configured on different
timeslots, different TRXes, and BTSes, the PTCCH/U handling code
in OsmoPCU needs to know the exact origin of a given RACH.ind.

Otherwise, it is not known which subscriber originated a given
PTCCH/U indication, and hence it is impossible to send PTCCH/D
Timing Advance notification properly.

Fortunately, we can extend the RACH.ind message without even
bumping the protocol version, because every single PDU has a
fixed size defined by the largest message - INFO.ind. In case
if the actual message payload is smaller, the rest is filled
with a constant padding byte (0x00).

Older versions of OsmoPCU will consider the new fields as padding,
while the messages from older OsmoBTS versions will always have
both fields set to 0x00. Since C0/TS0 cannot be configured to
PDCH, this can be easily detected on the other end.

Change-Id: Ia5c4e504a21dc5508920553d3856027455dba1b1
Related: OS#4102, OS#1545
2019-11-23 07:57:45 +00:00
..
hnbap HNBAP, RUA and RANAP protocol codecs 2019-04-25 20:07:11 +00:00
ranap library/ranap: enrich both t(s|r)_RANAP_DirectTransfer templates 2019-06-20 22:13:25 +07: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 cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
BSSGP_Emulation.ttcn BSSGP_Emulation: add BssgpDecodeDepth 2019-09-02 09:15:33 +02:00
BSSGP_Helper.cc gprs: Move BSSGP related code to library 2018-02-16 18:33:59 +01:00
BSSGP_Helper_Functions.ttcn gprs: Move BSSGP related code to library 2018-02-16 18:33:59 +01:00
BSSGP_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
BSSMAP_Templates.ttcn BSSMAP_Templates: Provide complete set of CellID related rx/tx templates 2019-06-21 09:34:14 +00:00
CBSP_Adapter.ttcn Add CBSP_CodecPort + CBSP_Adapter 2019-09-04 10:45:41 +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 bsc: Test that ETWS Primary Notification are sent via dedicated channels 2019-09-07 08:38:00 +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: Remove unused dependency to MobileL3 and DNS 2019-08-18 19:40:42 +02:00
DIAMETER_Templates.ttcn library: Add DIAMETER Templates, Emulation, CodecPort 2019-08-18 17:14:20 +00:00
DIAMETER_Types.ttcn library: Add [generated] DIAMETER_Types.ttcn 2019-08-18 17:14:20 +00:00
DNS_Helpers.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +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.ttcn: fix 'Assignment' vs 'Allocation' confusion 2019-09-29 20:17:10 +07:00
GSM_SystemInformation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
GSM_Types.ttcn BTS_Tests.ttcn: add a test case for PTCCH/D and PTCCH/U 2019-10-21 11:25:40 +00:00
GSUP_Emulation.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
GSUP_Types.ttcn msc: add check IMEI tests 2019-07-12 06:05:39 +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 mme: Add GTPv2 support 2019-08-18 17:14:20 +00:00
GTPv2_PrivateExtensions.ttcn mme: Add GTPv2 support 2019-08-18 17:14:20 +00:00
GTPv2_Templates.ttcn mme: Add GTPv2 support 2019-08-18 17:14:20 +00:00
General_Types.ttcn General_Types: Add BIT13, BIT28, BIT29, BIT30 2019-02-17 20:51:54 +01: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 IPA_Emulation: Fix building without CTRL support 2019-08-18 19:40:42 +02:00
IPA_Testing.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
IPA_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00: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 Add 3GPP TS 25.415 IuUP encoder/decoder 2017-12-25 00:00:58 +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.ttcn: use templates from GSM_RR_Types 2019-09-14 15:12:47 +00: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_PortType.ttcn: use templates from GSM_RR_Types 2019-09-14 15:12:47 +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: PDU_L3_MS_SGSN: export ptmsi in template signature 2019-09-11 06:19:10 +00:00
LAPDm_RAW_PT.ttcn library/LAPDm_RAW_PT.ttcn: use templates from GSM_RR_Types 2019-09-09 16:30:47 +02: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 msc: split off f_mgcp_find_param_entry() 2019-11-04 15:07:04 +01: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 cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
MNCC_EncDec.cc MNCC_EncDec.cc: Fix decoding of speech versions in bearer capabilities 2018-03-26 23:07:24 +02:00
MNCC_Types.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
Misc_Helpers.ttcn Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02: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 cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
Native_Functions.ttcn library: Implement f_inet6_addr function 2018-01-29 15:18:19 +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 bsc: Introduce test TC_ctrl_location 2019-06-13 09:38:24 +00:00
Osmocom_CTRL_Functions.ttcn lib/CTRL: Improve and add more helper templates and functions 2019-06-13 09:39:14 +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 Ensure BcdMccMnc is encoded as 24.008 10.5.5.15 2019-04-12 15:10:24 +00:00
Osmocom_Types.ttcn bts: move f_pad_oct() to Osmocom_Types as it's generally useful 2019-05-30 15:06:12 +02:00
Osmocom_VTY_Functions.ttcn cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +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.ttcn: extend RACH.ind with TRX / TS number fields 2019-11-23 07:57:45 +00:00
RAN_Adapter.ttcnpp sgsn: Proper shutdown of RAN_Adapter components 2019-09-02 09:04:53 +00:00
RAN_Emulation.ttcnpp RAN_Emulation: Support for PS domain 2019-08-18 17:12:46 +00:00
RLCMAC_CSN1_Types.ttcn library/RLCMAC_CSN1_Types.ttcn: implement Packet Power Control/Timing Advance 2019-09-30 20:08:19 +07:00
RLCMAC_EncDec.cc cosmetic: Update copyright statement, license notice and SPDX 2019-05-27 10:00:06 +00:00
RLCMAC_Types.ttcn pcu: Introduce test TC_t3169 2019-10-07 13:27:25 +02:00
RSL_Emulation.ttcn bsc: add TC_ho_neighbor_config_1 thru _7 2019-08-13 21:54:55 +00:00
RSL_Types.ttcn bsc: Verify ms power level value from RSL IE MS Power during CHAN ACT 2019-10-28 15:15:43 +01: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 stp: Introduce STP_Tests*.ttcn for testing OsmoSTP 2019-11-12 13:05:41 +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
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 Add a MNCC Socket implementation for TTCN-3 2018-01-03 21:09:35 +01:00