comparison gsm-fw/g23m-aci/aci/psa_ccf.c @ 807:1385f2c30ad8

aci: psa_cc?.c done
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Apr 2015 07:07:26 +0000
parents eedbf248bac0
children
comparison
equal deleted inserted replaced
806:6ce960359fee 807:1385f2c30ad8
21 21
22 #ifndef PSA_CCF_C 22 #ifndef PSA_CCF_C
23 #define PSA_CCF_C 23 #define PSA_CCF_C
24 #endif 24 #endif
25 25
26 #include "config.h"
27 #include "fixedconf.h"
28 #include "condat-features.h"
29 #include "aci_conf.h"
30
26 #include "aci_all.h" 31 #include "aci_all.h"
27 32
28 #undef TRACING 33 #undef TRACING
29 34
30 /*==== INCLUDES ===================================================*/ 35 /*==== INCLUDES ===================================================*/
205 } 210 }
206 return( -1 ); 211 return( -1 );
207 } 212 }
208 213
209 214
210
211 /* 215 /*
212 +-------------------------------------------------------------------+ 216 +-------------------------------------------------------------------+
213 | PROJECT : GSM-PS (6147) MODULE : PSA_CCF | 217 | PROJECT : GSM-PS (6147) MODULE : PSA_CCF |
214 | ROUTINE : psaCC_ctbFindTi | 218 | ROUTINE : psaCC_ctbFindTi |
215 +-------------------------------------------------------------------+ 219 +-------------------------------------------------------------------+
323 for( ctbIdx = 0; ctbIdx < MAX_CALL_NR; ctbIdx++ ) 327 for( ctbIdx = 0; ctbIdx < MAX_CALL_NR; ctbIdx++ )
324 { 328 {
325 T_CC_CALL_TBL *ctbx = ccShrdPrm.ctb[ctbIdx]; 329 T_CC_CALL_TBL *ctbx = ccShrdPrm.ctb[ctbIdx];
326 330
327 if (ctbx NEQ NULL && ctbx->calStat EQ CS_ACT) 331 if (ctbx NEQ NULL && ctbx->calStat EQ CS_ACT)
328 activeCallNum++; 332 activeCallNum++;
329 } 333 }
330 return activeCallNum; 334 return activeCallNum;
331 } 335 }
332 //end 336 //end
333 337
366 } 370 }
367 } 371 }
368 372
369 return( FALSE ); 373 return( FALSE );
370 } 374 }
371
372
373
374 375
375 376
376 /* 377 /*
377 +-------------------------------------------------------------------+ 378 +-------------------------------------------------------------------+
378 | PROJECT : GSM-PS (6147) MODULE : PSA_CCF | 379 | PROJECT : GSM-PS (6147) MODULE : PSA_CCF |
897 (ctbx->calStat EQ CS_CPL_REQ) OR 898 (ctbx->calStat EQ CS_CPL_REQ) OR
898 (ctbx->calStat EQ CS_MDF_REQ)) 899 (ctbx->calStat EQ CS_MDF_REQ))
899 { 900 {
900 //TISH: open vocoder if there is active call 901 //TISH: open vocoder if there is active call
901 if (ctbx->calStat EQ CS_ACT) 902 if (ctbx->calStat EQ CS_ACT)
902 { 903 {
903 user_attach = TRUE; 904 user_attach = TRUE;
904 break; 905 break;
905 } 906 }
906 if (ccShrdPrm.TCHasg NEQ TRUE) 907 if (ccShrdPrm.TCHasg NEQ TRUE)
907
908 { 908 {
909 /* CCBS: 4.08/5.4.4.2ff do not connect to the in-band tone/announcement 909 /* CCBS: 4.08/5.4.4.2ff do not connect to the in-band tone/announcement
910 */ 910 */
911 } 911 }
912 else 912 else
913 { 913 {
914 user_attach = TRUE; 914 user_attach = TRUE;
915 break; 915 break;
916 }
916 } 917 }
917 } 918 }
918 919 }
919 }
920 }
921 } 920 }
922 921
923 hl_drv_set_vocoder_state(user_attach); 922 hl_drv_set_vocoder_state(user_attach);
924 923
925 /* Implements Measure#32: Row 1237 & 1238 */ 924 /* Implements Measure#32: Row 1237 & 1238 */
963 return; 962 return;
964 break; 963 break;
965 default: 964 default:
966 return; 965 return;
967 } 966 }
968
969 967
970 psaCC_phbSrchNumPlnTxt( numBuf, &maxLen, &psaCC_ctb(cId)->alphIdUni ); 968 psaCC_phbSrchNumPlnTxt( numBuf, &maxLen, &psaCC_ctb(cId)->alphIdUni );
971 969
972 return; 970 return;
973 } 971 }
1650 ntry.day = rtc_time.day; 1648 ntry.day = rtc_time.day;
1651 ntry.hour = rtc_time.hour; 1649 ntry.hour = rtc_time.hour;
1652 ntry.minute = rtc_time.minute; 1650 ntry.minute = rtc_time.minute;
1653 ntry.second = rtc_time.second; 1651 ntry.second = rtc_time.second;
1654 #endif 1652 #endif
1655
1656
1657
1658
1659
1660 1653
1661 } 1654 }
1662 1655
1663 #ifdef TI_PS_FFS_PHB 1656 #ifdef TI_PS_FFS_PHB
1664 ntry.v_line = TRUE; 1657 ntry.v_line = TRUE;