aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2022-06-07 13:30:03 +0200
committerpespin <pespin@sysmocom.de>2022-06-08 11:44:40 +0000
commit7d58b0817efb61f9e96be6376e90acfc9d67b72b (patch)
tree794932f253845a2a64b9d77887e75844415d8094
parent9d06c638db2bcf510af594773ace4bc6c617d94f (diff)
GTP: Send more QoS IE fields by default
This way we trigger more code paths in the GGSN_Tests IUT, like parsing the QoS IE. This is interesting because the QoS IE has quite a complex encoding, specially the MBR/GBR part. Those fields in turn are also modified during the answer based on AVPs received during Gx set up of that session. Related: SYS#5984 Change-Id: Id195eedf530e2eff753d057ce2302dfb5275bfcd
-rw-r--r--library/GTP_Templates.ttcn40
1 files changed, 20 insertions, 20 deletions
diff --git a/library/GTP_Templates.ttcn b/library/GTP_Templates.ttcn
index 493da8f5..c7d78243 100644
--- a/library/GTP_Templates.ttcn
+++ b/library/GTP_Templates.ttcn
@@ -360,7 +360,7 @@ module GTP_Templates {
template QualityOfServiceProfile ts_QosDefault := {
type_gtpc := '87'O,
- lengthf := 4,
+ lengthf := 17,
allocRetensionPrio := '00'O,
qos_ProfileValue := {
reliabilityClass := '011'B,
@@ -371,25 +371,25 @@ module GTP_Templates {
peakThroughput := '1001'B,
meanThroughput := '11111'B,
spare3 := '000'B,
- deliverErroneusSDU := omit,
- deliveryOrder := omit,
- trafficClass := omit,
- maxSDUSize := omit,
- maxBitrateUplink := omit,
- maxBitrateDownlink := omit,
- sduErrorRatio := omit,
- residualBER := omit,
- trafficHandlingPriority := omit,
- transferDelay := omit,
- guaranteedBitRateUplink := omit,
- guaranteedBitRateDownlink := omit,
- sourceStatisticsDescriptor := omit,
- signallingIndication := omit,
- spare4 := omit,
- maxBitrateDownlinkExt := omit,
- guaranteedBitRateDownlinkExt := omit,
- maxBitrateUplinkExt := omit,
- guaranteedBitRateUplinkExt := omit
+ deliverErroneusSDU := '010'B, /* Erroneus SDU are delivered */
+ deliveryOrder := '10'B, /* Without delivery order */
+ trafficClass := '100'B, /* Background */
+ maxSDUSize := '96'O, /* 1500 octets */
+ maxBitrateUplink := 'FE'O, /* 8640, continues in extended octet */
+ maxBitrateDownlink := 'FE'O, /* 8640, continues in extended octet */
+ sduErrorRatio := '0100'B, /* 1x10^-4 */
+ residualBER := '0101'B, /* 1x10^-3 */
+ trafficHandlingPriority := '01'B, /* prio 1 */
+ transferDelay := '000001'B, /* 10 ms */
+ guaranteedBitRateUplink := 'FE'O, /* 8640, continues in extended octet */
+ guaranteedBitRateDownlink := 'FE'O, /* 8640, continues in extended octet */
+ sourceStatisticsDescriptor := '0000'B, /* unknown */
+ signallingIndication := '0'B, /* Not optimized */
+ spare4 := '000'B,
+ maxBitrateDownlinkExt := '5B'O, /* 33 mbps */
+ guaranteedBitRateDownlinkExt := '5B'O, /* 33 mbps */
+ maxBitrateUplinkExt := '6e'O, /* 52 mbps */
+ guaranteedBitRateUplinkExt := '6e'O /* 52 mbps */
}
}