Commit Graph

14 Commits

Author SHA1 Message Date
Sylvain Munaut bdb4f8e5ca tuner_e4k: Fix band setting method mask & calls
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 23:36:09 +02:00
Sylvain Munaut 60d88b6ed2 tuner_e4k: Fix closest_arr_idx
The previous method tried to do clever stuff assuming the sequence is
sorted. Unfortunately:

1) this didn't really find the 'closest' match
2) this didn't work for the first or last interval
3) this didn't work for freq slightly above or below the last/first freq

All in all, it's easier to try them all.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 23:35:36 +02:00
Sylvain Munaut 311885441c tuner_e4k: Fix reference to 65535 vs 65536
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 08:47:51 +02:00
Sylvain Munaut 585c6d378a tuner_e4k: Max VCO frequency is 3.9GHz not 3.6GHz
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-29 08:46:48 +02:00
Christian Daniel 4683c1c21a tuner_e4k: add manual i/q correction 2012-03-06 15:29:33 +01:00
Christian Daniel 463a3f9c28 tuner_e4k: add setting for common mode 2012-03-06 14:43:03 +01:00
Harald Welte 31d11c2bf8 tuner_e4k: fix the Y value to b e 65536, not 65535 2012-03-05 23:31:33 +01:00
Harald Welte bab0eb62ce tuner_e4k: Introduce #define for OUT_OF_SPEC operation
The device can be used from 50..1900 MHz and not only 64..1700
2012-03-05 23:29:48 +01:00
Harald Welte 9ce29d79e8 e4k: fix unresolved symbols in dc offset calibration 2012-03-05 18:37:18 +01:00
Harald Welte c4c7c6add5 e4k: add dc offset calibration code 2012-03-05 18:25:11 +01:00
Harald Welte cc42e4df36 e4k: initialize tuner with smalles filters possible 2012-02-29 02:45:06 +01:00
Harald Welte 2a2c03a7b9 fpga related register/field dumping code (abstract) 2012-02-29 01:49:20 +01:00
Harald Welte d5c4d1edc7 Add GPLv3 license header to all our code 2012-01-24 10:25:31 +01:00
Harald Welte d5be5374c5 initial checkin of first driver for OsmoSDR tuner 2011-12-25 01:29:10 +01:00