[PATCH] osmo-ttcn3-hacks[master]: HACK: Work around IPA CCM bug in OsmoBSC

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Stefan Sperling gerrit-no-reply at lists.osmocom.org
Mon Jan 8 14:22:48 UTC 2018


Review at  https://gerrit.osmocom.org/5681

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
---
M library/IPA_Emulation.ttcn
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/81/5681/1

diff --git a/library/IPA_Emulation.ttcn b/library/IPA_Emulation.ttcn
index 9bad69f..b335d87 100644
--- a/library/IPA_Emulation.ttcn
+++ b/library/IPA_Emulation.ttcn
@@ -296,10 +296,13 @@
 			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 else {
 			log("Unknown/unsupported IPA CCM message type", ccm);

-- 
To view, visit https://gerrit.osmocom.org/5681
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I304535d28a165f76a0a140dc0a15dd81a9db28c8
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>



More information about the gerrit-log mailing list