Harald Welte has submitted this change and it was merged.

Change subject: octphy: print log message for multi-trx support
......................................................................


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
---
M src/osmo-bts-octphy/l1_oml.c
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index 6857a5d..0cd25f2 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -1187,6 +1187,12 @@
        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);
 

-- 
To view, visit https://gerrit.osmocom.org/2315
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I257c0a5e7c5ff5df2f0a603d1ede6db5679382e0
Gerrit-PatchSet: 2
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to