Attention is currently required from: fixeria.
pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-pcu/+/39188?usp=email )
Change subject: gsm_rlcmac: fix EGPRS BEP Link Quality Measurements Type 2
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
You may want to submit a patch prior to this one disabling linter for the relevant files?
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/39188?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I061ac16df5e6413266de08884f791f0264791192
Gerrit-Change-Number: 39188
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 20 Dec 2024 12:38:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Jenkins Builder has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-pcu/+/39188?usp=email )
Change subject: gsm_rlcmac: fix EGPRS BEP Link Quality Measurements Type 2
......................................................................
Patch Set 1:
(14 comments)
File src/gsm_rlcmac.c:
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/d4d6b190_d7dea70b?usp… :
PS1, Line 1253: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_GMSK_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/6b467de2_b7b0607e?usp… :
PS1, Line 1253: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_GMSK_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/1150fe38_23b1557c?usp… :
PS1, Line 1257: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_8PSK_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/b375e5ef_d3d2a573?usp… :
PS1, Line 1257: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_8PSK_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/174c45bd_b62a52f3?usp… :
PS1, Line 1261: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_QPSK_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/5b1bb6c5_2b87606b?usp… :
PS1, Line 1261: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_QPSK_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/213625c4_6a8bcc2b?usp… :
PS1, Line 1265: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_16QAM_NSR_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/b428eadf_bb911e03?usp… :
PS1, Line 1265: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_16QAM_NSR_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/2df8e38f_02e525fb?usp… :
PS1, Line 1269: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_32QAM_NSR_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/564e74b4_29b44304?usp… :
PS1, Line 1269: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_32QAM_NSR_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/53d265e0_a5a2f542?usp… :
PS1, Line 1273: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_16QAM_HSR_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/08b848a6_ce5c096c?usp… :
PS1, Line 1273: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_16QAM_HSR_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/7e6e41ec_b2ce6a29?usp… :
PS1, Line 1277: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_32QAM_HSR_MEAN_BEP, 2),
please, no spaces at the start of a line
Robot Comment from checkpatch (run ID jenkins-gerrit-lint-20640):
https://gerrit.osmocom.org/c/osmo-pcu/+/39188/comment/a71b5dd5_04d570ec?usp… :
PS1, Line 1277: M_NEXT_EXIST (EGPRS_BEP_LinkQualityMeasurements_type2_t, Exist_32QAM_HSR_MEAN_BEP, 2),
space prohibited between function name and open parenthesis '('
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/39188?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I061ac16df5e6413266de08884f791f0264791192
Gerrit-Change-Number: 39188
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Fri, 20 Dec 2024 10:37:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/39185?usp=email )
Change subject: mgw: mgcp_network.c: Simplify use of conn_rtp ptr
......................................................................
mgw: mgcp_network.c: Simplify use of conn_rtp ptr
Change-Id: I5bab15fc793434173660769a8e60dae4ae4aa4c6
---
M src/libosmo-mgcp/mgcp_network.c
1 file changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/85/39185/1
diff --git a/src/libosmo-mgcp/mgcp_network.c b/src/libosmo-mgcp/mgcp_network.c
index fd27e9a..f0111cd 100644
--- a/src/libosmo-mgcp/mgcp_network.c
+++ b/src/libosmo-mgcp/mgcp_network.c
@@ -1343,13 +1343,13 @@
* packets back to their origin. We will use the originating
* address data from the UDP packet header to patch the
* outgoing address in connection on the fly */
- if (osmo_sockaddr_port(&conn->u.rtp.end.addr.u.sa) == 0) {
- memcpy(&conn->u.rtp.end.addr, from_addr,
- sizeof(conn->u.rtp.end.addr));
+ if (osmo_sockaddr_port(&conn_src->end.addr.u.sa) == 0) {
+ memcpy(&conn_src->end.addr, from_addr,
+ sizeof(conn_src->end.addr));
LOG_CONN_RTP(conn_src, LOGL_NOTICE,
"loopback mode: implicitly using source address (%s:%u) as destination address\n",
osmo_sockaddr_ntop(&from_addr->u.sa, ipbuf),
- osmo_sockaddr_port(&conn->u.rtp.end.addr.u.sa));
+ osmo_sockaddr_port(&conn_src->end.addr.u.sa));
}
return mgcp_conn_rtp_dispatch_rtp(conn_src, msg);
}
@@ -1428,19 +1428,19 @@
* packets back to their origin. We will use the originating
* address data from the UDP packet header to patch the
* outgoing address in connection on the fly */
- if (osmo_sockaddr_port(&conn->u.rtp.end.addr.u.sa) == 0) {
- memcpy(&conn->u.rtp.end.addr, from_addr,
- sizeof(conn->u.rtp.end.addr));
+ if (osmo_sockaddr_port(&conn_src->end.addr.u.sa) == 0) {
+ memcpy(&conn_src->end.addr, from_addr,
+ sizeof(conn_src->end.addr));
LOG_CONN_RTP(conn_src, LOGL_NOTICE,
"loopback mode: implicitly using source address (%s:%u) as destination address\n",
osmo_sockaddr_ntop(&from_addr->u.sa, ipbuf),
- osmo_sockaddr_port(&conn->u.rtp.end.addr.u.sa));
+ osmo_sockaddr_port(&conn_src->end.addr.u.sa));
}
return mgcp_conn_rtp_dispatch_rtp(conn_src, msg);
}
/* Forward to E1 */
- return mgcp_e1_send_rtp(conn->endp, conn->u.rtp.end.codec, msg);
+ return mgcp_e1_send_rtp(conn->endp, conn_src->end.codec, msg);
}
/*! cleanup an endpoint when a connection on an RTP bridge endpoint is removed.
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/39185?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I5bab15fc793434173660769a8e60dae4ae4aa4c6
Gerrit-Change-Number: 39185
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>