summaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-06-06 12:49:17 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-06-06 17:06:03 +0200
commit096d73dfc36f241485a41b38ffb45cc949b2a394 (patch)
tree66b76c810a07e5b9fb54a7bab85f46e7a4368b60 /bsc
parentd48c0c7f87748b0950f2a4947766fde24c62e4b6 (diff)
bsc: Avoid appending Osmux CID IE in AssignReq/Compl with SCCPLite
That IE is not required when on SCCPlite, only for AoIP. Change-Id: Iff939e431fa3da9fef648242140fdb8d0dc92e52
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests.ttcn12
1 files changed, 2 insertions, 10 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index a84277f..518f9e1 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -650,11 +650,7 @@ function f_gen_ass_req(boolean osmux_enabled := false) return PDU_BSSAP {
}
} else {
var BSSMAP_IE_CircuitIdentityCode cic := valueof(ts_BSSMAP_IE_CIC(0,1));
- if (osmux_enabled) {
- ass_cmd := valueof(ts_BSSMAP_AssignmentReq(cic, omit, osmux_cid));
- } else {
- ass_cmd := valueof(ts_BSSMAP_AssignmentReq(cic, omit));
- }
+ ass_cmd := valueof(ts_BSSMAP_AssignmentReq(cic, omit));
}
return ass_cmd;
}
@@ -684,11 +680,7 @@ function f_gen_exp_compl(boolean expect_osmux := false) return template PDU_BSSA
}
} else {
/* CIC is optional "*" as the MSC allocated it */
- if (expect_osmux) {
- exp_compl := tr_BSSMAP_AssignmentComplete(*, omit, osmux_cid);
- } else {
- exp_compl := tr_BSSMAP_AssignmentComplete(*, omit);
- }
+ exp_compl := tr_BSSMAP_AssignmentComplete(*, omit);
}
return exp_compl;
}