aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-06-07 01:10:11 -0400
committerAlexander Chemeris <Alexander.Chemeris@gmail.com>2015-06-07 01:10:11 -0400
commit37b445d4c8ecb06ab2bd5cd5aa582de4d74b8eba (patch)
tree3a2935326a1893a0e8f4c639399c348da29886b4 /Transceiver52M
parentdf127bc74e5032020dc5bacd8bb52cd82f936b68 (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.
Diffstat (limited to 'Transceiver52M')
-rw-r--r--Transceiver52M/Transceiver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 21aaabf..5325d0b 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);