| /***************************************************************************** |
| * 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: |
| * --------- |
| * iwlan_l4c_struct.h |
| * |
| * Project: |
| * -------- |
| * |
| * |
| * Description: |
| * ------------ |
| * |
| * |
| * Author: |
| * ------- |
| * |
| * |
| * |
| * ========================================================================== |
| * $Log$ |
| * |
| * 06 29 2020 star.kuo |
| * [MOLY00536845] AT&T CDR-WiFi-1510 (MD part) Cell measurement 500 ms in MP6MP7 precheckin |
| * Cell measurement 500ms in NR15.R3.MP |
| * |
| * 08 26 2019 jani.manninen |
| * [MOLY00433041] [Gen97][EPSFB] IT related issues |
| * |
| * VMOLY.APOLLO.SQC - IMS 5G Voice Support Changes |
| * |
| * 08 14 2019 jani.manninen |
| * [MOLY00431762] [VONR] IWLAN Changes for 5G Voice Support - IWLAN |
| * |
| * VMOLY.V.5GVOICE.DEV - IWLAN (Interface / ATP / IWLAN / UT) |
| * |
| * 07 12 2019 star.kuo |
| * [MOLY00421387] [VMOLY][Submarine] Merge code protocol IWLAN interface |
| * Merge code protocol IWLAN interface |
| * |
| * 10 16 2018 star.kuo |
| * [MOLY00353278] Cellular signaling power level config with flexible number of thresholds |
| * Cellular signaling power level config with flexible number of thresholds |
| * |
| * 07 24 2018 star.kuo |
| * [MOLY00338861] Phase out IMS_CAP_IND from IWLAN to L4C |
| * Phase out ! IWLAN gives IMS_CAP_IND to L4C |
| * |
| * 06 19 2018 star.kuo |
| * [MOLY00329730] Sprint needs to monitor 1x (C2K) signaling |
| * LR13.R0 sync Sprint monitoring 1x (C2K) signaling |
| * |
| * 05 21 2018 hsin-jun.tang |
| * [MOLY00325423] [IWLAN] Debug enhancement - A. IWLAN log enhancement, B. KAL legacy API DHL new API |
| * [IWLAN] log enhancemnet - |
| * A. apply DHL new log API |
| * B. log enhancement - primitives number to enum |
| * change: |
| * D2RM, L4C, SDM, ATP |
| * no change: |
| * WO, L4BNW, SIM, L4BPWR, IMC |
| * |
| * ATP: |
| * 1. ESRVSTATE |
| * 2. ECNCFG |
| * 3. EWIFIEN |
| * 4. EWFCPREF |
| * 5. EWIFIASC |
| * 6. Remove EPLWTH, EGREG |
| * 7. EIWLPING |
| * 8. EIRAT |
| * |
| * 03 14 2018 star.kuo |
| * [MOLY00313309] [WW FT][ZION][MT6739][O1][MP2][SQC][VzW][Internal FT][Irvine][V-SMS-008] VoLTE Function - SMS cannot be sent when Advanced Calling is turned OFF |
| * Manual sync. with R3 |
| * New ILM - L4 IMSCFG |
| * |
| * 03 14 2018 star.kuo |
| * [MOLY00313309] [WW FT][ZION][MT6739][O1][MP2][SQC][VzW][Internal FT][Irvine][V-SMS-008] VoLTE Function - SMS cannot be sent when Advanced Calling is turned OFF |
| * Send ILM to L4 for sync. with IMC IMSCFG. |
| * NWSEL needs LTE IMS infomation to attach LTE. |
| * |
| * 03 02 2018 mt.tsai |
| * [MOLY00309820] [IWLAN][L4] SSAC information for VoWiFi requirement "VzW_2016Feb_VZ_REQ_VoWiFi_37627" |
| * [IF][IWLAN][L4] SSAC information for VoWiFi requirement "VzW_2016Feb_VZ_REQ_VoWiFi_37627" |
| * |
| * |
| ****************************************************************************/ |
| |
| |
| #ifndef _IWLAN_L4C_STRUCT_H |
| #define _IWLAN_L4C_STRUCT_H |
| |
| #include "kal_general_types.h" |
| #include "kal_public_defs.h" |
| #include "l3_inc_enums_public.h" |
| #include "l4c_eval_struct.h" |
| #include "custom_iwlan_config.h" |
| |
| #define IWLAN_L4C_MAX_THRES 8 |
| |
| typedef enum { |
| IWLAN_L4C_GSM_RSSI = 0, |
| IWLAN_L4C_UTRAN_RSCP, |
| IWLAN_L4C_UTRAN_ECNO, |
| IWLAN_L4C_LTE_RSRP, |
| IWLAN_L4C_LTE_RSRQ, |
| IWLAN_L4C_LTE_RSSNR, |
| IWLAN_L4C_1X_RSSI = 6, |
| IWLAN_L4C_1X_ECIO, |
| IWLAN_L4C_EVDO_RSSI, |
| IWLAN_L4C_EVDO_ECIO = 9, |
| IWLAN_L4C_NR_SS_RSRP, |
| IWLAN_L4C_NR_SS_RSRQ, |
| IWLAN_L4C_NR_SS_SINR, |
| IWLAN_L4C_NR_CSI_RSRP, |
| IWLAN_L4C_NR_CSI_RSRQ, |
| IWLAN_L4C_NR_CSI_SINR |
| } iwlan_l4c_sig_type_enum; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| iwlan_l4c_sig_type_enum signal_type; |
| kal_bool mode; /* 0: Disable, 1: Enabled */ |
| kal_uint8 num_thresholds; // the number of thresholds |
| kal_int32 array_threshold[IWLAN_L4C_MAX_THRES]; |
| kal_int32 upper_threshold; // Need to phase out |
| kal_int32 lower_threshold; // Need to phase out |
| kal_uint16 timer_ms; |
| iwlan_l4c_sig_meas_timer_level timer_level; |
| } iwlan_l4c_set_pwl_thrhd_req_struct; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| kal_bool result; |
| } iwlan_l4c_set_pwl_thrhd_cnf_struct; |
| |
| typedef enum { |
| SIGNAL_STATUS_BAD = 0, |
| SIGNAL_STATUS_GOOD = 1, |
| SIGNAL_STATUS_FAIR = 2, |
| SIGNAL_STATUS_INVALID = 3, |
| SIGNAL_STATUS_CNT, |
| } iwlan_l4c_signal_status_enum; |
| |
| typedef struct { |
| LOCAL_PARA_HDR |
| iwlan_l4c_sig_type_enum signal_type; |
| iwlan_l4c_signal_status_enum signal_status; |
| kal_int32 signal_value; |
| } l4c_iwlan_pwr_level_ind_struct; |
| |
| typedef l4c_eval_ims_sys_info_ind_struct iwlan_l4c_ims_sys_info_ind_struct; |
| |
| #endif /* _IWLAN_L4C_STRUCT_H */ |