}
 
 static void halbtc8723b1ant_UpdateRaMask(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u32 disRateMask
+       struct btc_coexist *pBtCoexist, bool bForceExec, u32 disRateMask
 )
 {
        pCoexDm->curRaMask = disRateMask;
 }
 
 static void halbtc8723b1ant_AutoRateFallbackRetry(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
 )
 {
        bool bWifiUnderBMode = false;
 }
 
 static void halbtc8723b1ant_RetryLimit(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
 )
 {
        pCoexDm->curRetryLimitType = type;
 }
 
 static void halbtc8723b1ant_AmpduMaxTime(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
 )
 {
        pCoexDm->curAmpduTimeType = type;
 }
 
 static void halbtc8723b1ant_LimitedTx(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bForceExec,
        u8 raMaskType,
        u8 arfrType,
 }
 
 static void halbtc8723b1ant_LimitedRx(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bForceExec,
        bool bRejApAggPkt,
        bool bBtCtrlAggBufSize,
 
 }
 
-static void halbtc8723b1ant_QueryBtInfo(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_QueryBtInfo(struct btc_coexist *pBtCoexist)
 {
        u8      H2C_Parameter[1] = {0};
 
        pBtCoexist->fBtcFillH2c(pBtCoexist, 0x61, 1, H2C_Parameter);
 }
 
-static void halbtc8723b1ant_MonitorBtCtr(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_MonitorBtCtr(struct btc_coexist *pBtCoexist)
 {
        u32 regHPTxRx, regLPTxRx, u4Tmp;
        u32 regHPTx = 0, regHPRx = 0, regLPTx = 0, regLPRx = 0;
 }
 
 
-static void halbtc8723b1ant_MonitorWiFiCtr(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_MonitorWiFiCtr(struct btc_coexist *pBtCoexist)
 {
        s32     wifiRssi = 0;
        bool bWifiBusy = false, bWifiUnderBMode = false;
 
 }
 
-static bool halbtc8723b1ant_IsWifiStatusChanged(struct BTC_COEXIST *pBtCoexist)
+static bool halbtc8723b1ant_IsWifiStatusChanged(struct btc_coexist *pBtCoexist)
 {
        static bool     bPreWifiBusy, bPreUnder4way, bPreBtHsOn;
        bool bWifiBusy = false, bUnder4way = false, bBtHsOn = false;
        return false;
 }
 
-static void halbtc8723b1ant_UpdateBtLinkInfo(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_UpdateBtLinkInfo(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bBtHsOn = false;
 
        pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn);
                pBtLinkInfo->bHidOnly = false;
 }
 
-static u8 halbtc8723b1ant_ActionAlgorithm(struct BTC_COEXIST *pBtCoexist)
+static u8 halbtc8723b1ant_ActionAlgorithm(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bBtHsOn = false;
        u8 algorithm = BT_8723B_1ANT_COEX_ALGO_UNDEFINED;
        u8 numOfDiffProfile = 0;
 }
 
 static void halbtc8723b1ant_SetSwPenaltyTxRateAdaptive(
-       struct BTC_COEXIST *pBtCoexist, bool bLowPenaltyRa
+       struct btc_coexist *pBtCoexist, bool bLowPenaltyRa
 )
 {
        u8      H2C_Parameter[6] = {0};
 }
 
 static void halbtc8723b1ant_LowPenaltyRa(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
 )
 {
        pCoexDm->bCurLowPenaltyRa = bLowPenaltyRa;
 }
 
 static void halbtc8723b1ant_SetCoexTable(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        u32 val0x6c0,
        u32 val0x6c4,
        u32 val0x6c8,
 }
 
 static void halbtc8723b1ant_CoexTable(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bForceExec,
        u32 val0x6c0,
        u32 val0x6c4,
 }
 
 static void halbtc8723b1ant_CoexTableWithType(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b1ant_SetFwIgnoreWlanAct(
-       struct BTC_COEXIST *pBtCoexist, bool bEnable
+       struct btc_coexist *pBtCoexist, bool bEnable
 )
 {
        u8 H2C_Parameter[1] = {0};
 }
 
 static void halbtc8723b1ant_IgnoreWlanAct(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bEnable
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bEnable
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b1ant_SetLpsRpwm(
-       struct BTC_COEXIST *pBtCoexist, u8 lpsVal, u8 rpwmVal
+       struct btc_coexist *pBtCoexist, u8 lpsVal, u8 rpwmVal
 )
 {
        u8 lps = lpsVal;
 }
 
 static void halbtc8723b1ant_LpsRpwm(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 lpsVal, u8 rpwmVal
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 lpsVal, u8 rpwmVal
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b1ant_SwMechanism(
-       struct BTC_COEXIST *pBtCoexist, bool bLowPenaltyRA
+       struct btc_coexist *pBtCoexist, bool bLowPenaltyRA
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b1ant_SetAntPath(
-       struct BTC_COEXIST *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
+       struct btc_coexist *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
 )
 {
-       struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
+       struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
        u32 fwVer = 0, u4Tmp = 0, cntBtCalChk = 0;
        bool bPgExtSwitch = false;
        bool bUseExtSwitch = false;
 }
 
 static void halbtc8723b1ant_SetFwPstdma(
-       struct BTC_COEXIST *pBtCoexist, u8 byte1, u8 byte2, u8 byte3, u8 byte4, u8 byte5
+       struct btc_coexist *pBtCoexist, u8 byte1, u8 byte2, u8 byte3, u8 byte4, u8 byte5
 )
 {
        u8 H2C_Parameter[5] = {0};
 
 
 static void halbtc8723b1ant_PsTdma(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
 )
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bWifiBusy = false;
        u8 rssiAdjustVal = 0;
        u8 psTdmaByte4Val = 0x50, psTdmaByte0Val = 0x51, psTdmaByte3Val =  0x10;
        pCoexDm->prePsTdma = pCoexDm->curPsTdma;
 }
 
-static bool halbtc8723b1ant_IsCommonAction(struct BTC_COEXIST *pBtCoexist)
+static bool halbtc8723b1ant_IsCommonAction(struct btc_coexist *pBtCoexist)
 {
        bool bCommon = false, bWifiConnected = false, bWifiBusy = false;
 
 
 
 static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
-       struct BTC_COEXIST *pBtCoexist, u8 wifiStatus
+       struct btc_coexist *pBtCoexist, u8 wifiStatus
 )
 {
        static s32 up, dn, m, n, WaitCount;
 }
 
 static void halbtc8723b1ant_PsTdmaCheckForPowerSaveState(
-       struct BTC_COEXIST *pBtCoexist, bool bNewPsState
+       struct btc_coexist *pBtCoexist, bool bNewPsState
 )
 {
        u8 lpsMode = 0x0;
 }
 
 static void halbtc8723b1ant_PowerSaveState(
-       struct BTC_COEXIST *pBtCoexist, u8 psType, u8 lpsVal, u8 rpwmVal
+       struct btc_coexist *pBtCoexist, u8 psType, u8 lpsVal, u8 rpwmVal
 )
 {
        bool bLowPwrDisable = false;
 /*     Non-Software Coex Mechanism start */
 /*  */
 /*  */
-static void halbtc8723b1ant_ActionWifiMultiPort(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_ActionWifiMultiPort(struct btc_coexist *pBtCoexist)
 {
        halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
 
        halbtc8723b1ant_CoexTableWithType(pBtCoexist, NORMAL_EXEC, 2);
 }
 
-static void halbtc8723b1ant_ActionHs(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_ActionHs(struct btc_coexist *pBtCoexist)
 {
        halbtc8723b1ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, 5);
        halbtc8723b1ant_CoexTableWithType(pBtCoexist, NORMAL_EXEC, 2);
 }
 
-static void halbtc8723b1ant_ActionBtInquiry(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_ActionBtInquiry(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bWifiConnected = false;
        bool bApEnable = false;
        bool bWifiBusy = false;
 }
 
 static void halbtc8723b1ant_ActionBtScoHidOnlyBusy(
-       struct BTC_COEXIST *pBtCoexist, u8 wifiStatus
+       struct btc_coexist *pBtCoexist, u8 wifiStatus
 )
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bWifiConnected = false;
 
        pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected);
 }
 
 static void halbtc8723b1ant_ActionWifiConnectedBtAclBusy(
-       struct BTC_COEXIST *pBtCoexist, u8 wifiStatus
+       struct btc_coexist *pBtCoexist, u8 wifiStatus
 )
 {
        u8 btRssiState;
 
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        btRssiState = halbtc8723b1ant_BtRssiState(2, 28, 0);
 
        if ((pCoexSta->lowPriorityRx >= 1000) && (pCoexSta->lowPriorityRx != 65535))
        }
 }
 
-static void halbtc8723b1ant_ActionWifiNotConnected(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_ActionWifiNotConnected(struct btc_coexist *pBtCoexist)
 {
        /*  power save state */
        halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
 }
 
 static void halbtc8723b1ant_ActionWifiNotConnectedScan(
-       struct BTC_COEXIST *pBtCoexist
+       struct btc_coexist *pBtCoexist
 )
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
 
        halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
 
 }
 
 static void halbtc8723b1ant_ActionWifiNotConnectedAssoAuth(
-       struct BTC_COEXIST *pBtCoexist
+       struct btc_coexist *pBtCoexist
 )
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
 
        halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
 
        }
 }
 
-static void halbtc8723b1ant_ActionWifiConnectedScan(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_ActionWifiConnectedScan(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
 
        halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
 
 }
 
 static void halbtc8723b1ant_ActionWifiConnectedSpecialPacket(
-       struct BTC_COEXIST *pBtCoexist
+       struct btc_coexist *pBtCoexist
 )
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
 
        halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
 
        }
 }
 
-static void halbtc8723b1ant_ActionWifiConnected(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_ActionWifiConnected(struct btc_coexist *pBtCoexist)
 {
        bool bWifiBusy = false;
        bool bScan = false, bLink = false, bRoam = false;
        }
 }
 
-static void halbtc8723b1ant_RunSwCoexistMechanism(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_RunSwCoexistMechanism(struct btc_coexist *pBtCoexist)
 {
        u8 algorithm = 0;
 
        }
 }
 
-static void halbtc8723b1ant_RunCoexistMechanism(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_RunCoexistMechanism(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bWifiConnected = false, bBtHsOn = false;
        bool bIncreaseScanDevNum = false;
        bool bBtCtrlAggBufSize = false;
                halbtc8723b1ant_ActionWifiConnected(pBtCoexist);
 }
 
-static void halbtc8723b1ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b1ant_InitCoexDm(struct btc_coexist *pBtCoexist)
 {
        /*  force to reset coex mechanism */
 
 }
 
 static void halbtc8723b1ant_InitHwConfig(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bBackUp,
        bool bWifiOnly
 )
 /*  */
 /*  extern function start with EXhalbtc8723b1ant_ */
 /*  */
-void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
+       struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
        u8 u1Tmp = 0x0;
        u16 u2Tmp = 0x0;
 
        }
 }
 
-void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly)
+void EXhalbtc8723b1ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly)
 {
        halbtc8723b1ant_InitHwConfig(pBtCoexist, true, bWifiOnly);
 }
 
-void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b1ant_InitCoexDm(struct btc_coexist *pBtCoexist)
 {
        BTC_PRINT(
                BTC_MSG_INTERFACE,
        halbtc8723b1ant_QueryBtInfo(pBtCoexist);
 }
 
-void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b1ant_DisplayCoexInfo(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
-       struct BTC_STACK_INFO *pStackInfo = &pBtCoexist->stackInfo;
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
+       struct btc_stack_info *pStackInfo = &pBtCoexist->stackInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        u8 *cliBuf = pBtCoexist->cliBuf;
        u8 u1Tmp[4], i, btInfoExt, psTdmaCase = 0;
        u16 u2Tmp[4];
 }
 
 
-void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_IpsNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (pBtCoexist->bManualControl ||       pBtCoexist->bStopCoexDm)
                return;
        }
 }
 
