From 012256181c0a9401ab875f433caee3c320f4fc01 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 15 Dec 2017 15:07:21 +0100 Subject: HACK: Work around IPA CCM bug in OsmoBSC OsmoBSC has some misunderstanding about how IPA CCM works and hence we need to work around this until that bug is fixed in OsmoBSC. See https://osmocom.org/issues/2718 Change-Id: I304535d28a165f76a0a140dc0a15dd81a9db28c8 Related: OS#2718 --- library/IPA_Emulation.ttcnpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp index c3cfe8d1..5bf31e88 100644 --- a/library/IPA_Emulation.ttcnpp +++ b/library/IPA_Emulation.ttcnpp @@ -337,10 +337,13 @@ private function f_ccm_rx(PDU_IPA_CCM ccm) runs on IPA_Emulation_CT { f_ccm_tx(valueof(ts_IPA_PONG)); } case (IPAC_MSGT_ID_ACK) { - f_ccm_tx(valueof(ts_IPA_ACK)); + //f_ccm_tx(valueof(ts_IPA_ACK)); + f_send_IPA_EVT(t_ASP_IPA_EVT_UD(ASP_IPA_EVENT_ID_ACK)); } case (IPAC_MSGT_ID_GET) { f_ccm_tx(f_ccm_make_id_resp(ccm)); + /* work around broken OsmoBSC stack... */ + f_ccm_tx(valueof(ts_IPA_ACK)); } case (IPAC_MSGT_ID_RESP) { log("IPA ID RESP: ", ccm.u.resp); -- cgit v1.2.3