Change in osmo-ttcn3-hacks[master]: pcu: Handle PCUIF (DE)ACT.req messages

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/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Dec 2 12:07:24 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16400 )


Change subject: pcu: Handle PCUIF (DE)ACT.req messages
......................................................................

pcu: Handle PCUIF (DE)ACT.req messages

Change-Id: I4440a6b24fb76b4f8096706769250b91bd2444bb
---
M pcu/PCUIF_RAW_Components.ttcn
1 file changed, 12 insertions(+), 1 deletion(-)



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

diff --git a/pcu/PCUIF_RAW_Components.ttcn b/pcu/PCUIF_RAW_Components.ttcn
index ab8b3b7..6d29404 100644
--- a/pcu/PCUIF_RAW_Components.ttcn
+++ b/pcu/PCUIF_RAW_Components.ttcn
@@ -339,7 +339,6 @@
 	/* Wait until the PCU is connected */
 	PCUIF.receive(tr_RAW_PCU_EV(PCU_EV_CONNECT));
 
-	/* TODO: implement ACT.req handling */
 	alt {
 	/* Wait for TXT.ind (PCU_VERSION) and respond with INFO.ind (SI13) */
 	[] PCUIF.receive(tr_PCUIF_TXT_IND(bts_nr, PCU_VERSION, ?)) -> value pcu_msg {
@@ -360,6 +359,18 @@
 		vc_CLCK_GEN.start(f_ClckGen_CT_handler());
 		repeat;
 		}
+	/* PCU -> TS becomes active */
+	[] PCUIF.receive(tr_PCUIF_ACT_REQ(bts_nr, ?, ?)) -> value pcu_msg {
+		log("Rx ACT.req from the PCU: TRX" & int2str(pcu_msg.u.act_req.trx_nr) &
+		    "/TS" & int2str(pcu_msg.u.act_req.ts_nr));
+		repeat;
+		}
+	/* PCU -> TS becomes inactive */
+	[] PCUIF.receive(tr_PCUIF_DEACT_REQ(bts_nr, ?, ?)) -> value pcu_msg {
+		log("Rx DEACT.req from the PCU: TRX" & int2str(pcu_msg.u.act_req.trx_nr) &
+		    "/TS" & int2str(pcu_msg.u.act_req.ts_nr));
+		repeat;
+		}
 	/* PCU -> test case forwarding (filter by the BTS number) */
 	[] PCUIF.receive(tr_PCUIF_MSG(?, bts_nr)) -> value pcu_msg {
 		TC.send(pcu_msg);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/16400
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I4440a6b24fb76b4f8096706769250b91bd2444bb
Gerrit-Change-Number: 16400
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191202/3e6f45a6/attachment.htm>


More information about the gerrit-log mailing list