Refactor csi-rs handling
Similarly to the parent commit, simplify the array type to the FAPI PDU towards further refactoring, and encapsulate the code in a function for easier reuse in a later refactoring step. Note on ZP-CSI: after this commit, we continue treating CSI PDUs. The prior code was returning, which I think is wrong (as this information is only for the currently treated CSI-RS PDU).
This commit is contained in:
@@ -72,11 +72,6 @@ typedef struct {
|
||||
uint32_t unav_res;
|
||||
} NR_DL_gNB_HARQ_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t active;
|
||||
nfapi_nr_dl_tti_csi_rs_pdu csirs_pdu;
|
||||
} NR_gNB_CSIRS_t;
|
||||
|
||||
typedef struct {
|
||||
int dump_frame;
|
||||
int round_trials[8];
|
||||
@@ -597,10 +592,11 @@ typedef struct processingData_L1tx {
|
||||
nfapi_nr_dl_tti_pdcch_pdu pdcch_pdu[NFAPI_NR_MAX_NB_CORESETS];
|
||||
/// corresponds to UL_dci_req->ul_dci_pdu_list
|
||||
nfapi_nr_dl_tti_pdcch_pdu ul_pdcch_pdu[NFAPI_NR_MAX_NB_CORESETS];
|
||||
NR_gNB_CSIRS_t csirs_pdu[NR_SYMBOLS_PER_SLOT];
|
||||
nfapi_nr_dl_tti_csi_rs_pdu csirs_pdu[NFAPI_NR_MAX_NB_CORESETS];
|
||||
NR_gNB_DLSCH_t **dlsch;
|
||||
nfapi_nr_dl_tti_ssb_pdu ssb_pdu[64];
|
||||
int n_ssb_pdu;
|
||||
int n_csirs_pdu;
|
||||
uint16_t num_pdsch_slot;
|
||||
int num_dl_pdcch;
|
||||
int num_ul_pdcch;
|
||||
|
||||
Reference in New Issue
Block a user