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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/24154 ) Change subject: [VAMOS] gsm_lchan_name_compute(): indicate if TRX is a shadow TRX ...................................................................... [VAMOS] gsm_lchan_name_compute(): indicate if TRX is a shadow TRX Change-Id: I0e350fb067e0ff02d2f3cb54929ef152bb542636 Related: SYS#5315, OS#4940 --- M src/common/gsm_data.c 1 file changed, 5 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/54/24154/1 diff --git a/src/common/gsm_data.c b/src/common/gsm_data.c index 7cf48bf..f8435c4 100644 --- a/src/common/gsm_data.c +++ b/src/common/gsm_data.c @@ -167,10 +167,12 @@ char *gsm_lchan_name_compute(const struct gsm_lchan *lchan) { - struct gsm_bts_trx_ts *ts = lchan->ts; + const struct gsm_bts_trx_ts *ts = lchan->ts; + const struct gsm_bts_trx *trx = ts->trx; - snprintf(ts2str, sizeof(ts2str), "(bts=%d,trx=%d,ts=%d,ss=%d)", - ts->trx->bts->nr, ts->trx->nr, ts->nr, lchan->nr); + snprintf(ts2str, sizeof(ts2str), "(bts=%d,%strx=%d,ts=%d,ss=%d)", + trx->bts->nr, trx->is_shadow ? "shadow-" : "", trx->nr, + ts->nr, lchan->nr); return ts2str; } -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/24154 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I0e350fb067e0ff02d2f3cb54929ef152bb542636 Gerrit-Change-Number: 24154 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210506/1d6e631c/attachment.htm>