changeset 166:772c754cb3c9

src/g23m-aci/aci: progress toward compilation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 03:43:18 +0000
parents b0e6b861deba
children b135e1505ae4
files src/g23m-aci/aci/cmh_ccs.c src/g23m-aci/aci/gaci_ret.c
diffstat 2 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/g23m-aci/aci/cmh_ccs.c	Tue Oct 11 03:19:56 2016 +0000
+++ b/src/g23m-aci/aci/cmh_ccs.c	Tue Oct 11 03:43:18 2016 +0000
@@ -1079,10 +1079,20 @@
   }
 #endif /* FAX_AND_DATA */
 
-/* 
+  /* 
    * 3GPP standard 27007 
    * (+CVHU)
+   *
+   * FreeCalypso note: +CVHU support was not present in the TCS211 version
+   * of ACI, but it appears in the version we got from the LoCosto source.
+   * The following stanza is a new addition with this LoCosto version,
+   * and it was broken for our sans-PSI configuration: the reference to
+   * to psiShrdPrm only works when PSI is there, and it is a compilation
+   * failure otherwise.  The conditional on FF_PSI and the #else version
+   * have been added by Space Falcon; the correctness of the latter is
+   * not yet known.
    */
+#ifdef FF_PSI
   if( ccShrdPrm.cvhu EQ CVHU_DropDTR_ATH_IGNORED OR
     ((psiShrdPrm.dtr_clearcall EQ TRUE) AND 
      (ccShrdPrm.cvhu EQ CVHU_DropDTR_IGNORED)) )
@@ -1090,6 +1100,11 @@
     psiShrdPrm.dtr_clearcall = FALSE;  
     return (AT_CMPL);
   }
+#else
+  if( ccShrdPrm.cvhu EQ CVHU_DropDTR_ATH_IGNORED )
+    return (AT_CMPL);
+#endif
+
 /*
  *-------------------------------------------------------------------
  * check for a call with CCBS possible
--- a/src/g23m-aci/aci/gaci_ret.c	Tue Oct 11 03:19:56 2016 +0000
+++ b/src/g23m-aci/aci/gaci_ret.c	Tue Oct 11 03:43:18 2016 +0000
@@ -633,7 +633,7 @@
   PURPOSE : inform over the network initiated QOS modification
 
 */
-GLOBAL void rAT_changedQOS( U8 cid, T_PS_qos *qos )
+GLOBAL void rAT_changedQOS( SHORT cid, T_PS_qos *qos )
 {
 
   TRACE_FUNCTION("rAT_changedQOS()");