diff gsm-fw/g23m-aci/aci/cmh_smss.c @ 826:b0ac0b8d2d85

fixed the "concatenated SMS" contribution to the link failure with PS included
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 06 Apr 2015 01:25:08 +0000
parents 9b2ed89a1adc
children
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/aci/cmh_smss.c	Mon Apr 06 00:24:07 2015 +0000
+++ b/gsm-fw/g23m-aci/aci/cmh_smss.c	Mon Apr 06 01:25:08 2015 +0000
@@ -1120,7 +1120,7 @@
 
   PURPOSE : For Riv-MMI if conc. is not needed.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PlusCMGS ( T_ACI_CMD_SRC  srcId,
                                    CHAR*          da,
                                    T_ACI_TOA*     toda,
@@ -1134,7 +1134,7 @@
   return sAT_PlusCMGS_Gl(srcId, da, toda, src_data, NULL, sca, tosca,
                            isReply, rAT_PlusCMGS, rAT_PlusCMS);  
 }
-#endif /*#if defined FF_MMI_RIV*/
+
 /*
 +-------------------------------------------------------------------+
 | PROJECT : GSM-PS (6147)    MODULE  : CMH_SMSS                     |
@@ -1158,6 +1158,7 @@
     return sAT_PlusCMGS_Gl(srcId, da, toda, src_data, udh_data, sca, tosca,
                            isReply, rAT_PlusCMGS, rAT_PlusCMS);  
 }
+#endif /*#if defined FF_MMI_RIV*/
 
 /*
  * The following function has been conditioned out for the FreeCalypso build
@@ -1805,7 +1806,7 @@
 
   PURPOSE : For Riv-MMI.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PlusCMSS ( T_ACI_CMD_SRC srcId,
                                    UBYTE         index,
                                    CHAR*         da,
@@ -2141,7 +2142,7 @@
 
   PURPOSE : For Riv-MMI.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PlusCMGD ( T_ACI_CMD_SRC  srcId,
                                    UBYTE          index,
                                    UBYTE          status )
@@ -2339,7 +2340,7 @@
 
   PURPOSE : For Riv-MMI if conc. is not needed.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PlusCMGW ( T_ACI_CMD_SRC  srcId,
                                    SHORT          index,
                                    CHAR*          address,
@@ -2351,11 +2352,6 @@
                                    T_ACI_TOA*     tosca,
                                    SHORT          isReply )
 {
-
-
-
-
-
   TRACE_FUNCTION ("sAT_PlusCMGW ()");
 
     return sAT_PlusCMGW_Gl(srcId, index, address, toa, stat,
@@ -2779,7 +2775,7 @@
 
  #if defined SMI OR defined MFW OR defined FF_MMI_RIV
    smsShrdPrm.errorCB      = rAT_PlusCMS;
-  #endif /* defined SMI OR defined MFW OR defined FF_MMI_RIV */
+ #endif /* defined SMI OR defined MFW OR defined FF_MMI_RIV */
 
   /*
    *-----------------------------------------------------------------
@@ -2908,7 +2904,7 @@
   PURPOSE : New Plus CMGC command for handling the conc module on 
             the Riv-MMI side.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PlusCMGC ( T_ACI_CMD_SRC   srcId,
                                    SHORT           fo,
                                    SHORT           ct,
@@ -3183,7 +3179,7 @@
  #if defined SMI OR defined MFW OR defined FF_MMI_RIV
     smsShrdPrm.rplyCB.cmgc  = rAT_PlusCMGC;
     smsShrdPrm.errorCB      = rAT_PlusCMS;
-  #endif /* defined SMI OR defined MFW OR defined FF_MMI_RIV */
+ #endif /* defined SMI OR defined MFW OR defined FF_MMI_RIV */
 
   /*
    *-------------------------------------------------------------------
@@ -3290,7 +3286,7 @@
   PURPOSE : New Plus CMGR command for handling the conc module on 
             the Riv-MMI side.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PlusCMGR ( T_ACI_CMD_SRC  srcId,
                                    UBYTE          index,
                                    T_ACI_SMS_READ rdMode )
@@ -4344,7 +4340,7 @@
   PURPOSE :  %CMGR command for handling the conc module on 
             the Riv-MMI side.
 */
-#if defined (FF_MMI_RIV) OR !defined TI_PS_FF_CONC_SMS
+#if defined (FF_MMI_RIV) /* OR !defined TI_PS_FF_CONC_SMS */
 GLOBAL T_ACI_RETURN sAT_PercentCMGR ( T_ACI_CMD_SRC  srcId,
                                       UBYTE          index,
                                       T_ACI_SMS_READ rdMode )