diff gsm-fw/services/pcm/pcmdata.c @ 1004:c83d3346d4b9

gsm-fw band-aid for voice calls: pcmdata.c: advertise support for FR codec only
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 19 Mar 2016 07:01:54 +0000
parents e60f51f747f5
children
line wrap: on
line diff
--- a/gsm-fw/services/pcm/pcmdata.c	Fri Mar 18 16:37:28 2016 +0000
+++ b/gsm-fw/services/pcm/pcmdata.c	Sat Mar 19 07:01:54 2016 +0000
@@ -134,7 +134,18 @@
   /********************************************************************
    * Field MOBILE CAPABILITIES - MSCAP
    ********************************************************************/
-  #if ((DSP == 34) || (DSP == 35) || (DSP == 36)) // ROM Codes including AMR feature.
+  #if 1
+    /*
+     * FreeCalypso temporary kludge: until we fix our L1,
+     * let's advertise that we only support the FR codec.
+     *
+     * If you would like to experiment with different codec
+     * configurations, you can do so without having to recompile
+     * and reflash the firmware each time: just write a /pcm/MSCAP
+     * file into FFS with whatever setting you wish to try.
+     */
+    0x01, 0x00, 0x00,
+  #elif ((DSP == 34) || (DSP == 35) || (DSP == 36)) // ROM Codes including AMR feature.
     #if (STD == 1) // GSM 900
       #if defined (FAX_AND_DATA) 
         0xB1,   0xC7,   0x00,