pespin has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-gprs/+/33956 )
Change subject: sm: Forward RadioPrio & QoS in SNSM-Activate.ind
......................................................................
sm: Forward RadioPrio & QoS in SNSM-Activate.ind
Change-Id: Ia8226f6e687f86b2502b27f9979dce13cf751c01
---
M src/sm/sm.c
1 file changed, 13 insertions(+), 2 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
osmith: Looks good to me, but someone else must approve
Jenkins Builder: Verified
pespin: Looks good to me, approved
diff --git a/src/sm/sm.c b/src/sm/sm.c
index 308117f..38b18f7 100644
--- a/src/sm/sm.c
+++ b/src/sm/sm.c
@@ -264,8 +264,10 @@
sme->ms->gmm.tlli,
sme->nsapi,
sme->llc_sapi);
- //sndcp_prim_tx->snsm.activat_ind.qos_params = ; /* TODO */
- //sndcp_prim_tx->snsm.activat_ind.radio_prio = 0; /* TODO */
+ sndcp_prim_tx->snsm.activate_ind.radio_prio = sme->radio_prio;
+ sndcp_prim_tx->snsm.activate_ind.qos_profile_len = sme->qos_len;
+ if (sme->qos_len)
+ memcpy(sndcp_prim_tx->snsm.activate_ind.qos_profile, &sme->qos,
sme->qos_len);
rc = gprs_sm_prim_call_sndcp_up_cb(sndcp_prim_tx);
return rc;
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/33956
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: Ia8226f6e687f86b2502b27f9979dce13cf751c01
Gerrit-Change-Number: 33956
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged