yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [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 | |
| 36 | /***************************************************************************** |
| 37 | * |
| 38 | * Filename: |
| 39 | * --------- |
| 40 | * wdata.h |
| 41 | * |
| 42 | * Project: |
| 43 | * -------- |
| 44 | * MT6268 |
| 45 | * |
| 46 | * Description: |
| 47 | * ------------ |
| 48 | * |
| 49 | * |
| 50 | * Author: |
| 51 | * ------- |
| 52 | * |
| 53 | * |
| 54 | *============================================================================ |
| 55 | * HISTORY |
| 56 | * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 57 | *---------------------------------------------------------------------------- |
| 58 | * removed! |
| 59 | * removed! |
| 60 | * removed! |
| 61 | * |
| 62 | * removed! |
| 63 | * removed! |
| 64 | * |
| 65 | * removed! |
| 66 | * removed! |
| 67 | * removed! |
| 68 | * removed! |
| 69 | * |
| 70 | * removed! |
| 71 | * removed! |
| 72 | * removed! |
| 73 | * |
| 74 | * removed! |
| 75 | * removed! |
| 76 | * |
| 77 | * removed! |
| 78 | * removed! |
| 79 | * |
| 80 | * removed! |
| 81 | * removed! |
| 82 | * |
| 83 | * removed! |
| 84 | * removed! |
| 85 | * removed! |
| 86 | * removed! |
| 87 | * |
| 88 | * removed! |
| 89 | * removed! |
| 90 | * removed! |
| 91 | * |
| 92 | * removed! |
| 93 | * removed! |
| 94 | * removed! |
| 95 | * |
| 96 | * removed! |
| 97 | * removed! |
| 98 | * removed! |
| 99 | * |
| 100 | * removed! |
| 101 | * removed! |
| 102 | * removed! |
| 103 | * |
| 104 | * removed! |
| 105 | * removed! |
| 106 | * |
| 107 | * removed! |
| 108 | * removed! |
| 109 | * removed! |
| 110 | * |
| 111 | * removed! |
| 112 | * removed! |
| 113 | * removed! |
| 114 | * |
| 115 | * removed! |
| 116 | * removed! |
| 117 | * removed! |
| 118 | * |
| 119 | * removed! |
| 120 | * removed! |
| 121 | * |
| 122 | * removed! |
| 123 | * removed! |
| 124 | * removed! |
| 125 | * |
| 126 | * removed! |
| 127 | * removed! |
| 128 | * removed! |
| 129 | * |
| 130 | * removed! |
| 131 | * removed! |
| 132 | * removed! |
| 133 | * |
| 134 | * removed! |
| 135 | * removed! |
| 136 | * removed! |
| 137 | * |
| 138 | * removed! |
| 139 | * removed! |
| 140 | * removed! |
| 141 | * |
| 142 | * removed! |
| 143 | * removed! |
| 144 | * removed! |
| 145 | * |
| 146 | * removed! |
| 147 | * removed! |
| 148 | * removed! |
| 149 | * |
| 150 | * removed! |
| 151 | * removed! |
| 152 | * removed! |
| 153 | * removed! |
| 154 | * removed! |
| 155 | * removed! |
| 156 | * removed! |
| 157 | * removed! |
| 158 | * removed! |
| 159 | * removed! |
| 160 | * removed! |
| 161 | * removed! |
| 162 | * |
| 163 | * removed! |
| 164 | * removed! |
| 165 | * removed! |
| 166 | * |
| 167 | * removed! |
| 168 | * removed! |
| 169 | * removed! |
| 170 | * |
| 171 | * removed! |
| 172 | * removed! |
| 173 | * removed! |
| 174 | * |
| 175 | * removed! |
| 176 | * removed! |
| 177 | * removed! |
| 178 | * |
| 179 | * removed! |
| 180 | * removed! |
| 181 | * removed! |
| 182 | * |
| 183 | * removed! |
| 184 | * removed! |
| 185 | * removed! |
| 186 | * |
| 187 | * removed! |
| 188 | * removed! |
| 189 | * removed! |
| 190 | * |
| 191 | * removed! |
| 192 | * removed! |
| 193 | * removed! |
| 194 | * |
| 195 | * removed! |
| 196 | * removed! |
| 197 | * removed! |
| 198 | * |
| 199 | * removed! |
| 200 | * removed! |
| 201 | * removed! |
| 202 | * |
| 203 | * removed! |
| 204 | * removed! |
| 205 | * removed! |
| 206 | * |
| 207 | * removed! |
| 208 | * removed! |
| 209 | * removed! |
| 210 | * removed! |
| 211 | * |
| 212 | * removed! |
| 213 | * removed! |
| 214 | * removed! |
| 215 | * |
| 216 | * removed! |
| 217 | * removed! |
| 218 | * removed! |
| 219 | * |
| 220 | * removed! |
| 221 | * removed! |
| 222 | * removed! |
| 223 | * |
| 224 | * removed! |
| 225 | * removed! |
| 226 | * removed! |
| 227 | * |
| 228 | * removed! |
| 229 | * removed! |
| 230 | * removed! |
| 231 | * |
| 232 | * removed! |
| 233 | * removed! |
| 234 | * removed! |
| 235 | * |
| 236 | * removed! |
| 237 | * removed! |
| 238 | * removed! |
| 239 | * |
| 240 | * removed! |
| 241 | * removed! |
| 242 | * removed! |
| 243 | * |
| 244 | * removed! |
| 245 | * removed! |
| 246 | * removed! |
| 247 | * |
| 248 | * removed! |
| 249 | * removed! |
| 250 | * removed! |
| 251 | * |
| 252 | * removed! |
| 253 | * removed! |
| 254 | * removed! |
| 255 | * |
| 256 | * |
| 257 | *---------------------------------------------------------------------------- |
| 258 | * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! |
| 259 | *============================================================================ |
| 260 | ****************************************************************************/ |
| 261 | |
| 262 | #ifndef _UL1D_DATA_H_ |
| 263 | #define _UL1D_DATA_H_ |
| 264 | |
| 265 | /*===============================================================================*/ |
| 266 | #include "kal_general_types.h" |
| 267 | #include "ul1d_cid.h" |
| 268 | #include "ul1d_rf_public.h" |
| 269 | /*===============================================================================*/ |
| 270 | extern kal_int16 max_rx_start_offset; |
| 271 | extern kal_int16 max_tx_start_offset; |
| 272 | extern kal_int16 max_txcal_start_offset; |
| 273 | extern kal_int16 min_rx_end_offset; |
| 274 | extern kal_int16 min_tx_end_offset; |
| 275 | |
| 276 | extern kal_int16 max_rx_end_offset; |
| 277 | extern kal_int16 max_tx_end_offset; |
| 278 | |
| 279 | extern kal_uint8 max_rx_end_reg_idx; |
| 280 | extern kal_int16 min_rx_off_evt_cancel_margin; |
| 281 | |
| 282 | //Add for Support RXD and Dual Cell |
| 283 | extern kal_int16 max_rx_dc_reconfig_offset; |
| 284 | extern kal_int16 UMTS_RX_OFF2ON_TQ_TABLE[3]; |
| 285 | |
| 286 | extern kal_int16 max_rxd_start_offset; |
| 287 | extern kal_int16 min_rxd_end_offset; |
| 288 | extern kal_int16 UMTS_RXD_START_TQ_TABLE[7]; |
| 289 | extern kal_int16 UMTS_RXD_END_TQ_TABLE[5]; |
| 290 | extern kal_uint32 rxd_support_mask; |
| 291 | extern kal_uint32 rx_diversity_always_on; |
| 292 | extern kal_uint32 pa_dirft_bitmap; |
| 293 | extern kal_uint16 mpr_backoff_by_service[2]; |
| 294 | extern kal_bool is_rf_setting_by_nvram; |
| 295 | extern kal_bool is_rfic_bsi_port_swap; |
| 296 | |
| 297 | extern kal_uint16 max_offset; |
| 298 | extern kal_uint16 vm_offset; |
| 299 | extern kal_uint16 vbias_offset; |
| 300 | extern kal_uint16 dc2dc_offset; |
| 301 | extern kal_uint16 vga_offset; |
| 302 | #if IS_3G_MIPI_SUPPORT |
| 303 | extern kal_uint16 ul1_mipi_offset; |
| 304 | extern kal_bool is_3g_mipi_enable; |
| 305 | #endif |
| 306 | |
| 307 | extern kal_bool is_3g_pga_ab_k_enable; |
| 308 | |
| 309 | extern kal_bool VPA_mode_setting; |
| 310 | extern kal_uint8 pa_section; |
| 311 | extern kal_uint8 DC2DC[3/*pa_mode*/]; |
| 312 | extern kal_uint8 VM_data[3/*pa_mode*/] ; |
| 313 | |
| 314 | extern kal_int16 UMTS_RX_START_TQ_TABLE[6]; |
| 315 | extern kal_int16 UMTS_RX_END_TQ_TABLE[3]; |
| 316 | |
| 317 | extern kal_int16 UMTS_TX_START_TQ_TABLE[7]; |
| 318 | extern kal_int16 UMTS_TX_END_TQ_TABLE[3]; |
| 319 | |
| 320 | |
| 321 | extern BPI_data_type UMTS_PDATA_TABLE[UL1D_RF_CUSTOM_BAND][2][5]; |
| 322 | extern BPI_data_type UMTS_PDATA_TABLE_H[UL1D_RF_CUSTOM_BAND][2][5]; |
| 323 | extern BPI_data_type UMTS_PDATA2_RX_TABLE[UL1D_RF_CUSTOM_BAND][5]; |
| 324 | extern BPI_data_type UMTS_PDATA2_RX_TABLE_H[UL1D_RF_CUSTOM_BAND][5]; |
| 325 | |
| 326 | #if IS_URF_COLUMBUS |
| 327 | extern kal_int32 UMTS_RX_TQ_UCNT_TABLE[3]; |
| 328 | extern kal_int32 UMTS_TX_TQ_UCNT_TABLE[3]; |
| 329 | extern kal_int32 UMTS_RX_OFF2ON_TQ_UCNT_TABLE[3]; |
| 330 | #endif |
| 331 | |
| 332 | /*------------- Single Software Load for Multiple Components Compatible -------------*/ |
| 333 | extern kal_uint8 ul1custom_debug_enable; |
| 334 | extern kal_uint8 ul1custom_gpio_set_nums; |
| 335 | extern kal_uint8 ul1custom_adc_set_nums; |
| 336 | extern kal_uint8 ul1custom_nvram_barcode_set_nums; |
| 337 | extern kal_uint8 ul1custom_gpio_nums_in_calc; |
| 338 | extern kal_uint8 ul1custom_ADC_nums_in_calc; |
| 339 | extern kal_uint8 ul1custom_nvram_barcode_nums_in_calc; |
| 340 | extern kal_uint8 ul1custom_first_index; |
| 341 | extern kal_uint8 ul1custom_second_index; |
| 342 | extern kal_uint8 ul1custom_third_index; |
| 343 | extern kal_uint8 ul1custom_first_index_base; |
| 344 | extern kal_uint8 ul1custom_gpio_num_of_detect_pins_in_use; |
| 345 | extern kal_uint8 ul1custom_adc_level_total; |
| 346 | extern kal_uint8 ul1custom_barcode_read_digit_num; |
| 347 | extern kal_uint8 ul1custom_barcode_digit_value_1; |
| 348 | extern kal_uint8 ul1custom_barcode_digit_value_2; |
| 349 | extern kal_uint8 ul1custom_barcode_digit_value_3; |
| 350 | extern kal_uint8 ul1custom_max_rf_support_band_num; |
| 351 | extern kal_uint8 ul1custom_adc_calibrate_enable; |
| 352 | extern kal_uint8 ul1custom_adc_bits; |
| 353 | extern kal_uint16 ul1custom_adc_meas_count_2_order; |
| 354 | extern kal_uint16 ul1custom_total_set_nums; |
| 355 | extern kal_uint32 ul1custom_adc_max_input_voltage; |
| 356 | /*------------- Single Software Load for Multiple Components Compatible -------------*/ |
| 357 | |
| 358 | extern kal_bool ul1d_afc_vcxo_support; |
| 359 | extern kal_int32 pd_threshold; |
| 360 | |
| 361 | extern kal_int16 ddpc_trigger_offset; |
| 362 | extern kal_int16 meas_sample_offset_5M; |
| 363 | extern kal_int16 wait_sample_offset_5M; |
| 364 | extern kal_int16 meas_sample_offset_10M; |
| 365 | extern kal_int16 wait_sample_offset_10M; |
| 366 | extern kal_int16 adc_off_offset_0; |
| 367 | extern kal_int16 adc_off_offset_1; |
| 368 | extern kal_int16 adc_off_offset_2; |
| 369 | |
| 370 | extern kal_uint32 tri_sw_lm1; |
| 371 | extern kal_uint32 tri_sw_et1; |
| 372 | extern kal_uint32 tri_sw_dpd; |
| 373 | extern kal_uint32 tri_sw_lm2; |
| 374 | extern kal_uint32 tri_sw_et2; |
| 375 | |
| 376 | #endif /* End of #ifndef _UL1D_DATA_H_ */ |
| 377 | |