mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-02 13:03:31 +00:00
mme: Apply default values for Pre-Emption Capability + Vulnerability
Section 7.3.40 of 3GPP TS 29.272 states default values to be used if those AVPs are not present in the DIAMETER message. Closes: #239
This commit is contained in:
@@ -806,8 +806,7 @@ static void mme_s6a_ula_cb(void *data, struct msg **msg)
|
||||
pdn->qos.arp.pre_emption_capability =
|
||||
hdr->avp_value->i32;
|
||||
} else {
|
||||
ogs_error("no_Preemption-Capability");
|
||||
error++;
|
||||
pdn->qos.arp.pre_emption_capability = 1; /* disabled */
|
||||
}
|
||||
|
||||
ret = fd_avp_search_avp(avpch4,
|
||||
@@ -819,8 +818,7 @@ static void mme_s6a_ula_cb(void *data, struct msg **msg)
|
||||
pdn->qos.arp.pre_emption_vulnerability =
|
||||
hdr->avp_value->i32;
|
||||
} else {
|
||||
ogs_error("no_Preemption-Vulnerability");
|
||||
error++;
|
||||
pdn->qos.arp.pre_emption_vulnerability = 0; /* enabled */
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user