diff --git a/lib/include/srslte/phy/phch/pdsch_nr.h b/lib/include/srslte/phy/phch/pdsch_nr.h index 71fd1edf2..580c070d1 100644 --- a/lib/include/srslte/phy/phch/pdsch_nr.h +++ b/lib/include/srslte/phy/phch/pdsch_nr.h @@ -31,8 +31,8 @@ #define srslte_pdsch_nr_H #include "srslte/config.h" -#include "srslte/phy/phch/pdsch_cfg_nr.h" #include "srslte/phy/ch_estimation/dmrs_pdsch.h" +#include "srslte/phy/phch/pdsch_cfg_nr.h" #include "srslte/phy/phch/regs.h" #include "srslte/phy/phch/sch.h" #include "srslte/phy/scrambling/scrambling.h" @@ -64,13 +64,13 @@ SRSLTE_API int srslte_pdsch_nr_set_carrier(srslte_pdsch_nr_t* q, srslte_cell_t c /* These functions do not modify the state and run in real-time */ SRSLTE_API int srslte_pdsch_nr_encode(srslte_pdsch_nr_t* q, - uint32_t slot_idx, + uint32_t slot_idx, srslte_pdsch_cfg_nr_t* cfg, uint8_t* data[SRSLTE_MAX_CODEWORDS], cf_t* sf_symbols[SRSLTE_MAX_PORTS]); SRSLTE_API int srslte_pdsch_nr_decode(srslte_pdsch_nr_t* q, - uint32_t slot_idx, + uint32_t slot_idx, srslte_pdsch_cfg_nr_t* cfg, srslte_chest_dl_res_t* channel, cf_t* sf_symbols[SRSLTE_MAX_PORTS], diff --git a/lib/src/phy/phch/pdsch_nr.c b/lib/src/phy/phch/pdsch_nr.c index 114eeb21b..aeeb7462c 100644 --- a/lib/src/phy/phch/pdsch_nr.c +++ b/lib/src/phy/phch/pdsch_nr.c @@ -195,14 +195,12 @@ int srslte_pdsch_nr_put(const srslte_pdsch_nr_t* q, const srslte_pdsch_cfg_nr_t* return srslte_pdsch_nr_cp(q, cfg, symbols, sf_symbols, true); } - int srslte_pdsch_nr_encode(srslte_pdsch_nr_t* q, - uint32_t slot_idx, + uint32_t slot_idx, srslte_pdsch_cfg_nr_t* cfg, uint8_t* data[SRSLTE_MAX_CODEWORDS], - cf_t* sf_symbols[SRSLTE_MAX_PORTS]) { - - + cf_t* sf_symbols[SRSLTE_MAX_PORTS]) +{ return SRSLTE_SUCCESS; } \ No newline at end of file