| /***************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (C) 2007 |
| * |
| * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| * |
| * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| * |
| * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| * |
| *****************************************************************************/ |
| |
| /******************************************************************************* |
| * Filename: |
| * --------- |
| * general_qos_struct.h |
| * |
| * Project: |
| * -------- |
| * MOLY |
| * |
| * Description: |
| * ------------ |
| * |
| * |
| * Author: |
| * ------- |
| * ------- |
| * |
| * ========================================================================== |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * removed! |
| * |
| * |
| ****************************************************************************/ |
| |
| #ifndef _GENERAL_QOS_STRUCT_H |
| #define _GENERAL_QOS_STRUCT_H |
| |
| #include "kal_general_types.h" |
| |
| /* Handling for the QoS values: |
| |
| - For UL direction: |
| =================================================================== |
| Bitrate | TCM SIC | TCM SIC | |
| | = Use R15 Qos | = No R15 QoS | |
| =================================================================== |
| < 10Gbps | Pre-5G values: | Pre-5G values: | |
| | - L4C decodes u8 data | - L4C decodes u8 data | |
| | - TCM fills-in values | - TCM fills-in values | |
| | is_use_ext_qos = F | is_use_ext_qos = F | |
| | is_use_full_r11_qos = F | is_use_full_r11_qos = F | |
| ------------------------------------------------------------------- |
| >=10Gbps | Pre-5G values: | Pre-5G values: | |
| | - TCM would not fill them | - TCM would not fill them | |
| | - Let ESM fill values | - Let ESM fill values | |
| | is_use_ext_qos = T | is_use_ext_qos = F | |
| | is_use_full_r11_qos = F | is_use_full_r11_qos = T | |
| =================================================================== |
| |
| - For DL direction: |
| - If NW gave extended QoS, ESM decodes them and fill-in struct (is_use_ext_qos and its value) |
| - If NW did not give extended QoS, ESM decodes them and fill into old u8 data fields |
| - ESM no need to fill-in the is_use_full_r11_qos (it is used in UL direction) */ |
| typedef struct |
| { |
| kal_uint8 qci; |
| kal_bool bit_rate_present; |
| kal_bool bit_rate_ext_present; |
| kal_bool bit_rate_ext2_present; |
| kal_uint8 ul_mbr; |
| kal_uint8 dl_mbr; |
| kal_uint8 ul_gbr; |
| kal_uint8 dl_gbr; |
| kal_uint8 ul_mbr_ext; |
| kal_uint8 dl_mbr_ext; |
| kal_uint8 ul_gbr_ext; |
| kal_uint8 dl_gbr_ext; |
| kal_uint8 ul_mbr_ext2; |
| kal_uint8 dl_mbr_ext2; |
| kal_uint8 ul_gbr_ext2; |
| kal_uint8 dl_gbr_ext2; |
| |
| // __R15.4__ |
| kal_bool is_use_full_r11_qos; // if KAL_TRUE, don't encode extended EPS QoS |
| |
| kal_bool is_use_ext_qos_for_dl_gbr; |
| kal_bool is_use_ext_qos_for_ul_gbr; |
| kal_bool is_use_ext_qos_for_dl_mbr; |
| kal_bool is_use_ext_qos_for_ul_mbr; |
| |
| kal_uint64 ext_eps_qos_dl_gbr; |
| kal_uint64 ext_eps_qos_ul_gbr; |
| kal_uint64 ext_eps_qos_dl_mbr; |
| kal_uint64 ext_eps_qos_ul_mbr; |
| } eps_qos_struct; |
| |
| #endif /* _GENERAL_QOS_STRUCT_H */ |