-void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_LpsNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (pBtCoexist->bManualControl || pBtCoexist->bStopCoexDm)
                return;
        }
 }
 
-void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        bool bWifiConnected = false, bBtHsOn = false;
        u32 wifiLinkStatus = 0;
        }
 }
 
-void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        bool bWifiConnected = false, bBtHsOn = false;
        u32 wifiLinkStatus = 0;
        }
 }
 
-void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_MediaStatusNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        u8 H2C_Parameter[3] = {0};
        u32 wifiBw;
        pBtCoexist->fBtcFillH2c(pBtCoexist, 0x66, 3, H2C_Parameter);
 }
 
-void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        bool bBtHsOn = false;
        u32 wifiLinkStatus = 0;
 }
 
 void EXhalbtc8723b1ant_BtInfoNotify(
-       struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
+       struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
 )
 {
        u8 btInfo = 0;
        halbtc8723b1ant_RunCoexistMechanism(pBtCoexist);
 }
 
-void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b1ant_HaltNotify(struct btc_coexist *pBtCoexist)
 {
        BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Halt notify\n"));
 
        pBtCoexist->bStopCoexDm = true;
 }
 
-void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
+void EXhalbtc8723b1ant_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState)
 {
        BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Pnp notify\n"));
 
        }
 }
 
