library/L1CTL_Types: turn L1ctlTchMode into an enumerated type
Change-Id: Ib547b5984078bc6c6a66addb4622a471487c7342 Related: OS#4799
This commit is contained in:
parent
e7c4a99160
commit
fe052960b2
|
@ -140,7 +140,13 @@ module L1CTL_Types {
|
|||
} with { variant "" };
|
||||
|
||||
/* gsm48_chan_mode */
|
||||
type uint8_t L1ctlTchMode;
|
||||
type enumerated L1ctlTchMode {
|
||||
L1CTL_CHAN_MODE_SIGN ('00000000'B), /* Signalling */
|
||||
L1CTL_CHAN_MODE_SPEECH_V1 ('00000001'B), /* FR or HR codec */
|
||||
L1CTL_CHAN_MODE_SPEECH_V2 ('00100001'B), /* EFR codec */
|
||||
L1CTL_CHAN_MODE_SPEECH_V3 ('01000001'B) /* AMR codec */
|
||||
/* Other modes are not supported for now */
|
||||
} with { variant "FIELDLENGTH(8)" };
|
||||
|
||||
type record L1ctlAudioMode {
|
||||
BIT4 padding,
|
||||
|
@ -572,7 +578,7 @@ module L1CTL_Types {
|
|||
payload := {
|
||||
dm_est_req := {
|
||||
tsc := tsc,
|
||||
tch_mode := 0,
|
||||
tch_mode := L1CTL_CHAN_MODE_SIGN,
|
||||
audio_mode := t_L1CTL_AudioModeNone
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue