2020-11-26 01:25:22 -08:00
|
|
|
/**
|
2015-04-27 09:14:28 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* \section COPYRIGHT
|
2015-04-27 09:14:28 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* Copyright 2013-2020 Software Radio Systems Limited
|
2015-04-27 09:14:28 -07:00
|
|
|
*
|
2020-11-26 01:25:22 -08:00
|
|
|
* By using this file, you agree to the terms and conditions set
|
|
|
|
* forth in the LICENSE file which can be found at the top level of
|
|
|
|
* the distribution.
|
2015-04-27 09:14:28 -07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* File: pdsch_cfg.h
|
|
|
|
*
|
|
|
|
* Description: Physical downlink shared channel configuration
|
|
|
|
*
|
|
|
|
* Reference: 3GPP TS 36.211 version 10.0.0 Release 10 Sec. 6.4
|
|
|
|
*****************************************************************************/
|
|
|
|
|
2018-03-31 10:04:04 -07:00
|
|
|
#ifndef SRSLTE_PDSCH_CFG_H
|
|
|
|
#define SRSLTE_PDSCH_CFG_H
|
2015-04-27 09:14:28 -07:00
|
|
|
|
2020-11-04 08:34:05 -08:00
|
|
|
#include "srslte/phy/fec/cbsegm.h"
|
2019-12-16 07:04:22 -08:00
|
|
|
#include "srslte/phy/fec/softbuffer.h"
|
|
|
|
#include "srslte/phy/phch/ra.h"
|
2015-04-27 09:14:28 -07:00
|
|
|
|
2019-04-23 01:53:11 -07:00
|
|
|
typedef struct SRSLTE_API {
|
2017-11-21 07:11:08 -08:00
|
|
|
|
2019-04-23 01:53:11 -07:00
|
|
|
srslte_tx_scheme_t tx_scheme;
|
|
|
|
uint32_t pmi;
|
|
|
|
bool prb_idx[2][SRSLTE_MAX_PRB];
|
|
|
|
uint32_t nof_prb;
|
|
|
|
uint32_t nof_re;
|
|
|
|
uint32_t nof_symb_slot[2];
|
|
|
|
srslte_ra_tb_t tb[SRSLTE_MAX_CODEWORDS];
|
|
|
|
int last_tbs[SRSLTE_MAX_CODEWORDS];
|
|
|
|
uint32_t nof_tb;
|
|
|
|
uint32_t nof_layers;
|
|
|
|
} srslte_pdsch_grant_t;
|
2017-11-21 07:11:08 -08:00
|
|
|
|
2015-04-27 09:14:28 -07:00
|
|
|
typedef struct SRSLTE_API {
|
2019-04-23 01:53:11 -07:00
|
|
|
|
|
|
|
srslte_pdsch_grant_t grant;
|
|
|
|
|
|
|
|
uint16_t rnti;
|
|
|
|
uint32_t max_nof_iterations;
|
|
|
|
srslte_mimo_decoder_t decoder_type;
|
|
|
|
float p_a;
|
|
|
|
uint32_t p_b;
|
|
|
|
float rs_power;
|
|
|
|
bool power_scale;
|
|
|
|
bool csi_enable;
|
2019-09-04 07:59:10 -07:00
|
|
|
bool use_tbs_index_alt;
|
2019-04-23 01:53:11 -07:00
|
|
|
|
|
|
|
union {
|
|
|
|
srslte_softbuffer_tx_t* tx[SRSLTE_MAX_CODEWORDS];
|
|
|
|
srslte_softbuffer_rx_t* rx[SRSLTE_MAX_CODEWORDS];
|
|
|
|
} softbuffers;
|
|
|
|
|
2020-02-19 08:01:54 -08:00
|
|
|
bool meas_evm_en;
|
2019-04-23 01:53:11 -07:00
|
|
|
bool meas_time_en;
|
|
|
|
uint32_t meas_time_value;
|
2015-04-27 09:14:28 -07:00
|
|
|
} srslte_pdsch_cfg_t;
|
|
|
|
|
2018-03-31 10:04:04 -07:00
|
|
|
#endif // SRSLTE_PDSCH_CFG_H
|