f_TC_egprs_pkt_chan_req_reject: Validate WaitIndication in ImmAssRej
Related: OS#3928 Change-Id: Id277f11b411d7b18e3a0445e0c76cbd107c6857d
This commit is contained in:
parent
8f56ecd65c
commit
a5cee4c8e6
|
@ -3342,7 +3342,8 @@ testcase TC_egprs_pkt_chan_req_two_phase() runs on RAW_PCU_Test_CT {
|
|||
|
||||
private function f_TC_egprs_pkt_chan_req_reject(bitstring ra11, uint32_t fn,
|
||||
template IARRestOctets rest := ?,
|
||||
PCUIF_BurstType bt := BURST_TYPE_1)
|
||||
PCUIF_BurstType bt := BURST_TYPE_1,
|
||||
template WaitIndication wi := ?)
|
||||
runs on RAW_PCU_Test_CT {
|
||||
var template ReqRefWaitInd tr_ref;
|
||||
var GsmRrMessage rr_msg;
|
||||
|
@ -3361,7 +3362,7 @@ runs on RAW_PCU_Test_CT {
|
|||
|
||||
/* Make sure that Request Reference list contains at least one entry
|
||||
* with our TDMA frame number, and RA is set to 'reserved' value 127. */
|
||||
tr_ref := tr_ReqRefWaitInd(f_compute_ReqRef(127, fn));
|
||||
tr_ref := tr_ReqRefWaitInd(f_compute_ReqRef(127, fn), wi);
|
||||
if (not match(iar.payload, { *, tr_ref, * })) {
|
||||
setverdict(fail, "Request Reference list does not match");
|
||||
f_shutdown(__BFILE__, __LINE__);
|
||||
|
@ -3439,6 +3440,7 @@ testcase TC_egprs_pkt_chan_req_reject_exhaustion() runs on RAW_PCU_Test_CT {
|
|||
var BIT11 ra11;
|
||||
|
||||
info_ind := valueof(ts_PCUIF_INFO_default);
|
||||
info_ind.t3142 := 3;
|
||||
|
||||
/* Only the first TRX is enabled. */
|
||||
f_PCUIF_PDCHMask_set(info_ind, '00000000'B, (1 .. 7));
|
||||
|
@ -3467,7 +3469,7 @@ testcase TC_egprs_pkt_chan_req_reject_exhaustion() runs on RAW_PCU_Test_CT {
|
|||
rest := tr_IARRestOctets({ *, tr_ExtRAOpt(substr(ra11, 6, 5)), * });
|
||||
|
||||
/* At this point, the IUT should run out of free USFs */
|
||||
f_TC_egprs_pkt_chan_req_reject(ra11, 1870, rest);
|
||||
f_TC_egprs_pkt_chan_req_reject(ra11, 1870, rest, wi := info_ind.t3142);
|
||||
|
||||
f_shutdown(__BFILE__, __LINE__, final := true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue