srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.36k stars 1.1k forks source link

SRS #1293

Open mbalalzade opened 4 months ago

mbalalzade commented 4 months ago

Issue Description

hello. i need to decode the sounding reference signal in enb in uplink side and i searched and found first the enb should send the srs_configs toward use so i start searching in diffrent directories of srsran and i found that there is part inside srsran/srsenb/src/stack/rrc/ue_rr_cfg.cc that wrote SRS_ENABLE now i want know is it correctly related to sounding reference signal and if ok here i should set parameters of that or not

Setup Details

if SRS_ENABLED

ul_cfg_ded.srs_ul_cfg_ded_r10_present   = true;
auto& srs_setup                         = ul_cfg_ded.srs_ul_cfg_ded_r10.set_setup();
srs_setup.srs_bw.value                  = srs_ul_cfg_ded_c::setup_s_::srs_bw_opts::bw0;
srs_setup.srs_hop_bw.value              = srs_ul_cfg_ded_c::setup_s_::srs_hop_bw_opts::hbw0;
srs_setup.freq_domain_position          = 0;
srs_setup.dur                           = true;
srs_setup.srs_cfg_idx                   = 167;
srs_setup.tx_comb                       = 0;
srs_setup.cyclic_shift.value            = srs_ul_cfg_ded_c::setup_s_::cyclic_shift_opts::cs0;
ul_cfg_ded.srs_ul_cfg_ded_v1020_present = true;
asn1::number_to_enum(ul_cfg_ded.srs_ul_cfg_ded_v1020.srs_ant_port_r10, enb_cfg.cell.nof_ports);
ul_cfg_ded.srs_ul_cfg_ded_aperiodic_r10_present = true;
ul_cfg_ded.srs_ul_cfg_ded_aperiodic_r10.set(setup_opts::release);

endif // SRS_ENABLED

Expected Behavior

after setting parameters the ue periodically or sends back toward enb the SRS signal

Actual Behaviour

i dont know

please help.thanks