-void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b1ant_Periodical(struct btc_coexist *pBtCoexist)
 {
        static u8 disVerInfoCnt;
        u32 fwVer = 0, btPatchVer = 0;
 
 /*  */
 /*  The following is interface which will notify coex module. */
 /*  */
-void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly);
-void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b1ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly);
+void EXhalbtc8723b1ant_InitCoexDm(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b1ant_IpsNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_LpsNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_MediaStatusNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 type);
 void EXhalbtc8723b1ant_BtInfoNotify(
-       struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
+       struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
 );
-void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState);
-void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b1ant_HaltNotify(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b1ant_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState);
+void EXhalbtc8723b1ant_Periodical(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b1ant_DisplayCoexInfo(struct btc_coexist *pBtCoexist);
 
 }
 
 static u8 halbtc8723b2ant_WifiRssiState(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        u8 index,
        u8 levelNum,
        u8 rssiThresh,
 }
 
 static void halbtc8723b2ant_LimitedRx(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bForceExec,
        bool bRejApAggPkt,
        bool bBtCtrlAggBufSize,
        pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL);
 }
 
-static void halbtc8723b2ant_MonitorBtCtr(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_MonitorBtCtr(struct btc_coexist *pBtCoexist)
 {
        u32 regHPTxRx, regLPTxRx, u4Tmp;
        u32 regHPTx = 0, regHPRx = 0, regLPTx = 0, regLPRx = 0;
        pBtCoexist->fBtcWrite1Byte(pBtCoexist, 0x76e, 0xc);
 }
 
-static void halbtc8723b2ant_QueryBtInfo(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_QueryBtInfo(struct btc_coexist *pBtCoexist)
 {
        u8      H2C_Parameter[1] = {0};
 
        pBtCoexist->fBtcFillH2c(pBtCoexist, 0x61, 1, H2C_Parameter);
 }
 
-static bool halbtc8723b2ant_IsWifiStatusChanged(struct BTC_COEXIST *pBtCoexist)
+static bool halbtc8723b2ant_IsWifiStatusChanged(struct btc_coexist *pBtCoexist)
 {
        static bool     bPreWifiBusy, bPreUnder4way, bPreBtHsOn;
        bool bWifiBusy = false, bUnder4way = false, bBtHsOn = false;
        return false;
 }
 
-static void halbtc8723b2ant_UpdateBtLinkInfo(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_UpdateBtLinkInfo(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bBtHsOn = false;
 
        pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn);
                pBtLinkInfo->bHidOnly = false;
 }
 
-static u8 halbtc8723b2ant_ActionAlgorithm(struct BTC_COEXIST *pBtCoexist)
+static u8 halbtc8723b2ant_ActionAlgorithm(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        bool bBtHsOn = false;
        u8 algorithm = BT_8723B_2ANT_COEX_ALGO_UNDEFINED;
        u8 numOfDiffProfile = 0;
 }
 
 static void halbtc8723b2ant_SetFwDacSwingLevel(
-       struct BTC_COEXIST *pBtCoexist, u8 dacSwingLvl
+       struct btc_coexist *pBtCoexist, u8 dacSwingLvl
 )
 {
        u8      H2C_Parameter[1] = {0};
 }
 
 static void halbtc8723b2ant_SetFwDecBtPwr(
-       struct BTC_COEXIST *pBtCoexist, u8 decBtPwrLvl
+       struct btc_coexist *pBtCoexist, u8 decBtPwrLvl
 )
 {
        u8      H2C_Parameter[1] = {0};
 }
 
 static void halbtc8723b2ant_DecBtPwr(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 decBtPwrLvl
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 decBtPwrLvl
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b2ant_FwDacSwingLvl(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 fwDacSwingLvl
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 fwDacSwingLvl
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b2ant_SetSwRfRxLpfCorner(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bRxRfShrinkOn
 )
 {
 }
 
 static void halbtc8723b2ant_RfShrink(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bRxRfShrinkOn
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bRxRfShrinkOn
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b2ant_SetSwPenaltyTxRateAdaptive(
-       struct BTC_COEXIST *pBtCoexist, bool bLowPenaltyRa
+       struct btc_coexist *pBtCoexist, bool bLowPenaltyRa
 )
 {
        u8      H2C_Parameter[6] = {0};
 }
 
 static void halbtc8723b2ant_LowPenaltyRa(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
 )
 {
        /* return; */
        pCoexDm->bPreLowPenaltyRa = pCoexDm->bCurLowPenaltyRa;
 }
 
-static void halbtc8723b2ant_SetDacSwingReg(struct BTC_COEXIST *pBtCoexist, u32 level)
+static void halbtc8723b2ant_SetDacSwingReg(struct btc_coexist *pBtCoexist, u32 level)
 {
        u8 val = (u8)level;
 
 }
 
 static void halbtc8723b2ant_SetSwFullTimeDacSwing(
-       struct BTC_COEXIST *pBtCoexist, bool bSwDacSwingOn, u32 swDacSwingLvl
+       struct btc_coexist *pBtCoexist, bool bSwDacSwingOn, u32 swDacSwingLvl
 )
 {
        if (bSwDacSwingOn)
 
 
 static void halbtc8723b2ant_DacSwing(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bForceExec,
        bool bDacSwingOn,
        u32 dacSwingLvl
 }
 
 static void halbtc8723b2ant_SetAgcTable(
-       struct BTC_COEXIST *pBtCoexist, bool bAgcTableEn
+       struct btc_coexist *pBtCoexist, bool bAgcTableEn
 )
 {
        u8 rssiAdjustVal = 0;
 }
 
 static void halbtc8723b2ant_AgcTable(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bAgcTableEn
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bAgcTableEn
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b2ant_SetCoexTable(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        u32 val0x6c0,
        u32 val0x6c4,
        u32 val0x6c8,
 }
 
 static void halbtc8723b2ant_CoexTable(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bForceExec,
        u32 val0x6c0,
        u32 val0x6c4,
 }
 
 static void halbtc8723b2ant_CoexTableWithType(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
 )
 {
        switch (type) {
 }
 
 static void halbtc8723b2ant_SetFwIgnoreWlanAct(
-       struct BTC_COEXIST *pBtCoexist, bool bEnable
+       struct btc_coexist *pBtCoexist, bool bEnable
 )
 {
        u8      H2C_Parameter[1] = {0};
 }
 
 static void halbtc8723b2ant_IgnoreWlanAct(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bEnable
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bEnable
 )
 {
        BTC_PRINT(
 }
 
 static void halbtc8723b2ant_SetFwPstdma(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        u8 byte1,
        u8 byte2,
        u8 byte3,
 }
 
 static void halbtc8723b2ant_SwMechanism1(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bShrinkRxLPF,
        bool bLowPenaltyRA,
        bool bLimitedDIG,
 }
 
 static void halbtc8723b2ant_SwMechanism2(
-       struct BTC_COEXIST *pBtCoexist,
+       struct btc_coexist *pBtCoexist,
        bool bAGCTableShift,
        bool bADCBackOff,
        bool bSWDACSwing,
 }
 
 static void halbtc8723b2ant_SetAntPath(
-       struct BTC_COEXIST *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
+       struct btc_coexist *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
 )
 {
-       struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
+       struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
        u32 fwVer = 0, u4Tmp = 0;
        bool bPgExtSwitch = false;
        bool bUseExtSwitch = false;
 }
 
 static void halbtc8723b2ant_PsTdma(
-       struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
+       struct btc_coexist *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
 )
 {
        BTC_PRINT(
        pCoexDm->prePsTdma = pCoexDm->curPsTdma;
 }
 
-static void halbtc8723b2ant_CoexAllOff(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_CoexAllOff(struct btc_coexist *pBtCoexist)
 {
        /*  fw all off */
        halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, false, 1);
        halbtc8723b2ant_CoexTableWithType(pBtCoexist, NORMAL_EXEC, 0);
 }
 
-static void halbtc8723b2ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_InitCoexDm(struct btc_coexist *pBtCoexist)
 {
        /*  force to reset coex mechanism */
 
        halbtc8723b2ant_SwMechanism2(pBtCoexist, false, false, false, 0x18);
 }
 
-static void halbtc8723b2ant_ActionBtInquiry(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionBtInquiry(struct btc_coexist *pBtCoexist)
 {
        bool bWifiConnected = false;
        bool bLowPwrDisable = true;
        halbtc8723b2ant_SetAntPath(pBtCoexist, BTC_ANT_WIFI_AT_AUX, false, false);
 }
 
-static bool halbtc8723b2ant_IsCommonAction(struct BTC_COEXIST *pBtCoexist)
+static bool halbtc8723b2ant_IsCommonAction(struct btc_coexist *pBtCoexist)
 {
        u8 btRssiState = BTC_RSSI_STATE_HIGH;
        bool bCommon = false, bWifiConnected = false, bWifiBusy = false;
 }
 
 static void halbtc8723b2ant_TdmaDurationAdjust(
-       struct BTC_COEXIST *pBtCoexist, bool bScoHid, bool bTxPause, u8 maxInterval
+       struct btc_coexist *pBtCoexist, bool bScoHid, bool bTxPause, u8 maxInterval
 )
 {
        static s32 up, dn, m, n, WaitCount;
 }
 
 /*  SCO only or SCO+PAN(HS) */
-static void halbtc8723b2ant_ActionSco(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionSco(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
 }
 
 
-static void halbtc8723b2ant_ActionHid(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionHid(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
 }
 
 /* A2DP only / PAN(EDR) only/ A2DP+PAN(HS) */
-static void halbtc8723b2ant_ActionA2dp(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionA2dp(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, wifiRssiState1, btRssiState;
        u32 wifiBw;
        }
 }
 
-static void halbtc8723b2ant_ActionA2dpPanHs(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionA2dpPanHs(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
        }
 }
 
-static void halbtc8723b2ant_ActionPanEdr(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionPanEdr(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
 
 
 /* PAN(HS) only */
-static void halbtc8723b2ant_ActionPanHs(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionPanHs(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
 }
 
 /* PAN(EDR)+A2DP */
-static void halbtc8723b2ant_ActionPanEdrA2dp(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionPanEdrA2dp(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
        }
 }
 
-static void halbtc8723b2ant_ActionPanEdrHid(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionPanEdrHid(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
 }
 
 /*  HID+A2DP+PAN(EDR) */
-static void halbtc8723b2ant_ActionHidA2dpPanEdr(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionHidA2dpPanEdr(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
        }
 }
 
-static void halbtc8723b2ant_ActionHidA2dp(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_ActionHidA2dp(struct btc_coexist *pBtCoexist)
 {
        u8 wifiRssiState, btRssiState;
        u32 wifiBw;
        }
 }
 
-static void halbtc8723b2ant_RunCoexistMechanism(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_RunCoexistMechanism(struct btc_coexist *pBtCoexist)
 {
        u8 algorithm = 0;
 
        }
 }
 
-static void halbtc8723b2ant_WifiOffHwCfg(struct BTC_COEXIST *pBtCoexist)
+static void halbtc8723b2ant_WifiOffHwCfg(struct btc_coexist *pBtCoexist)
 {
        bool bIsInMpMode = false;
        u8 H2C_Parameter[2] = {0};
                pBtCoexist->fBtcWrite1ByteBitMask(pBtCoexist, 0x67, 0x20, 0x1); /* BT select s0/s1 is controlled by WiFi */
 }
 
-static void halbtc8723b2ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bBackUp)
+static void halbtc8723b2ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bBackUp)
 {
        u8 u1Tmp = 0;
 
 /*  */
 /*  extern function start with EXhalbtc8723b2ant_ */
 /*  */
-void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b2ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
+       struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
        u8 u1Tmp = 0x4; /* Set BIT2 by default since it's 2ant case */
        u16 u2Tmp = 0x0;
 
        }
 }
 
-void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly)
+void EXhalbtc8723b2ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly)
 {
        halbtc8723b2ant_InitHwConfig(pBtCoexist, true);
 }
 
-void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b2ant_InitCoexDm(struct btc_coexist *pBtCoexist)
 {
        BTC_PRINT(BTC_MSG_INTERFACE, INTF_INIT, ("[BTCoex], Coex Mechanism Init!!\n"));
 
        halbtc8723b2ant_InitCoexDm(pBtCoexist);
 }
 
-void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b2ant_DisplayCoexInfo(struct btc_coexist *pBtCoexist)
 {
-       struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
-       struct BTC_STACK_INFO *pStackInfo = &pBtCoexist->stackInfo;
-       struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
+       struct btc_board_info *pBoardInfo = &pBtCoexist->boardInfo;
+       struct btc_stack_info *pStackInfo = &pBtCoexist->stackInfo;
+       struct btc_bt_link_info *pBtLinkInfo = &pBtCoexist->btLinkInfo;
        u8 *cliBuf = pBtCoexist->cliBuf;
        u8 u1Tmp[4], i, btInfoExt, psTdmaCase = 0;
        u32 u4Tmp[4];
 }
 
 
-void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_IpsNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (BTC_IPS_ENTER == type) {
                BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], IPS ENTER notify\n"));
        }
 }
 
-void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_LpsNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (BTC_LPS_ENABLE == type) {
                BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], LPS ENABLE notify\n"));
        }
 }
 
-void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (BTC_SCAN_START == type) {
                BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], SCAN START notify\n"));
        }
 }
 
-void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (BTC_ASSOCIATE_START == type) {
                BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], CONNECT START notify\n"));
        }
 }
 
-void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_MediaStatusNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        u8 H2C_Parameter[3] = {0};
        u32 wifiBw;
        pBtCoexist->fBtcFillH2c(pBtCoexist, 0x66, 3, H2C_Parameter);
 }
 
-void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        if (type == BTC_PACKET_DHCP) {
                BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], DHCP Packet notify\n"));
 }
 
 void EXhalbtc8723b2ant_BtInfoNotify(
-       struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
+       struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
 )
 {
        u8      btInfo = 0;
        halbtc8723b2ant_RunCoexistMechanism(pBtCoexist);
 }
 
-void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b2ant_HaltNotify(struct btc_coexist *pBtCoexist)
 {
        BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Halt notify\n"));
 
        EXhalbtc8723b2ant_MediaStatusNotify(pBtCoexist, BTC_MEDIA_DISCONNECT);
 }
 
-void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
+void EXhalbtc8723b2ant_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState)
 {
        BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Pnp notify\n"));
 
        }
 }
 
