Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
ac97ba4e
Commit
ac97ba4e
authored
Nov 04, 2025
by
Bartosz Podrygajlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RFsim: Disable beam API if beam simulation is disabled
parent
8a36b9b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
radio/rfsimulator/simulator.cpp
radio/rfsimulator/simulator.cpp
+4
-2
No files found.
radio/rfsimulator/simulator.cpp
View file @
ac97ba4e
...
...
@@ -1553,9 +1553,11 @@ extern "C" __attribute__((__visibility__("default"))) int device_init(openair0_d
device
->
trx_set_freq_func
=
rfsimulator_set_freq
;
device
->
trx_set_gains_func
=
rfsimulator_set_gains
;
device
->
trx_write_func
=
rfsimulator_write
;
device
->
trx_write_beams_func
=
rfsimulator_write_beams
;
device
->
trx_read_func
=
rfsimulator_read
;
device
->
trx_read_beams_func
=
rfsimulator_read_beams
;
if
(
rfsimulator
->
beam_ctrl
->
enable_beams
)
{
device
->
trx_write_beams_func
=
rfsimulator_write_beams
;
device
->
trx_read_beams_func
=
rfsimulator_read_beams
;
}
/* let's pretend to be a b2x0 */
device
->
type
=
RFSIMULATOR
;
openair0_cfg
[
0
].
rx_gain
[
0
]
=
0
;
...
...
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