rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | /***************************************************************************** |
| 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 | #ifndef _IRDA_STRUCT_H |
| 36 | #define _IRDA_STRUCT_H |
| 37 | |
| 38 | |
| 39 | /*Msg sent to TTP*/ |
| 40 | typedef struct |
| 41 | { |
| 42 | kal_uint8 ref_count; |
| 43 | kal_uint16 msg_len; /* LOCAL_PARA_HDR */ |
| 44 | |
| 45 | kal_uint8 local_lsap_sel; |
| 46 | kal_uint8 remote_lsap_sel; |
| 47 | kal_uint8 disconnect_reason; /* for disconnect primitive only */ |
| 48 | kal_uint8 return_code; /* return code for connect confirm primitive */ |
| 49 | kal_uint8 remote_ap_lsap_sel; /* LSAP selector get by IAS client, IAS only */ |
| 50 | kal_uint8 class_name_index; /* index for IAS client to find class name */ |
| 51 | kal_uint8 attribute_name_index; /* index for IAS client to find attribute name */ |
| 52 | kal_uint8 ias_return_code; /* for IAS only */ |
| 53 | kal_uint16 open_time; /* irda open period*/ |
| 54 | } ttp_data_request_struct; |
| 55 | |
| 56 | typedef ttp_data_request_struct irda_open_struct; |
| 57 | typedef ttp_data_request_struct ttp_connect_request_struct; |
| 58 | typedef ttp_data_request_struct ttp_connect_response_struct; |
| 59 | typedef ttp_data_request_struct ttp_disconnect_request_struct; |
| 60 | typedef ttp_data_request_struct lmp_data_request_struct; |
| 61 | typedef ttp_data_request_struct lmp_connect_request_struct; |
| 62 | typedef ttp_data_request_struct lmp_connect_response_struct; |
| 63 | typedef ttp_data_request_struct lmp_disconnect_request_struct; |
| 64 | typedef ttp_data_request_struct lmp_link_disconnect_request_struct; |
| 65 | typedef ttp_data_request_struct ias_get_remote_lsap_sel_struct; |
| 66 | typedef ttp_data_request_struct lmp_data_indication_struct; |
| 67 | typedef ttp_data_request_struct lmp_connect_indication_struct; |
| 68 | typedef ttp_data_request_struct lmp_connect_confirm_struct; |
| 69 | typedef ttp_data_request_struct lmp_lsap_disconnect_indication_struct; |
| 70 | typedef ttp_data_request_struct lmp_link_disconnect_indication_struct; |
| 71 | typedef ttp_data_request_struct ias_get_remote_lsap_sel_confirm_struct; |
| 72 | typedef ttp_data_request_struct ttp_data_indication_struct; |
| 73 | typedef ttp_data_request_struct ttp_connect_indication_struct; |
| 74 | typedef ttp_data_request_struct ttp_connect_confirm_struct; |
| 75 | typedef ttp_data_request_struct ttp_lsap_disconnect_indication_struct; |
| 76 | |
| 77 | #endif |
| 78 | |