-void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtc8723b2ant_Periodical(struct btc_coexist *pBtCoexist)
 {
        static u8 disVerInfoCnt;
        u32 fwVer = 0, btPatchVer = 0;
 
 /*  */
 /*  The following is interface which will notify coex module. */
 /*  */
-void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly);
-void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_PowerOnSetting(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b2ant_InitHwConfig(struct btc_coexist *pBtCoexist, bool bWifiOnly);
+void EXhalbtc8723b2ant_InitCoexDm(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b2ant_IpsNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_LpsNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_ScanNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_ConnectNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_MediaStatusNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 type);
 void EXhalbtc8723b2ant_BtInfoNotify(
-       struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
+       struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
 );
-void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState);
-void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b2ant_HaltNotify(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b2ant_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState);
+void EXhalbtc8723b2ant_Periodical(struct btc_coexist *pBtCoexist);
+void EXhalbtc8723b2ant_DisplayCoexInfo(struct btc_coexist *pBtCoexist);
 
 #define BTC_ANT_WIFI_AT_CPL_MAIN       0
 #define BTC_ANT_WIFI_AT_CPL_AUX                1
 
-enum BTC_POWERSAVE_TYPE {
+enum btc_powersave_type {
        BTC_PS_WIFI_NATIVE      = 0,    /*  wifi original power save behavior */
        BTC_PS_LPS_ON           = 1,
        BTC_PS_LPS_OFF          = 2,
        BTC_PS_MAX
 };
 
-enum BTC_BT_REG_TYPE {
+enum btc_bt_reg_type {
        BTC_BT_REG_RF           = 0,
        BTC_BT_REG_MODEM        = 1,
        BTC_BT_REG_BLUEWIZE     = 2,
        BTC_BT_REG_MAX
 };
 
-enum BTC_CHIP_INTERFACE {
+enum btc_chip_interface {
        BTC_INTF_UNKNOWN        = 0,
        BTC_INTF_PCI            = 1,
        BTC_INTF_USB            = 2,
        BTC_INTF_MAX
 };
 
-enum BTC_CHIP_TYPE {
+enum btc_chip_type {
        BTC_CHIP_UNDEF          = 0,
        BTC_CHIP_CSR_BC4        = 1,
        BTC_CHIP_CSR_BC8        = 2,
        BTC_CHIP_MAX
 };
 
-enum BTC_MSG_TYPE {
+enum btc_msg_type {
        BTC_MSG_INTERFACE       = 0x0,
        BTC_MSG_ALGORITHM       = 0x1,
        BTC_MSG_MAX
                        no_printk("%s %p %zu", _TitleString, _HexData, _HexDataLen)
 #endif
 
-struct BTC_BOARD_INFO {
+struct btc_board_info {
        /*  The following is some board information */
        u8 btChipType;
        u8 pgAntNum;    /*  pg ant number */
        /* bool                         bBtExist; */
 };
 
-enum BTC_DBG_OPCODE {
+enum btc_dbg_opcode {
        BTC_DBG_SET_COEX_NORMAL                     = 0x0,
        BTC_DBG_SET_COEX_WIFI_ONLY                  = 0x1,
        BTC_DBG_SET_COEX_BT_ONLY                    = 0x2,
        BTC_DBG_MAX
 };
 
-enum BTC_RSSI_STATE {
+enum btc_rssi_state {
        BTC_RSSI_STATE_HIGH                         = 0x0,
        BTC_RSSI_STATE_MEDIUM                   = 0x1,
        BTC_RSSI_STATE_LOW                          = 0x2,
 #define BTC_RSSI_MEDIUM(_rssi_)        ((_rssi_ == BTC_RSSI_STATE_MEDIUM || _rssi_ == BTC_RSSI_STATE_STAY_MEDIUM) ? true : false)
 #define BTC_RSSI_LOW(_rssi_)   ((_rssi_ == BTC_RSSI_STATE_LOW || _rssi_ == BTC_RSSI_STATE_STAY_LOW) ? true : false)
 
-enum BTC_WIFI_ROLE {
+enum btc_wifi_role {
        BTC_ROLE_STATION                        = 0x0,
        BTC_ROLE_AP                                     = 0x1,
        BTC_ROLE_IBSS                           = 0x2,
        BTC_ROLE_MAX
 };
 
-enum BTC_WIFI_BW_MODE {
+enum btc_wifi_bw_mode {
        BTC_WIFI_BW_LEGACY                      = 0x0,
        BTC_WIFI_BW_HT20                        = 0x1,
        BTC_WIFI_BW_HT40                        = 0x2,
        BTC_WIFI_BW_MAX
 };
 
-enum BTC_WIFI_TRAFFIC_DIR {
+enum btc_wifi_traffic_dir {
        BTC_WIFI_TRAFFIC_TX                     = 0x0,
        BTC_WIFI_TRAFFIC_RX                     = 0x1,
        BTC_WIFI_TRAFFIC_MAX
 };
 
-enum BTC_WIFI_PNP {
+enum btc_wifi_pnp {
        BTC_WIFI_PNP_WAKE_UP            = 0x0,
        BTC_WIFI_PNP_SLEEP                      = 0x1,
        BTC_WIFI_PNP_MAX
 };
 
 /* for 8723b-d cut large current issue */
-enum BT_WIFI_COEX_STATE {
+enum bt_wifi_coex_state {
        BTC_WIFI_STAT_INIT,
        BTC_WIFI_STAT_IQK,
        BTC_WIFI_STAT_NORMAL_OFF,
 };
 
 /*  defined for BFP_BTC_GET */
-enum BTC_GET_TYPE {
+enum btc_get_type {
        /*  type bool */
        BTC_GET_BL_HS_OPERATION,
        BTC_GET_BL_HS_CONNECTING,
 };
 
 /*  defined for BFP_BTC_SET */
-enum BTC_SET_TYPE {
+enum btc_set_type {
        /*  type bool */
        BTC_SET_BL_BT_DISABLE,
        BTC_SET_BL_BT_TRAFFIC_BUSY,
        BTC_SET_MAX
 };
 
-enum BTC_DBG_DISP_TYPE {
+enum btc_dbg_disp_type {
        BTC_DBG_DISP_COEX_STATISTICS            = 0x0,
        BTC_DBG_DISP_BT_LINK_INFO                       = 0x1,
        BTC_DBG_DISP_FW_PWR_MODE_CMD            = 0x2,
        BTC_DBG_DISP_MAX
 };
 
-enum BTC_NOTIFY_TYPE_IPS {
+enum btc_notify_type_ips {
        BTC_IPS_LEAVE                                           = 0x0,
        BTC_IPS_ENTER                                           = 0x1,
        BTC_IPS_MAX
 };
 
-enum BTC_NOTIFY_TYPE_LPS {
+enum btc_notify_type_lps {
        BTC_LPS_DISABLE                                         = 0x0,
        BTC_LPS_ENABLE                                          = 0x1,
        BTC_LPS_MAX
 };
 
-enum BTC_NOTIFY_TYPE_SCAN {
+enum btc_notify_type_scan {
        BTC_SCAN_FINISH                                         = 0x0,
        BTC_SCAN_START                                          = 0x1,
        BTC_SCAN_MAX
 };
 
-enum BTC_NOTIFY_TYPE_ASSOCIATE {
+enum btc_notify_type_associate {
        BTC_ASSOCIATE_FINISH                            = 0x0,
        BTC_ASSOCIATE_START                                     = 0x1,
        BTC_ASSOCIATE_MAX
 };
 
-enum BTC_NOTIFY_TYPE_MEDIA_STATUS {
+enum btc_notify_type_media_status {
        BTC_MEDIA_DISCONNECT                            = 0x0,
        BTC_MEDIA_CONNECT                                       = 0x1,
        BTC_MEDIA_MAX
 };
 
-enum BTC_NOTIFY_TYPE_SPECIAL_PACKET {
+enum btc_notify_type_special_packet {
        BTC_PACKET_UNKNOWN                                      = 0x0,
        BTC_PACKET_DHCP                                         = 0x1,
        BTC_PACKET_ARP                                          = 0x2,
        BTC_PACKET_MAX
 };
 
-enum BTC_NOTIFY_TYPE_STACK_OPERATION {
+enum btc_notify_type_stack_operation {
        BTC_STACK_OP_NONE                                       = 0x0,
        BTC_STACK_OP_INQ_PAGE_PAIR_START        = 0x1,
        BTC_STACK_OP_INQ_PAGE_PAIR_FINISH       = 0x2,
 };
 
 /* Bryant Add */
-enum BTC_ANTENNA_POS {
+enum btc_antenna_pos {
        BTC_ANTENNA_AT_MAIN_PORT = 0x1,
        BTC_ANTENNA_AT_AUX_PORT  = 0x2,
 };
 typedef u32 (*BFP_BTC_GET_BT_REG)(void *pBtcContext, u8 regType, u32 offset);
 typedef void (*BFP_BTC_DISP_DBG_MSG)(void *pBtCoexist, u8 dispType);
 
-struct BTC_BT_INFO {
+struct btc_bt_info {
        bool bBtDisabled;
        u8 rssiAdjustForAgcTableOn;
        u8 rssiAdjustFor1AntCoexType;
        u32 raMask;
 };
 
-struct BTC_STACK_INFO {
+struct btc_stack_info {
        bool bProfileNotified;
        u16 hciVersion; /*  stack hci version */
        u8 numOfLink;
        s8 minBtRssi;
 };
 
-struct BTC_BT_LINK_INFO {
+struct btc_bt_link_info {
        bool bBtLinkExist;
        bool bScoExist;
        bool bScoOnly;
        bool bSlaveRole;
 };
 
-struct BTC_STATISTICS {
+struct btc_statistics {
        u32 cntBind;
        u32 cntPowerOn;
        u32 cntInitHwConfig;
        u32 cntDbgCtrl;
 };
 
-struct BTC_COEXIST {
+struct btc_coexist {
        bool bBinded;           /*  make sure only one adapter can bind the data context */
        void *Adapter;          /*  default adapter */
-       struct BTC_BOARD_INFO boardInfo;
-       struct BTC_BT_INFO btInfo;              /*  some bt info referenced by non-bt module */
-       struct BTC_STACK_INFO stackInfo;
-       struct BTC_BT_LINK_INFO btLinkInfo;
-       enum BTC_CHIP_INTERFACE chipInterface;
+       struct btc_board_info boardInfo;
+       struct btc_bt_info btInfo;              /*  some bt info referenced by non-bt module */
+       struct btc_stack_info stackInfo;
+       struct btc_bt_link_info btLinkInfo;
+       enum btc_chip_interface chipInterface;
 
        bool bInitilized;
        bool bStopCoexDm;
        bool bManualControl;
        u8 *cliBuf;
-       struct BTC_STATISTICS statistics;
+       struct btc_statistics statistics;
        u8 pwrModeVal[10];
 
        /*  function pointers */
        BFP_BTC_SET_BT_REG fBtcSetBtReg;
 };
 
-extern struct BTC_COEXIST GLBtCoexist;
+extern struct btc_coexist GLBtCoexist;
 
-void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST *pBtCoexist, u8 bWifiOnly);
-void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
-void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 action);
+void EXhalbtcoutsrc_PowerOnSetting(struct btc_coexist *pBtCoexist);
+void EXhalbtcoutsrc_InitHwConfig(struct btc_coexist *pBtCoexist, u8 bWifiOnly);
+void EXhalbtcoutsrc_InitCoexDm(struct btc_coexist *pBtCoexist);
+void EXhalbtcoutsrc_IpsNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtcoutsrc_LpsNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtcoutsrc_ScanNotify(struct btc_coexist *pBtCoexist, u8 type);
+void EXhalbtcoutsrc_ConnectNotify(struct btc_coexist *pBtCoexist, u8 action);
 void EXhalbtcoutsrc_MediaStatusNotify(
-       struct BTC_COEXIST *pBtCoexist, enum rt_media_status mediaStatus
+       struct btc_coexist *pBtCoexist, enum rt_media_status mediaStatus
 );
-void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 pktType);
+void EXhalbtcoutsrc_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 pktType);
 void EXhalbtcoutsrc_BtInfoNotify(
-       struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
+       struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length
 );
-void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST *pBtCoexist);
-void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState);
-void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtcoutsrc_HaltNotify(struct btc_coexist *pBtCoexist);
+void EXhalbtcoutsrc_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState);
+void EXhalbtcoutsrc_Periodical(struct btc_coexist *pBtCoexist);
 void EXhalbtcoutsrc_SetChipType(u8 chipType);
 void EXhalbtcoutsrc_SetAntNum(u8 type, u8 antNum);
 void EXhalbtcoutsrc_SetSingleAntPath(u8 singleAntPath);
-void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtcoutsrc_DisplayBtCoexInfo(struct btc_coexist *pBtCoexist);
 
 #endif
 
 
 /*             Global variables */
 
-struct BTC_COEXIST GLBtCoexist;
+struct btc_coexist GLBtCoexist;
 static u8 GLBtcWiFiInScanState;
 static u8 GLBtcWiFiInIQKState;
 
 /*  */
 /*             Debug related function */
 /*  */
-static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST *pBtCoexist)
+static u8 halbtcoutsrc_IsBtCoexistAvailable(struct btc_coexist *pBtCoexist)
 {
        if (!pBtCoexist->bBinded || !pBtCoexist->Adapter)
                return false;
                        0;
 }
 
-static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_LeaveLps(struct btc_coexist *pBtCoexist)
 {
        struct adapter *padapter;
 
        rtw_btcoex_LPS_Leave(padapter);
 }
 
-static void halbtcoutsrc_EnterLps(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_EnterLps(struct btc_coexist *pBtCoexist)
 {
        struct adapter *padapter;
 
        rtw_btcoex_LPS_Enter(padapter);
 }
 
-static void halbtcoutsrc_NormalLps(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_NormalLps(struct btc_coexist *pBtCoexist)
 {
        struct adapter *padapter;
 
  *  Constraint:
  *   1. this function will request pwrctrl->lock
  */
-static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_LeaveLowPower(struct btc_coexist *pBtCoexist)
 {
        struct adapter *padapter;
        s32 ready;
  *  Constraint:
  *   1. this function will request pwrctrl->lock
  */
-static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_NormalLowPower(struct btc_coexist *pBtCoexist)
 {
        struct adapter *padapter;
 
        rtw_unregister_task_alive(padapter, BTCOEX_ALIVE);
 }
 
-static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST *pBtCoexist, u8 bLowPwrDisable)
+static void halbtcoutsrc_DisableLowPower(struct btc_coexist *pBtCoexist, u8 bLowPwrDisable)
 {
        pBtCoexist->btInfo.bBtDisableLowPwr = bLowPwrDisable;
        if (bLowPwrDisable)
                halbtcoutsrc_NormalLowPower(pBtCoexist);        /*  original 32k low power behavior. */
 }
 
-static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_AggregationCheck(struct btc_coexist *pBtCoexist)
 {
        struct adapter *padapter;
        bool bNeedToAct;
        return portConnectedStatus;
 }
 
-static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST *pBtCoexist)
+static u32 halbtcoutsrc_GetWifiLinkStatus(struct btc_coexist *pBtCoexist)
 {
        /*  */
        /*  return value: */
        return retVal;
 }
 
-static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST *pBtCoexist)
+static u32 halbtcoutsrc_GetBtPatchVer(struct btc_coexist *pBtCoexist)
 {
        return pBtCoexist->btInfo.btRealFwVer;
 }
 
 static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
        struct hal_com_data *pHalData;
        struct mlme_ext_priv *mlmeext;
        u8 ret;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return false;
 
 
 static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
        u8 *pu8;
        u32 *pU4Tmp;
        u8 ret;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
        pu8 = pInBuf;
        pU4Tmp = pInBuf;
        return ret;
 }
 
-static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST *pBtCoexist)
+static void halbtcoutsrc_DisplayFwPwrModeCmd(struct btc_coexist *pBtCoexist)
 {
        u8 *cliBuf = pBtCoexist->cliBuf;
 
 /*  */
 static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        return rtw_read8(padapter, RegAddr);
 
 static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        return  rtw_read16(padapter, RegAddr);
 
 static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        return  rtw_read32(padapter, RegAddr);
 
 static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        rtw_write8(padapter, RegAddr, Data);
 
 static void halbtcoutsrc_BitMaskWrite1Byte(void *pBtcContext, u32 regAddr, u8 bitMask, u8 data1b)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
        u8 originalValue, bitShift;
        u8 i;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
        originalValue = 0;
        bitShift = 0;
 
 static void halbtcoutsrc_Write2Byte(void *pBtcContext, u32 RegAddr, u16 Data)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        rtw_write16(padapter, RegAddr, Data);
 
 static void halbtcoutsrc_Write4Byte(void *pBtcContext, u32 RegAddr, u32 Data)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        rtw_write32(padapter, RegAddr, Data);
 
 static void halbtcoutsrc_WriteLocalReg1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
 {
-       struct BTC_COEXIST *pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       struct btc_coexist *pBtCoexist = (struct btc_coexist *)pBtcContext;
        struct adapter *Adapter = pBtCoexist->Adapter;
 
        if (BTC_INTF_SDIO == pBtCoexist->chipInterface)
 
 static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        PHY_SetBBReg(padapter, RegAddr, BitMask, Data);
 
 static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        return PHY_QueryBBReg(padapter, RegAddr, BitMask);
 
 static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        PHY_SetRFReg(padapter, eRFPath, RegAddr, BitMask, Data);
 
 static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        return PHY_QueryRFReg(padapter, eRFPath, RegAddr, BitMask);
 
 static void halbtcoutsrc_SetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr, u32 Data)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
        u8 CmdBuffer1[4] = {0};
        u8 CmdBuffer2[4] = {0};
        u8 OperVer = 0;
        u8 ReqNum = 0;
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        CmdBuffer1[0] |= (OperVer & 0x0f);                                              /* Set OperVer */
 
 static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen, u8 *pCmdBuffer)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
        struct adapter *padapter;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        padapter = pBtCoexist->Adapter;
 
        rtw_hal_fill_h2c_cmd(padapter, elementId, cmdLen, pCmdBuffer);
 
 static void halbtcoutsrc_DisplayDbgMsg(void *pBtcContext, u8 dispType)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
 
 
-       pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+       pBtCoexist = (struct btc_coexist *)pBtcContext;
        switch (dispType) {
        case BTC_DBG_DISP_COEX_STATISTICS:
                break;
 /*  */
 static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
 {
-       struct BTC_COEXIST *pBtCoexist = &GLBtCoexist;
+       struct btc_coexist *pBtCoexist = &GLBtCoexist;
 
        if (pBtCoexist->bBinded)
                return false;
 
 void hal_btcoex_Initialize(void *padapter)
 {
-       struct BTC_COEXIST *pBtCoexist;
+       struct btc_coexist *pBtCoexist;
 
        memset(&GLBtCoexist, 0, sizeof(GLBtCoexist));
 
        GLBtcWiFiInIQKState = false;
 }
 
-void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtcoutsrc_PowerOnSetting(struct btc_coexist *pBtCoexist)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
                EXhalbtc8723b1ant_PowerOnSetting(pBtCoexist);
 }
 
-void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST *pBtCoexist, u8 bWifiOnly)
+void EXhalbtcoutsrc_InitHwConfig(struct btc_coexist *pBtCoexist, u8 bWifiOnly)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
                EXhalbtc8723b1ant_InitHwConfig(pBtCoexist, bWifiOnly);
 }
 
-void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtcoutsrc_InitCoexDm(struct btc_coexist *pBtCoexist)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
        pBtCoexist->bInitilized = true;
 }
 
-void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtcoutsrc_IpsNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        u8 ipsType;
 
 /*     halbtcoutsrc_NormalLowPower(pBtCoexist); */
 }
 
-void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtcoutsrc_LpsNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        u8 lpsType;
 
                EXhalbtc8723b1ant_LpsNotify(pBtCoexist, lpsType);
 }
 
-void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
+void EXhalbtcoutsrc_ScanNotify(struct btc_coexist *pBtCoexist, u8 type)
 {
        u8 scanType;
 
 /*     halbtcoutsrc_NormalLowPower(pBtCoexist); */
 }
 
-void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 action)
+void EXhalbtcoutsrc_ConnectNotify(struct btc_coexist *pBtCoexist, u8 action)
 {
        u8 assoType;
 
 /*     halbtcoutsrc_NormalLowPower(pBtCoexist); */
 }
 
-void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, enum
+void EXhalbtcoutsrc_MediaStatusNotify(struct btc_coexist *pBtCoexist, enum
        rt_media_status mediaStatus)
 {
        u8 mStatus;
 /*     halbtcoutsrc_NormalLowPower(pBtCoexist); */
 }
 
-void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 pktType)
+void EXhalbtcoutsrc_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 pktType)
 {
        u8 packetType;
 
 /*     halbtcoutsrc_NormalLowPower(pBtCoexist); */
 }
 
-void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length)
+void EXhalbtcoutsrc_BtInfoNotify(struct btc_coexist *pBtCoexist, u8 *tmpBuf, u8 length)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
 /*     halbtcoutsrc_NormalLowPower(pBtCoexist); */
 }
 
-void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtcoutsrc_HaltNotify(struct btc_coexist *pBtCoexist)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
        pBtCoexist->bBinded = false;
 }
 
-void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
+void EXhalbtcoutsrc_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
                EXhalbtc8723b2ant_PnpNotify(pBtCoexist, pnpState);
 }
 
-void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtcoutsrc_Periodical(struct btc_coexist *pBtCoexist)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;
        GLBtCoexist.boardInfo.singleAntPath = singleAntPath;
 }
 
-void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST *pBtCoexist)
+void EXhalbtcoutsrc_DisplayBtCoexInfo(struct btc_coexist *pBtCoexist)
 {
        if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
                return;