Ejemplo n.º 1
0
int sss_synch_work(sss_synch_hl* hl) {

  if (hl->ctrl_in.correlation_threshold) {
    sss_synch_set_threshold(&hl->obj, hl->ctrl_in.correlation_threshold);
  }
 
  return LIBLTE_SUCCESS;
}
Ejemplo n.º 2
0
int sss_synch_work(sss_synch_hl* hl) {

	if (hl->ctrl_in.correlation_threshold) {
		sss_synch_set_threshold(&hl->obj, hl->ctrl_in.correlation_threshold);
	}
	if (hl->ctrl_in.subframe_sz) {
		sss_synch_set_subframe_sz(&hl->obj, hl->ctrl_in.subframe_sz);
	}
	if (hl->ctrl_in.symbol_sz) {
		sss_synch_set_symbol_sz(&hl->obj, hl->ctrl_in.symbol_sz);
	}
	sss_synch_frame(&hl->obj, hl->input, &hl->ctrl_out.subframe_idx, &hl->ctrl_out.N_id_1);

	return 0;
}