This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/3095
octphy/tch.c: Use L1P instead of L1C for logging and allocation
Change-Id: I8593e9fcd94f1a42f1e09f079d3d40f07bd56307
---
M src/osmo-bts-octphy/l1_tch.c
1 file changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/95/3095/1
diff --git a/src/osmo-bts-octphy/l1_tch.c b/src/osmo-bts-octphy/l1_tch.c
index 5693313..79bf245 100644
--- a/src/osmo-bts-octphy/l1_tch.c
+++ b/src/osmo-bts-octphy/l1_tch.c
@@ -43,7 +43,7 @@
struct msgb *msg;
uint8_t *cur;
- msg = msgb_alloc_headroom(1024, 128, "L1C-to-RTP");
+ msg = msgb_alloc_headroom(1024, 128, "L1P-to-RTP");
if (!msg)
return NULL;
@@ -93,7 +93,7 @@
struct msgb *msg;
uint8_t *cur;
- msg = msgb_alloc_headroom(1024, 128, "L1C-to-RTP");
+ msg = msgb_alloc_headroom(1024, 128, "L1P-to-RTP");
if (!msg)
return NULL;
@@ -132,12 +132,12 @@
struct msgb *msg;
uint8_t *cur;
- msg = msgb_alloc_headroom(1024, 128, "L1C-to-RTP");
+ msg = msgb_alloc_headroom(1024, 128, "L1P-to-RTP");
if (!msg)
return NULL;
if (payload_len != GSM_HR_BYTES) {
- LOGP(DL1C, LOGL_ERROR, "L1 HR frame length %u != expected %u\n",
+ LOGP(DL1P, LOGL_ERROR, "L1 HR frame length %u != expected %u\n",
payload_len, GSM_HR_BYTES);
return NULL;
}
@@ -164,7 +164,7 @@
{
if (payload_len != GSM_HR_BYTES) {
- LOGP(DL1C, LOGL_ERROR, "RTP HR frame length %u != expected %u\n",
+ LOGP(DL1P, LOGL_ERROR, "RTP HR frame length %u != expected %u\n",
payload_len, GSM_HR_BYTES);
return 0;
}
@@ -217,13 +217,13 @@
goto err_payload_match;
break;
default:
- LOGP(DL1C, LOGL_NOTICE,
+ LOGP(DL1P, LOGL_NOTICE,
"%s Rx Payload Type %d is unsupported\n",
gsm_lchan_name(lchan), payload_type);
break;
}
- LOGP(DL1C, LOGL_DEBUG, "%s Rx codec frame (%u): %s\n",
+ LOGP(DL1P, LOGL_DEBUG, "%s Rx codec frame (%u): %s\n",
gsm_lchan_name(lchan), payload_len, osmo_hexdump(payload,
payload_len));
@@ -247,7 +247,7 @@
rmsg = l1_to_rtppayload_amr(payload, payload_len,
&lchan->tch.amr_mr);
#else
- LOGP(DL1C, LOGL_ERROR, "OctPHY only supports FR!\n");
+ LOGP(DL1P, LOGL_ERROR, "OctPHY only supports FR!\n");
return -1;
#endif
break;
@@ -260,7 +260,7 @@
return 0;
err_payload_match:
- LOGP(DL1C, LOGL_ERROR,
+ LOGP(DL1P, LOGL_ERROR,
"%s Rx Payload Type %d incompatible with lchan\n",
gsm_lchan_name(lchan), payload_type);
return -EINVAL;
--
To view, visit https://gerrit.osmocom.org/3095
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8593e9fcd94f1a42f1e09f079d3d40f07bd56307
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>