aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-07-01 20:41:55 +0200
committerpespin <pespin@sysmocom.de>2019-07-19 11:44:13 +0000
commit15fa64bce4a17b8f90ca11523784547ffde79265 (patch)
treea837e5f4063262811301a3599f4948aec3ed45a9 /Transceiver52M/Transceiver.h
parentc9202ab0be5e3e89f5fa4236ef45d550cee91af6 (diff)
Transceiver: Move out TRXD socket send code to prepare for TRXDv1
Only old v0 is supported so far. TRXD protocol related data/logic is moved to its own file out of Transceiver class. Code is refactored so it can be re-used later by TRXDv1. Related: OS#4006 Change-Id: I5786dd44b076202c6f1a6e82405670e8605797ed
Diffstat (limited to 'Transceiver52M/Transceiver.h')
-rw-r--r--Transceiver52M/Transceiver.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index a66c962..aa2a716 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -34,19 +34,6 @@ extern "C" {
#include "config_defs.h"
}
-#define MAX_RX_BURST_BUF_SIZE EDGE_BURST_NBITS
-
-struct trx_ul_burst_ind {
- float rx_burst[MAX_RX_BURST_BUF_SIZE]; /* soft bits normalized 0..1 */
- unsigned nbits; // number of symbols per slot in rxBurst, not counting guard periods
- uint32_t fn; // TDMA frame number
- uint8_t tn; // TDMA time-slot number
- double rssi; // in dBFS
- double toa; // in symbols
- double noise; // noise level in dBFS
- bool idle; // true if no valid burst is included
-};
-
class Transceiver;
/** Channel descriptor for transceiver object and channel number pair */
@@ -229,6 +216,7 @@ private:
unsigned mMaxExpectedDelayAB; ///< maximum expected time-of-arrival offset in GSM symbols for Access Bursts (RACH)
unsigned mMaxExpectedDelayNB; ///< maximum expected time-of-arrival offset in GSM symbols for Normal Bursts
unsigned mWriteBurstToDiskMask; ///< debug: bitmask to indicate which timeslots to dump to disk
+ unsigned mVersionTRXD; ///< Format version to use for TRXD protocol communication
std::vector<TransceiverState> mStates;