summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/rffe.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2012-10-19 23:07:39 +0200
committerSylvain Munaut <tnt@246tNt.com>2013-01-02 20:44:11 +0100
commit1ccc9f88229f51fdeb4823599a304b22f4b72374 (patch)
treedb8b4dfa3c346426edc11b35871708703e5e85b8 /src/target/firmware/include/rffe.h
parentf853f92e4712a629ccaa5e79b97aa9340d8d9123 (diff)
target: Add support for IQ swap when required
Operation in GSM850 band requires IQ swap because of the offset PLL used in the TRF causing spectrum reversal. Thanks to Dieter Spaar for noticing the issue and the original patch Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/include/rffe.h')
-rw-r--r--src/target/firmware/include/rffe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/target/firmware/include/rffe.h b/src/target/firmware/include/rffe.h
index 63a3a4b5..02fc1fda 100644
--- a/src/target/firmware/include/rffe.h
+++ b/src/target/firmware/include/rffe.h
@@ -25,6 +25,9 @@ enum rffe_port
uint32_t rffe_get_rx_ports(void);
uint32_t rffe_get_tx_ports(void);
+/* IQ swap requirements */
+int rffe_iq_swapped(uint16_t band_arfcn, int tx);
+
/* get current gain of RF frontend (anything between antenna and baseband in dBm */
uint8_t rffe_get_gain(void);