This commit is contained in:
ismagom 2014-07-06 21:08:36 +02:00
commit 2b291be6b0
3 changed files with 5 additions and 2 deletions

View File

@ -647,7 +647,7 @@ int main(int argc, char **argv) {
/* Initialize variables */
frame_cnt = 0;
frame_number = -1;
/* The number of samples read from the USRP or file corresponds to 1 ms (subframe) */
sf_n_samples = 1920 * lte_symbol_sz(sampling_nof_prb)/128;
@ -665,6 +665,8 @@ int main(int argc, char **argv) {
} else {
ret = sync_frame_push(&sframe, input_buffer, sf_buffer);
in_ptr = sf_buffer;
cell_id = 0;
sf_idx = 0;
}
switch(ret ) {
case 0:

View File

@ -125,6 +125,7 @@ int main(int argc, char **argv) {
float mse_mag, mse_phase;
lte_cell_t cell;
cell.nof_ports = 1;
parse_args(argc,argv);
if (output_matlab) {

View File

@ -64,7 +64,7 @@ int pdsch_cp(pdsch_t *q, cf_t *input, cf_t *output, ra_prb_t *prb_alloc,
uint32_t s, n, l, lp, lstart, lend, nof_refs;
bool is_pbch, is_sss;
cf_t *in_ptr = input, *out_ptr = output;
uint32_t offset;
uint32_t offset = 0;
INFO("%s %d RE from %d PRB\n", put ? "Putting" : "Getting",
prb_alloc->re_sf[nsubframe], prb_alloc->slot[0].nof_prb);