diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-04-19 09:50:02 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-04-19 09:50:02 +0200 |
commit | bf91f06ecaffe311c821c705c98fd3287f343e34 (patch) | |
tree | e448d520c8844bc554acc15865416452ee577ced /src/osmo-bts-sysmo/femtobts.c | |
parent | b0150b7ad4610307308595d3fe1b28b31466e8de (diff) |
Improve logging of L1 MPH request by printing the direction
where previously we would only see
<0006> oml.c:931 (bts=0,trx=0,ts=1,ss=0) MPH-DEACTIVATE.req (FACCH/F)
we now get
<0006> oml.c:931 (bts=0,trx=0,ts=1,ss=0) MPH-DEACTIVATE.req (FACCH/F RxUL)
to notice it is modifying the receive path in the uplink direction.
Diffstat (limited to 'src/osmo-bts-sysmo/femtobts.c')
-rw-r--r-- | src/osmo-bts-sysmo/femtobts.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.c b/src/osmo-bts-sysmo/femtobts.c index be14b429..848981a3 100644 --- a/src/osmo-bts-sysmo/femtobts.c +++ b/src/osmo-bts-sysmo/femtobts.c @@ -248,3 +248,12 @@ const struct value_string femtobts_clksrc_names[] = { { SF_CLKSRC_RX, "RX" }, { 0, NULL } }; + +const struct value_string femtobts_dir_names[] = { + { GsmL1_Dir_TxDownlink, "TxDL" }, + { GsmL1_Dir_TxUplink, "TxUL" }, + { GsmL1_Dir_RxUplink, "RxUL" }, + { GsmL1_Dir_RxDownlink, "RxDL" }, + { GsmL1_Dir_TxDownlink|GsmL1_Dir_RxUplink, "BOTH" }, + { 0, NULL } +}; |