| /***************************************************************************** |
| * 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) 2012 |
| * |
| * 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: |
| * --------- |
| * lte_meas.h |
| * |
| * Project: |
| * -------- |
| * MOLY |
| * |
| * Description: |
| * ------------ |
| * |
| * |
| * Author: |
| * ------- |
| * ------- |
| * |
| * ========================================================================== |
| * $Log$ |
| * |
| * 05 24 2019 nelsonhe.huang |
| * [MOLY00384666] [6297][IRAT-RSTD] [MP2] 6293 MP2 Feature, IRAT RSTD related changes |
| * |
| * for IRAT-RSTD R15 feature check in - MPD |
| * |
| * 09 13 2018 po-chun.chiu |
| * [MOLY00346972] [MT6297][VMOLY][EL1][MEAS] New feature developments for Gen97 |
| * |
| * Fix ECID build error. |
| * |
| * 11 17 2014 george.chang |
| * [MOLY00084695] [6291] Code mergeed from MT6291_DEV to UMOLY TRUNK |
| * . |
| * |
| * 08 19 2014 david.niu |
| * [MOLY00068710] [MT6291_DEV] Sync MOLY to MT6291_DEV |
| * R10R11 baseline CRs code checked-in |
| * |
| * 01 24 2013 jasper.chen |
| * [MOLY00009163] LTE Multimode merge back to MOLY - Change L3 filtering function according to CSD new design. |
| ****************************************************************************/ |
| |
| #ifndef LTE_MEAS_H |
| #define LTE_MEAS_H |
| |
| #include "kal_general_types.h" |
| |
| |
| #define LTE_MEAS_FC_PERIOD_0 200 |
| #define LTE_MEAS_FC_PERIOD_1 400 |
| #define LTE_MEAS_FC_PERIOD_2 600 |
| #define LTE_MEAS_FC_PERIOD_3 1000 |
| #define LTE_MEAS_FC_PERIOD_4 2560 |
| |
| #define LTE_MEAS_FC_MAX 20 |
| #define LTE_MEAS_FC_CONV_PERIOD_MAX 6 |
| |
| kal_uint8 lte_meas_l3_filter_get_time_theshold(kal_uint64 pass_time); |
| |
| kal_int32 lte_meas_l3_filter(kal_int32 old_value, |
| kal_int16 new_value, |
| kal_uint64 delta_time, |
| kal_uint8 fc); |
| |
| kal_uint8 lte_meas_rsrp_qdb_encode( kal_int16 rsrp); |
| kal_uint8 lte_meas_rsrq_qdb_encode( kal_int16 rsrq); |
| kal_bool el1_meas_api_cell_mib_rcv(kal_uint32 earfcn, kal_uint16 phyCellId); |
| //kal_bool el1_meas_api_cell_mib_rcv_p(kal_uint32 earfcn, kal_uint16 phyCellId); |
| |
| #endif /* LTE_MEAS_H */ |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |