pCoexDm 12 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c static PCOEX_DM_8723B_1ANT pCoexDm = &GLCoexDm8723b1Ant; pCoexDm 157 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curRaMask = disRateMask; pCoexDm 159 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (bForceExec || (pCoexDm->preRaMask != pCoexDm->curRaMask)) pCoexDm 163 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c &pCoexDm->curRaMask pCoexDm 165 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preRaMask = pCoexDm->curRaMask; pCoexDm 174 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curArfrType = type; pCoexDm 176 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (bForceExec || (pCoexDm->preArfrType != pCoexDm->curArfrType)) { pCoexDm 177 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c switch (pCoexDm->curArfrType) { pCoexDm 180 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist, 0x430, pCoexDm->backupArfrCnt1 pCoexDm 183 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist, 0x434, pCoexDm->backupArfrCnt2 pCoexDm 203 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preArfrType = pCoexDm->curArfrType; pCoexDm 210 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curRetryLimitType = type; pCoexDm 214 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preRetryLimitType != pCoexDm->curRetryLimitType) pCoexDm 216 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c switch (pCoexDm->curRetryLimitType) { pCoexDm 219 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist, 0x42a, pCoexDm->backupRetryLimit pCoexDm 230 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preRetryLimitType = pCoexDm->curRetryLimitType; pCoexDm 237 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curAmpduTimeType = type; pCoexDm 240 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c bForceExec || (pCoexDm->preAmpduTimeType != pCoexDm->curAmpduTimeType) pCoexDm 242 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c switch (pCoexDm->curAmpduTimeType) { pCoexDm 245 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist, 0x456, pCoexDm->backupAmpduMaxTime pCoexDm 256 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preAmpduTimeType = pCoexDm->curAmpduTimeType; pCoexDm 436 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->btStatus == BT_8723B_1ANT_BT_STATUS_ACL_BUSY) || pCoexDm 437 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->btStatus == BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY) || pCoexDm 438 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->btStatus == BT_8723B_1ANT_BT_STATUS_SCO_BUSY) pCoexDm 839 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bCurLowPenaltyRa = bLowPenaltyRa; pCoexDm 842 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (pCoexDm->bPreLowPenaltyRa == pCoexDm->bCurLowPenaltyRa) pCoexDm 846 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist, pCoexDm->bCurLowPenaltyRa pCoexDm 849 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bPreLowPenaltyRa = pCoexDm->bCurLowPenaltyRa; pCoexDm 907 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curVal0x6c0 = val0x6c0; pCoexDm 908 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curVal0x6c4 = val0x6c4; pCoexDm 909 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curVal0x6c8 = val0x6c8; pCoexDm 910 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curVal0x6cc = val0x6cc; pCoexDm 914 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preVal0x6c0 == pCoexDm->curVal0x6c0) && pCoexDm 915 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preVal0x6c4 == pCoexDm->curVal0x6c4) && pCoexDm 916 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preVal0x6c8 == pCoexDm->curVal0x6c8) && pCoexDm 917 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preVal0x6cc == pCoexDm->curVal0x6cc) pCoexDm 926 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preVal0x6c0 = pCoexDm->curVal0x6c0; pCoexDm 927 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preVal0x6c4 = pCoexDm->curVal0x6c4; pCoexDm 928 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preVal0x6c8 = pCoexDm->curVal0x6c8; pCoexDm 929 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preVal0x6cc = pCoexDm->curVal0x6cc; pCoexDm 1024 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bCurIgnoreWlanAct = bEnable; pCoexDm 1032 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bPreIgnoreWlanAct, pCoexDm 1033 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bCurIgnoreWlanAct pCoexDm 1037 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (pCoexDm->bPreIgnoreWlanAct == pCoexDm->bCurIgnoreWlanAct) pCoexDm 1042 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bPreIgnoreWlanAct = pCoexDm->bCurIgnoreWlanAct; pCoexDm 1070 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curLps = lpsVal; pCoexDm 1071 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curRpwm = rpwmVal; pCoexDm 1079 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curLps, pCoexDm 1080 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curRpwm pCoexDm 1085 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preLps == pCoexDm->curLps) && pCoexDm 1086 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->preRpwm == pCoexDm->curRpwm) pCoexDm 1093 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preRpwm, pCoexDm 1094 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curRpwm pCoexDm 1103 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preLps = pCoexDm->curLps; pCoexDm 1104 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preRpwm = pCoexDm->curRpwm; pCoexDm 1340 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[0] = realByte1; pCoexDm 1341 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[1] = byte2; pCoexDm 1342 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[2] = byte3; pCoexDm 1343 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[3] = byte4; pCoexDm 1344 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[4] = realByte5; pCoexDm 1376 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bCurPsTdmaOn = bTurnOn; pCoexDm 1377 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma = type; pCoexDm 1381 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (pCoexDm->bCurPsTdmaOn) { pCoexDm 1387 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma pCoexDm 1396 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma pCoexDm 1403 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->bPrePsTdmaOn == pCoexDm->bCurPsTdmaOn) && pCoexDm 1404 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (pCoexDm->prePsTdma == pCoexDm->curPsTdma) pCoexDm 1660 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bPrePsTdmaOn = pCoexDm->bCurPsTdmaOn; pCoexDm 1661 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->prePsTdma = pCoexDm->curPsTdma; pCoexDm 1673 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c BT_8723B_1ANT_BT_STATUS_NON_CONNECTED_IDLE == pCoexDm->btStatus pCoexDm 1686 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_NON_CONNECTED_IDLE == pCoexDm->btStatus) pCoexDm 1699 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_CONNECTED_IDLE == pCoexDm->btStatus) pCoexDm 1712 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_CONNECTED_IDLE == pCoexDm->btStatus) pCoexDm 1721 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_CONNECTED_IDLE != pCoexDm->btStatus) pCoexDm 1774 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 1 && pCoexDm 1775 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 2 && pCoexDm 1776 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 3 && pCoexDm 1777 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 9 pCoexDm 1780 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 9; pCoexDm 1792 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (!pCoexDm->bAutoTdmaAdjust) { pCoexDm 1793 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = true; pCoexDm 1801 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 2; pCoexDm 1889 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c ((pCoexDm->curPsTdma == 1) || (pCoexDm->curPsTdma == 2)) pCoexDm 1892 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 9; pCoexDm 1893 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c } else if (pCoexDm->curPsTdma == 1) { pCoexDm 1895 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 2; pCoexDm 1896 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c } else if (pCoexDm->curPsTdma == 2) { pCoexDm 1898 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 9; pCoexDm 1899 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c } else if (pCoexDm->curPsTdma == 9) { pCoexDm 1901 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 11; pCoexDm 1906 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c ((pCoexDm->curPsTdma == 1) || (pCoexDm->curPsTdma == 2)) pCoexDm 1909 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 9; pCoexDm 1910 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c } else if (pCoexDm->curPsTdma == 11) { pCoexDm 1912 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 9; pCoexDm 1913 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c } else if (pCoexDm->curPsTdma == 9) { pCoexDm 1915 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 2; pCoexDm 1916 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c } else if (pCoexDm->curPsTdma == 2) { pCoexDm 1918 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaDuAdjType = 1; pCoexDm 1926 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma pCoexDm 1932 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 1 && pCoexDm 1933 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 2 && pCoexDm 1934 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 9 && pCoexDm 1935 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curPsTdma != 11 pCoexDm 1938 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pBtCoexist, NORMAL_EXEC, true, pCoexDm->psTdmaDuAdjType pCoexDm 2105 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2111 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2115 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = true; pCoexDm 2119 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2128 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2135 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2140 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2163 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) { pCoexDm 2175 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 2176 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 2220 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) { pCoexDm 2232 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 2233 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 2315 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus && pCoexDm 2346 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) { pCoexDm 2352 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 2353 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 2366 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) { pCoexDm 2372 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 2373 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 2395 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->curAlgorithm = algorithm; pCoexDm 2400 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c switch (pCoexDm->curAlgorithm) { pCoexDm 2445 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->preAlgorithm = pCoexDm->curAlgorithm; pCoexDm 2477 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) || pCoexDm 2478 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 2479 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 2830 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->wifiChnlInfo[0], pCoexDm 2831 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->wifiChnlInfo[1], pCoexDm 2832 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->wifiChnlInfo[2] pCoexDm 2900 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c ((pBtCoexist->btInfo.bBtDisabled) ? ("disabled") : ((pCoexSta->bC2hBtInquiryPage) ? ("inquiry/page scan") : ((BT_8723B_1ANT_BT_STATUS_NON_CONNECTED_IDLE == pCoexDm->btStatus) ? "non-connected idle" : pCoexDm 2901 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c ((BT_8723B_1ANT_BT_STATUS_CONNECTED_IDLE == pCoexDm->btStatus) ? "connected-idle" : "busy")))), pCoexDm 2980 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bCurLowPenaltyRa pCoexDm 3005 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c psTdmaCase = pCoexDm->curPsTdma; pCoexDm 3007 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[0], pCoexDm->psTdmaPara[1], pCoexDm 3008 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[2], pCoexDm->psTdmaPara[3], pCoexDm 3009 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->psTdmaPara[4], psTdmaCase, pCoexDm->bAutoTdmaAdjust); pCoexDm 3017 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bCurIgnoreWlanAct); pCoexDm 3032 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->backupArfrCnt1, pCoexDm->backupArfrCnt2, pCoexDm->backupRetryLimit, pCoexDm->backupAmpduMaxTime); pCoexDm 3338 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->nArpCnt = 0; pCoexDm 3405 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->backupArfrCnt1 = pBtCoexist->fBtcRead4Byte(pBtCoexist, 0x430); pCoexDm 3406 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->backupArfrCnt2 = pBtCoexist->fBtcRead4Byte(pBtCoexist, 0x434); pCoexDm 3407 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->backupRetryLimit = pBtCoexist->fBtcRead2Byte(pBtCoexist, 0x42a); pCoexDm 3408 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->backupAmpduMaxTime = pBtCoexist->fBtcRead1Byte(pBtCoexist, 0x456); pCoexDm 3411 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->nArpCnt = 0; pCoexDm 3431 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->wifiChnlInfo[0] = H2C_Parameter[0]; pCoexDm 3432 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->wifiChnlInfo[1] = H2C_Parameter[1]; pCoexDm 3433 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->wifiChnlInfo[2] = H2C_Parameter[2]; pCoexDm 3474 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->nArpCnt++; pCoexDm 3478 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c ("[BTCoex], ARP Packet Count = %d\n", pCoexDm->nArpCnt) pCoexDm 3481 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (pCoexDm->nArpCnt >= 10) /* if APR PKT > 10 after connect, do not go to ActionWifiConnectedSpecialPacket(pBtCoexist) */ pCoexDm 3665 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->btStatus = BT_8723B_1ANT_BT_STATUS_NON_CONNECTED_IDLE; pCoexDm 3669 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->btStatus = BT_8723B_1ANT_BT_STATUS_CONNECTED_IDLE; pCoexDm 3675 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->btStatus = BT_8723B_1ANT_BT_STATUS_SCO_BUSY; pCoexDm 3678 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c if (BT_8723B_1ANT_BT_STATUS_ACL_BUSY != pCoexDm->btStatus) pCoexDm 3679 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 3681 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->btStatus = BT_8723B_1ANT_BT_STATUS_ACL_BUSY; pCoexDm 3684 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->btStatus = BT_8723B_1ANT_BT_STATUS_MAX; pCoexDm 3689 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) || pCoexDm 3690 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 3691 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 3760 drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c pCoexDm->bAutoTdmaAdjust pCoexDm 14 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaDuAdjType = val; \ pCoexDm 19 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c static PCOEX_DM_8723B_2ANT pCoexDm = &GLCoexDm8723b2Ant; pCoexDm 609 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curBtDecPwrLvl = decBtPwrLvl; pCoexDm 617 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preBtDecPwrLvl, pCoexDm 618 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curBtDecPwrLvl pCoexDm 622 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->preBtDecPwrLvl == pCoexDm->curBtDecPwrLvl) pCoexDm 625 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c halbtc8723b2ant_SetFwDecBtPwr(pBtCoexist, pCoexDm->curBtDecPwrLvl); pCoexDm 627 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preBtDecPwrLvl = pCoexDm->curBtDecPwrLvl; pCoexDm 643 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curFwDacSwingLvl = fwDacSwingLvl; pCoexDm 651 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preFwDacSwingLvl, pCoexDm 652 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curFwDacSwingLvl pCoexDm 656 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->preFwDacSwingLvl == pCoexDm->curFwDacSwingLvl) pCoexDm 660 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c halbtc8723b2ant_SetFwDacSwingLevel(pBtCoexist, pCoexDm->curFwDacSwingLvl); pCoexDm 662 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preFwDacSwingLvl = pCoexDm->curFwDacSwingLvl; pCoexDm 683 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pBtCoexist->fBtcSetRfReg(pBtCoexist, BTC_RF_A, 0x1e, 0xfffff, pCoexDm->btRf0x1eBackup); pCoexDm 701 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurRfRxLpfShrink = bRxRfShrinkOn; pCoexDm 709 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreRfRxLpfShrink, pCoexDm 710 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurRfRxLpfShrink pCoexDm 714 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->bPreRfRxLpfShrink == pCoexDm->bCurRfRxLpfShrink) pCoexDm 717 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c halbtc8723b2ant_SetSwRfRxLpfCorner(pBtCoexist, pCoexDm->bCurRfRxLpfShrink); pCoexDm 719 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreRfRxLpfShrink = pCoexDm->bCurRfRxLpfShrink; pCoexDm 764 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurLowPenaltyRa = bLowPenaltyRa; pCoexDm 772 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreLowPenaltyRa, pCoexDm 773 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurLowPenaltyRa pCoexDm 777 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->bPreLowPenaltyRa == pCoexDm->bCurLowPenaltyRa) pCoexDm 780 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c halbtc8723b2ant_SetSwPenaltyTxRateAdaptive(pBtCoexist, pCoexDm->bCurLowPenaltyRa); pCoexDm 782 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreLowPenaltyRa = pCoexDm->bCurLowPenaltyRa; pCoexDm 825 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurDacSwingOn = bDacSwingOn; pCoexDm 826 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curDacSwingLvl = dacSwingLvl; pCoexDm 834 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreDacSwingOn, pCoexDm 835 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preDacSwingLvl, pCoexDm 836 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurDacSwingOn, pCoexDm 837 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curDacSwingLvl pCoexDm 841 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if ((pCoexDm->bPreDacSwingOn == pCoexDm->bCurDacSwingOn) && pCoexDm 842 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->preDacSwingLvl == pCoexDm->curDacSwingLvl)) pCoexDm 848 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreDacSwingOn = pCoexDm->bCurDacSwingOn; pCoexDm 849 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preDacSwingLvl = pCoexDm->curDacSwingLvl; pCoexDm 925 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurAgcTableEn = bAgcTableEn; pCoexDm 933 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreAgcTableEn, pCoexDm 934 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurAgcTableEn pCoexDm 938 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->bPreAgcTableEn == pCoexDm->bCurAgcTableEn) pCoexDm 943 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreAgcTableEn = pCoexDm->bCurAgcTableEn; pCoexDm 1004 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6c0 = val0x6c0; pCoexDm 1005 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6c4 = val0x6c4; pCoexDm 1006 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6c8 = val0x6c8; pCoexDm 1007 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6cc = val0x6cc; pCoexDm 1015 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6c0, pCoexDm 1016 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6c4, pCoexDm 1017 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6c8, pCoexDm 1018 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6cc pCoexDm 1026 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6c0, pCoexDm 1027 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6c4, pCoexDm 1028 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6c8, pCoexDm 1029 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curVal0x6cc pCoexDm 1034 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->preVal0x6c0 == pCoexDm->curVal0x6c0) && pCoexDm 1035 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->preVal0x6c4 == pCoexDm->curVal0x6c4) && pCoexDm 1036 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->preVal0x6c8 == pCoexDm->curVal0x6c8) && pCoexDm 1037 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->preVal0x6cc == pCoexDm->curVal0x6cc) pCoexDm 1043 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6c0 = pCoexDm->curVal0x6c0; pCoexDm 1044 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6c4 = pCoexDm->curVal0x6c4; pCoexDm 1045 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6c8 = pCoexDm->curVal0x6c8; pCoexDm 1046 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preVal0x6cc = pCoexDm->curVal0x6cc; pCoexDm 1133 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurIgnoreWlanAct = bEnable; pCoexDm 1137 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreIgnoreWlanAct, pCoexDm->bCurIgnoreWlanAct)); pCoexDm 1139 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->bPreIgnoreWlanAct == pCoexDm->bCurIgnoreWlanAct) pCoexDm 1144 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPreIgnoreWlanAct = pCoexDm->bCurIgnoreWlanAct; pCoexDm 1164 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[0] = byte1; pCoexDm 1165 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[1] = byte2; pCoexDm 1166 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[2] = byte3; pCoexDm 1167 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[3] = byte4; pCoexDm 1168 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[4] = byte5; pCoexDm 1318 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurPsTdmaOn = bTurnOn; pCoexDm 1319 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curPsTdma = type; pCoexDm 1327 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPrePsTdmaOn, pCoexDm 1328 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurPsTdmaOn pCoexDm 1336 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->prePsTdma, pCoexDm->curPsTdma pCoexDm 1341 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->bPrePsTdmaOn == pCoexDm->bCurPsTdmaOn) && pCoexDm 1342 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (pCoexDm->prePsTdma == pCoexDm->curPsTdma) pCoexDm 1433 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bPrePsTdmaOn = pCoexDm->bCurPsTdmaOn; pCoexDm 1434 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->prePsTdma = pCoexDm->curPsTdma; pCoexDm 1487 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bNeedRecover0x948 = true; pCoexDm 1488 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->backup0x948 = pBtCoexist->fBtcRead4Byte(pBtCoexist, 0x948); pCoexDm 1521 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (BT_8723B_2ANT_BT_STATUS_NON_CONNECTED_IDLE == pCoexDm->btStatus) { pCoexDm 1538 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c } else if (BT_8723B_2ANT_BT_STATUS_CONNECTED_IDLE == pCoexDm->btStatus) { pCoexDm 1603 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (!pCoexDm->bAutoTdmaAdjust) { pCoexDm 1604 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bAutoTdmaAdjust = true; pCoexDm 1731 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 71) pCoexDm 1733 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 1) pCoexDm 1735 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1737 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1739 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 4) pCoexDm 1742 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 9) pCoexDm 1744 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1746 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1748 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 12) pCoexDm 1752 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 5) pCoexDm 1754 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1756 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1758 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 13) pCoexDm 1760 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1762 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1765 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 8) pCoexDm 1767 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1769 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1771 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 16) pCoexDm 1773 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1775 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1780 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 5) pCoexDm 1782 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1784 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1786 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 8) pCoexDm 1789 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 13) pCoexDm 1791 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1793 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1795 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 16) pCoexDm 1799 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 71) pCoexDm 1801 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 1) pCoexDm 1803 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1805 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1807 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 9) pCoexDm 1809 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1811 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1814 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 4) pCoexDm 1816 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1818 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1820 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 1) pCoexDm 1822 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 12) pCoexDm 1824 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1826 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1833 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 1) pCoexDm 1835 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1837 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1839 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 4) pCoexDm 1842 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 9) pCoexDm 1844 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1846 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1848 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 12) pCoexDm 1852 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 5) pCoexDm 1854 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1856 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1858 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 13) pCoexDm 1860 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1862 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1865 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 8) pCoexDm 1867 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1869 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1871 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 16) pCoexDm 1873 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1875 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1880 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 5) pCoexDm 1882 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1884 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1886 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 8) pCoexDm 1889 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 13) pCoexDm 1891 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1893 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1895 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 16) pCoexDm 1899 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 1) pCoexDm 1901 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1903 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1905 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 9) pCoexDm 1907 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1909 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1912 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 4) pCoexDm 1914 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1916 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1918 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 12) pCoexDm 1920 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1922 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1929 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 1) pCoexDm 1931 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1933 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 1935 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 4) pCoexDm 1938 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 9) pCoexDm 1940 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 1942 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 1944 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 12) pCoexDm 1948 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 5) pCoexDm 1950 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1952 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1954 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 13) pCoexDm 1956 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1958 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1961 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 8) pCoexDm 1963 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1965 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1967 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 16) pCoexDm 1969 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1971 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1976 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 5) pCoexDm 1978 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 6) pCoexDm 1980 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 7) pCoexDm 1982 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 8) pCoexDm 1985 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 13) pCoexDm 1987 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 14) pCoexDm 1989 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 15) pCoexDm 1991 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 16) pCoexDm 1995 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 1) pCoexDm 1997 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 1999 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 2001 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 9) pCoexDm 2003 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 2005 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 2008 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma == 4) pCoexDm 2010 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 3) pCoexDm 2012 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 2) pCoexDm 2014 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 12) pCoexDm 2016 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 11) pCoexDm 2018 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c else if (pCoexDm->curPsTdma == 10) pCoexDm 2027 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curPsTdma != pCoexDm->psTdmaDuAdjType) { pCoexDm 2034 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curPsTdma, pCoexDm 2035 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaDuAdjType pCoexDm 2044 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, pCoexDm->psTdmaDuAdjType); pCoexDm 2689 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->bNeedRecover0x948) { pCoexDm 2690 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bNeedRecover0x948 = false; pCoexDm 2691 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x948, pCoexDm->backup0x948); pCoexDm 2695 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curAlgorithm = algorithm; pCoexDm 2696 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c BTC_PRINT(BTC_MSG_ALGORITHM, ALGO_TRACE, ("[BTCoex], Algorithm = %d\n", pCoexDm->curAlgorithm)); pCoexDm 2700 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2702 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c if (pCoexDm->curAlgorithm != pCoexDm->preAlgorithm) { pCoexDm 2708 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preAlgorithm, pCoexDm 2709 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curAlgorithm pCoexDm 2712 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bAutoTdmaAdjust = false; pCoexDm 2716 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c switch (pCoexDm->curAlgorithm) { pCoexDm 2762 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->preAlgorithm = pCoexDm->curAlgorithm; pCoexDm 2798 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btRf0x1eBackup = pCoexDm 2956 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->wifiChnlInfo[0], pCoexDm 2957 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->wifiChnlInfo[1], pCoexDm 2958 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->wifiChnlInfo[2] pCoexDm 3006 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c ((pBtCoexist->btInfo.bBtDisabled) ? ("disabled") : ((pCoexSta->bC2hBtInquiryPage) ? ("inquiry/page scan") : ((BT_8723B_2ANT_BT_STATUS_NON_CONNECTED_IDLE == pCoexDm->btStatus) ? "non-connected idle" : pCoexDm 3007 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c ((BT_8723B_2ANT_BT_STATUS_CONNECTED_IDLE == pCoexDm->btStatus) ? "connected-idle" : "busy")))), pCoexDm 3074 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurRfRxLpfShrink, pCoexDm 3075 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurLowPenaltyRa, pCoexDm 3076 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bLimitedDig pCoexDm 3084 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurAgcTableEn, pCoexDm 3085 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurAdcBackOff, pCoexDm 3086 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurDacSwingOn, pCoexDm 3087 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curDacSwingLvl pCoexDm 3095 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c psTdmaCase = pCoexDm->curPsTdma; pCoexDm 3100 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[0], pCoexDm 3101 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[1], pCoexDm 3102 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[2], pCoexDm 3103 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[3], pCoexDm 3104 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->psTdmaPara[4], pCoexDm 3105 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c psTdmaCase, pCoexDm->bAutoTdmaAdjust pCoexDm 3113 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->curBtDecPwrLvl, pCoexDm 3114 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bCurIgnoreWlanAct pCoexDm 3126 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btRf0x1eBackup pCoexDm 3346 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->wifiChnlInfo[0] = H2C_Parameter[0]; pCoexDm 3347 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->wifiChnlInfo[1] = H2C_Parameter[1]; pCoexDm 3348 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->wifiChnlInfo[2] = H2C_Parameter[2]; pCoexDm 3475 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btStatus = BT_8723B_2ANT_BT_STATUS_NON_CONNECTED_IDLE; pCoexDm 3478 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btStatus = BT_8723B_2ANT_BT_STATUS_CONNECTED_IDLE; pCoexDm 3484 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btStatus = BT_8723B_2ANT_BT_STATUS_SCO_BUSY; pCoexDm 3487 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btStatus = BT_8723B_2ANT_BT_STATUS_ACL_BUSY; pCoexDm 3490 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->btStatus = BT_8723B_2ANT_BT_STATUS_MAX; pCoexDm 3495 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (BT_8723B_2ANT_BT_STATUS_ACL_BUSY == pCoexDm->btStatus) || pCoexDm 3496 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (BT_8723B_2ANT_BT_STATUS_SCO_BUSY == pCoexDm->btStatus) || pCoexDm 3497 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c (BT_8723B_2ANT_BT_STATUS_ACL_SCO_BUSY == pCoexDm->btStatus) pCoexDm 3508 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bLimitedDig = bLimitedDig; pCoexDm 3558 drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c pCoexDm->bAutoTdmaAdjust