Skip to content

Commit ee68068

Browse files
committed
Edit README.md
Edit LENA_MODEL_REPORTING_PARAMETERS
1 parent 0ca57f0 commit ee68068

2 files changed

Lines changed: 54 additions & 1 deletion

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,31 @@ This setup leverages a hybrid of open-source tools and Orange’s internal platf
171171

172172

173173

174+
## 5. LENA Module Reporting Parameters
175+
176+
To support custom xApp development on top of this platform, a dedicated reference document is available that maps every reportable KPI to its exact source in the 5G-LENA NR module:
177+
178+
📄 [`docs/LENA_MODEL_REPORTING_PARAMETERS.md`](docs/LENA_MODEL_REPORTING_PARAMETERS.md)
179+
180+
### What this document provides
181+
182+
- A **complete layer-by-layer catalogue** (PHY, MAC, RLC, PDCP, RRC, E2/O-RAN) of all parameters that can be extracted from the 5G-LENA module (`src/nr/`).
183+
- A clear **status for each parameter** — whether it is directly **IMPLEMENTABLE** via a trace source or public API, **DERIVABLE** through post-processing, or **NOT_SUPPORTED** in the current codebase.
184+
- The exact **file, class, function, and TraceSource** needed to access each metric, so you know precisely where to connect your reporting logic.
185+
- Documented **known corrections** between the simulator implementation and the 3GPP KPM naming conventions (e.g. RLC byte counts reported under PDCP KPM names).
186+
187+
### How it helps you build a custom xApp
188+
189+
When developing a custom xApp that requires specific KPIs from the LENA simulation — such as per-UE throughput, SINR, PRB utilization, PDCP delay, or RRC events — this document tells you:
190+
191+
1. **Whether the parameter is available** in the current 5G-LENA codebase.
192+
2. **How to enable reporting** of that parameter (trace connection call, helper method, or derivation formula).
193+
3. **Where the data flows** from the simulator layer through the E2 indication message to your xApp.
194+
195+
This makes the document the starting point for any custom reporting extension, enabling you to identify the required parameters, wire the correct trace sources, and include them in the KPM indication messages sent to FlexRIC.
196+
197+
---
198+
174199
## 6. Installation Instructions
175200

176201
### System Requirements

docs/LENA_MODEL_REPORTING_PARAMETERS.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,35 @@ The purpose of this document is to help developers understand what information i
1010

1111
In the next step, this document will demonstrate how to develop a custom xApp by extending the reporting framework to extract and report custom parameters that are not available by default.
1212

13-
> **Note:** in 5G
13+
To Report a any prameter from any protocol Layer in LENA module to your Custom xApp you should follow the next steps :
14+
15+
1. navigate to `../mmwave-LENA-oran/scratch` and open `orange-rf-kpi-reporting.cc` VS Code .
16+
we createthis sceanrio to able the users to enable the reporting flags of any layer that he need to report from
17+
18+
2. go to the object of `NrKpiReportingConfig` caled `kpiCfg` and you will see the reporting flags of each layer and you can choose the sepcific KPI for example
19+
20+
```cpp
21+
kpiCfg.enablePhyReporting = true;
22+
kpiCfg.selectedPhyKpis = {
23+
"PHY.DlDataSinr", "PHY.DlCtrlSinr", "PHY.Rsrp", "PHY.Rsrq",
24+
// "PHY.Cqi", "PHY.Mcs", "PHY.Ri",
25+
// "PHY.RxPacketTbSize", "PHY.Tbler", "PHY.CorruptTb",
26+
// "PHY.PrbUtilizationDl", "PHY.ActivityFactor",
27+
// "PHY.TxPowerWatts", "PHY.AntennaPortsOn",
28+
// "PHY.EnergyConsumptionJ", "PHY.InstantaneousPowerW",
29+
// "PHY.SlotDataUsedSym", "PHY.SlotAvailRb", "PHY.SlotCtrlUsedSym",
30+
};
31+
```
32+
33+
3. you can now save your edits
34+
35+
4. Navigate to `/path/to/flexric/build/examples/ric/` and then run `./nearRT-RIC`.
36+
37+
5. Navigate to `/path/to/mmwave-LENA-oran` and then run `./ns3 --run scratch/orange-rf-kpi-reporting`
38+
39+
6. Navigate to `/path/to/flexric/build/examples/xApp/c/orange/` and then run `./xapp_kpm_rc`.
40+
41+
in the bellow you can fined the all prameters and its locations that supported in 5G-LEAN
1442
1543
---
1644

0 commit comments

Comments
 (0)