RFSim: Add beamids list based user interface for beam domain simulation

Add CLI parameter rfsimulator.beam_ids which uses a list of beam ids instead of a
beam map. The beam map API is still present and can be used interchangably.

Add telnet command setbeamids which has similar semantics
This commit is contained in:
Bartosz Podrygajlo
2025-12-23 10:05:14 +01:00
parent ac97ba4e64
commit ade7901fb2
2 changed files with 38 additions and 2 deletions
+3 -2
View File
@@ -239,13 +239,14 @@ these values onto the diagonals, making it symmetric.
* `--rfsimulator.beam_map <beam_map>` : where `<beam_map>` is a `uint64_t` value where each bit is an enabled TX/RX beam.
For gNB: Initial beam_map, i.e. which beams gNB transmits/receives before calling beam APIs.
For UE: Beam position in beam space in the simulation. The UE is not expected to use the beam APIs for now.
* `--rfsimulator.beam_ids <beam_ids>` : where `<beam_ids>` is a comma separated list. Same as above but added for convenience.
## Runtime commands
### Moving the UE in beam space
Use telnet command `rfsimu setbeams <beam_map>`. It works similar to the CLI command `--rfsimulator.beam_map <beam_map>`.
Suggest to only use single bits here
Use telnet command `rfsimu setbeams <beam_map>` or `rfsimu setbeamids <beam_ids>`. They correspond to the CLI parameters described
above and work the same way.
### Modifying the gNB beam