aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.cpp
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-06-07 01:10:11 -0400
committerTom Tsou <tom.tsou@ettus.com>2015-07-30 14:19:17 -0700
commit2268c8558c38de6996a68b5cb5e1bad2dd54b26f (patch)
tree484584858d256fb0547d8ea87cff2f632961d47e /Transceiver52M/Transceiver.cpp
parent50747dc65d2f7046c427c2c846d0315781f2f249 (diff)
transceiver: Remove noise/RSSI gating.
It does more harm than good. the current noise calculation is too error prone, so we can't trust it. And we end up loosing perfectly good bursts because of that. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/Transceiver.cpp')
-rw-r--r--Transceiver52M/Transceiver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 9fc335a..0156580 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -692,8 +692,7 @@ SoftVector *Transceiver::pullRadioVector(GSM::Time &wTime, double &RSSI,
if (equalize && (type != TSC))
equalize = false;
- if (avg - state->mNoiseLev > 0.0)
- bits = demodulate(state, *burst, amp, toa, time.TN(), equalize);
+ bits = demodulate(state, *burst, amp, toa, time.TN(), equalize);
wTime = time;
RSSI = 20.0 * log10(rxFullScale / avg);