diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-06-30 18:57:02 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-07-10 08:44:03 +0000 |
commit | 390742b3ede56aa05e7fb01f140ec8450f38e2af (patch) | |
tree | 8bcc893c4d765824fc979124f1fec96965b87ef3 /src/osmo-bts-litecell15 | |
parent | f06ba300c4a251088b1aea01d5c0659e666f5caa (diff) |
Use osmo_dump_gsmtime to log fn across different layers
This commit also fixes a missing end of line in the log output of handle_ph_data_ind
Change-Id: I049f58d51333d3590361db5c0105e6899a862af6
Diffstat (limited to 'src/osmo-bts-litecell15')
-rw-r--r-- | src/osmo-bts-litecell15/l1_if.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/osmo-bts-litecell15/l1_if.c b/src/osmo-bts-litecell15/l1_if.c index 66aa21ab..b82a7c6c 100644 --- a/src/osmo-bts-litecell15/l1_if.c +++ b/src/osmo-bts-litecell15/l1_if.c @@ -926,6 +926,7 @@ static int handle_ph_data_ind(struct lc15l1_hdl *fl1, GsmL1_PhDataInd_t *data_in uint8_t chan_nr, link_id; struct osmo_phsap_prim *l1sap; uint32_t fn; + struct gsm_time g_time; uint8_t *data, len; int rc = 0; int8_t rssi; @@ -943,9 +944,11 @@ static int handle_ph_data_ind(struct lc15l1_hdl *fl1, GsmL1_PhDataInd_t *data_in process_meas_res(trx, chan_nr, &data_ind->measParam, fn); - DEBUGP(DL1C, "Rx PH-DATA.ind %s (hL2 %08x): %s", + gsm_fn2gsmtime(&g_time, fn); + + DEBUGP(DL1P, "Rx PH-DATA.ind %s %s (hL2 %08x): %s\n", get_value_string(lc15bts_l1sapi_names, data_ind->sapi), - (uint32_t)data_ind->hLayer2, + osmo_dump_gsmtime(&g_time), (uint32_t)data_ind->hLayer2, osmo_hexdump(data_ind->msgUnitParam.u8Buffer, data_ind->msgUnitParam.u8Size)); dump_meas_res(LOGL_DEBUG, &data_ind->measParam); |