blob: fa2fa62d938cf303b52822c8a17f4e877c10ef77 [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 *
38 * Filename:
39 * ---------
40 * llc2rlc_struct.h
41 *
42 * Project:
43 * --------
44 * MAUI
45 *
46 * Description:
47 * ------------
48 * This file describes the common struct of LLC and RLC.
49 *
50 * Author:
51 * -------
52 * -------
53 * -------
54 *
55 *============================================================================
56 * HISTORY
57 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
58 *------------------------------------------------------------------------------
59 * removed!
60 *
61 * removed!
62 * removed!
63 * removed!
64 *
65 * removed!
66 * removed!
67 * removed!
68 *
69 * removed!
70 * removed!
71 * removed!
72 *
73 * removed!
74 * removed!
75 * removed!
76 *
77 * removed!
78 * removed!
79 * removed!
80 *
81 * removed!
82 * removed!
83 * removed!
84 *
85 *------------------------------------------------------------------------------
86 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
87 *==============================================================================
88 *******************************************************************************/
89
90/********************************************************************************
91* Copyright Statement:
92* --------------------
93*
94* This product has been developed using a protocol stack
95* developed by Sasken Communication Technologies Limited.
96*
97********************************************************************************/
98
99#ifndef _LLC2RLC_STRUCT_H
100#define _LLC2RLC_STRUCT_H
101
102/* Nancy 20101005: Suggest Add for RHR */
103#include "as2nas_struct.h"
104#include "mcd_l3_inc_gprs_struct.h"
105#include "kal_general_types.h"
106#include "kal_public_defs.h"
107#include "flc2_config.h"
108
109typedef struct {
110 LOCAL_PARA_HDR
111 kal_uint32 tlli;
112 concise_qos_struct qos_param;
113 kal_uint8 llc_pdu_type;
114 kal_uint8 radio_priority;
115 flc2_pool_id_enum pspdu_ul_pool_id ;
116 kal_uint8 cause;
117 kal_uint8 pdu_format;
118 kal_uint8 pfi;
119 peer_msg_id_struct peer_msg_id;
120 kal_uint8 abm_trans_id; /* Let LLC knows the mode of this PDU*/
121} grr_data_req_struct;
122
123typedef struct {
124 LOCAL_PARA_HDR
125 kal_uint32 tlli;
126 concise_qos_struct qos_param;
127 kal_uint8 llc_pdu_type;
128 kal_uint8 radio_priority;
129 flc2_pool_id_enum pspdu_ul_pool_id ;
130 kal_uint8 cause;
131 kal_uint8 pfi;
132 peer_msg_id_struct peer_msg_id;
133} grr_unitdata_req_struct;
134
135typedef struct {
136 LOCAL_PARA_HDR
137 kal_uint8 rx_ready;
138} grr_ready_req_struct;
139
140typedef struct {
141 LOCAL_PARA_HDR
142 kal_bool is_all_flush;
143 kal_bool are_two_pdp_same_qos;
144 kal_uint8 radio_priority; /* LLC shall decrement by one. */
145 concise_qos_struct qos_param;
146 kal_bool is_need_cnf;
147} grr_flush_req_struct;
148
149#endif
150
151