Commit e88abf27 authored by Guy De Souza's avatar Guy De Souza

3/4 sampling for 80MHz / Max ofdm size 4096

parent 8d953b09
...@@ -66,11 +66,20 @@ int nr_init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms) ...@@ -66,11 +66,20 @@ int nr_init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms)
case 189: case 189:
case 217: //80 MHz case 217: //80 MHz
frame_parms->ofdm_symbol_size = 4096; if (frame_parms->threequarter_fs) {
frame_parms->samples_per_tti = 61440; frame_parms->ofdm_symbol_size = 3072;
frame_parms->first_carrier_offset = 2794; //4096 - 1302 frame_parms->samples_per_tti = 46080;
frame_parms->nb_prefix_samples0 = 320; frame_parms->first_carrier_offset = 1770; //3072 - 1302
frame_parms->nb_prefix_samples = 288; frame_parms->nb_prefix_samples0 = 240;
frame_parms->nb_prefix_samples = 216;
}
else {
frame_parms->ofdm_symbol_size = 4096;
frame_parms->samples_per_tti = 61440;
frame_parms->first_carrier_offset = 2794; //4096 - 1302
frame_parms->nb_prefix_samples0 = 320;
frame_parms->nb_prefix_samples = 288;
}
break; break;
case 245: case 245:
......
...@@ -67,7 +67,7 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input ...@@ -67,7 +67,7 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
) )
{ {
short temp[2048*4] __attribute__((aligned(32))); short temp[4096*4] __attribute__((aligned(32)));
unsigned short i,j; unsigned short i,j;
short k; short k;
...@@ -101,6 +101,12 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input ...@@ -101,6 +101,12 @@ void PHY_ofdm_mod(int *input, /// pointer to complex input
idft = idft2048; idft = idft2048;
break; break;
case 3072:
idft = idft3072;
case 4096:
idft = idft4096;
default: default:
idft = idft512; idft = idft512;
break; break;
......
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