aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2013-11-16 16:14:12 -0500
committerThomas Tsou <tom@tsou.cc>2013-11-16 16:16:36 -0500
commitfb827d04ba211313d471ac8fba8715a492e483cb (patch)
tree41d1b3622d6e8d193df1f19d525362f7345185fd
parent2c7911096991648ca2be73b9abfafb5c937177a0 (diff)
Transceiver52M: Ignore channel estimation if we are not equalizing
Equalization is currently disabled by default. As such, we don't need to run channel estimates or even track the update state, which would otherwise be allocating/decallocating the channel state vector at regular intervals. Signed-off-by: Thomas Tsou <tom@tsou.cc>
-rw-r--r--Transceiver52M/Transceiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index 7aec64c..e5ab476 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -362,7 +362,7 @@ bool Transceiver::detectTSC(TransceiverState *state, signalVector &burst,
signalVector *chanResp;
/* Check equalization update state */
- if ((elapsed > 50) || (!state->chanResponse[tn])) {
+ if (needDFE && ((elapsed > 50) || (!state->chanResponse[tn]))) {
delete state->DFEForward[tn];
delete state->DFEFeedback[tn];
state->DFEForward[tn] = NULL;