\r
#define BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT 2\r
\r
+\r
+#define BT_8723B_2ANT_WIFI_RSSI_COEXSWITCH_THRES 42 //WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation\r
+#define BT_8723B_2ANT_BT_RSSI_COEXSWITCH_THRES 46 //BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation\r
+\r
typedef enum _BT_INFO_SRC_8723B_2ANT{\r
BT_INFO_SRC_8723B_2ANT_WIFI_FW = 0x0,\r
BT_INFO_SRC_8723B_2ANT_BT_RSP = 0x1,\r
\r
typedef struct _COEX_DM_8723B_2ANT{\r
// fw mechanism\r
- BOOLEAN bPreDecBtPwr;\r
- BOOLEAN bCurDecBtPwr;\r
+ u1Byte preBtDecPwrLvl;\r
+ u1Byte curBtDecPwrLvl;\r
u1Byte preFwDacSwingLvl;\r
u1Byte curFwDacSwingLvl;\r
BOOLEAN bCurIgnoreWlanAct;\r
\r
BOOLEAN bNeedRecover0x948;\r
u4Byte backup0x948;\r
+\r
+ u1Byte preLps;\r
+ u1Byte curLps;\r
+ u1Byte preRpwm;\r
+ u1Byte curRpwm;\r
} COEX_DM_8723B_2ANT, *PCOEX_DM_8723B_2ANT;\r
\r
typedef struct _COEX_STA_8723B_2ANT{ \r
u4Byte lowPriorityTx;\r
u4Byte lowPriorityRx;\r
u1Byte btRssi;\r
+ BOOLEAN bBtTxRxMask;\r
u1Byte preBtRssiState;\r
u1Byte preWifiRssiState[4];\r
BOOLEAN bC2hBtInfoReqSent;\r
u1Byte btInfoC2h[BT_INFO_SRC_8723B_2ANT_MAX][10];\r
u4Byte btInfoC2hCnt[BT_INFO_SRC_8723B_2ANT_MAX];\r
+ BOOLEAN bBtWhckTest;\r
BOOLEAN bC2hBtInquiryPage;\r
u1Byte btRetryCnt;\r
u1Byte btInfoExt;\r
+\r
+ u4Byte nCRCOK_CCK;\r
+ u4Byte nCRCOK_11g;\r
+ u4Byte nCRCOK_11n;\r
+ u4Byte nCRCOK_11nAgg;\r
+ \r
+ u4Byte nCRCErr_CCK;\r
+ u4Byte nCRCErr_11g;\r
+ u4Byte nCRCErr_11n;\r
+ u4Byte nCRCErr_11nAgg;\r
+\r
+ u1Byte nCoexTableType;\r
+ BOOLEAN bForceLpsOn;\r
+\r
+ u1Byte disVerInfoCnt;\r
}COEX_STA_8723B_2ANT, *PCOEX_STA_8723B_2ANT;\r
\r
//===========================================\r
// The following is interface which will notify coex module.\r
//===========================================\r
VOID\r
-EXhalbtc8723b2ant_InitHwConfig(\r
+EXhalbtc8723b2ant_PowerOnSetting(\r
IN PBTC_COEXIST pBtCoexist\r
);\r
VOID\r
+EXhalbtc8723b2ant_PreLoadFirmware(\r
+ IN PBTC_COEXIST pBtCoexist\r
+ );\r
+VOID\r
+EXhalbtc8723b2ant_InitHwConfig(\r
+ IN PBTC_COEXIST pBtCoexist,\r
+ IN BOOLEAN bWifiOnly\r
+ );\r
+VOID\r
EXhalbtc8723b2ant_InitCoexDm(\r
IN PBTC_COEXIST pBtCoexist\r
);\r
IN PBTC_COEXIST pBtCoexist\r
);\r
VOID\r
+EXhalbtc8723b2ant_PnpNotify(\r
+ IN PBTC_COEXIST pBtCoexist,\r
+ IN u1Byte pnpState\r
+ );\r
+VOID\r
EXhalbtc8723b2ant_Periodical(\r
IN PBTC_COEXIST pBtCoexist\r
);\r