srsRAN_4G icon indicating copy to clipboard operation
srsRAN_4G copied to clipboard

srsUE LTE TDD BUG

Open Hfywtias opened this issue 3 years ago • 1 comments
trafficstars

Issue Description

[Describe the issue in detail] srsUe connect CMU500 in TDD earfcn, RA fail ue: srsUE, version:srsRAN-release_19_12, usrpX310 enb/epc: cmu500

Setup Details

[Specify details of the test setup. This would help us reproduce the problem reliably] RA fail, ue send RA.msg3, but cmu500 not recieved

Expected Behavior

[What you expect to happen] RA success, attach success

Actual Behaviour

[What happens instead e.g. error message]

Steps to reproduce the problem

[Tell us how to reproduce this issue e.g. RF setup, application config files]

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue] BUG repair: file: srsue/src/phy/sync.cc
function: set_time_adv_sec void sync::set_time_adv_sec(float time_adv_sec) { // If transmitting earlier, transmit less samples to align time advance. If transmit later just delay next TX next_offset = (int)round((this->time_adv_sec - time_adv_sec) * srslte_sampling_freq_hz(cell.nof_prb)); this->next_time_adv_sec = time_adv_sec;

#define TDD
#ifdef TDD this->next_time_adv_sec = time_adv_sec+624 *SRSLTE_LTE_TS; //repair like this #endif

Info("Applying time_adv_sec=%.1f us, next_offset=%d\n", time_adv_sec * 1e6, next_offset); } after repair, ue attach success

Hfywtias avatar Dec 09 '21 08:12 Hfywtias

Thanks for the report and this suggestion.

andrepuschmann avatar Feb 14 '22 09:02 andrepuschmann

See https://github.com/srsran/srsRAN_4G/issues/805#issuecomment-1796382633

ismagom avatar Nov 06 '23 20:11 ismagom