lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /***********************************************************************
|
| 2 | * Copyright (C) 2001, ZTE Corporation.
|
| 3 | *
|
| 4 | * File Name: nvparam_tsc.h
|
| 5 | * File Mark:
|
| 6 | * Description:
|
| 7 | * Others:
|
| 8 | * Version:
|
| 9 | * Author:
|
| 10 | * Date:
|
| 11 | *
|
| 12 | * History 1:
|
| 13 | * Date:
|
| 14 | * Version:
|
| 15 | * Author:
|
| 16 | * Modification:
|
| 17 | * History 2:
|
| 18 | **********************************************************************/
|
| 19 |
|
| 20 | #ifndef NVPARAM_TSC_H
|
| 21 | #define NVPARAM_TSC_H
|
| 22 |
|
| 23 | /**************************************************************************
|
| 24 | * Include files *
|
| 25 | **************************************************************************/
|
| 26 | #include "RWNvConfig.h"
|
| 27 | /**************************************************************************
|
| 28 | * Macro *
|
| 29 | **************************************************************************/
|
| 30 | /****************************************************************************
|
| 31 | * Types
|
| 32 | ****************************************************************************/
|
| 33 |
|
| 34 | /******************************************************
|
| 35 | * TSC NV
|
| 36 | ******************************************************/
|
| 37 | #define PROBE_MAX_NUM (6)
|
| 38 |
|
| 39 | typedef struct
|
| 40 | {
|
| 41 | UINT8 THROSHOLD_0; /*fail_th0*/
|
| 42 | UINT8 THROSHOLD_1; /*rise_t0*/
|
| 43 | UINT8 THROSHOLD_2; /*fail_t1*/
|
| 44 | UINT8 THROSHOLD_3; /*rise_t1*/
|
| 45 | UINT8 THROSHOLD_4; /*fail_t2*/
|
| 46 | UINT8 THROSHOLD_5; /*rise_t2*/
|
| 47 | UINT8 THROSHOLD_6; /*fail_t3*/
|
| 48 | UINT8 THROSHOLD_7; /*rise_t3*/
|
| 49 | UINT8 THROSHOLD_8; /*fail_t4*/
|
| 50 | UINT8 THROSHOLD_9; /*rise_t4*/
|
| 51 | UINT8 THROSHOLD_10; /*rise_t5*/
|
| 52 | }
|
| 53 | T_SYS_NV_TSC_THRESHOLD;
|
| 54 |
|
| 55 | typedef struct
|
| 56 | {
|
| 57 | T_SYS_NV_TSC_THRESHOLD Threshods[PROBE_MAX_NUM]; /*ÓëÔÚdrvs_tscÖж¨ÒåµÄPROBE_MAX±£³ÖÒ»ÖÂ*/
|
| 58 | UINT8 reserved1[22];
|
| 59 | UINT8 DetectEn; /*οØ×Ü¿ª¹Ø£¬0xB2±íʾοشò¿ª,ÆäËûÖµ²»¿ª*/
|
| 60 | UINT8 Wifi_TxBackOff_En; /*ÏÞÖÆWIFI×î´ó¹¦ÂÊ¿ª¹Ø,0xB2±íʾÏÞÖÆÏÞÖÆWIFI×î´ó¹¦ÂÊ´ò¿ª,ÆäËûÖµ²»¿ª*/
|
| 61 | UINT8 Wifi_RateLmite_En; /*ÏÞÖÆWIFI¹¦ÂÊ¿ª¹Ø£¬0xB2±íʾÏÞÖÆWIFI¹¦ÂÊ´ò¿ª,ÆäËûÖµ²»¿ª*/
|
| 62 | UINT8 Wifi_IntervalTime;/*wifi½µËÙʱ¼ä¼ä¸ô£¬Ä¬ÈÏ0ʱΪĬÈÏʱ³¤1min£¬ÆäÓàÖµÉèÖöàÉÙ¼ä¸ôΪ¶àÉÙ*/
|
| 63 | UINT8 Aprate_En; /*AP²àËÙÂÊ¿ØÖÆ¿ª¹Ø£¬0xB2±íʾAP²àËÙÂÊ¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
|
| 64 | UINT8 Modemrate_En; /*modem ²àËÙÂÊ¿ØÖÆ¿ª¹Ø£¬0xB2±íʾmodem²àËÙÂÊ¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
|
| 65 | UINT8 Dfs_En; /*ps ²àDFS¿ØÖÆ¿ª¹Ø£¬0xB2±íʾps ²àDFS¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
|
| 66 | UINT8 TansmitPower_En; /* modem²à½µ·¢É书ÂÊ¿ØÖÆ¿ª¹Ø, 0xB2±íʾmodem²à½µ·¢É书ÂÊ¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
|
| 67 | UINT8 User_En; /*Óû§²ßÂÔ¿ØÖÆ¿ª¹Ø0xB2±íʾ¿ª,ÆäËûÖµ²»¿ª*/
|
xf.li | aa4d92f | 2023-09-13 00:18:58 -0700 | [diff] [blame] | 68 | UINT8 AdcRFd_En; /*VEHICLE_DC ÊÇ·ñ²ÉÓÃAdcRFd»ñÈ¡DBBζÈ×öοأ¬ 0xB2±íʾ²ÉÓÃ,ÆäËûÖµ²»ÓÃ*/
|
| 69 | UINT8 reserved2[2];
|
lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 70 | }T_SYS_NV_TSC_CONFIG;
|
| 71 |
|
| 72 | /******************************************************
|
| 73 | * Drv NV Config
|
| 74 | ******************************************************/
|
| 75 |
|
| 76 | /****************************************************************************
|
| 77 | * Function Prototypes
|
| 78 | ****************************************************************************/
|
| 79 |
|
| 80 | #endif /* NVPARAM_TSC_H */
|