hotfix: fix buffer size for phy-test mode 20MHz
768*8 is too small, in 20MHz, the phy-test mode (in default mode?) has a buffer of size 6378. Let's set the buffer size to the input's one plus 4 bytes (to accomodate for CRC, not sure about this).
This commit is contained in:
@@ -899,7 +899,7 @@ void pdsch_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,LTE_eNB_DLSCH_t *d
|
||||
int input_buffer_length = dlsch_harq->TBS/8;
|
||||
LTE_DL_FRAME_PARMS *fp=&eNB->frame_parms;
|
||||
uint8_t *DLSCH_pdu=NULL;
|
||||
uint8_t DLSCH_pdu_tmp[768*8];
|
||||
uint8_t DLSCH_pdu_tmp[input_buffer_length+4]; //[768*8];
|
||||
uint8_t DLSCH_pdu_rar[256];
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user