Add PDCCH UESS aggregation level configuration option
Added uess_agg_levels configuration option which changes the number of PDCCH candidates per aggregation level.
This commit is contained in:
@@ -150,6 +150,15 @@ typedef enum ip_traffic_type_e {
|
||||
TRAFFIC_PC5S_SESSION_INIT = 10
|
||||
} ip_traffic_type_t;
|
||||
|
||||
typedef enum {
|
||||
PDCCH_AGG_LEVEL1 = 0,
|
||||
PDCCH_AGG_LEVEL2,
|
||||
PDCCH_AGG_LEVEL4,
|
||||
PDCCH_AGG_LEVEL8,
|
||||
PDCCH_AGG_LEVEL16,
|
||||
NUM_PDCCH_AGG_LEVELS
|
||||
} Pdcch_Aggregation_Level_t;
|
||||
|
||||
typedef struct net_ip_address_s {
|
||||
unsigned ipv4: 1;
|
||||
unsigned ipv6: 1;
|
||||
|
||||
@@ -551,6 +551,18 @@ void get_coreset_rballoc(uint8_t *FreqDomainResource,int *n_rb,int *rb_offset) {
|
||||
*n_rb = 6*count;
|
||||
}
|
||||
|
||||
// According to 38.211 7.3.2.2
|
||||
int get_coreset_num_cces(uint8_t *FreqDomainResource, int duration)
|
||||
{
|
||||
int num_rbs;
|
||||
int rb_offset;
|
||||
get_coreset_rballoc(FreqDomainResource, &num_rbs, &rb_offset);
|
||||
int total_resource_element_groups = num_rbs * duration;
|
||||
int reg_per_cce = 6;
|
||||
int total_cces = total_resource_element_groups / reg_per_cce;
|
||||
return total_cces;
|
||||
}
|
||||
|
||||
int get_nb_periods_per_frame(uint8_t tdd_period)
|
||||
{
|
||||
|
||||
|
||||
@@ -245,6 +245,7 @@ uint32_t to_nrarfcn(int nr_bandP, uint64_t dl_CarrierFreq, uint8_t scs_index, ui
|
||||
int cce_to_reg_interleaving(const int R, int k, int n_shift, const int C, int L, const int N_regs);
|
||||
int get_SLIV(uint8_t S, uint8_t L);
|
||||
void get_coreset_rballoc(uint8_t *FreqDomainResource,int *n_rb,int *rb_offset);
|
||||
int get_coreset_num_cces(uint8_t *FreqDomainResource, int duration);
|
||||
int get_nr_table_idx(int nr_bandP, uint8_t scs_index);
|
||||
int32_t get_delta_duplex(int nr_bandP, uint8_t scs_index);
|
||||
frame_type_t get_frame_type(uint16_t nr_bandP, uint8_t scs_index);
|
||||
|
||||
Reference in New Issue
Block a user