fix pcu_l1if_tx_ptcch(): do not send empty blocks to GSMTAP
This makes no sense and confuses Wireshark, so it shows malformed packets. We are not sending empty PDTCH blocks to GSMTAP either. Change-Id: Ic7b6aca4f3af43a6fd47d033c950c711164685a4 Related: SYS#6045
This commit is contained in:
parent
1ad2d3f811
commit
f5dde9fe54
|
@ -244,7 +244,7 @@ void pcu_l1if_tx_ptcch(struct gprs_rlcmac_bts *bts,
|
|||
uint32_t fn, uint8_t block_nr,
|
||||
uint8_t *data, size_t data_len)
|
||||
{
|
||||
if (the_pcu->gsmtap_categ_mask & (1 << PCU_GSMTAP_C_DL_PTCCH))
|
||||
if (data_len && the_pcu->gsmtap_categ_mask & (1 << PCU_GSMTAP_C_DL_PTCCH))
|
||||
gsmtap_send(the_pcu->gsmtap, arfcn, ts, GSMTAP_CHANNEL_PTCCH, 0, fn, 0, 0, data, data_len);
|
||||
#ifdef ENABLE_DIRECT_PHY
|
||||
if (bts->trx[trx].fl1h) {
|
||||
|
|
Loading…
Reference in New Issue