blob: 7fc6964d4a8b47f10340f7b36826f44149916754 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001/*****************************************************************************
2* Copyright Statement:
3* --------------------
4* This software is protected by Copyright and the information contained
5* herein is confidential. The software may not be copied and the information
6* contained herein may not be used or disclosed except with the written
7* permission of MediaTek Inc. (C) 2005
8*
9* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
10* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
11* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
12* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
13* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
14* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
15* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
16* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
17* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
18* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
19* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
20* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
21*
22* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
23* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
24* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
25* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
26* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
27*
28* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
29* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
30* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
31* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
32* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
33*
34*****************************************************************************/
35/*****************************************************************************
36 *
37 * Filename:
38 * ---------
39 * snd2llc_struct.h
40 *
41 * Project:
42 * --------
43 * MAUI
44 *
45 * Description:
46 * ------------
47 * This file describes the common structure of SNDCP and LLC.
48 *
49 * Author:
50 * -------
51 * -------
52 * -------
53 *
54 *============================================================================
55 * HISTORY
56 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
57 *------------------------------------------------------------------------------
58 * removed!
59 *
60 * removed!
61 * removed!
62 * removed!
63 *
64 * removed!
65 * removed!
66 * removed!
67 *
68 * removed!
69 * removed!
70 * removed!
71 *
72 * removed!
73 * removed!
74 * removed!
75 *
76 * removed!
77 * removed!
78 * removed!
79 *
80 *------------------------------------------------------------------------------
81 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
82 *==============================================================================
83 *******************************************************************************/
84
85/********************************************************************************
86* Copyright Statement:
87* --------------------
88*
89* This product has been developed using a protocol stack
90* developed by Sasken Communication Technologies Limited.
91*
92********************************************************************************/
93
94// Poying: 20101105. RHR.
95//------------------------------ suggest Add ------------------------------
96#include "kal_general_types.h"
97#include "kal_public_defs.h"
98#include "mcd_l3_inc_gprs_struct.h"
99#include "flc2_config.h"
100
101#ifndef _SND2LLC_STRUCT_H
102#define _SND2LLC_STRUCT_H
103
104typedef struct {
105 LOCAL_PARA_HDR
106 kal_uint8 sapi;
107 kal_uint8 local; /* LOCAL*/
108 kal_uint32 tlli; /* TLLI*/
109} ll_release_req_struct;
110
111typedef struct {
112 LOCAL_PARA_HDR
113 kal_uint8 sapi;
114 kal_uint32 tlli; /* TLLI*/
115 kal_uint16 req_n201u; //erica 20070112
116} ll_xid_req_struct;
117
118typedef struct {
119 LOCAL_PARA_HDR
120 kal_uint8 sapi;
121 kal_uint32 tlli; /* TLLI*/
122} ll_xid_res_struct;
123
124typedef struct {
125 LOCAL_PARA_HDR
126 kal_uint8 sapi;
127 kal_uint32 tlli; /* TLLI*/
128} ll_establish_req_struct;
129
130typedef struct {
131 LOCAL_PARA_HDR
132 kal_uint8 sapi;
133 kal_uint32 tlli; /* TLLI*/
134} ll_establish_res_struct;
135
136typedef struct {
137 LOCAL_PARA_HDR
138 kal_uint8 sapi;
139 kal_uint8 radio_priority; /* RADIO PRIORITY*/
140 kal_uint16 reference; /* SNDLLC REFERENCE TYPE*/
141 flc2_pool_id_enum pspdu_ul_pool_id ;
142 kal_uint32 tlli; /* TLLI*/
143 kal_uint8 pfi; /* PFI */
144 concise_qos_struct qos_param; /* QOS STRUCTURE*/
145} ll_data_req_struct;
146
147typedef struct {
148 LOCAL_PARA_HDR
149 kal_uint8 sapi;
150 kal_uint8 is_ack_mode;
151} ll_sapi_act_req_struct;
152
153typedef struct {
154 LOCAL_PARA_HDR
155 kal_uint8 sapi;
156} ll_sapi_deact_req_struct;
157
158typedef struct {
159 LOCAL_PARA_HDR
160 kal_bool is_all_flush;
161 kal_bool are_two_pdp_same_qos;
162 kal_uint8 radio_priority; /* LLC shall decrement by onw when sent to RLC. */
163 concise_qos_struct qos_param;
164 kal_bool is_need_cnf;
165} llsnd_flush_req_struct;
166
167typedef ll_release_req_struct llsnd_release_req_struct;
168typedef ll_xid_req_struct llsnd_xid_req_struct;
169typedef ll_xid_res_struct llsnd_xid_res_struct;
170typedef ll_establish_req_struct llsnd_establish_req_struct;
171typedef ll_establish_res_struct llsnd_establish_res_struct;
172typedef ll_data_req_struct llsnd_data_req_struct;
173typedef ll_sapi_act_req_struct llsnd_sapi_act_req_struct;
174typedef ll_sapi_deact_req_struct llsnd_sapi_deact_req_struct;
175
176#endif
177
178