From a2fe91a688fb16f1055e3af77478cfb4bceb3ae2 Mon Sep 17 00:00:00 2001 From: Thomas Tsou Date: Wed, 13 Nov 2013 22:48:11 -0500 Subject: Transceiver52M: Add vectorized radio burst capability This patch allows multiple signalVectors to be stored within a single radioVector object. The motivation is to provide a facility for diversity and/or MIMO burst handling. When no channel value is specified, single channel bevhaviour is maintained. Signed-off-by: Thomas Tsou --- Transceiver52M/radioInterface.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Transceiver52M/radioInterface.cpp') diff --git a/Transceiver52M/radioInterface.cpp b/Transceiver52M/radioInterface.cpp index 5cf34de..43fa3a3 100644 --- a/Transceiver52M/radioInterface.cpp +++ b/Transceiver52M/radioInterface.cpp @@ -251,9 +251,11 @@ bool RadioInterface::driveReceiveRadio() */ while (recvSz > burstSize) { for (size_t i = 0; i < mChans; i++) { - burst = new radioVector(burstSize, head, rcvClock); + burst = new radioVector(rcvClock, burstSize, head); + + unRadioifyVector((float *) (recvBuffer[i]->begin() + readSz), + *burst->getVector()); - unRadioifyVector((float *) (recvBuffer[i]->begin() + readSz), *burst); if (mReceiveFIFO[i].size() < 32) mReceiveFIFO[i].write(burst); else -- cgit v1.2.3