diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2017-04-13 13:58:07 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2017-04-13 19:03:44 +0200 |
commit | d040bf97de45a4ff70d51f76f70f4a64693e4df3 (patch) | |
tree | aec6c4f1df2826b231f3be66347dc5c5c9d8bdad /src/osmo-bts-octphy/l1_oml.c | |
parent | 1fde15c8bd12a469fe5f5d51b71486c3409e7b60 (diff) |
octphy: print log message for multi-trx support
Some header file versions support multi-trx and some do not. After
to compiling it is very difficult to find out if the binary is
multi-trx capable por not. This patch adds a log line that should
rule out any doubts.
Change-Id: I257c0a5e7c5ff5df2f0a603d1ede6db5679382e0
Diffstat (limited to 'src/osmo-bts-octphy/l1_oml.c')
-rw-r--r-- | src/osmo-bts-octphy/l1_oml.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c index 6857a5d1..0cd25f25 100644 --- a/src/osmo-bts-octphy/l1_oml.c +++ b/src/osmo-bts-octphy/l1_oml.c @@ -1187,6 +1187,12 @@ static int app_info_sys_compl_cb(struct octphy_hdl *fl1h, struct msgb *resp, voi LOGP(DL1C, LOGL_INFO, "Rx APP-INFO-SYSTEM.resp (platform='%s', version='%s')\n", aisr->szPlatform, aisr->szVersion); +#if OCTPHY_MULTI_TRX == 1 + LOGP(DL1C, LOGL_INFO, "Note: compiled with multi-trx support.\n"); +#else + LOGP(DL1C, LOGL_INFO, "Note: compiled without multi-trx support.\n"); +#endif + talloc_replace(fl1h->info.system.platform, fl1h, aisr->szPlatform); talloc_replace(fl1h->info.system.version, fl1h, aisr->szVersion); |