Transceiver52M: Default to 1 sample-per-symbol low powered devices
This includes ARM Cortex A8 and A15 powered device such as Beagle Board, Gumstix driven E100 USRP, and Arndale board. Set the reduced SPS value automatically for the user. For x86, if we don't support SSE3, then the architecture is probably ancient and not with using. Drop the sampling down anyways to at least make an attempt. Non floating point SIMD devices (e.g. Raspberry Pi) also fall in this category Signed-off-by: Thomas Tsou <tom@tsou.cc>
This commit is contained in:
parent
f79c4d06ff
commit
7940335586
|
@ -23,7 +23,9 @@
|
|||
|
||||
*/
|
||||
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "Transceiver.h"
|
||||
#include "radioDevice.h"
|
||||
|
@ -42,9 +44,14 @@
|
|||
* 1 - Uses minimized modulator (less computation, more distortion)
|
||||
*
|
||||
* Other values are invalid. Receive path (uplink) is always
|
||||
* downsampled to 1 sps
|
||||
* downsampled to 1 sps. Default to 4 sps for all cases except for
|
||||
* ARM and non-SIMD enabled architectures.
|
||||
*/
|
||||
#define SPS 4
|
||||
#if defined(HAVE_NEON) || !defined(HAVE_SSE3)
|
||||
#define SPS 1
|
||||
#else
|
||||
#define SPS 4
|
||||
#endif
|
||||
|
||||
ConfigurationTable gConfig(CONFIGDB);
|
||||
|
||||
|
|
Loading…
Reference in New Issue