mirror of https://github.com/pvnis/srsRAN_4G.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
C
65 lines
1.8 KiB
C
4 years ago
|
/**
|
||
10 years ago
|
*
|
||
4 years ago
|
* \section COPYRIGHT
|
||
10 years ago
|
*
|
||
4 years ago
|
* Copyright 2013-2021 Software Radio Systems Limited
|
||
10 years ago
|
*
|
||
4 years ago
|
* 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.
|
||
10 years ago
|
*
|
||
|
*/
|
||
|
|
||
|
/******************************************************************************
|
||
|
* File: pdsch_cfg.h
|
||
|
*
|
||
|
* Description: Physical downlink shared channel configuration
|
||
|
*
|
||
|
* Reference: 3GPP TS 36.211 version 10.0.0 Release 10 Sec. 6.4
|
||
|
*****************************************************************************/
|
||
|
|
||
4 years ago
|
#ifndef SRSRAN_PDSCH_CFG_H
|
||
|
#define SRSRAN_PDSCH_CFG_H
|
||
10 years ago
|
|
||
4 years ago
|
#include "srsran/phy/fec/cbsegm.h"
|
||
|
#include "srsran/phy/fec/softbuffer.h"
|
||
|
#include "srsran/phy/phch/ra.h"
|
||
10 years ago
|
|
||
4 years ago
|
typedef struct SRSRAN_API {
|
||
|
srsran_tx_scheme_t tx_scheme;
|
||
6 years ago
|
uint32_t pmi;
|
||
4 years ago
|
bool prb_idx[2][SRSRAN_MAX_PRB];
|
||
6 years ago
|
uint32_t nof_prb;
|
||
|
uint32_t nof_re;
|
||
|
uint32_t nof_symb_slot[2];
|
||
4 years ago
|
srsran_ra_tb_t tb[SRSRAN_MAX_CODEWORDS];
|
||
|
int last_tbs[SRSRAN_MAX_CODEWORDS];
|
||
6 years ago
|
uint32_t nof_tb;
|
||
|
uint32_t nof_layers;
|
||
4 years ago
|
} srsran_pdsch_grant_t;
|
||
6 years ago
|
|
||
4 years ago
|
typedef struct SRSRAN_API {
|
||
|
srsran_pdsch_grant_t grant;
|
||
6 years ago
|
|
||
|
uint16_t rnti;
|
||
|
uint32_t max_nof_iterations;
|
||
4 years ago
|
srsran_mimo_decoder_t decoder_type;
|
||
6 years ago
|
float p_a;
|
||
|
uint32_t p_b;
|
||
|
float rs_power;
|
||
|
bool power_scale;
|
||
|
bool csi_enable;
|
||
5 years ago
|
bool use_tbs_index_alt;
|
||
6 years ago
|
|
||
|
union {
|
||
4 years ago
|
srsran_softbuffer_tx_t* tx[SRSRAN_MAX_CODEWORDS];
|
||
|
srsran_softbuffer_rx_t* rx[SRSRAN_MAX_CODEWORDS];
|
||
6 years ago
|
} softbuffers;
|
||
|
|
||
5 years ago
|
bool meas_evm_en;
|
||
6 years ago
|
bool meas_time_en;
|
||
|
uint32_t meas_time_value;
|
||
4 years ago
|
} srsran_pdsch_cfg_t;
|
||
10 years ago
|
|
||
4 years ago
|
#endif // SRSRAN_PDSCH_CFG_H
|