1914 lines
61 KiB
C
1914 lines
61 KiB
C
|
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||
|
|
||
|
File: OCTVC1_GSM_API.h
|
||
|
|
||
|
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||
|
|
||
|
Description: Contains the definition of the GSM API.
|
||
|
|
||
|
This program is free software; you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation; either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License along
|
||
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||
|
|
||
|
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||
|
|
||
|
$Revision: $
|
||
|
|
||
|
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||
|
|
||
|
#ifndef __OCTVC1_GSM_API_H__
|
||
|
#define __OCTVC1_GSM_API_H__
|
||
|
|
||
|
|
||
|
/***************************** INCLUDE FILES *******************************/
|
||
|
#include "../../octdev_types.h"
|
||
|
#include "../../octdev_devices.h"
|
||
|
#include "../octvc1_msg.h"
|
||
|
#include "../octvc1_handle.h"
|
||
|
#include "../octvc1_cursor.h"
|
||
|
#include "../octvc1_list.h"
|
||
|
#include "../octvc1_fifo.h"
|
||
|
#include "../octvc1_file.h"
|
||
|
#include "../octvc1_radio.h"
|
||
|
|
||
|
#include "octvc1_gsm_id.h"
|
||
|
#include "octvc1_gsm_rc.h"
|
||
|
|
||
|
/************************ COMMON DEFINITIONS *******************************/
|
||
|
|
||
|
#define cOCTVC1_GSM_HOPPING_LIST_MAX_ENTRY 64 /* This is the maximum number of entries in a hopping list */
|
||
|
#define cOCTVC1_GSM_PHYSICAL_MIN_TIMESLOT_NUMBER 0 /* Minimum value of the Physical timeslot number. */
|
||
|
#define cOCTVC1_GSM_PHYSICAL_MAX_TIMESLOT_NUMBER 7 /* Maximum value of the Physical timeslot number. */
|
||
|
#define cOCTVC1_GSM_TRX_MAX_TIMESLOTS (cOCTVC1_GSM_PHYSICAL_MAX_TIMESLOT_NUMBER+1) /* This is the number of timeslots associated with a TRX. */
|
||
|
#define cOCTVC1_GSM_TIMESLOT_MIN_SUBCHANNEL_NUMBER 0 /* Minimum value of the timeslot sub-channel number. */
|
||
|
#define cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL_NUMBER 7 /* Maximum value of the timeslot sub-channel number. */
|
||
|
#define cOCTVC1_GSM_TIMESLOT_ALL_SUBCHANNEL_NUMBER 0xF1 /* Value used to specified an unused timeslot sub-channel. */
|
||
|
#define cOCTVC1_GSM_TIMESLOT_ALL_SUBCHANNEL_ENTRY_INDEX 8 /* Value used to specified the entry index used for ALL_SUBCHANNEL in subchannel */
|
||
|
/* array. */
|
||
|
#define cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL (cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL_NUMBER+2) /* This is the number of subchannels associated with a timeslot. */
|
||
|
#define cOCTVC1_GSM_MAX_FRAME_COUNT 2715647 /* Max frame tick count. */
|
||
|
#define cOCTVC1_GSM_DATA_CONTENT_SIZE 468 /* Data content buffer size in bytes. */
|
||
|
#define cOCTVC1_GSM_RATE_LIST_SIZE 4 /* Rate list size. */
|
||
|
#define cOCTVC1_GSM_RACH_IND_MSG_SIZE 32 /* RACH indication content buffer size. */
|
||
|
#define cOCTVC1_GSM_TRX_ID_LIST_MAX_ENTRY 32 /* Maximum number of TRX_ID per list. */
|
||
|
#define cOCTVC1_GSM_PHYSICAL_CHANNEL_ID_LIST_MAX_ENTRY 32 /* Maximum number of PHYSICAL_CHANNEL_ID per list. */
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_ID_LIST_MAX_ENTRY 128 /* Maximum number of LOGICAL_CHANNEL_ID per list. */
|
||
|
#define cOCTVC1_GSM_CIPHER_KEY_LENGTH 8 /* Cipher key bytes count. */
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_CMI_PHASE_ENUM : CMI phase.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_CMI_PHASE_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_CMI_PHASE_ENUM_EVEN 0
|
||
|
#define cOCTVC1_GSM_CMI_PHASE_ENUM_ODD 1
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_AMR_CODEC_MODE_ENUM : AMR codec mode.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_AMR_CODEC_MODE_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_4_75 0x00
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_5_15 0x01
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_5_90 0x02
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_6_70 0x03
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_7_40 0x04
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_7_95 0x05
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_10_2 0x07
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_12_2 0x08
|
||
|
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_UNSET 0x0f
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_ID_DIRECTION_ENUM : Sub Channel Direction.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_ID_DIRECTION_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_NONE 0
|
||
|
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_RX_BTS_MS 1
|
||
|
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_BTS_MS 3
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_DIRECTION_ENUM : Sub Channel Direction.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_DIRECTION_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_DIRECTION_ENUM_NONE cOCTVC1_GSM_ID_DIRECTION_ENUM_NONE
|
||
|
#define cOCTVC1_GSM_DIRECTION_ENUM_RX_BTS_MS cOCTVC1_GSM_ID_DIRECTION_ENUM_RX_BTS_MS
|
||
|
#define cOCTVC1_GSM_DIRECTION_ENUM_TX_BTS_MS cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_BTS_MS
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM : Time slot number.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0 0
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_1 1
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_2 2
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_3 3
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_4 4
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_5 5
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_6 6
|
||
|
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_7 7
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TIMESLOT_NB_ENUM : Time slot number.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_TIMESLOT_NB_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_0 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_1 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_1
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_2 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_2
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_3 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_3
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_4 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_4
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_5 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_5
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_6 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_6
|
||
|
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_7 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_7
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM : Sub Channel number.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0 0
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_1 1
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_2 2
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_2 2
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_3 3
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_4 4
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_5 5
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_6 6
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_7 7
|
||
|
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_ALL 0xF1
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_SUB_CHANNEL_NB_ENUM : Sub Channel number.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_SUB_CHANNEL_NB_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_0 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_1 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_1
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_2 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_2
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_3 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_3
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_4 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_4
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_5 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_5
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_6 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_6
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_7 cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_7
|
||
|
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_ALL cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_ALL
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_CIPHERING_ID_ENUM : Sub Channel Direction.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_CIPHERING_ID_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_UNUSED 0
|
||
|
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_0 1
|
||
|
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_1 2
|
||
|
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_2 3
|
||
|
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_3 4
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_SUBCHANNEL_MASK : Sub channel Mask.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_SUBCHANNEL_MASK tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_0 ((tOCT_UINT32)(1<<0) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_1 ((tOCT_UINT32)(1<<1) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_2 ((tOCT_UINT32)(1<<2) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_3 ((tOCT_UINT32)(1<<3) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_4 ((tOCT_UINT32)(1<<4) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_5 ((tOCT_UINT32)(1<<5) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_6 ((tOCT_UINT32)(1<<6) )
|
||
|
#define cOCTVC1_GSM_SUBCHANNEL_MASK_7 ((tOCT_UINT32)(1<<7) )
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_BURST_TYPE_ENUM : Burst type.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_BURST_TYPE_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_SYNC 0
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_NORMAL 1
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_DUMMY 2
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_NORMAL_8PSK 3
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_0 4
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_1 5
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_2 6
|
||
|
#define cOCTVC1_GSM_BURST_TYPE_ENUM_FREQ_CORRECTION 7
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM : Timeslot channel type.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_EMPTY 0
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHF_FACCHF_SACCHTF 1
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHH_FACCHH_SACCHTH 2
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH 3
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_SACCHC4 4
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_SACCHC8 5
|
||
|
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_PDTCHF_PACCHF_PTCCHF 6
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_PAYLOAD_TYPE_ENUM :
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_PAYLOAD_TYPE_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_NONE 0
|
||
|
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_FULL_RATE 1
|
||
|
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_ENH_FULL_RATE 2
|
||
|
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_HALF_RATE 3
|
||
|
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_AMR_FULL_RATE 4
|
||
|
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_AMR_HALF_RATE 5
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_SAPI_ENUM : Timeslot channel type.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_SAPI_ENUM tOCT_UINT8
|
||
|
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_IDLE 0
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_FCCH 1 /* Frequency Correction burst pseudo-Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_SCH 2 /* Synchronization channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_SACCH 3 /* Slow Associated Control Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_SDCCH 4 /* Stand-Alone Dedicated Control Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_BCCH 5 /* Broadcast Control Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PCH_AGCH 7 /* Paging and Access Grant Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_CBCH 8 /* Cell Broadcast Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_RACH 9 /* Random Access Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_TCHF 10 /* Full rate speech TCH */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_FACCHF 11 /* Full rate FACCH */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_TCHH 12 /* Half rate speech TCH */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_FACCHH 13 /* Half rate FACCH */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_NCH 14 /* Notification Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PDTCH 15 /* EGPRS Packet Data Traffic Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PACCH 16 /* EGPRS Packet Associated Control Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PBCCH 17 /* EGPRS Packet Broadcast Control Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PAGCH 18 /* EGPRS Packet Access Grant Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PPCH 19 /* EGPRS Packet Paging Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PNCH 20 /* EGPRS Packet Notification Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PTCCH 21 /* EGPRS Packet Timing advance Control Channel */
|
||
|
#define cOCTVC1_GSM_SAPI_ENUM_PRACH 22 /* EGPRS Packet Random Access Channel */
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_SAPI_MASK : SAPI_MASK
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_SAPI_MASK tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_IDLE ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_IDLE) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_FCCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_FCCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_SCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_SCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_SACCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_SACCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_SDCCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_SDCCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_BCCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_BCCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PCH_AGCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PCH_AGCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_CBCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_CBCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_RACH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_RACH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_TCHF ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_TCHF) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_FACCHF ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_FACCHF) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_TCHH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_TCHH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_FACCHH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_FACCHH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_NCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_NCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PDTCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PDTCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PACCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PACCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PBCCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PBCCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PAGCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PAGCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PPCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PPCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PNCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PNCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PTCCH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PTCCH) )
|
||
|
#define cOCTVC1_GSM_SAPI_MASK_PRACH ((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PRACH) )
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TRX_ID
|
||
|
|
||
|
Members:
|
||
|
byTrxId
|
||
|
Default: 0
|
||
|
abyPad
|
||
|
Reserved to align following member.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT8 byTrxId;
|
||
|
tOCT_UINT8 abyPad[3];
|
||
|
|
||
|
} tOCTVC1_GSM_TRX_ID;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TRX_ID_CURSOR
|
||
|
|
||
|
Members:
|
||
|
TrxId
|
||
|
Default: 0
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_TRX_ID_CURSOR;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TRX_ID_GET_CURSOR
|
||
|
|
||
|
Members:
|
||
|
TrxId
|
||
|
ulGetMode
|
||
|
Default: cOCTVC1_OBJECT_CURSOR_ENUM_FIRST
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_OBJECT_CURSOR_ENUM ulGetMode;
|
||
|
|
||
|
} tOCTVC1_GSM_TRX_ID_GET_CURSOR;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK : TRX_BAND
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK tOCT_UINT16
|
||
|
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT0 ((tOCT_UINT16)(1<<15) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT1 ((tOCT_UINT16)(1<<14) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT2 ((tOCT_UINT16)(1<<13) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT3 ((tOCT_UINT16)(1<<12) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT4 ((tOCT_UINT16)(1<<11) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT5 ((tOCT_UINT16)(1<<10) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT0 ((tOCT_UINT16)(1<<9) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT1 ((tOCT_UINT16)(1<<8) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT2 ((tOCT_UINT16)(1<<7) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT3 ((tOCT_UINT16)(1<<6) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_HOPPING ((tOCT_UINT16)(1<<5) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT0 ((tOCT_UINT16)(1<<4) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT1 ((tOCT_UINT16)(1<<3) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT2 ((tOCT_UINT16)(1<<2) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT3 ((tOCT_UINT16)(1<<1) )
|
||
|
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT4 ((tOCT_UINT16)(1<<0) )
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_RF_CONFIG
|
||
|
RF configuration
|
||
|
|
||
|
Members:
|
||
|
ulRxGainDb
|
||
|
Range: [0..73]
|
||
|
Default: 70
|
||
|
Rx Gain Db (1 dB step)
|
||
|
ulTxAttndB
|
||
|
Range: [0..359]
|
||
|
Tx attenuation Db. (in 1/4 dB)
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulRxGainDb;
|
||
|
tOCT_UINT32 ulTxAttndB;
|
||
|
|
||
|
} tOCTVC1_GSM_RF_CONFIG;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TRX_CONFIG
|
||
|
|
||
|
Members:
|
||
|
ulBand
|
||
|
usTsc
|
||
|
Range: [0..31]
|
||
|
Default: 0
|
||
|
usArfcn
|
||
|
usBcchArfcn
|
||
|
usHsn
|
||
|
usMaio
|
||
|
usReserve
|
||
|
ulHoppingFlag
|
||
|
ulHoppingListLength
|
||
|
ausHoppingList
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM ulBand;
|
||
|
tOCT_UINT16 usTsc;
|
||
|
tOCT_UINT16 usArfcn;
|
||
|
tOCT_UINT16 usBcchArfcn;
|
||
|
tOCT_UINT16 usHsn;
|
||
|
tOCT_UINT16 usMaio;
|
||
|
tOCT_UINT16 usReserve;
|
||
|
tOCT_BOOL32 ulHoppingFlag;
|
||
|
tOCT_UINT32 ulHoppingListLength;
|
||
|
tOCT_UINT16 ausHoppingList[cOCTVC1_GSM_HOPPING_LIST_MAX_ENTRY];
|
||
|
|
||
|
} tOCTVC1_GSM_TRX_CONFIG;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TRX_STATUS_ENUM : Timeslot channel type.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
#define tOCTVC1_GSM_TRX_STATUS_ENUM tOCT_UINT32
|
||
|
|
||
|
#define cOCTVC1_GSM_TRX_STATUS_ENUM_INVALID 0
|
||
|
#define cOCTVC1_GSM_TRX_STATUS_ENUM_RADIO_READY 1
|
||
|
#define cOCTVC1_GSM_TRX_STATUS_ENUM_RADIO_ERROR 2
|
||
|
#define cOCTVC1_GSM_TRX_STATUS_ENUM_PROCESSING_STOP 3
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID
|
||
|
|
||
|
Members:
|
||
|
byTimeslotNb
|
||
|
Default: cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0
|
||
|
Timeslot number.
|
||
|
abyPad
|
||
|
Reserved to align following member.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM byTimeslotNb;
|
||
|
tOCT_UINT8 abyPad[3];
|
||
|
|
||
|
} tOCTVC1_GSM_PHYSICAL_CHANNEL_ID;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_CURSOR
|
||
|
|
||
|
Members:
|
||
|
PchId
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_CURSOR;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR
|
||
|
|
||
|
Members:
|
||
|
TrxId
|
||
|
PchId
|
||
|
ulGetMode
|
||
|
Default: cOCTVC1_OBJECT_CURSOR_ENUM_FIRST
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_OBJECT_CURSOR_ENUM ulGetMode;
|
||
|
|
||
|
} tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_SUBCHANNEL_STATUS
|
||
|
|
||
|
Members:
|
||
|
ulSubchannelNb
|
||
|
Sub Channel Number
|
||
|
ulActiveUplinkSAPIMask
|
||
|
ulActiveDownlinkSAPIMask
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulSubchannelNb;
|
||
|
tOCTVC1_GSM_SAPI_MASK ulActiveUplinkSAPIMask;
|
||
|
tOCTVC1_GSM_SAPI_MASK ulActiveDownlinkSAPIMask;
|
||
|
|
||
|
} tOCTVC1_GSM_SUBCHANNEL_STATUS;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_CIPHER_CONFIG
|
||
|
|
||
|
Members:
|
||
|
ulCipherId
|
||
|
abyKey
|
||
|
Cipher Key
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_CIPHERING_ID_ENUM ulCipherId;
|
||
|
tOCT_UINT8 abyKey[cOCTVC1_GSM_CIPHER_KEY_LENGTH];
|
||
|
|
||
|
} tOCTVC1_GSM_CIPHER_CONFIG;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID
|
||
|
|
||
|
Members:
|
||
|
byTimeslotNb
|
||
|
Default: cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0
|
||
|
Timeslot number.
|
||
|
bySubChannelNb
|
||
|
Default: cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0
|
||
|
Sub-Channel number.
|
||
|
bySAPI
|
||
|
Access Point Identifier.
|
||
|
byDirection
|
||
|
Channel direction.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM byTimeslotNb;
|
||
|
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM bySubChannelNb;
|
||
|
tOCTVC1_GSM_SAPI_ENUM bySAPI;
|
||
|
tOCTVC1_GSM_ID_DIRECTION_ENUM byDirection;
|
||
|
|
||
|
} tOCTVC1_GSM_LOGICAL_CHANNEL_ID;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID_CURSOR
|
||
|
|
||
|
Members:
|
||
|
LchId
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_LOGICAL_CHANNEL_ID_CURSOR;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR
|
||
|
|
||
|
Members:
|
||
|
TrxId
|
||
|
LchId
|
||
|
ulGetMode
|
||
|
Default: cOCTVC1_OBJECT_CURSOR_ENUM_FIRST
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
tOCTVC1_OBJECT_CURSOR_ENUM ulGetMode;
|
||
|
|
||
|
} tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG
|
||
|
|
||
|
Members:
|
||
|
byTimingAdvance
|
||
|
byBSIC
|
||
|
byCmiPhase
|
||
|
byInitRate
|
||
|
Default: cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_UNSET
|
||
|
abyRate
|
||
|
Default: cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_UNSET
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT8 byTimingAdvance;
|
||
|
tOCT_UINT8 byBSIC;
|
||
|
tOCTVC1_GSM_CMI_PHASE_ENUM byCmiPhase;
|
||
|
tOCTVC1_GSM_AMR_CODEC_MODE_ENUM byInitRate;
|
||
|
tOCTVC1_GSM_AMR_CODEC_MODE_ENUM abyRate[cOCTVC1_GSM_RATE_LIST_SIZE];
|
||
|
|
||
|
} tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_DATA
|
||
|
|
||
|
Members:
|
||
|
ulFrameNumber
|
||
|
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||
|
ulPayloadType
|
||
|
Default: cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_NONE
|
||
|
ulDataLength
|
||
|
Range: [..cOCTVC1_GSM_DATA_CONTENT_SIZE]
|
||
|
abyDataContent
|
||
|
The data contents are an array of size usDataLength. The current implementation
|
||
|
is incorrect.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulFrameNumber;
|
||
|
tOCTVC1_GSM_PAYLOAD_TYPE_ENUM ulPayloadType;
|
||
|
tOCT_UINT32 ulDataLength;
|
||
|
tOCT_UINT8 abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE];
|
||
|
|
||
|
} tOCTVC1_GSM_LOGICAL_CHANNEL_DATA;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA
|
||
|
|
||
|
Members:
|
||
|
ulFrameNumber
|
||
|
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||
|
ulDataLength
|
||
|
Range: [..cOCTVC1_GSM_DATA_CONTENT_SIZE]
|
||
|
abyDataContent
|
||
|
The data contents are an array of size usDataLength. The current implementation
|
||
|
is incorrect.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulFrameNumber;
|
||
|
tOCT_UINT32 ulDataLength;
|
||
|
tOCT_UINT8 abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE];
|
||
|
|
||
|
} tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MEASUREMENT_INFO
|
||
|
|
||
|
Members:
|
||
|
sSNR
|
||
|
sRSSI
|
||
|
sBurstTiming
|
||
|
usBERCount
|
||
|
usBERTOtalBitCOunt
|
||
|
usRxQualFullUp
|
||
|
usRxLevelFullUp
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_INT16 sSNR;
|
||
|
tOCT_INT16 sRSSI;
|
||
|
tOCT_INT16 sBurstTiming;
|
||
|
tOCT_UINT16 usBERCount;
|
||
|
tOCT_UINT16 usBERTOtalBitCOunt;
|
||
|
tOCT_UINT8 usRxQualFullUp;
|
||
|
tOCT_UINT8 usRxLevelFullUp;
|
||
|
|
||
|
} tOCTVC1_GSM_MEASUREMENT_INFO;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_RAW_MEASUREMENT_INFO
|
||
|
|
||
|
Members:
|
||
|
sSNR
|
||
|
sRSSI
|
||
|
sBurstTiming
|
||
|
usBERCount
|
||
|
usBERTOtalBitCOunt
|
||
|
usTrnSqErrorCount
|
||
|
usTrnSqTotalBitCount
|
||
|
sfrquencyError
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_INT16 sSNR;
|
||
|
tOCT_INT16 sRSSI;
|
||
|
tOCT_INT16 sBurstTiming;
|
||
|
tOCT_UINT16 usBERCount;
|
||
|
tOCT_UINT16 usBERTOtalBitCOunt;
|
||
|
tOCT_UINT16 usTrnSqErrorCount;
|
||
|
tOCT_UINT16 usTrnSqTotalBitCount;
|
||
|
tOCT_INT16 sfrquencyError;
|
||
|
|
||
|
} tOCTVC1_GSM_RAW_MEASUREMENT_INFO;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TIMESLOT_POWER
|
||
|
|
||
|
Members:
|
||
|
ulPowerMax
|
||
|
ulPowerAverage
|
||
|
ulCount
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulPowerMax;
|
||
|
tOCT_UINT32 ulPowerAverage;
|
||
|
tOCT_UINT32 ulCount;
|
||
|
|
||
|
} tOCTVC1_GSM_TIMESLOT_POWER;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_PHYSICAL_STATUS
|
||
|
|
||
|
Members:
|
||
|
ulChannelType
|
||
|
ulSubchannelCount
|
||
|
ulTchDataCrcPassCount
|
||
|
ulTchDataCrcFailCount
|
||
|
ulRachCount
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM ulChannelType;
|
||
|
tOCT_UINT32 ulSubchannelCount;
|
||
|
tOCT_UINT32 ulTchDataCrcPassCount;
|
||
|
tOCT_UINT32 ulTchDataCrcFailCount;
|
||
|
tOCT_UINT32 ulRachCount;
|
||
|
|
||
|
} tOCTVC1_GSM_PHYSICAL_STATUS;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_TIMESLOT_STATUS
|
||
|
|
||
|
Members:
|
||
|
PhysicalStatus
|
||
|
UplinkPower
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_GSM_PHYSICAL_STATUS PhysicalStatus;
|
||
|
tOCTVC1_GSM_TIMESLOT_POWER UplinkPower;
|
||
|
|
||
|
} tOCTVC1_GSM_TIMESLOT_STATUS;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_DL_STATUS
|
||
|
|
||
|
Members:
|
||
|
ulElapseRspCmdMaxUs
|
||
|
Max elapse time waiting for DL process Rsp
|
||
|
ulElapseRspCmdAvgUs
|
||
|
Avg Elapse time waiting for DL process Rsp
|
||
|
ulExpectedDelayExceedCnt
|
||
|
Nb of time TX buffer is not filled fast enough.(Should be 0)
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulElapseRspCmdMaxUs;
|
||
|
tOCT_UINT32 ulElapseRspCmdAvgUs;
|
||
|
tOCT_UINT32 ulExpectedDelayExceedCnt;
|
||
|
|
||
|
} tOCTVC1_GSM_DL_STATUS;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_UL_STATUS
|
||
|
|
||
|
Members:
|
||
|
ulExceedByteMaxCnt
|
||
|
Max exceed data count...Expecting 2512.
|
||
|
ulExpectedDataExceedCnt
|
||
|
Nb of time data count present was higher than a slot.(Should be 0)
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulExceedByteMaxCnt;
|
||
|
tOCT_UINT32 ulExpectedDataExceedCnt;
|
||
|
|
||
|
} tOCTVC1_GSM_UL_STATUS;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_SCHED_STATUS
|
||
|
|
||
|
Members:
|
||
|
ulErrorDataInactiveCnt
|
||
|
Trying to schedule logical channel without available data.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCT_UINT32 ulErrorDataInactiveCnt;
|
||
|
|
||
|
} tOCTVC1_GSM_SCHED_STATUS;
|
||
|
|
||
|
/***************************** METHODS *************************************/
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_OPEN_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
ulRfPortIndex
|
||
|
Unique RF port identifier
|
||
|
TrxId
|
||
|
Logical identifier for TRX
|
||
|
Config
|
||
|
TRX configuration
|
||
|
RfConfig
|
||
|
RF configuration
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_INDEX ulRfPortIndex;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_TRX_CONFIG Config;
|
||
|
tOCTVC1_GSM_RF_CONFIG RfConfig;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_OPEN_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_OPEN_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_OPEN_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_CLOSE_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_CLOSE_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_CLOSE_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_CLOSE_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STATUS_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
ulResetFlag
|
||
|
Reset timeslot stats
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCT_BOOL32 ulResetFlag;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STATUS_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STATUS_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
DlStatus
|
||
|
UlStatus
|
||
|
SchedStatus
|
||
|
aTSlotStatus
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_DL_STATUS DlStatus;
|
||
|
tOCTVC1_GSM_UL_STATUS UlStatus;
|
||
|
tOCTVC1_GSM_SCHED_STATUS SchedStatus;
|
||
|
tOCTVC1_GSM_TIMESLOT_STATUS aTSlotStatus[cOCTVC1_GSM_TRX_MAX_TIMESLOTS];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STATUS_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
ulRfPortIndex
|
||
|
Selected RF port index
|
||
|
Config
|
||
|
TRX configuration
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_INDEX ulRfPortIndex;
|
||
|
tOCTVC1_GSM_TRX_CONFIG Config;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_RESET_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_RESET_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_RESET_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_RESET_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_MODIFY_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
Config
|
||
|
TRX configuration
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_TRX_CONFIG Config;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_MODIFY_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_MODIFY_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_MODIFY_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_LIST_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
TrxIdCursor
|
||
|
Object Cursor.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID_GET_CURSOR TrxIdCursor;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_LIST_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_LIST_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
TrxIdCursor
|
||
|
Object Cursor.
|
||
|
ulNumTrxId
|
||
|
Number of valid TrxId in aTrxId
|
||
|
aTrxId
|
||
|
Array containing the listed TrxId
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID_GET_CURSOR TrxIdCursor;
|
||
|
tOCT_UINT32 ulNumTrxId;
|
||
|
tOCTVC1_GSM_TRX_ID_CURSOR aTrxId[cOCTVC1_GSM_TRX_ID_LIST_MAX_ENTRY];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_LIST_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
ulCloseCount
|
||
|
Number of TRX closed.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCT_UINT32 ulCloseCount;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_START_RECORD_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_START_RECORD_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_START_RECORD_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_START_RECORD_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STOP_RECORD_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STOP_RECORD_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STOP_RECORD_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STOP_RECORD_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Logical Channel identifier
|
||
|
Config
|
||
|
Logical channel config
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG Config;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
usStatus
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
tOCT_UINT16 usStatus;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
Config
|
||
|
Logical channel config
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG Config;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
LchIdCursor
|
||
|
Object Cursor.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR LchIdCursor;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
LchIdCursor
|
||
|
Object Cursor.
|
||
|
ulNumLchId
|
||
|
Number of valid LchId in aLchId
|
||
|
aLchId
|
||
|
Array containing the listed PchId
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR LchIdCursor;
|
||
|
tOCT_UINT32 ulNumLchId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID_CURSOR aLchId[cOCTVC1_GSM_LOGICAL_CHANNEL_ID_LIST_MAX_ENTRY];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
ulFrameNumber
|
||
|
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
tOCT_UINT32 ulFrameNumber;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
Data
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_DATA Data;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
ulChannelType
|
||
|
ulPayloadType
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM ulChannelType;
|
||
|
tOCTVC1_GSM_PAYLOAD_TYPE_ENUM ulPayloadType;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
ulResetFlag
|
||
|
Reset physical stats
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCT_BOOL32 ulResetFlag;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
PhysicalStatus
|
||
|
aSubchannnelStatus
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_GSM_PHYSICAL_STATUS PhysicalStatus;
|
||
|
tOCTVC1_GSM_SUBCHANNEL_STATUS aSubchannnelStatus[cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CMD
|
||
|
Reset all associated Physical Channel.
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
PchIdCursor
|
||
|
Object Cursor.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR PchIdCursor;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
PchIdCursor
|
||
|
Object Cursor.
|
||
|
ulNumPchId
|
||
|
Number of valid PchId in aPchId
|
||
|
aPchId
|
||
|
Array containing the listed PchId
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR PchIdCursor;
|
||
|
tOCT_UINT32 ulNumPchId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_CURSOR aPchId[cOCTVC1_GSM_PHYSICAL_CHANNEL_ID_LIST_MAX_ENTRY];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
ulChannelType
|
||
|
ulPayloadType
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM ulChannelType;
|
||
|
tOCTVC1_GSM_PAYLOAD_TYPE_ENUM ulPayloadType;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
ulSubchannelNb
|
||
|
Sub Channel Number
|
||
|
ulDirection
|
||
|
Channel direction.
|
||
|
Config
|
||
|
Cipher configuration
|
||
|
abyPad
|
||
|
Reserved to align following member.
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_GSM_SUB_CHANNEL_NB_ENUM ulSubchannelNb;
|
||
|
tOCTVC1_GSM_DIRECTION_ENUM ulDirection;
|
||
|
tOCTVC1_GSM_CIPHER_CONFIG Config;
|
||
|
tOCT_UINT8 abyPad[3];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
ulTxSubChannelMask
|
||
|
ulRxSubChannelMask
|
||
|
Config
|
||
|
Cipher configuration
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_GSM_SUBCHANNEL_MASK ulTxSubChannelMask;
|
||
|
tOCTVC1_GSM_SUBCHANNEL_MASK ulRxSubChannelMask;
|
||
|
tOCTVC1_GSM_CIPHER_CONFIG Config[cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL];
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
PchId
|
||
|
Unique Physical channel identifier
|
||
|
MeasurementInfo
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_PHYSICAL_CHANNEL_ID PchId;
|
||
|
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_RF_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_RF_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_INFO_RF_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
RfConfig
|
||
|
RF configuration
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_RF_CONFIG RfConfig;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_INFO_RF_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_MODIFY_RF_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
RfConfig
|
||
|
RF configuration
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_RF_CONFIG RfConfig;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_MODIFY_RF_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD;
|
||
|
|
||
|
/*-------------------------------------------------------------------------------------
|
||
|
tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP
|
||
|
|
||
|
Members:
|
||
|
Header
|
||
|
OCTVC1 Message Header
|
||
|
TrxId
|
||
|
Unique TRX identifier
|
||
|
LchId
|
||
|
Unique Logical channel identifier
|
||
|
-------------------------------------------------------------------------------------*/
|
||
|
typedef struct
|
||
|
{
|
||
|
tOCTVC1_MSG_HEADER Header;
|
||
|
tOCTVC1_GSM_TRX_ID TrxId;
|
||
|
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||
|
|
||
|
} tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP;
|
||
|
|
||
|
|
||
|
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||
|
#include "octvc1_gsm_evt.h"
|
||
|
|
||
|
#endif /* __OCTVC1_GSM_API_H__ */
|
||
|
|