mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +00:00
[PFCP] Support associating multiple URRs to a PDR (#1456)
* [PFCP] Fix trailing whitespace in message generation files * [PFCP] message gen: Support multiple URR ID IEs in Create PDR group * [PFCP] Support associating multiple URRs to a PDR According to 3GPP TS 29.244: """ A PDR shall contain: - zero, one or more URRs, which contains instructions related to traffic measurement and reporting. """
This commit is contained in:
parent
825b06b6e0
commit
4b8d3a845a
8 changed files with 59 additions and 38 deletions
|
|
@ -339,9 +339,10 @@ void ogs_pfcp_build_create_pdr(
|
|||
message->far_id.u32 = pdr->far->id;
|
||||
}
|
||||
|
||||
if (pdr->urr) {
|
||||
message->urr_id.presence = 1;
|
||||
message->urr_id.u32 = pdr->urr->id;
|
||||
ogs_assert(pdr->num_of_urr <= OGS_ARRAY_SIZE(message->urr_id));
|
||||
for (i = 0; i < pdr->num_of_urr; i++) {
|
||||
message->urr_id[i].presence = 1;
|
||||
message->urr_id[i].u32 = pdr->urr[i]->id;
|
||||
}
|
||||
|
||||
if (pdr->qer) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue