|
|
@ -83,10 +83,10 @@ void srslte_filt_decim_cc_init(srslte_filt_cc_t *q, int factor, int order)
|
|
|
|
case 3:
|
|
|
|
case 3:
|
|
|
|
for(int i = 0; i <(q->num_taps); i++)
|
|
|
|
for(int i = 0; i <(q->num_taps); i++)
|
|
|
|
q->taps[i] = srslte_filt_decim3[(q->num_taps) - 4][i];
|
|
|
|
q->taps[i] = srslte_filt_decim3[(q->num_taps) - 4][i];
|
|
|
|
|
|
|
|
break;
|
|
|
|
case 4:
|
|
|
|
case 4:
|
|
|
|
for(int i = 0; i <(q->num_taps); i++)
|
|
|
|
for(int i = 0; i <(q->num_taps); i++)
|
|
|
|
q->taps[i] = srslte_filt_decim4[(q->num_taps) - 4][i];
|
|
|
|
q->taps[i] = srslte_filt_decim4[(q->num_taps) - 4][i];
|
|
|
|
|
|
|
|
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
|
|
|
|
|
|
|
@ -123,4 +123,4 @@ void srslte_downsample_cc(cf_t *input, cf_t *output, int M, int size) {
|
|
|
|
for (i=0;i<size/M;i++) {
|
|
|
|
for (i=0;i<size/M;i++) {
|
|
|
|
output[i] = input[i*M];
|
|
|
|
output[i] = input[i*M];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|