increase forceable IF range to 2000-3000 MHz
This commit is contained in:
@ -36,10 +36,10 @@
|
||||
#define MIN_LP_FREQ_MHZ (0)
|
||||
#define MAX_LP_FREQ_MHZ (2170ULL)
|
||||
|
||||
#define ABS_MIN_BYPASS_FREQ_MHZ (2150ULL)
|
||||
#define ABS_MIN_BYPASS_FREQ_MHZ (2000ULL)
|
||||
#define MIN_BYPASS_FREQ_MHZ (MAX_LP_FREQ_MHZ)
|
||||
#define MAX_BYPASS_FREQ_MHZ (2740ULL)
|
||||
#define ABS_MAX_BYPASS_FREQ_MHZ (2750ULL)
|
||||
#define ABS_MAX_BYPASS_FREQ_MHZ (3000ULL)
|
||||
|
||||
#define MIN_HP_FREQ_MHZ (MAX_BYPASS_FREQ_MHZ)
|
||||
#define MID1_HP_FREQ_MHZ (3600ULL)
|
||||
|
@ -94,10 +94,10 @@ int gettimeofday(struct timeval* tv, void* ignored)
|
||||
#define FREQ_MIN_HZ (1000000ll) /* 1MHz */
|
||||
#define FREQ_MAX_HZ (6000000000ll) /* 6000MHz */
|
||||
#define FREQ_ABS_MAX_HZ (7250000000ll) /* 7250MHz */
|
||||
#define IF_ABS_MIN_HZ (2150000000ll)
|
||||
#define IF_ABS_MIN_HZ (2000000000ll)
|
||||
#define IF_MIN_HZ (2170000000ll)
|
||||
#define IF_MAX_HZ (2740000000ll)
|
||||
#define IF_ABS_MAX_HZ (2750000000ll)
|
||||
#define IF_ABS_MAX_HZ (3000000000ll)
|
||||
#define LO_MIN_HZ (84375000ll)
|
||||
#define LO_MAX_HZ (5400000000ll)
|
||||
#define DEFAULT_LO_HZ (1000000000ll)
|
||||
|
@ -1458,12 +1458,12 @@ int ADDCALL hackrf_set_freq_explicit(
|
||||
|
||||
/*
|
||||
* Restriction to the range 2170-2740 MHz is strongly recommended for
|
||||
* HackRF One and Jawbreaker. We permit IF as low as 2150 MHz and as
|
||||
* high as 2750 MHz for backwards compatibility and for
|
||||
* experimentation, but settings outside the recommended range may not
|
||||
* work on all devices.
|
||||
* HackRF One and Jawbreaker. We permit IF as low as 2000 MHz and as
|
||||
* high as 3000 MHz for backwards compatibility and for
|
||||
* experimentation, but settings outside the recommended range are
|
||||
* unlikely to work.
|
||||
*/
|
||||
if (if_freq_hz < 2150000000 || if_freq_hz > 2750000000) {
|
||||
if (if_freq_hz < 2000000000 || if_freq_hz > 3000000000) {
|
||||
return HACKRF_ERROR_INVALID_PARAM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user