path: root/Transceiver52M/Transceiver.h
diff options
authorThomas Tsou <tom@tsou.cc>2014-04-16 20:02:06 -0400
committerThomas Tsou <tom@tsou.cc>2014-10-06 10:35:29 -0700
commitf31e4bb089453c18d42f998d8aa45b9c7947ff8a (patch)
tree6c4c77bc9b524d9599ad0dff19c821585ffd01b4 /Transceiver52M/Transceiver.h
parent1189019c30c1208c95868cb6998f6b7af25d2c45 (diff)
Transceiver52M: Setup TRX mode for MS acquisition
On receipt of a SYNC command on the socket interface, set the mode to TRX_MODE_MS_ACQUIRE, which attempts to synchronize against a remote BTS signal by detecting the SCH burst and timing offset. The transceiver defaults to TRX_MODE_OFF, which implies no BTS or MS capability has been enabled. There is currently no command to enable the BTS mode. The MS mode also disables uplink transmission since no such capability is implemented. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/Transceiver.h')
1 files changed, 9 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index 8433406..c167519 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -81,6 +81,9 @@ struct TransceiverState {
/* Received noise energy levels */
float mNoiseLev;
noiseVector mNoises;
+ /* Transceiver mode */
+ int mode;
/** The Transceiver class, responsible for physical layer of basestation */
@@ -231,6 +234,12 @@ public:
LOOPBACK ///< similar go VII, used in loopback testing
} ChannelCombination;
+ enum {
+ };
/** drive lower receive I/O and burst generation */
void driveReceiveRadio();