Commit 8294ff1
committed
Pdcp: fix: fromDataPort() to use destId for MacCid
This is consistent with fromLowerLayer(), which uses sourceId.
To use ctrlInfoToMacCid() would be WRONG. It returns the UE's nodeId,
which ignores the fact that PDCP may have connections toward multiple
gNB/eNB entities due to Dual Connectivity and Handovers. (Handovers
are also offending becauses currently the old PDCP entities are NOT
deleted on handover!).
Note that for Dual Connectivity/Split Bearers, the split occurs (is
supposed to occur) in the PDCP layer, ie. PDCP may have to "legs",
ie. LCID is only valid in the context of the Master or Slave serving
entity.1 parent d173bed commit 8294ff1
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | | - | |
153 | | - | |
154 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
155 | 163 | | |
156 | 164 | | |
157 | 165 | | |
| |||
0 commit comments