Commit f9ad4a19 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1cd1d03e
......@@ -4,7 +4,10 @@
{%- macro default_ssb_nr_arfcn(dl_nr_arfcn) %}
{#- NOTE: rechecked computations wrt https://tech-academy.amarisoft.com/OutOfBox_UEsim_SA.html#Tips_SSB_Frequency #}
{%- set f = nr.get_frequency(nrarfcn=dl_nr_arfcn) %}
{%- set gscn = nr.get_gscn_by_frequency(f)-1 %}{# nrarfcn round up, amari down #}
{%- set gscn = nr.get_gscn_by_frequency(f) %}
{%- if nr.get_frequency_by_gscn(gscn) > f %}{# nrarfcn rounds up, amari down #}
{%- set gscn = gscn - 1 %}
{%- endif %}
{%- set fg = nr.get_frequency_by_gscn(gscn) %}
{%- set fg_arfcn = nr.get_nrarfcn(fg) %}
{{- fg_arfcn }}
......
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