some adjustments after merge with develop
This commit is contained in:
@@ -50,9 +50,16 @@ typedef struct nr_bandentry_s {
|
|||||||
|
|
||||||
extern const size_t nr_bandtable_size;
|
extern const size_t nr_bandtable_size;
|
||||||
extern nr_bandentry_t nr_bandtable[];
|
extern nr_bandentry_t nr_bandtable[];
|
||||||
|
static inline int get_num_dmrs(uint16_t dmrs_mask ) {
|
||||||
|
|
||||||
|
int num_dmrs=0;
|
||||||
|
|
||||||
|
for (int i=0;i<16;i++) num_dmrs+=((dmrs_mask>>i)&1);
|
||||||
|
return(num_dmrs);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void get_coreset_rballoc(uint8_t *FreqDomainResource,int *n_rb,int *rb_offset);
|
void get_coreset_rballoc(uint8_t *FreqDomainResource,int *n_rb,int *rb_offset);
|
||||||
int get_num_dmrs(uint16_t dmrs_mask);
|
|
||||||
uint16_t config_bandwidth(int mu, int nb_rb, int nr_band);
|
uint16_t config_bandwidth(int mu, int nb_rb, int nr_band);
|
||||||
int get_nr_table_idx(int nr_bandP, uint8_t scs_index);
|
int get_nr_table_idx(int nr_bandP, uint8_t scs_index);
|
||||||
int32_t get_delta_duplex(int nr_bandP, uint8_t scs_index);
|
int32_t get_delta_duplex(int nr_bandP, uint8_t scs_index);
|
||||||
|
|||||||
Reference in New Issue
Block a user