Commit 2b946083 authored by Khalid Ahmed's avatar Khalid Ahmed Committed by Thomas Schlichter

handle tx_offset with negative value

parent 35b85d45
......@@ -400,6 +400,10 @@ uint8_t nr_ue_pusch_common_procedures(PHY_VARS_NR_UE *UE,
#endif
tx_offset = slot*frame_parms->samples_per_slot - timing_advance;
if (tx_offset < 0)
tx_offset += frame_parms->samples_per_frame;
txdata = UE->common_vars.txdata;
txdataF = UE->common_vars.txdataF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment