Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
2d65d675
Commit
2d65d675
authored
Sep 17, 2024
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ors-amarisoft: add B40 and B41 bands and set default rx_gain to 25
parent
2c8da742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
17 deletions
+37
-17
software/ors-amarisoft/instance-ors.cfg
software/ors-amarisoft/instance-ors.cfg
+37
-17
No files found.
software/ors-amarisoft/instance-ors.cfg
View file @
2d65d675
...
@@ -39,66 +39,82 @@ configuration = $${slap-configuration:configuration}
...
@@ -39,66 +39,82 @@ configuration = $${slap-configuration:configuration}
init =
init =
import subprocess
import subprocess
range_map = {
range_map = {
"B28": "758MHz - 803MHz",
"B38": "2570MHz - 2620MHz",
"B38": "2570MHz - 2620MHz",
"B39": "1880MHz - 1920MHz",
"B39": "1880MHz - 1920MHz",
"B40": "2300MHz - 2400MHz",
"B41": "2496MHz - 2690MHz",
"B42": "3400MHz - 3600MHz",
"B42": "3400MHz - 3600MHz",
"B43": "3600MHz - 3800MHz",
"B43": "3600MHz - 3800MHz",
"B28": "758MHz - 803MHz",
"N77": "3300MHz - 4200MHz",
"N77": "3300MHz - 4200MHz",
"N79": "4400MHz - 5000MHz",
"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 = {
"B28": (60, 62),
"B38": (59, 65),
"B38": (59, 65),
"B39": (59, 64),
"B39": (59, 64),
"B40": (59, 64),
"B41": (59, 64),
"B42": (63, 62),
"B42": (63, 62),
"B43": (63, 62),
"B43": (63, 62),
"B28": (60, 62),
"N77": (60, 62),
"N77": (60, 62),
"N79": (60, 62),
"N79": (60, 62),
"UNKNOWN": (60, 62),
"UNKNOWN": (60, 62),
}
}
default_rx_gain_map = {
default_rx_gain_map = {
"B38": (43, 43),
"B28": (25, 25),
"B39": (43, 43),
"B38": (25, 25),
"B42": (43, 43),
"B39": (25, 25),
"B43": (43, 43),
"B40": (25, 25),
"B28": (43, 43),
"B41": (25, 25),
"N77": (43, 43),
"B42": (25, 25),
"N79": (43, 43),
"B43": (25, 25),
"UNKNOWN": (43, 43),
"N77": (25, 25),
"N79": (25, 25),
"UNKNOWN": (25, 25),
}
}
default_earfcn_map = {
default_earfcn_map = {
"B28": 9550,
"B38": 38050,
"B38": 38050,
"B39": 38350,
"B39": 38350,
"B40": 39150,
"B41": 40620,
"B42": 42590,
"B42": 42590,
"B43": 44590,
"B43": 44590,
"B28": 9550,
"N77": 0,
"N77": 0,
"N79": 0,
"N79": 0,
"UNKNOWN": 0,
"UNKNOWN": 0,
}
}
default_nr_arfcn_map = {
default_nr_arfcn_map = {
"B28": 0,
"B38": 519000,
"B38": 519000,
"B39": 378000,
"B39": 378000,
"B40": 470000,
"B41": 518600,
"B42": 632628,
"B42": 632628,
"B43": 646666,
"B43": 646666,
"B28": 0,
"N77": 660000,
"N77": 660000,
"N79": 720000,
"N79": 720000,
"UNKNOWN": 0,
"UNKNOWN": 0,
}
}
default_nr_band_map = {
default_nr_band_map = {
"B28": 0,
"B38": 41,
"B38": 41,
"B39": 39,
"B39": 39,
"B40": 40,
"B41": 41,
"B42": 78,
"B42": 78,
"B43": 78,
"B43": 78,
"B28": 0,
"N77": 77,
"N77": 77,
"N79": 79,
"N79": 79,
"UNKNOWN": 0,
"UNKNOWN": 0,
}
}
power_map = {
power_map = {
"B28": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
),
"B38": (
"B38": (
lambda x: (-0.008712931375092506) * x**2 + (2.1973585140044642) * x + (-94.29420762479742),
lambda x: (-0.008712931375092506) * x**2 + (2.1973585140044642) * x + (-94.29420762479742),
lambda x: (-0.004472751640641793) * x**2 + (1.6308290630103919) * x + (-81.84549245154561),
lambda x: (-0.004472751640641793) * x**2 + (1.6308290630103919) * x + (-81.84549245154561),
...
@@ -107,6 +123,14 @@ init =
...
@@ -107,6 +123,14 @@ init =
lambda x: (-0.008712931375092506) * x**2 + (2.1973585140044642) * x + (-94.29420762479742),
lambda x: (-0.008712931375092506) * x**2 + (2.1973585140044642) * x + (-94.29420762479742),
lambda x: (-0.0022523817802900985) * x**2 + (1.2674016231310092) * x + (-66.57165215468584),
lambda x: (-0.0022523817802900985) * x**2 + (1.2674016231310092) * x + (-66.57165215468584),
),
),
"B40": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
),
"B41": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
),
"B42": (
"B42": (
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.003977721774394756) * x**2 + (0.527208191717173) * x + (-42.761142655285376),
lambda x: (0.003977721774394756) * x**2 + (0.527208191717173) * x + (-42.761142655285376),
...
@@ -115,10 +139,6 @@ init =
...
@@ -115,10 +139,6 @@ 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": (
"N77": (
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
lambda x: "UNKNOWN",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment