remove debug printfs

master
Andre Puschmann 7 years ago
parent d0cb214725
commit 463b138026

@ -619,10 +619,6 @@ void mac::build_mch_sched(uint32_t tbs)
last_mtch_stop = mch.mtch_sched[i].stop; last_mtch_stop = mch.mtch_sched[i].stop;
} }
} }
printf("buffer size is %d\n",total_bytes_to_tx);
printf("shed size is %d\n",total_space_avail_bytes);
printf("stop value is %d\n",mch.mtch_sched[0].stop);
} }
int mac::get_mch_sched(bool is_mcch, dl_sched_t *dl_sched_res) int mac::get_mch_sched(bool is_mcch, dl_sched_t *dl_sched_res)

@ -338,7 +338,6 @@ mbms_gw::handle_sgi_md_pdu(srslte::byte_buffer_t *msg)
//Recompute UDP checksum //Recompute UDP checksum
udph->check = in_cksum((uint16_t*) pseudo_dgram, psize); udph->check = in_cksum((uint16_t*) pseudo_dgram, psize);
free(pseudo_dgram); free(pseudo_dgram);
printf("UDP cksum %x",udph->check);
//Write GTP-U header into packet //Write GTP-U header into packet
if(!srslte::gtpu_write_header(&header, msg)) if(!srslte::gtpu_write_header(&header, msg))
@ -352,7 +351,7 @@ mbms_gw::handle_sgi_md_pdu(srslte::byte_buffer_t *msg)
m_mbms_gw_log->console("Error writting to M1-U socket.\n"); m_mbms_gw_log->console("Error writting to M1-U socket.\n");
} }
else{ else{
m_mbms_gw_log->console("Sent %d Bytes\n", msg->N_bytes); m_mbms_gw_log->debug("Sent %d Bytes\n", msg->N_bytes);
} }
} }

Loading…
Cancel
Save