aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-26 11:19:49 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-09-01 12:01:25 +0200
commit31af0ad11b3486d8f989a43479c7aecdc7a9254a (patch)
tree38fc261ae03abdd8da5dfe0f16773397f3b7e361
parentc8cbfc2c9800929a46ffa71e3bd0f34aa9b42f33 (diff)
l1: Add prim logging (TODO)
-rw-r--r--src/sysmo_l1_if.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sysmo_l1_if.c b/src/sysmo_l1_if.c
index 8572786..777af0b 100644
--- a/src/sysmo_l1_if.c
+++ b/src/sysmo_l1_if.c
@@ -190,6 +190,12 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1h,
osmo_hexdump(data_ind->msgUnitParam.u8Buffer,
data_ind->msgUnitParam.u8Size));
+ LOGP(DL1IF, LOGL_INFO,
+ "Rx PH-DATA.ind SAPI %d, size %d, lq %f, timing %d, FN %d, TN %d\n",
+ data_ind->sapi, data_ind->msgUnitParam.u8Size,
+ data_ind->measParam.fLinkQuality, data_ind->measParam.i16BurstTiming,
+ data_ind->u32Fn, data_ind->u8Tn);
+
pcu_rx_block_time(data_ind->u16Arfcn, data_ind->u32Fn, data_ind->u8Tn);
/*
@@ -239,6 +245,11 @@ static int handle_ph_ra_ind(struct femtol1_hdl *fl1h, GsmL1_PhRaInd_t *ra_ind)
{
uint8_t acc_delay;
+ LOGP(DL1IF, LOGL_INFO, "Rx PH-RA.ind SAPI %d, lq %f, timing %d, FN %d, TN %d\n",
+ ra_ind->sapi,
+ ra_ind->measParam.fLinkQuality, ra_ind->measParam.i16BurstTiming,
+ ra_ind->u32Fn, ra_ind->u8Tn);
+
pcu_rx_ra_time(ra_ind->u16Arfcn, ra_ind->u32Fn, ra_ind->u8Tn);
if (ra_ind->measParam.fLinkQuality < MIN_QUAL_RACH)