|
libe3 0.6.1
C++ library for E3AP RAN vendor integration
|
Units, clocks, the meaning of absent and zero, the limits of a PRB block, the checks that a receiver makes, and what happens when a message is wrong.
This is clause 9 of the specification. The fields are in clause 6. The procedures are in clause 7.
Table: Units of the fields
| Field | Unit | Notes |
|---|---|---|
| Spectrum-SensingIndication.timestamp | nanoseconds | monotonic clock of the RAN host |
| Spectrum-CellConfigIndication.timestamp | nanoseconds | monotonic clock of the RAN host |
| Spectrum-DAppReportData.timestamp | nanoseconds since the Unix epoch | realtime clock of the dApp host |
| Spectrum-XAppControlData.timestamp | nanoseconds since the Unix epoch | realtime clock of the xApp host |
| Spectrum-ApplyOutcomeData.timestamp, installedTimestamp, onAirTimestamp | nanoseconds since the Unix epoch | realtime clock of the RAN host |
| sfn | frame number | 0..1023 in practice |
| slot | slot number | 0..159 in practice, 0..19 at 30 kHz |
| PRB index | PRB | absolute in the carrier, 0..272 |
| symbol mask | bit field | bit s is symbol s of the slot, 14 bits |
| ulCarrierPRBs, ulOffsetToCarrier | PRB | at the subcarrier spacing of the carrier |
| ulSubcarrierSpacing | numerology index | 0..3, the spacing is 15 kHz times 2 to the power of the index |
| ulArfcnPointA | NR-ARFCN | 0..3279165 [i.7] |
| slotsPerFrame | slots | in a frame of 10 ms |
| validityPeriod | milliseconds | 1..3600000, up to one hour |
| noiseFloorThreshold | not defined | the dApp and the xApp agree on it |
| periodicity in E3AP | microseconds | selects the indication period. See the E3AP specification. |
Two clocks exist in the service model. They shall not be mixed.
A receiver shall not subtract a monotonic value from a realtime value, or the reverse. The two share the field name timestamp in the grammar, but they are not on the same clock.
An xApp can subtract the timestamp of a dApp report from installedTimestamp and from onAirTimestamp, because they are on the realtime clock. The accuracy of the result is the accuracy of the time synchronization between the hosts.
The latency recorder uses the monotonic clock. See latrec. A payload timestamp and a recorder timestamp shall not be subtracted.
Table: Meaning of an absent field
| Field | Absent means |
|---|---|
| beam | no beam information. A RAN that does not use several beams sends "0". |
| validityPeriod | no validity limit stated |
| deactivate | "FALSE" |
| tddSlotPattern | the cell is an FDD cell |
| nrPci | the RAN does not give the physical cell identity |
| report timestamp | the dApp did not stamp the report. This is a normal message. |
| xApp control timestamp | the xApp did not stamp the control. This is a normal message. |
| installedTimestamp | the control did not install |
| onAirTimestamp, sfn, slot of the outcome | no scheduler tick used the block |
A receiver shall not reject a report or an xApp control only because it has no timestamp.
A timestamp of "0" in an apply outcome is never sent. The RAN omits the field instead. A sender that has no value shall omit the field.
A PRB block controls the allocation of the scheduler. It does not control the radio. The following limits apply. A dApp and an operator shall know them.
Table: Effect of each function on the scheduler
| Function | Changes scheduling |
|---|---|
| sensing indication, cell configuration indication and the sensing ring | no. They only export data. |
| PRB block control | yes. It removes PRBs from allocation. |
| sensing policy control | yes. It changes the choice of time domain allocation. |
| dApp report | no |
| xApp control | not directly. A dApp may turn it into a PRB block control. |
A receiver validates a message before it acts. The RAN applies these checks.
Table: Checks of the RAN on a control
| Check | Result when it fails |
|---|---|
| the service model runs | negative response |
| the control has at least one octet | negative response |
| the control identifier is "1" or "2" | negative response |
| the MAC scheduler exists | negative response |
| the payload decodes in the encoding of the run | negative response |
| the payload holds the alternative that matches the control identifier | negative response |
| the PRB list has at most 273 entries and every index is at most 272 | negative response |
| maskPerSlot has 1 to 160 entries, and every value is at most 16383 | negative response |
| the number of masks equals the slots in a frame of the RAN | negative response |
| the scheduler accepts the new block or policy | negative response |
The RAN answers a control with an E3 Control Response. The response code is "positive" or "negative". A control that the RAN refuses before the service model sees it is answered "negative" whether the dApp asked for an answer or not. The service model answers the others when the dApp set requestAck. The response says only whether the RAN applied the control to the scheduler. It does not say that the block is in the air. The apply outcome says that.
A negative response does not change the state that was in force before the control.
Table: Mandatory behavior
| Party | Mandatory |
|---|---|
| RAN | register RAN function 1 with the control identifiers 1 and 2 |
| RAN | send a valid RAN function data |
| RAN | create the sensing ring before the first indication |
| RAN | write the ring before it sends the indication that points to it |
| RAN | answer a control with an E3 Control Response when the dApp set requestAck, and answer a control that it refuses before the service model with a negative one |
| RAN | clear the block and the policy when the service model stops |
| dApp | check sfn and slot of the ring slot against the indication |
| dApp | check the ring layout fields against its own |
| dApp | send the complete PRB list in every PRB block control |
| dApp | keep the sequenceId of an xApp control when it re-issues it as a PRB block control |
| xApp | decode the apply outcome with the service model that it sent the control to |
Everything else in the grammar is optional or has a default.