RAW_NS: Ignore NS-UNITDATA while waiting for NS-ALIVE in oneshot mode
Change-Id: Id2738b055f860b4eee57d445944e0861b34151be
This commit is contained in:
parent
ec9e981c74
commit
6a414c8001
|
@ -169,6 +169,13 @@ altstep as_rx_alive_tx_ack(boolean oneshot := false, integer idx := 0) runs on R
|
|||
NSCP[idx].send(t_NS_ALIVE_ACK);
|
||||
if (not oneshot) { repeat; }
|
||||
}
|
||||
/* in oneshot mode, ignore any NS-UNITDATA we receive meanwhile. This is
|
||||
* particularly useful when waiting for the first NS-ALIVE after SNS-CONFIG,
|
||||
* where there is a high chance of UNITDATA during the first Tns-test cycle
|
||||
* before the peer sends its first NS-ALIVE after Tns-test expiration */
|
||||
[oneshot] NSCP[idx].receive(tr_NS_UNITDATA(?,?,?)) {
|
||||
repeat;
|
||||
}
|
||||
}
|
||||
|
||||
/* Transmit BSSGP RESET for given BVCI and expect ACK */
|
||||
|
|
Loading…
Reference in New Issue