osmo-ttcn3-hacks/library
Pau Espin 02c972d8aa pcu: use correct RA type to properly test 2phase access
Old code was not setting Single Block Packet Access type, and 2phase
access was not properly triggered.

Once it's triggered, message flow changes quite a lot from the 1phase
access, specially because the 2nd Ul Assignment arrives through PDCH
instead of CCCH, which means a different record is received and hence
code for 1phase cannot be easily re-used.

For similar reasons, f_tx_rlcmac_ul_n_blocks() is modified to receive
the only required tfi param instead of a full dl_block.

Some functions are also extended to support SingleBlock Allocation
instead of usual DynamicAllocation.

Change-Id: If636a4898dfa175fdbd6baf04f7f2c955a9c525d
2020-05-15 11:27:08 +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 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 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
BSSMAP_Templates.ttcn msc: overhaul voice call testing 2019-11-23 07:59:07 +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 HACK: avoid compilation error with TITAN > 6.5.0 2020-04-20 18:02:45 +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.ttcn: fix: work around TITAN bug 562488 2020-05-02 17:06:33 +07:00
GSM_RestOctets.ttcn BTS: manually compose Rest Octets for SI Type 3 and 4 2020-05-06 02:26:03 +07:00
GSM_SystemInformation.ttcn library: fix enc_SystemInformation(): properly pad messages 2020-05-06 02:25:10 +07: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 hlr: add emulated GSUP server (second HLR) 2020-02-06 16:21:47 +00: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 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 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.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 Split templates in RLCMAC_{CSN1_}Types into their own _Templates file 2020-04-29 19:07:38 +02: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 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 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 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 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 library/Osmocom_Gb_Types.ttcn: Fix typo presece->presence in function name 2020-04-26 14:44:35 +00:00
Osmocom_Types.ttcn BTS: manually compose Rest Octets for SI Type 3 and 4 2020-05-06 02:26:03 +07:00
Osmocom_VTY_Functions.ttcn bsc: Introduce test TC_chan_rel_sccp_tiar_timeout 2020-01-12 13:11:39 +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 MSC: f_ran_register_imsi(): allow passing omit as TMSI 2020-01-10 16:03:27 +00:00
RLCMAC_CSN1_Templates.ttcn pcu: use correct RA type to properly test 2phase access 2020-05-15 11:27:08 +00:00
RLCMAC_CSN1_Types.ttcn Split templates in RLCMAC_{CSN1_}Types into their own _Templates file 2020-04-29 19:07:38 +02:00
RLCMAC_EncDec.cc RLCMAC_EncDec.cc: Fix egprs data block encode alignment 2020-05-01 15:54:17 +02:00
RLCMAC_Templates.ttcn pcu: use correct RA type to properly test 2phase access 2020-05-15 11:27:08 +00:00
RLCMAC_Types.ttcn RLCMAC_Templates: Add functions to convert HeaderType<->MCS<->CPS 2020-04-30 20:22: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 library: cosmetic: fix misleading comment in RSL_Types.ttcn 2020-05-06 15:22:53 +07: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
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