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/.
dexter gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/1967
l1sap: improve log output
Print toa and ra value with the "RACH for packet access" log
message.
Change-Id: I3a2dde95947438aa8348a0a9fc8566cbc177aa2d
---
M src/common/l1sap.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/67/1967/1
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 19b38af..3592096 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1029,7 +1029,9 @@
if ((trx == bts->c0 && L1SAP_IS_PACKET_RACH(rach_ind->ra)) ||
(trx == bts->c0 && rach_ind->is_11bit)) {
- LOGP(DL1P, LOGL_INFO, "RACH for packet access\n");
+ LOGP(DL1P, LOGL_INFO, "RACH for packet access (toa=%d, ra=%d)\n",
+ rach_ind->acc_delay, rach_ind->ra);
+
pcu_tx_rach_ind(bts, rach_ind->acc_delay << 2,
rach_ind->ra, rach_ind->fn,
rach_ind->is_11bit, rach_ind->burst_type);
--
To view, visit https://gerrit.osmocom.org/1967
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a2dde95947438aa8348a0a9fc8566cbc177aa2d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>