removed MTU change for IF4p5 UDP
This commit is contained in:
@@ -408,7 +408,7 @@ void recv_IF4p5(RU_t *ru, int *frame, int *subframe, uint16_t *packet_type, uint
|
|||||||
PRACH_BLOCK_SIZE_BYTES);
|
PRACH_BLOCK_SIZE_BYTES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LOG_D(PHY,"PRACH_IF4p5: CC_id %d : frame %d, subframe %d => %d dB\n",ru->idx,*frame,*subframe,
|
if (frame == 0) LOG_I(PHY,"PRACH_IF4p5: CC_id %d : frame %d, subframe %d => %d dB\n",ru->idx,*frame,*subframe,
|
||||||
dB_fixed(signal_energy((int*)&prach_rxsigF[0][0],839)));
|
dB_fixed(signal_energy((int*)&prach_rxsigF[0][0],839)));
|
||||||
for (idx=0;idx<ru->num_eNB;idx++) ru->wakeup_prach_eNB(ru->eNB_list[idx],ru,*frame,*subframe);
|
for (idx=0;idx<ru->num_eNB;idx++) ru->wakeup_prach_eNB(ru->eNB_list[idx],ru,*frame,*subframe);
|
||||||
|
|
||||||
|
|||||||
@@ -2081,7 +2081,7 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
|
|||||||
eNB->first_run_I0_measurements);
|
eNB->first_run_I0_measurements);
|
||||||
|
|
||||||
int min_I0=1000,max_I0=0;
|
int min_I0=1000,max_I0=0;
|
||||||
if ((frame==0) && (subframe==4)) {
|
if ((frame==0) && (subframe==2)) {
|
||||||
for (int i=0;i<eNB->frame_parms.N_RB_UL;i++) {
|
for (int i=0;i<eNB->frame_parms.N_RB_UL;i++) {
|
||||||
if (i==(eNB->frame_parms.N_RB_UL>>1) - 1) i+=2;
|
if (i==(eNB->frame_parms.N_RB_UL>>1) - 1) i+=2;
|
||||||
|
|
||||||
|
|||||||
@@ -117,7 +117,6 @@ int trx_eth_start(openair0_device *device) {
|
|||||||
|
|
||||||
/* adjust MTU wrt number of samples per packet */
|
/* adjust MTU wrt number of samples per packet */
|
||||||
//if(ethernet_tune (device,MTU_SIZE,UDP_IF4p5_PRACH_SIZE_BYTES)!=0) return -1;
|
//if(ethernet_tune (device,MTU_SIZE,UDP_IF4p5_PRACH_SIZE_BYTES)!=0) return -1;
|
||||||
if(ethernet_tune (device,MTU_SIZE,1500)!=0) return -1;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user