| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #ifndef __FM_CUST_CFG_H__
- #define __FM_CUST_CFG_H__
- /* scan sort algorithm */
- enum {
- FM_SCAN_SORT_NON = 0,
- FM_SCAN_SORT_UP,
- FM_SCAN_SORT_DOWN,
- FM_SCAN_SORT_MAX
- };
- /*typedef struct {
- fm_s32 short_ana_rssi_th;
- fm_s32 long_ana_rssi_th;
- fm_s32 desene_rssi_th;
- fm_s32 pamd_th;
- fm_s32 mr_th;
- fm_s32 atdc_th;
- fm_u32 prx_th;
- fm_u32 atdev_th;
- fm_u16 smg_th;
- fm_u16 deemphasis;
- fm_u16 osc_freq;
- }mt6628_fm_rx_cust_cfg;
- typedef struct{
- mt6628_fm_rx_cust_cfg rx_cfg;
- }mt6628_fm_cust_cfg;
- */
- /* ***************************************************************************************** */
- /* ***********************************FM config for customer: start****************************** */
- /* ***************************************************************************************** */
- /* RX */
- #define FM_RX_RSSI_TH_LONG_MT6627 -296 /* FM radio long antenna RSSI threshold(-4dBuV) */
- #define FM_RX_RSSI_TH_SHORT_MT6627 -296 /* FM radio short antenna RSSI threshold(-4dBuV) */
- #define FM_RX_DESENSE_RSSI_MT6627 -258
- #define FM_RX_PAMD_TH_MT6627 -12
- #define FM_RX_MR_TH_MT6627 -67
- #define FM_RX_ATDC_TH_MT6627 3496
- #define FM_RX_PRX_TH_MT6627 64
- #define FM_RX_SMG_TH_MT6627 16421 /* FM soft-mute gain threshold */
- #define FM_RX_DEEMPHASIS_MT6627 0 /* 0-50us, China Mainland; 1-75us China Taiwan */
- #define FM_RX_OSC_FREQ_MT6627 0 /* 0-26MHz; 1-19MHz; 2-24MHz; 3-38.4MHz; 4-40MHz; 5-52MHz */
- #define FM_AUTO_HILO_OFF_MT6627 0
- #define FM_AUTO_HILO_ON_MT6627 1
- /* seek threshold */
- #define FM_SEEKTH_LEVEL_DEFAULT_MT6627 4
- extern fm_cust_cfg mt6627_fm_config;
- #endif /* __FM_CUST_CFG_H__ */
|