summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-12-15 15:07:21 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-11 03:45:26 +0100
commit012256181c0a9401ab875f433caee3c320f4fc01 (patch)
treefd58647271b2ff18fd9961330ed5c9fc56b8fed9
parentcaa778c77fcd8d893e9cc5612d844256c5751566 (diff)
HACK: Work around IPA CCM bug in OsmoBSCneels/os3041
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
-rw-r--r--library/IPA_Emulation.ttcnpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/IPA_Emulation.ttcnpp b/library/IPA_Emulation.ttcnpp
index c3cfe8d..5bf31e8 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);