library/GSM_Types: add the Uplink flag to GsmBandArfcn
Change-Id: Ib9bd7268b8a0fd8ed64064871c09fab35e15a761
This commit is contained in:
parent
1acc7bb184
commit
05a236a2fc
|
@ -32,7 +32,8 @@ type uint16_t GsmCellId;
|
|||
/* ARFCN with explicit band discrimination */
|
||||
type record GsmBandArfcn {
|
||||
boolean pcs,
|
||||
BIT5 spare,
|
||||
boolean uplink,
|
||||
BIT4 spare,
|
||||
GsmArfcn arfcn
|
||||
} with {
|
||||
variant (arfcn) "BYTEORDER(last)"
|
||||
|
@ -41,15 +42,19 @@ type record GsmBandArfcn {
|
|||
|
||||
template (value) GsmBandArfcn
|
||||
ts_GsmBandArfcn(template (value) GsmArfcn arfcn,
|
||||
template (value) boolean pcs := false) := {
|
||||
template (value) boolean pcs := false,
|
||||
template (value) boolean uplink := false) := {
|
||||
pcs := pcs,
|
||||
spare := '00000'B,
|
||||
uplink := uplink,
|
||||
spare := '0000'B,
|
||||
arfcn := arfcn
|
||||
};
|
||||
template GsmBandArfcn
|
||||
tr_GsmBandArfcn(template (present) GsmArfcn arfcn,
|
||||
template (present) boolean pcs := ?) := {
|
||||
template (present) boolean pcs := ?,
|
||||
template (present) boolean uplink := ?) := {
|
||||
pcs := pcs,
|
||||
uplink := uplink,
|
||||
spare := ?,
|
||||
arfcn := arfcn
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue