aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-03-02 13:50:19 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-04-13 19:02:46 +0200
commit1fde15c8bd12a469fe5f5d51b71486c3409e7b60 (patch)
tree4141dabff87c34f2923354d72cdcce6d0e0b246a /src/common/l1sap.c
parent8e7a51d8c3d945e0cce34fc25170c98375978c7c (diff)
l1sap: improve log output
Print toa and ra value with the "RACH for packet access" log message. Change-Id: I3a2dde95947438aa8348a0a9fc8566cbc177aa2d
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 19b38afd..35920967 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1029,7 +1029,9 @@ static int l1sap_ph_rach_ind(struct gsm_bts_trx *trx,
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);