trau_pcu_ericsson: also support ER_UL_CHMOD_NB_UNKN in 16k mode.

With EGPRS Ericsson introduced an "UNKN" demodulation mode for normal
bursts. This would instruct the CCU to listen for GSMK and PSK
modulation simultaniously. For 16k there is only GSMK and there would be
no need for such a mode. Lets support it in the API anyway in order to
simplify API usage. When the caller selects it, we just use
ER_UL_CHMOD_NB_GMSK then.

Change-Id: I8492a6d042bd7354b5dc34069030305fe39a731f
Related: OS#5198
This commit is contained in:
Philipp Maier 2023-02-03 17:36:09 +01:00
parent 8142f7ab99
commit 1950af7030
1 changed files with 1 additions and 0 deletions

View File

@ -579,6 +579,7 @@ int enc_pcu_data_ind_16(ubit_t *trau_bits, struct er_pcu_data_ind *ind)
/* Set demodulation in uplink (E3-E4) */
switch (ind->ul_chan_mode) {
case ER_UL_CHMOD_NB_GMSK:
case ER_UL_CHMOD_NB_UNKN:
trau_bits[28] = 0;
trau_bits[29] = 0;
break;