diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2015-05-18 13:57:54 -0700 |
---|---|---|
committer | Tom Tsou <tom.tsou@ettus.com> | 2015-05-18 16:35:35 -0700 |
commit | 577cd020c16e8d74d7464ea59157e7a44cbb6683 (patch) | |
tree | cdf1912d07046590d17c832a35e64c29262f194e /Transceiver52M/sigProcLib.h | |
parent | 88bbf1aafd4c5701608a319693a8e69222981eba (diff) |
sigproc: Add clipping detection on RACH and TSC input
Alert user of overdriven burst input indicated by a positive
threshold detector result. This indication serves as notification
that the receive RF gain level is too high for the configured
transceiver setup.
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
Diffstat (limited to 'Transceiver52M/sigProcLib.h')
-rw-r--r-- | Transceiver52M/sigProcLib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Transceiver52M/sigProcLib.h b/Transceiver52M/sigProcLib.h index 147c14c..f7f6259 100644 --- a/Transceiver52M/sigProcLib.h +++ b/Transceiver52M/sigProcLib.h @@ -28,6 +28,14 @@ enum ConvType { UNDEFINED, }; +enum signalError { + SIGERR_NONE, + SIGERR_BOUNDS, + SIGERR_CLIP, + SIGERR_UNSUPPORTED, + SIGERR_INTERNAL, +}; + /** Convert a linear number to a dB value */ float dB(float x); |