changeset 895:1fa8ada742ff

gsm-fw rfcap default: triband for the Pirelli target
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 30 Jun 2015 19:47:12 +0000
parents a714522c925b
children 7c5b129573f6
files gsm-fw/g23m-gsm/rr/rr_csf.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/rr/rr_csf.c	Tue Jun 30 09:13:57 2015 +0000
+++ b/gsm-fw/g23m-gsm/rr/rr_csf.c	Tue Jun 30 19:47:12 2015 +0000
@@ -440,6 +440,15 @@
     FldSetEx (rfcap_stream.power2, rfCap_1900, POWER_CLASS_1);
     FldSetEx (rfcap_stream.power2, rfCap_850,  POWER_CLASS_4);
 
+#if CONFIG_TARGET_PIRELLI
+    /*
+     * This target is known to always be 900/1800/1900 MHz triband,
+     * so let's operate it as such by default.
+     */
+    rfcap_stream.bands &= ~BAND_GSM_850;
+    FldSetEx (rfcap_stream.power2, rfCap_850, 0);
+#endif
+
     /* multi slot classes */
     FldSetEx (rfcap_stream.msGPRS, rfCap_MSC, MSLOT_CLASS_10);