Skip to content

Fix segfault in SRS modulation when ue-nb-ant-tx (fp) does not match UE capabilities

Guido Casati requested to merge fix-segfault-srs-antenna-ports into develop
  1. Fix segfault in SRS modulation when ue-nb-ant-tx (fp) does not match UE capabilities
  • the mismatch between UE capabilities, passed to PHY by NFAPI PDU, and --ue-nb-ant-tx causes a segfault in SRS modulation
  • issue with indexing txdataF[p_index], which fails due to an out-of-bounds access since first dimension of txdataF is sized based on ue->frame_parms.nb_antennas_tx
  • N_ap used in SRS modulation is based on the number of antenna ports in the SRS configuration (srs_config_pdu->num_ant_ports)
  1. Verify UE capabilities at UE initialization
  • number of configured SRS antenna ports M <= N (number of physical antenna ports)
  • if not, throws AssertFatal

close issue #796 (closed)

Edited by Robert Schmidt

Merge request reports

Loading