Commit 68c9f331 authored by Joanne Hugé's avatar Joanne Hugé

software/ors-amarisoft: add B28, N77 and N79 bands

parent f2fe41ac
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
[template] [template]
filename = instance.cfg filename = instance.cfg
md5sum = c7190344b0121ca85b2120fb0a5fe341 md5sum = 50e83105328c6434ba94f77c5753cbf8
[amarisoft-stats.jinja2.py] [amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py _update_hash_filename_ = amarisoft-stats.jinja2.py
......
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
"title": "Cell ID", "title": "Cell ID",
"description": "Cell IDs", "description": "Cell IDs",
"type": "string" "type": "string"
}, }
}, },
"type": "object" "type": "object"
} }
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"title": "Cell ID", "title": "Cell ID",
"description": "Cell IDs", "description": "Cell IDs",
"type": "string" "type": "string"
}, }
}, },
"type": "object" "type": "object"
} }
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
"title": "Cell ID", "title": "Cell ID",
"description": "Cell IDs", "description": "Cell IDs",
"type": "string" "type": "string"
}, }
}, },
"type": "object" "type": "object"
} }
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
"title": "Cell ID", "title": "Cell ID",
"description": "Cell IDs", "description": "Cell IDs",
"type": "string" "type": "string"
}, }
}, },
"type": "object" "type": "object"
} }
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
"title": "Cell ID", "title": "Cell ID",
"description": "Cell IDs", "description": "Cell IDs",
"type": "string" "type": "string"
}, }
}, },
"type": "object" "type": "object"
} }
......
...@@ -66,6 +66,9 @@ init = ...@@ -66,6 +66,9 @@ init =
"B39": "1880MHz - 1920MHz", "B39": "1880MHz - 1920MHz",
"B42": "3400MHz - 3600MHz", "B42": "3400MHz - 3600MHz",
"B43": "3600MHz - 3800MHz", "B43": "3600MHz - 3800MHz",
"B28": "758MHz - 803MHz",
"N77": "3300MHz - 4200MHz",
"N79": "4400MHz - 5000MHz",
"UNKNOWN": "Information not available for this band", "UNKNOWN": "Information not available for this band",
} }
default_tx_gain_map = { default_tx_gain_map = {
...@@ -73,6 +76,9 @@ init = ...@@ -73,6 +76,9 @@ init =
"B39": (59, 64), "B39": (59, 64),
"B42": (63, 62), "B42": (63, 62),
"B43": (63, 62), "B43": (63, 62),
"B28": (60, 62),
"N77": (60, 62),
"N79": (60, 62),
"UNKNOWN": (60, 62), "UNKNOWN": (60, 62),
} }
default_rx_gain_map = { default_rx_gain_map = {
...@@ -80,6 +86,9 @@ init = ...@@ -80,6 +86,9 @@ init =
"B39": (43, 43), "B39": (43, 43),
"B42": (43, 43), "B42": (43, 43),
"B43": (43, 43), "B43": (43, 43),
"B28": (43, 43),
"N77": (43, 43),
"N79": (43, 43),
"UNKNOWN": (43, 43), "UNKNOWN": (43, 43),
} }
default_earfcn_map = { default_earfcn_map = {
...@@ -87,6 +96,9 @@ init = ...@@ -87,6 +96,9 @@ init =
"B39": 38350, "B39": 38350,
"B42": 42590, "B42": 42590,
"B43": 44590, "B43": 44590,
"B28": 9550,
"N77": 0,
"N79": 0,
"UNKNOWN": 0, "UNKNOWN": 0,
} }
default_nr_arfcn_map = { default_nr_arfcn_map = {
...@@ -94,6 +106,9 @@ init = ...@@ -94,6 +106,9 @@ init =
"B39": 378000, "B39": 378000,
"B42": 632628, "B42": 632628,
"B43": 646666, "B43": 646666,
"B28": 0,
"N77": 660000,
"N79": 720000,
"UNKNOWN": 0, "UNKNOWN": 0,
} }
default_nr_band_map = { default_nr_band_map = {
...@@ -101,6 +116,9 @@ init = ...@@ -101,6 +116,9 @@ init =
"B39": 39, "B39": 39,
"B42": 78, "B42": 78,
"B43": 78, "B43": 78,
"B28": 0,
"N77": 77,
"N79": 79,
"UNKNOWN": 0, "UNKNOWN": 0,
} }
power_map = { power_map = {
...@@ -120,6 +138,18 @@ init = ...@@ -120,6 +138,18 @@ init =
lambda x: (-0.014198126839751619) * x**2 + (2.980758813262773) * x + (-125.25800492285738), lambda x: (-0.014198126839751619) * x**2 + (2.980758813262773) * x + (-125.25800492285738),
lambda x: (-0.0036530114002551943) * x**2 + (1.510856844601873) * x + (-74.58790185136355), lambda x: (-0.0036530114002551943) * x**2 + (1.510856844601873) * x + (-74.58790185136355),
), ),
"B28": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
),
"N77": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
),
"N79": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
),
"UNKNOWN": ( "UNKNOWN": (
lambda x: "UNKNOWN", lambda x: "UNKNOWN",
lambda x: "UNKNOWN", lambda x: "UNKNOWN",
......
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