diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-07-04 16:24:06 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-07-04 17:23:30 +0200 |
commit | 7c405a0c1f3a0fcce04c0ad4e2b66d802780ec0d (patch) | |
tree | 3dc8e552d0d19eaa67b765085b16486c9a4bc427 /Transceiver52M | |
parent | 4cafb0fa15a069c182a7f8dc77ef645061bee30e (diff) |
cosmetic: transciever: Remove trailing whitespaces
Change-Id: Ib3fbe768048b2a34a75ace9688e306720e67019a
Diffstat (limited to 'Transceiver52M')
-rw-r--r-- | Transceiver52M/Transceiver.cpp | 18 | ||||
-rw-r--r-- | Transceiver52M/Transceiver.h | 5 |
2 files changed, 11 insertions, 12 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index 61da416..d5b75d7 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -429,7 +429,7 @@ void Transceiver::setModulus(size_t timeslot, size_t chan) case V: state->fillerModulus[timeslot] = 51; break; - //case V: + //case V: case VII: state->fillerModulus[timeslot] = 102; break; @@ -544,7 +544,7 @@ void writeToFile(radioVector *radio_burst, size_t chan) /* * Pull bursts from the FIFO and handle according to the slot - * and burst correlation type. Equalzation is currently disabled. + * and burst correlation type. Equalzation is currently disabled. */ SoftVector *Transceiver::pullRadioVector(GSM::Time &wTime, double &RSSI, bool &isRssiValid, double &timingOffset, double &noise, @@ -655,7 +655,7 @@ void Transceiver::reset() mTxPriorityQueues[i].clear(); } - + void Transceiver::driveControl(size_t chan) { int MAX_PACKET_LENGTH = 100; @@ -804,7 +804,7 @@ void Transceiver::driveControl(size_t chan) LOG(WARNING) << "bogus message on control interface"; sprintf(response,"RSP SETSLOT 1 %d %d",timeslot,corrCode); return; - } + } mStates[chan].chanType[timeslot] = (ChannelCombination) corrCode; setModulus(timeslot, chan); sprintf(response,"RSP SETSLOT 0 %d %d",timeslot,corrCode); @@ -852,14 +852,14 @@ bool Transceiver::driveTxPriorityQueue(size_t chan) frameNum = (frameNum << 8) | (0x0ff & buffer[i+1]); LOG(DEBUG) << "rcvd. burst at: " << GSM::Time(frameNum,timeSlot); - + int RSSI = (int) buffer[5]; BitVector newBurst(burstLen); BitVector::iterator itr = newBurst.begin(); char *bufferItr = buffer+6; - while (itr < newBurst.end()) + while (itr < newBurst.end()) *itr++ = *bufferItr++; - + GSM::Time currTime = GSM::Time(frameNum,timeSlot); addRadioVector(chan, newBurst, RSSI, currTime); @@ -945,7 +945,7 @@ void Transceiver::driveTxFIFO() { /** - Features a carefully controlled latency mechanism, to + Features a carefully controlled latency mechanism, to assure that transmit packets arrive at the radio/USRP before they need to be transmitted. @@ -956,7 +956,7 @@ void Transceiver::driveTxFIFO() RadioClock *radioClock = (mRadioInterface->getClock()); - + if (mOn) { //radioClock->wait(); // wait until clock updates LOG(DEBUG) << "radio clock " << radioClock->get(); diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h index 6f9cb92..26d6c3c 100644 --- a/Transceiver52M/Transceiver.h +++ b/Transceiver52M/Transceiver.h @@ -89,7 +89,7 @@ struct TransceiverState { /** The Transceiver class, responsible for physical layer of basestation */ class Transceiver { public: - /** Transceiver constructor + /** Transceiver constructor @param wBasePort base port number of UDP sockets @param TRXAddress IP address of the TRX manager, as a string @param wSPS number of samples per GSM symbol @@ -169,7 +169,7 @@ private: GSM::Time mTransmitLatency; ///< latency between basestation clock and transmit deadline clock GSM::Time mLatencyUpdateTime; ///< last time latency was updated - GSM::Time mTransmitDeadlineClock; ///< deadline for pushing bursts into transmit FIFO + GSM::Time mTransmitDeadlineClock; ///< deadline for pushing bursts into transmit FIFO GSM::Time mLastClockUpdateTime; ///< last time clock update was sent up to core RadioInterface *mRadioInterface; ///< associated radioInterface object @@ -275,4 +275,3 @@ void *ControlServiceLoopAdapter(TransceiverChannel *); /** transmit queueing thread loop */ void *TxUpperLoopAdapter(TransceiverChannel *); - |