[PATCH] osmo-trx[master]: Move BURST_THRESH from Transceiver.cpp to sigProcLib.h to ma...

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/.

Alexander Chemeris gerrit-no-reply at lists.osmocom.org
Wed Mar 22 18:44:18 UTC 2017


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

Move BURST_THRESH from Transceiver.cpp to sigProcLib.h to make it reusable.

Change-Id: I5a888890e26858c0fbb2ddb7ef23cb0fd66a64b4
---
M Transceiver52M/Transceiver.cpp
M Transceiver52M/sigProcLib.h
2 files changed, 9 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/49/2149/1

diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 6b50981..1ae9f93 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -44,15 +44,6 @@
 /* Number of running values use in noise average */
 #define NOISE_CNT			20
 
-/*
- * Burst detection threshold
- *
- * Decision threshold value for burst gating on peak-to-average value of
- * correlated synchronization sequences. Lower values pass more bursts up
- * to upper layers but will increase the false detection rate.
- */
-#define BURST_THRESH			4.0
-
 TransceiverState::TransceiverState()
   : mRetrans(false), mNoiseLev(0.0), mNoises(NOISE_CNT), mPower(0.0)
 {
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h
index 8b7f4af..bea9c4a 100644
--- a/Transceiver52M/sigProcLib.h
+++ b/Transceiver52M/sigProcLib.h
@@ -50,6 +50,15 @@
   SIGERR_INTERNAL,
 };
 
+/*
+ * Burst detection threshold
+ *
+ * Decision threshold value for burst gating on peak-to-average value of
+ * correlated synchronization sequences. Lower values pass more bursts up
+ * to upper layers but will increase the false detection rate.
+ */
+#define BURST_THRESH    4.0
+
 /** Convert a linear number to a dB value */
 float dB(float x);
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a888890e26858c0fbb2ddb7ef23cb0fd66a64b4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Owner: Alexander Chemeris <Alexander.Chemeris at gmail.com>



More information about the gerrit-log mailing list