aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/sigProcLib.h
diff options
context:
space:
mode:
authorTom Tsou <tom.tsou@ettus.com>2016-03-06 20:57:34 -0800
committerTom Tsou <tom.tsou@ettus.com>2016-03-08 17:45:53 -0800
commit8ee2f38a87df07462467865cde16ab7e7508bd0e (patch)
tree96215f78c22626c785d06d41eb6062d976a4e387 /Transceiver52M/sigProcLib.h
parent4dfd64aa9e76af012b3cc0b6a73bbbcf3644d8e1 (diff)
sigproc: Add various GSM burst generators
Setup generators for empty, random, and dummy bursts. This moves error prone burst length handling out of the Transceiver and into the signal processing core. Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r--Transceiver52M/sigProcLib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h
index 4f9f849..870eb1a 100644
--- a/Transceiver52M/sigProcLib.h
+++ b/Transceiver52M/sigProcLib.h
@@ -116,6 +116,15 @@ signalVector *modulateEdgeBurst(const BitVector &bits,
/** Generate a EDGE burst with random payload - 4 SPS (625 samples) only */
signalVector *generateEdgeBurst(int tsc);
+/** Generate an empty burst - 4 or 1 SPS */
+signalVector *generateEmptyBurst(int sps, int tn);
+
+/** Generate a normal GSM burst with random payload - 4 or 1 SPS */
+signalVector *genRandNormalBurst(int tsc, int sps, int tn);
+
+/** Generate a dummy GSM burst - 4 or 1 SPS */
+signalVector *generateDummyBurst(int sps, int tn);
+
/** Sinc function */
float sinc(float x);