DTX: bts-{sysmo,oc2g,lc15}: Print DEBUG messages about ONSET
We're printing DEBUG messages for all other DTX frames, but not for ONSET. This made me think that we never received any ONSET frames when looking at log output. Let's add ONSET for completeness. Related: OS#5944 Change-Id: I9a1511d9929444cef96388492d907e8f3a082311
This commit is contained in:
parent
e464ef6524
commit
d47d288630
|
@ -399,6 +399,8 @@ int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr, struct msgb *l1p_msg)
|
|||
if (lchan->type != GSM_LCHAN_TCH_H &&
|
||||
lchan->type != GSM_LCHAN_TCH_F)
|
||||
goto err_payload_match;
|
||||
LOGPFN(DL1P, LOGL_DEBUG, data_ind->u32Fn, "DTX: received ONSET from L1 "
|
||||
"(%d bytes)\n", payload_len);
|
||||
/* according to 3GPP TS 26.093 ONSET frames precede the first
|
||||
speech frame of a speech burst - set the marker for next RTP
|
||||
frame */
|
||||
|
|
|
@ -403,6 +403,8 @@ int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr, struct msgb *l1p_msg)
|
|||
if (lchan->type != GSM_LCHAN_TCH_H &&
|
||||
lchan->type != GSM_LCHAN_TCH_F)
|
||||
goto err_payload_match;
|
||||
LOGPFN(DL1P, LOGL_DEBUG, data_ind->u32Fn, "DTX: received ONSET from L1 "
|
||||
"(%d bytes)\n", payload_len);
|
||||
/* according to 3GPP TS 26.093 ONSET frames precede the first
|
||||
speech frame of a speech burst - set the marker for next RTP
|
||||
frame */
|
||||
|
|
|
@ -549,6 +549,8 @@ int l1if_tch_rx(struct gsm_bts_trx *trx, uint8_t chan_nr, struct msgb *l1p_msg)
|
|||
if (lchan->type != GSM_LCHAN_TCH_H &&
|
||||
lchan->type != GSM_LCHAN_TCH_F)
|
||||
goto err_payload_match;
|
||||
LOGPFN(DL1P, LOGL_DEBUG, data_ind->u32Fn, "DTX: received ONSET from L1 "
|
||||
"(%d bytes)\n", payload_len);
|
||||
/* according to 3GPP TS 26.093 ONSET frames precede the first
|
||||
speech frame of a speech burst - set the marker for next RTP
|
||||
frame */
|
||||
|
|
Loading…
Reference in New Issue