fix dlsim regression
This commit is contained in:
@@ -84,6 +84,7 @@ unsigned short config_frames[4] = {2,9,11,13};
|
|||||||
#include "executables/thread-common.h"
|
#include "executables/thread-common.h"
|
||||||
|
|
||||||
#include "nr_nas_msg_sim.h"
|
#include "nr_nas_msg_sim.h"
|
||||||
|
#include <openair1/PHY/MODULATION/nr_modulation.h>
|
||||||
|
|
||||||
extern const char *duplex_mode[];
|
extern const char *duplex_mode[];
|
||||||
THREAD_STRUCT thread_struct;
|
THREAD_STRUCT thread_struct;
|
||||||
|
|||||||
@@ -1247,6 +1247,17 @@ int main(int argc, char **argv) {
|
|||||||
eNB->dlsch[k][i]->rnti = n_rnti+k;
|
eNB->dlsch[k][i]->rnti = n_rnti+k;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (int i=0;i<NUMBER_OF_ULSCH_MAX; i++) {
|
||||||
|
|
||||||
|
LOG_I(PHY,"Allocating Transport Channel Buffer for ULSCH %d/%d\n",i,NUMBER_OF_ULSCH_MAX);
|
||||||
|
eNB->ulsch[i] = new_eNB_ulsch(MAX_TURBO_ITERATIONS,eNB->frame_parms.N_RB_UL, 0);
|
||||||
|
|
||||||
|
if (!eNB->ulsch[i]) {
|
||||||
|
LOG_E(PHY,"Can't get eNB ulsch structures\n");
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* allocate memory for both subframes (only one is really used
|
/* allocate memory for both subframes (only one is really used
|
||||||
* but there is now "copy_harq_proc_struct" which needs both
|
* but there is now "copy_harq_proc_struct" which needs both
|
||||||
|
|||||||
@@ -86,12 +86,6 @@ int8_t get_Po_NOMINAL_PUSCH(module_id_t module_idP, uint8_t CC_id) { return(0);}
|
|||||||
|
|
||||||
int8_t get_deltaP_rampup(module_id_t module_idP, uint8_t CC_id) { return(0);}
|
int8_t get_deltaP_rampup(module_id_t module_idP, uint8_t CC_id) { return(0);}
|
||||||
|
|
||||||
void thread_top_init(char *thread_name,
|
|
||||||
int affinity,
|
|
||||||
uint64_t runtime,
|
|
||||||
uint64_t deadline,
|
|
||||||
uint64_t period) {}
|
|
||||||
|
|
||||||
int oai_nfapi_hi_dci0_req(nfapi_hi_dci0_request_t *hi_dci0_req) { return(0);}
|
int oai_nfapi_hi_dci0_req(nfapi_hi_dci0_request_t *hi_dci0_req) { return(0);}
|
||||||
int oai_nfapi_tx_req(nfapi_tx_request_t *tx_req) { return(0); }
|
int oai_nfapi_tx_req(nfapi_tx_request_t *tx_req) { return(0); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user