uint16_tnum_ue_srs_ports;// Nu: Number of sampled UE SRS ports. Value: 07
uint16_tprg_size;// Size in RBs of a precoding resource block group (PRG) – to which the same digital beamforming gets applied. Value: 1->272
uint16_tnum_prgs;// Number of PRGs Np to be reported for this SRS PDU. Value: 0-> 272
uint8_tchannel_matrix[272*512*8*4];// Array of (numPRGs*Nu*Ng) entries of the type denoted by iqRepresentation H{PRG pI} [ueAntenna uI, gNB antenna gI] = array[uI*Ng*Np + gI*Np + pI]; uI: 0…Nu-1 (UE antenna index); gI: 0…Ng-1 (gNB antenna index); pI: 0…Np-1 (PRG index)
uint8_tchannel_matrix[272*2*8*4];// Array of (numPRGs*Nu*Ng) entries of the type denoted by iqRepresentation H{PRG pI} [ueAntenna uI, gNB antenna gI] = array[uI*Ng*Np + gI*Np + pI]; uI: 0…Nu-1 (UE antenna index); gI: 0…Ng-1 (gNB antenna index); pI: 0…Np-1 (PRG index)
}nfapi_nr_srs_normalized_channel_iq_matrix_t;
// Beamforming report
...
...
@@ -1702,7 +1702,7 @@ typedef struct {
typedefstruct{
uint16_tnum_prgs;// Number of PRBs to be reported for this SRS PDU. Value: 0 -> 272.
nfapi_nr_srs_reported_symbol_prgs_t*prg_list;
nfapi_nr_srs_reported_symbol_prgs_tprg_list[272];
}nfapi_nr_srs_reported_symbol_t;
typedefstruct{
...
...
@@ -1710,7 +1710,7 @@ typedef struct {
uint8_tnum_symbols;// Number of symbols for SRS. Value: 1 -> 4. If a PHY does not report for individual symbols then this parameter should be set to 1.
uint8_twide_band_snr;// SNR value in dB measured within configured SRS bandwidth on each symbol. Value: 0 -> 255 representing -64 dB to 63 dB with a step size 0.5 dB. 0xff will be set if this field is invalid.
uint8_tnum_reported_symbols;// Number of symbols reported in this message. This allows PHY to report individual symbols or aggregated symbols where this field will be set to 1. Value: 1 -> 4.
nfapi_nr_srs_reported_symbol_t*prgs;
nfapi_nr_srs_reported_symbol_tprgs;
}nfapi_nr_srs_beamforming_report_t;
// SRS indication
...
...
@@ -1728,7 +1728,7 @@ typedef struct {
int16_ttiming_advance_offset_nsec;// Timing advance measured for the UE between the reference uplink time and the observed arrival time for the UE. Value: -16800 … +16800 nanoseconds. 0xffff should be set if this field is invalid.
uint8_tsrs_usage;// 0 – beamManagement; 1 – codebook; 2 – nonCodebook; 3 – antennaSwitching; 4 – 255: reserved; Note: This field matches the SRS usage field of the SRS PDU to which this report is linked.
uint8_treport_type;// The type of report included in or pointed to by Report TLV depends on the SRS usage: Beam management (1: Beamforming report); Codebook (1: Normalized Channel I/Q Matrix); nonCodebook (1: Normalized Channel I/Q Matrix); antennaSwitch (1: Channel SVD Representation); all (0: null report)