blob: 93a0197337b8db74fe9b33883cc2ba2c76f24d70 [file] [log] [blame]
/***********************************************************************
* Copyright (C) 2001, ZTE Corporation.
*
* File Name: nvparam_tsc.h
* File Mark:
* Description:
* Others:
* Version:
* Author:
* Date:
*
* History 1:
* Date:
* Version:
* Author:
* Modification:
* History 2:
**********************************************************************/
#ifndef NVPARAM_TSC_H
#define NVPARAM_TSC_H
/**************************************************************************
* Include files *
**************************************************************************/
#include "RWNvConfig.h"
/**************************************************************************
* Macro *
**************************************************************************/
/****************************************************************************
* Types
****************************************************************************/
/******************************************************
* TSC NV
******************************************************/
#define PROBE_MAX_NUM (6)
typedef struct
{
UINT8 THROSHOLD_0; /*fail_th0*/
UINT8 THROSHOLD_1; /*rise_t0*/
UINT8 THROSHOLD_2; /*fail_t1*/
UINT8 THROSHOLD_3; /*rise_t1*/
UINT8 THROSHOLD_4; /*fail_t2*/
UINT8 THROSHOLD_5; /*rise_t2*/
UINT8 THROSHOLD_6; /*fail_t3*/
UINT8 THROSHOLD_7; /*rise_t3*/
UINT8 THROSHOLD_8; /*fail_t4*/
UINT8 THROSHOLD_9; /*rise_t4*/
UINT8 THROSHOLD_10; /*rise_t5*/
}
T_SYS_NV_TSC_THRESHOLD;
typedef struct
{
T_SYS_NV_TSC_THRESHOLD Threshods[PROBE_MAX_NUM]; /*ÓëÔÚdrvs_tscÖж¨ÒåµÄPROBE_MAX±£³ÖÒ»ÖÂ*/
UINT8 reserved1[22];
UINT8 DetectEn; /*οØ×Ü¿ª¹Ø£¬0xB2±íʾοشò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 Wifi_TxBackOff_En; /*ÏÞÖÆWIFI×î´ó¹¦ÂÊ¿ª¹Ø,0xB2±íʾÏÞÖÆÏÞÖÆWIFI×î´ó¹¦ÂÊ´ò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 Wifi_RateLmite_En; /*ÏÞÖÆWIFI¹¦ÂÊ¿ª¹Ø£¬0xB2±íʾÏÞÖÆWIFI¹¦ÂÊ´ò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 Wifi_IntervalTime;/*wifi½µËÙʱ¼ä¼ä¸ô£¬Ä¬ÈÏ0ʱΪĬÈÏʱ³¤1min£¬ÆäÓàÖµÉèÖöàÉÙ¼ä¸ôΪ¶àÉÙ*/
UINT8 Aprate_En; /*AP²àËÙÂÊ¿ØÖÆ¿ª¹Ø£¬0xB2±íʾAP²àËÙÂÊ¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 Modemrate_En; /*modem ²àËÙÂÊ¿ØÖÆ¿ª¹Ø£¬0xB2±íʾmodem²àËÙÂÊ¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 Dfs_En; /*ps ²àDFS¿ØÖÆ¿ª¹Ø£¬0xB2±íʾps ²àDFS¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 TansmitPower_En; /* modem²à½µ·¢É书ÂÊ¿ØÖÆ¿ª¹Ø, 0xB2±íʾmodem²à½µ·¢É书ÂÊ¿ØÖÆ´ò¿ª,ÆäËûÖµ²»¿ª*/
UINT8 User_En; /*Óû§²ßÂÔ¿ØÖÆ¿ª¹Ø0xB2±íʾ¿ª,ÆäËûÖµ²»¿ª*/
UINT8 reserved2[3];
}T_SYS_NV_TSC_CONFIG;
/******************************************************
* Drv NV Config
******************************************************/
/****************************************************************************
* Function Prototypes
****************************************************************************/
#endif /* NVPARAM_TSC_H */