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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14659
Change subject: library/L1CTL_Types.ttcn: introduce TRAFFIC_{REQ|IND} templates
......................................................................
library/L1CTL_Types.ttcn: introduce TRAFFIC_{REQ|IND} templates
Change-Id: Ic9f412579da33d0c76b7dd616bd1b305aacf5884
Related: OS#1855
---
M library/L1CTL_Types.ttcn
1 file changed, 42 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/59/14659/1
diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn
index 01214b2..77c1f6a 100644
--- a/library/L1CTL_Types.ttcn
+++ b/library/L1CTL_Types.ttcn
@@ -622,6 +622,24 @@
}
}
+ template (value) L1ctlUlMessage ts_L1CTL_TRAFFIC_REQ(template (value) RslChannelNr chan_nr,
+ template (value) RslLinkId link_id,
+ octetstring frame) := {
+ header := ts_L1ctlHeader(L1CTL_TRAFFIC_REQ),
+ ul_info := {
+ chan_nr := chan_nr,
+ link_id := link_id,
+ padding := '0000'O
+ },
+ ul_info_tbf := omit,
+ ul_info_abs := omit,
+ payload := {
+ traffic_req := {
+ data := frame
+ }
+ }
+ };
+
template (value) L1ctlUlMessage ts_L1CTL_TBF_CFG_REQ(boolean is_uplink, TfiUsfArr tfi_usf) := {
header := ts_L1ctlHeader(L1CTL_TBF_CFG_REQ),
ul_info := omit,
@@ -719,6 +737,30 @@
}
};
+ /* for matching against incoming TRAFFIC_IND */
+ template L1ctlDlMessage tr_L1CTL_TRAFFIC_IND(template RslChannelNr chan_nr,
+ template RslLinkId link_id := ?,
+ template octetstring frame := ?,
+ template uint8_t num_biterr := 0,
+ template uint8_t fire_crc := 0) := {
+ header := tr_L1ctlHeader(L1CTL_TRAFFIC_IND),
+ dl_info := {
+ chan_nr := chan_nr,
+ link_id := link_id,
+ arfcn := ?,
+ frame_nr := ?,
+ rx_level := ?,
+ snr := ?,
+ num_biterr := num_biterr,
+ fire_crc := fire_crc
+ },
+ payload := {
+ traffic_ind := {
+ data := frame
+ }
+ }
+ };
+
template (value) L1ctlUlMessage ts_L1CTL_CRYPTO_REQ(RslChannelNr chan_nr, uint8_t algo,
octetstring key) := {
header := ts_L1ctlHeader(L1CTL_CRYPTO_REQ),
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14659
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: Ic9f412579da33d0c76b7dd616bd1b305aacf5884
Gerrit-Change-Number: 14659
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190703/f71d43e4/attachment.htm>