diff options
author | Thomas Tsou <ttsou@vt.edu> | 2012-03-29 18:53:57 -0400 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2013-06-24 01:51:02 +0400 |
commit | b5c450dfdffe5b74c8482e222cd782a23fcc0065 (patch) | |
tree | f9b98243e08a7caeff88744ff958129c68d70800 /Transceiver52M/runTransceiver.cpp | |
parent | afb04f8b631b6727db0bc62802f2bf50cf39503a (diff) |
multi-arfcn, trx: attach FIFO's internally in transceiver
The original split-transceiver abstraction did not maintain
internal instances of the radio interface or drive loop.
The FIFO's were attached through external calls. The control
loop, however, made such an approach overly difficult, so
the transceiver now maintains pointers to the aforementioned
objects. In doing so, we no longer need external attachment
calls to setup the FIFO's.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
Diffstat (limited to 'Transceiver52M/runTransceiver.cpp')
-rw-r--r-- | Transceiver52M/runTransceiver.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Transceiver52M/runTransceiver.cpp b/Transceiver52M/runTransceiver.cpp index 441edf9..acbea72 100644 --- a/Transceiver52M/runTransceiver.cpp +++ b/Transceiver52M/runTransceiver.cpp @@ -120,8 +120,6 @@ int main(int argc, char *argv[]) const char *addr = gConfig.getStr("TRX.IP").c_str(); DriveLoop *drive = new DriveLoop(SAMPSPERSYM,GSM::Time(3,0),radio); Transceiver *trx = new Transceiver(port, addr, SAMPSPERSYM, radio, drive, 0); - trx->receiveFIFO(radio->receiveFIFO(0)); - trx->transmitQueue(drive->priorityQueue(0)); radio->activateChan(0); /* |