diff options
author | Thomas Tsou <tom@tsou.cc> | 2013-11-13 22:48:11 -0500 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2013-11-15 23:35:07 -0500 |
commit | a2fe91a688fb16f1055e3af77478cfb4bceb3ae2 (patch) | |
tree | 6ff5dc34e0664adeb7b2bd171e926e1fb48e6172 /Transceiver52M/radioInterface.cpp | |
parent | e1ce92599af0054590aadab5b04a5bdb24bf6243 (diff) |
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 <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioInterface.cpp')
-rw-r--r-- | Transceiver52M/radioInterface.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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 |