"Fossies" - the Fresh Open Source Software Archive

Member "erltools/pub/cplusplu/test/uusimStruct.c.res.ref" (5 Jun 2004, 7581 Bytes) of package /linux/misc/old/erltools-4.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /******************************************************************************/
    2 /*  Protection                                                                */
    3 /******************************************************************************/
    4 #ifndef UUSIM_STRUCT
    5 #   define UUSIM_STRUCT 
    6 #   include "commonType.h"
    7 #   include "commonProt.h"
    8 #   ifndef __H2SDL__
    9 #       include "UUSIM_sdef.h"
   10 #   endif
   11     /******************************************************************************/
   12     /*  Uusim encoding/decoding sub-type definitions                               */
   13     /******************************************************************************/
   14 #   define UUSIM_MAX_NODEB_RESOURCE 6
   15     
   16     typedef struct {
   17         CchRcsRbsLinkType   nodeB ;
   18         int                 resourceOccupancy ;
   19     }   FullNodebResourceType ;
   20     
   21     typedef struct {
   22         int                 uplinkScramblingCode ;
   23         int                 nodebResourceNb ;
   24         CchRcsRbsLinkType   nodebResource [UUSIM_MAX_NODEB_RESOURCE];
   25     }   DedicatedPhysicalLinkType ;
   26     
   27     typedef enum { eOvsf_1, eOvsf_2, eOvsf_4, eOvsf_8, eOvsf_16, eOvsf_32
   28         , eOvsf_64, eOvsf_128, eOvsf_256, eOvsf_512 }   ESpreadingFactorType ;
   29     
   30     typedef struct {
   31         DedicatedPhysicalLinkType   physicalUplink ;
   32         int                         connectionFrameNumber ;
   33         TransportChannelIDType      transportChannelId ;
   34     }   UusimDchHeaderType,     *UusimDchHeaderPtrType ;
   35     
   36     /******************************************************************************/
   37     /*  Uusim encoding/decoding type definitions                                  */
   38     /******************************************************************************/
   39     //  Physical Rach Transfer
   40     typedef struct S_UusimPhysicalRachTransfer {
   41         CchRcsRbsLinkType   nodebResource ;
   42         EncodedPduType      fpData ;
   43     }   UusimPhysicalRachTransferType,  *UusimPhysicalRachTransferPtrType ;
   44     
   45     //  Physical Fach Transfer
   46     typedef struct S_UusimPhysicalFachTransfer {
   47         CchRcsRbsLinkType   nodebResource ;
   48         EncodedPduType      fpData ;
   49     }   UusimPhysicalFachTransferType,  *UusimPhysicalFachTransferPtrType ;
   50     
   51     //  Physical Dch Transfer
   52     typedef struct S_UusimPhysicalDchTransfer {
   53         UusimDchHeaderType  header ;
   54         EncodedPduType      fpData ;
   55     }   UusimPhysicalDchTransferType,   *UusimPhysicalDchTransferPtrType ;
   56     
   57     //  Pccpch Start
   58     typedef struct S_UusimPccpchStart {
   59         CchRcsRbsLinkType   nodebResource ;
   60         int                 resourceOccupancy ;
   61         int                 primaryScramblingCode ;
   62         int                 pscPower ;    // -350..150
   63         int                 sscPower ;    // -350..150
   64         int                 cpichPower ;  // -100..500
   65         int                 pccpchPower ; // -350..150
   66     }   UusimPccpchStartType,   *UusimPccpchStartPtrType ;
   67     
   68     //  Sccpch Start
   69     typedef struct S_UusimSccpchStart {
   70         CchRcsRbsLinkType       nodebResource ;
   71         int                     resourceOccupancy ;
   72         ESpreadingFactorType    spreadingFactor ;
   73         int                     ovsfCodeNumber ;
   74         int                     maxFachPower ; // -350..150
   75         int                     pchPower ;     // -350..150
   76         int                     pichPower ;    // -350..150
   77     }   UusimSccpchStartType,   *UusimSccpchStartPtrType ;
   78     
   79     //  Prach Start
   80     typedef struct S_UusimPrachStart {
   81         CchRcsRbsLinkType       nodebResource ;
   82         int                     resourceOccupancy ;
   83         ESpreadingFactorType    spreadingFactor ;
   84         int                     ovsfCodeNumber ;
   85         int                     aichPower ; // -350..150
   86     }   UusimPrachStartType,    *UusimPrachStartPtrType ;
   87     
   88     //  Dpch Start
   89     typedef struct S_UusimDpchStart {
   90         CchRcsRbsLinkType       nodebResource ;
   91         int                     resourceOccupancy ;
   92         int                     ulScramblingCode ;
   93         int                     minUlChannelCodeLength ;
   94         int                     punctureLimit ;
   95         int                     dpcchSlotFormat ;
   96         int                     ulSirTarget ;
   97         ESpreadingFactorType    spreadingFactor ;
   98         int                     ovsfCodeNumber ;
   99         int                     initialDlTransmissionPower ;
  100         int                     maximumDlPower ;
  101         int                     minimumDlPower ;
  102     }   UusimDpchStartType,     *UusimDpchStartPtrType ;
  103     
  104     //  Dpch Stop
  105     typedef struct S_UusimDpchStop {
  106         CchRcsRbsLinkType   nodebResource ;
  107         int                 resourceOccupancy ;
  108     }   UusimDpchStopType,  *UusimDpchStopPtrType ;
  109     
  110     //  Uplink Radio Link Quality
  111     typedef struct S_UusimUplinkRadioLinkQuality {
  112         CchRcsRbsLinkType   nodebResource ;
  113         int                 resourceOccupancy ;
  114         int                 rscpMeasurement ;
  115         int                 iscpMeasurement ;
  116         int                 sirMeasurement ; // (also named Ec/Io)
  117     }   UusimUplinkRadioLinkQualityType,    *UusimUplinkRadioLinkQualityPtrType ;
  118     
  119     //  Cell Measurement
  120     typedef struct S_UusimCellMeasurement {
  121         CchRcsRbsLinkType   nodebResource ;
  122         int                 transmittedCarrierPower ;
  123         int                 receivedTotalWideBandPower ;
  124     }   UusimCellMeasurementType,   *UusimCellMeasurementPtrType ;
  125     
  126     /* -------------------------------------------------------------------------- */
  127     /* General structures                                                         */
  128     /* -------------------------------------------------------------------------- */
  129     typedef enum { UusimReport_Success, UusimReport_UnknownMessage }    UusimReportType ;
  130     typedef enum E_UusimMessageIdType { id_UusimUnknownMessage
  131         , id_UusimPhysicalRachTransfer, id_UusimPhysicalFachTransfer
  132         , id_UusimPhysicalDchTransfer, id_UusimPccpchStart
  133         , id_UusimSccpchStart, id_UusimPrachStart, id_UusimDpchStart
  134         , id_UusimDpchStop, id_UusimUplinkRadioLinkQuality
  135         , id_UusimCellMeasurement } UusimMessageIdType ;
  136     
  137     /* Uusim message */
  138     typedef struct S_UusimMessageType {
  139         UusimMessageIdType  messageId ;
  140         
  141         union {
  142             UusimPhysicalRachTransferPtrType    pPhysicalRachTransfer ;
  143             UusimPhysicalFachTransferPtrType    pPhysicalFachTransfer ;
  144             UusimPhysicalDchTransferPtrType pPhysicalDchTransfer ;
  145             UusimPccpchStartPtrType pPccpchStart ;
  146             UusimSccpchStartPtrType pSccpchStart ;
  147             UusimPrachStartPtrType  pPrachStart ;
  148             UusimDpchStartPtrType   pDpchStart ;
  149             UusimDpchStopPtrType    pDpchStop ;
  150             UusimUplinkRadioLinkQualityPtrType  pUplinkRadioLinkQuality ;
  151             UusimCellMeasurementPtrType pCellMeasurement ;
  152         }                    u ;
  153         UusimReportType     report ;
  154     }   DecodedUusimPduType,    *DecodedUusimPduPtrType ;
  155     
  156   /******************************************************************************/
  157   /*  Protection                                                                */
  158   /******************************************************************************/
  159 #endif
  160 
  161 /* UUSIM_STRUCT */
  162 /******************************************************************************/
  163 /*                               END OF FILE                                  */
  164 /******************************************************************************/
  165