Home | History | Annotate | Download | only in include
      1 /* ------------------------------------------------------------------
      2  * Copyright (C) 1998-2009 PacketVideo
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
     13  * express or implied.
     14  * See the License for the specific language governing permissions
     15  * and limitations under the License.
     16  * -------------------------------------------------------------------
     17  */
     18 #ifndef TSC_CONSTANTS_H_INCLUDED
     19 #define TSC_CONSTANTS_H_INCLUDED
     20 
     21 #define TSC_INCOMING_CHANNEL_MASK (1<<16)
     22 
     23 typedef enum _status
     24 {
     25     Phase0_Idle = 1 ,
     26     PhaseA          ,
     27     PhaseB          ,
     28     PhaseC          ,
     29     PhaseD_CSUP     ,  /* Call Setup */
     30     PhaseE_Comm     ,  /* Ongoing Communication */
     31     PhaseF_Clc      ,  /* Closing all outgoing LCNs */
     32     PhaseF_End      ,  /* End of Session */
     33     PhaseG_Dis
     34 } ENUM_Status;
     35 
     36 
     37 /* From tsc_lc.h */
     38 #define     RELEASE_REJECT      1           /* RELEASE.request(LC) - Reject  */
     39 #define     RELEASE_CLOSE       2           /* RELEASE.request(LC) - Close   */
     40 
     41 
     42 #define PV_TSC_WAITING_FOR_OBLC_TIMER_ID 4
     43 
     44 
     45 #define  TSC_CE_SEND           0
     46 #define  TSC_CE_RECEIVE        1
     47 #define  TSC_MSD               2
     48 #define  TSC_MSD_RECEIVE       12
     49 #define  TSC_MT_SEND           3
     50 #define  TSC_MT_RECEIVE        4
     51 #define  TSC_LC_AUDIO_SEND     5
     52 #define  TSC_LC_AUDIO_RECEIVE  6
     53 #define  TSC_LC_VIDEO_SEND     7    // I may need to modify this to accom * /
     54 #define  TSC_LC_VIDEO_RECEIVE  8    // *  both Uni- and Bi- cases. * /
     55 //-----------------------------* /
     56 #define  TSC_MSD_DECISION      9    // * either MASTER or SLAVE * /
     57 #define  TSC_MSD_RETRYCOUNT    10
     58 #define  TSC_MUXTABLE_CHANGE   11   // * Mux Table Change Flag * /
     59 //----------------------------- * /
     60 #define  MAX_TSC_STATES        13   // * Max number of states * /
     61 
     62 
     63 #define NOT_STARTED   0
     64 #define STARTED       1
     65 #define COMPLETE      2
     66 #define WAIT_FOR_OLC  3  // BLC Open; We have received Reject(URP) and
     67 
     68 
     69 /* MasterSlaveDetermination Decision */
     70 #define MASTER 0
     71 #define SLAVE 1
     72 
     73 #define N100_DEFAULT 3
     74 
     75 
     76 #endif
     77 
     78