Commit 7785b5aa authored by Raymond Knopp's avatar Raymond Knopp

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5951 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 13483270
...@@ -646,7 +646,7 @@ typedef struct { ...@@ -646,7 +646,7 @@ typedef struct {
///subband bitmap coniguration (for ALU icic algo purpose), in test phase ///subband bitmap coniguration (for ALU icic algo purpose), in test phase
typedef struct{ typedef struct{
uint8_t sbmap[NUMBER_OF_SUBBANDS]; //13 = number of SB MAX for 100 PRB uint8_t sbmap[NUMBER_OF_SUBBANDS_MAX]; //13 = number of SB MAX for 100 PRB
uint8_t periodicity; uint8_t periodicity;
uint8_t first_subframe; uint8_t first_subframe;
uint8_t sb_size; uint8_t sb_size;
......
...@@ -720,6 +720,7 @@ uint32_t allocate_prbs_sub(int nb_rb, uint8_t *rballoc) { ...@@ -720,6 +720,7 @@ uint32_t allocate_prbs_sub(int nb_rb, uint8_t *rballoc) {
switch (mac_xface->lte_frame_parms->N_RB_DL) { switch (mac_xface->lte_frame_parms->N_RB_DL) {
case 6: case 6:
nb_rb--; nb_rb--;
break;
case 25: case 25:
if ((check == mac_xface->lte_frame_parms->N_RBG-1)) if ((check == mac_xface->lte_frame_parms->N_RBG-1))
nb_rb--; nb_rb--;
...@@ -737,7 +738,7 @@ uint32_t allocate_prbs_sub(int nb_rb, uint8_t *rballoc) { ...@@ -737,7 +738,7 @@ uint32_t allocate_prbs_sub(int nb_rb, uint8_t *rballoc) {
break; break;
} }
} }
//printf("rb_alloc %x\n",rballoc_dci); // printf("rb_alloc %x\n",rballoc_dci);
check = check+1; check = check+1;
// check1 = check1+2; // check1 = check1+2;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment