L1CTL_Types: Split t_IMM_ASS() off t_RR_IMM_ASS()
It's useful to have a separat template only for the IM_ASS part, without RR header.
This commit is contained in:
parent
b3c226ebde
commit
88849c61b2
|
@ -501,18 +501,21 @@ module L1CTL_Types {
|
|||
}
|
||||
};
|
||||
|
||||
template GsmRrMessage t_RR_IMM_ASS(uint8_t ra, uint8_t fn) := {
|
||||
template ImmediateAssignment t_IMM_ASS(uint8_t ra, GsmFrameNumber fn) := {
|
||||
ded_or_tbf := ?,
|
||||
page_mode := ?,
|
||||
chan_desc := *,
|
||||
pkt_chan_desc := *,
|
||||
req_ref := f_compute_ReqRef(ra, fn),
|
||||
timing_advance := ?,
|
||||
mobile_allocation := ?,
|
||||
rest_octets:= ?
|
||||
};
|
||||
|
||||
template GsmRrMessage t_RR_IMM_ASS(uint8_t ra, GsmFrameNumber fn) := {
|
||||
header := t_RrHeader(IMMEDIATE_ASSIGNMENT, ?),
|
||||
payload := {
|
||||
imm_ass := {
|
||||
ded_or_tbf := ?,
|
||||
page_mode := ?,
|
||||
chan_desc := *,
|
||||
pkt_chan_desc := *,
|
||||
req_ref := f_compute_ReqRef(ra, fn),
|
||||
timing_advance := ?,
|
||||
mobile_allocation := ?
|
||||
}
|
||||
imm_ass := t_IMM_ASS(ra, fn)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue