working on ul

master
Ismael Gomez 9 years ago
parent 119e258e51
commit 574fd85948

@ -82,6 +82,7 @@ typedef struct {
srslte_dci_location_t location;
uint32_t rv_idx;
uint32_t current_tx_nb;
bool needs_pdcch;
uint8_t *data;
srslte_softbuffer_rx_t *softbuffer;
} srslte_enb_ul_pusch_t;

@ -463,10 +463,10 @@ static int decode_tb(srslte_sch_t *q,
par_tx = ((uint32_t) parity[0])<<16 | ((uint32_t) parity[1])<<8 | ((uint32_t) parity[2]);
if (!par_rx) {
INFO("\n\tCAUTION!! Received all-zero transport block\n\n", 0);
printf("Warning: Received all-zero transport block\n\n", 0);
}
if (par_rx == par_tx) {
if (par_rx == par_tx && par_rx) {
INFO("TB decoded OK\n",i);
return SRSLTE_SUCCESS;
} else {

Loading…
Cancel
Save