[PATCH] osmo-bts[master]: octphy: print log message for multi-trx support

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Apr 13 13:44:43 UTC 2017


Review at  https://gerrit.osmocom.org/2315

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/15/2315/1

diff --git a/src/osmo-bts-octphy/l1_oml.c b/src/osmo-bts-octphy/l1_oml.c
index 7e1ad88..4652e10 100644
--- a/src/osmo-bts-octphy/l1_oml.c
+++ b/src/osmo-bts-octphy/l1_oml.c
@@ -1109,6 +1109,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: newchange
Gerrit-Change-Id: I257c0a5e7c5ff5df2f0a603d1ede6db5679382e0
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list