Add initial support for Packet Uplink Ack/nack EGPRS Struct
Some stuff like EGPRS Ack/Nack description is still not implemented, but
it's enouh for now to be able to match against this kind of ACK blocks.
Change-Id: I8066fba0e71911f0c6344c1540a501f1853daa7f
diff --git a/library/RLCMAC_CSN1_Types.ttcn b/library/RLCMAC_CSN1_Types.ttcn
index d4c6efd..1f1fb0a 100644
--- a/library/RLCMAC_CSN1_Types.ttcn
+++ b/library/RLCMAC_CSN1_Types.ttcn
@@ -395,14 +395,44 @@
variant (pwr_ctrl) "PRESENCE(pwr_ctrl_present = '1'B)"
variant (cont_res_tlli) "BYTEORDER(first)"
};
+ type record UlAckNackEgprs {
+ EgprsChCodingCommand ch_coding_cmd,
+ BIT1 resegment,
+ BIT1 preemptive_tx,
+ BIT1 prr_retrans_req,
+ BIT1 arac_retrans_req,
+ BIT1 cont_res_tlli_present,
+ GprsTlli cont_res_tlli optional,
+ BIT1 tbf_est,
+ BIT1 pkt_ta_present,
+ PacketTimingAdvance pkt_ta optional,
+ BIT1 pkt_ext_ta_present,
+ BIT2 pkt_ext_ta optional,
+ BIT1 pwr_ctrl_present,
+ PowerControlParameters pwr_ctrl optional
+ /* TODO: TS 44.060 12.3.1 EGPRS Ack/Nack Description */
+ /* EgprsAckNackDescription ack_nack_desc, */
+ /* BIT1 not_used('0'B) */
+ /* TODO: Extension Bits, Rel5 ,... */
+ } with {
+ variant (cont_res_tlli) "PRESENCE(cont_res_tlli_present = '1'B)"
+ variant (pkt_ta) "PRESENCE(pkt_ta_present = '1'B)"
+ variant (pkt_ext_ta) "PRESENCE(pkt_ext_ta_present = '1'B)"
+ variant (pwr_ctrl) "PRESENCE(pwr_ctrl_present = '1'B)"
+ variant (cont_res_tlli) "BYTEORDER(first)"
+ };
type record PacketUlAckNack {
PageMode page_mode,
BIT2 msg_excape ('00'B),
uint5_t uplink_tfi,
- BIT1 is_egprs ('0'B), /* msg escape */
- UlAckNackGprs gprs optional
+ BIT1 is_egprs,
+ UlAckNackGprs gprs optional,
+ UlAckNackEgprs egprs optional
/* TODO: EGPRS */
- } with { variant (gprs) "PRESENCE(is_egprs = '0'B)" };
+ } with {
+ variant (gprs) "PRESENCE(is_egprs = '0'B)"
+ variant (egprs) "PRESENCE(is_egprs = '1'B)"
+ };
/* 11.2.8 Packet Downlink Dummy Control Block */
type record PacketDlDummy {