Demo working

master
ismagom 10 years ago
parent 04b8f00fe7
commit f475069033

@ -64,8 +64,8 @@ sem_t plot_sem;
uint32_t plot_sf_idx=0;
#endif
//#define PLOT_CHEST_ARGUMENT
//#define PRINT_CHANGE_SCHEDULIGN
#define PLOT_CHEST_ARGUMENT
#define PRINT_CHANGE_SCHEDULIGN
/**********************************************************************
* Program arguments processing
@ -407,16 +407,15 @@ int main(int argc, char **argv) {
bzero(&old_dl_dci, sizeof(srslte_ra_dl_dci_t));
#endif
//ue_sync.correct_cfo = !prog_args.disable_cfo;
ue_sync.correct_cfo = !prog_args.disable_cfo;
/* Set high priority */
/*
struct sched_param param;
param.sched_priority = sched_get_priority_max(SCHED_FIFO);
if (sched_setscheduler(pthread_self(), SCHED_FIFO, &param)) {
perror("setscheduler");
}
*/
INFO("\nEntering main loop...\n\n", 0);
/* Main loop */

@ -123,11 +123,11 @@ int srslte_chest_dl_init(srslte_chest_dl_t *q, srslte_cell_t cell)
}
/* Set default time/freq filters */
float f[3]={0.2, 0.6, 0.2};
srslte_chest_dl_set_filter_freq(q, f, 3);
//float f[3]={0.2, 0.6, 0.2};
//srslte_chest_dl_set_filter_freq(q, f, 3);
//float f[5]={0.1, 0.2, 0.4, 0.2, 0.1};
//srslte_chest_dl_set_filter_freq(q, f, 5);
float f[5]={0.1, 0.2, 0.4, 0.2, 0.1};
srslte_chest_dl_set_filter_freq(q, f, 5);
float t[2]={0.5, 0.5};
srslte_chest_dl_set_filter_time(q, t, 0);

Loading…
Cancel
Save