Merge branch 'episys/david/checking_downlink_siso_model' into 'episys/master-nsa'

Downlink SISO modeling

See merge request aburger/openairinterface5g!104
This commit is contained in:
Melissa
2022-02-08 14:51:55 -08:00
committed by Melissa Elkadi
parent 9da3cbc9ec
commit 8c2a067a22
39 changed files with 2697 additions and 163 deletions
@@ -41,6 +41,11 @@
#include "nfapi_nr_interface_scf.h"
#include "openair2/NR_PHY_INTERFACE/NR_IF_Module.h"
#define NUM_MCS 29
#define NUM_SINR 100
#define NUM_BLER_COL 13
#define NUM_NFAPI_SLOT 20
typedef struct NR_UL_TIME_ALIGNMENT NR_UL_TIME_ALIGNMENT_t;
typedef struct nr_phy_channel_params_t
@@ -50,6 +55,27 @@ typedef struct nr_phy_channel_params_t
// Incomplete, need all channel parameters
} nr_phy_channel_params_t;
typedef struct
{
uint8_t slot;
uint16_t rnti[256];
uint8_t mcs[256];
uint8_t rvIndex[256];
float sinr;
uint16_t num_pdus;
bool drop_flag[256];
bool latest;
} slot_rnti_mcs_s;
typedef struct
{
uint16_t length;
float bler_table[NUM_SINR][NUM_BLER_COL];
} nr_bler_struct;
extern nr_bler_struct nr_bler_data[NUM_MCS];
typedef enum {
ONLY_PUSCH,
NOT_PUSCH,