| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/btc/ |
| H A D | HalBtc8192d2Ant.c | 34 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_WifiRssiState() argument 44 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8192d2ant_WifiRssiState() 128 IN PBTC_COEXIST pBtCoexist in halbtc8192d2ant_ActionAlgorithm() argument 131 PBTC_STACK_INFO pStackInfo=&pBtCoexist->stackInfo; in halbtc8192d2ant_ActionAlgorithm() 136 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn); in halbtc8192d2ant_ActionAlgorithm() 205 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_SetFwBalance() argument 230 pBtCoexist->fBtcFillH2c(pBtCoexist, 0xc, 3, H2C_Parameter); in halbtc8192d2ant_SetFwBalance() 235 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_Balance() argument 251 halbtc8192d2ant_SetFwBalance(pBtCoexist, bBalanceOn, ms0, ms1); in halbtc8192d2ant_Balance() 258 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_SetFwDiminishWifi() argument [all …]
|
| H A D | HalBtc8188c2Ant.c | 34 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_WifiRssiState() argument 44 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8188c2ant_WifiRssiState() 128 IN PBTC_COEXIST pBtCoexist in halbtc8188c2ant_ActionAlgorithm() argument 131 PBTC_STACK_INFO pStackInfo=&pBtCoexist->stackInfo; in halbtc8188c2ant_ActionAlgorithm() 202 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_SetFwBalance() argument 227 pBtCoexist->fBtcFillH2c(pBtCoexist, 0xc, 3, H2C_Parameter); in halbtc8188c2ant_SetFwBalance() 232 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_Balance() argument 248 halbtc8188c2ant_SetFwBalance(pBtCoexist, bBalanceOn, ms0, ms1); in halbtc8188c2ant_Balance() 255 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_SetFwDiminishWifi() argument 264 if((pBtCoexist->stackInfo.minBtRssi <= -5) && (fwDacSwingLvl == 0x20)) in halbtc8188c2ant_SetFwDiminishWifi() [all …]
|
| H A D | HalBtc8703b2Ant.c | 139 IN PBTC_COEXIST pBtCoexist, in halbtc8703b2ant_WifiRssiState() argument 149 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8703b2ant_WifiRssiState() 233 IN PBTC_COEXIST pBtCoexist in halbtc8703b2ant_MonitorBtEnableDisable() argument 260 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8703b2ant_MonitorBtEnableDisable() 271 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8703b2ant_MonitorBtEnableDisable() 292 IN PBTC_COEXIST pBtCoexist, in halbtc8703b2ant_LimitedRx() argument 306 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg); in halbtc8703b2ant_LimitedRx() 308 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, &bBtCtrlRxAggSize); in halbtc8703b2ant_LimitedRx() 310 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_AGG_BUF_SIZE, &rxAggSize); in halbtc8703b2ant_LimitedRx() 312 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8703b2ant_LimitedRx() [all …]
|
| H A D | HalBtc8723a2Ant.c | 45 IN PBTC_COEXIST pBtCoexist in halbtc8723a2ant_IsWifiIdle() argument 50 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected); in halbtc8723a2ant_IsWifiIdle() 51 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_SCAN, &bScan); in halbtc8723a2ant_IsWifiIdle() 52 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_LINK, &bLink); in halbtc8723a2ant_IsWifiIdle() 53 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_ROAM, &bRoam); in halbtc8723a2ant_IsWifiIdle() 69 IN PBTC_COEXIST pBtCoexist in halbtc8723a2ant_IsWifiConnectedIdle() argument 74 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected); in halbtc8723a2ant_IsWifiConnectedIdle() 75 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_SCAN, &bScan); in halbtc8723a2ant_IsWifiConnectedIdle() 76 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_LINK, &bLink); in halbtc8723a2ant_IsWifiConnectedIdle() 77 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_ROAM, &bRoam); in halbtc8723a2ant_IsWifiConnectedIdle() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/btc/ |
| H A D | halbtc8192d2ant.c | 34 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_WifiRssiState() argument 44 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8192d2ant_WifiRssiState() 128 IN PBTC_COEXIST pBtCoexist in halbtc8192d2ant_ActionAlgorithm() argument 131 PBTC_STACK_INFO pStackInfo=&pBtCoexist->stackInfo; in halbtc8192d2ant_ActionAlgorithm() 136 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn); in halbtc8192d2ant_ActionAlgorithm() 205 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_SetFwBalance() argument 230 pBtCoexist->fBtcFillH2c(pBtCoexist, 0xc, 3, H2C_Parameter); in halbtc8192d2ant_SetFwBalance() 235 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_Balance() argument 251 halbtc8192d2ant_SetFwBalance(pBtCoexist, bBalanceOn, ms0, ms1); in halbtc8192d2ant_Balance() 258 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_SetFwDiminishWifi() argument [all …]
|
| H A D | halbtc8188c2ant.c | 34 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_WifiRssiState() argument 44 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8188c2ant_WifiRssiState() 128 IN PBTC_COEXIST pBtCoexist in halbtc8188c2ant_ActionAlgorithm() argument 131 PBTC_STACK_INFO pStackInfo=&pBtCoexist->stackInfo; in halbtc8188c2ant_ActionAlgorithm() 202 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_SetFwBalance() argument 227 pBtCoexist->fBtcFillH2c(pBtCoexist, 0xc, 3, H2C_Parameter); in halbtc8188c2ant_SetFwBalance() 232 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_Balance() argument 248 halbtc8188c2ant_SetFwBalance(pBtCoexist, bBalanceOn, ms0, ms1); in halbtc8188c2ant_Balance() 255 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_SetFwDiminishWifi() argument 264 if((pBtCoexist->stackInfo.minBtRssi <= -5) && (fwDacSwingLvl == 0x20)) in halbtc8188c2ant_SetFwDiminishWifi() [all …]
|
| H A D | halbtc8723a2ant.c | 45 IN PBTC_COEXIST pBtCoexist in halbtc8723a2ant_IsWifiIdle() argument 50 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected); in halbtc8723a2ant_IsWifiIdle() 51 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_SCAN, &bScan); in halbtc8723a2ant_IsWifiIdle() 52 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_LINK, &bLink); in halbtc8723a2ant_IsWifiIdle() 53 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_ROAM, &bRoam); in halbtc8723a2ant_IsWifiIdle() 69 IN PBTC_COEXIST pBtCoexist in halbtc8723a2ant_IsWifiConnectedIdle() argument 74 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected); in halbtc8723a2ant_IsWifiConnectedIdle() 75 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_SCAN, &bScan); in halbtc8723a2ant_IsWifiConnectedIdle() 76 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_LINK, &bLink); in halbtc8723a2ant_IsWifiConnectedIdle() 77 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_ROAM, &bRoam); in halbtc8723a2ant_IsWifiConnectedIdle() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/btc/ |
| H A D | HalBtc8192d2Ant.c | 34 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_WifiRssiState() argument 44 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8192d2ant_WifiRssiState() 128 IN PBTC_COEXIST pBtCoexist in halbtc8192d2ant_ActionAlgorithm() argument 131 PBTC_STACK_INFO pStackInfo=&pBtCoexist->stackInfo; in halbtc8192d2ant_ActionAlgorithm() 136 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn); in halbtc8192d2ant_ActionAlgorithm() 205 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_SetFwBalance() argument 230 pBtCoexist->fBtcFillH2c(pBtCoexist, 0xc, 3, H2C_Parameter); in halbtc8192d2ant_SetFwBalance() 235 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_Balance() argument 251 halbtc8192d2ant_SetFwBalance(pBtCoexist, bBalanceOn, ms0, ms1); in halbtc8192d2ant_Balance() 258 IN PBTC_COEXIST pBtCoexist, in halbtc8192d2ant_SetFwDiminishWifi() argument [all …]
|
| H A D | HalBtc8188c2Ant.c | 34 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_WifiRssiState() argument 44 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8188c2ant_WifiRssiState() 128 IN PBTC_COEXIST pBtCoexist in halbtc8188c2ant_ActionAlgorithm() argument 131 PBTC_STACK_INFO pStackInfo=&pBtCoexist->stackInfo; in halbtc8188c2ant_ActionAlgorithm() 202 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_SetFwBalance() argument 227 pBtCoexist->fBtcFillH2c(pBtCoexist, 0xc, 3, H2C_Parameter); in halbtc8188c2ant_SetFwBalance() 232 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_Balance() argument 248 halbtc8188c2ant_SetFwBalance(pBtCoexist, bBalanceOn, ms0, ms1); in halbtc8188c2ant_Balance() 255 IN PBTC_COEXIST pBtCoexist, in halbtc8188c2ant_SetFwDiminishWifi() argument 264 if((pBtCoexist->stackInfo.minBtRssi <= -5) && (fwDacSwingLvl == 0x20)) in halbtc8188c2ant_SetFwDiminishWifi() [all …]
|
| H A D | HalBtc8703b2Ant.c | 139 IN PBTC_COEXIST pBtCoexist, in halbtc8703b2ant_WifiRssiState() argument 149 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8703b2ant_WifiRssiState() 233 IN PBTC_COEXIST pBtCoexist in halbtc8703b2ant_MonitorBtEnableDisable() argument 260 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8703b2ant_MonitorBtEnableDisable() 271 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8703b2ant_MonitorBtEnableDisable() 292 IN PBTC_COEXIST pBtCoexist, in halbtc8703b2ant_LimitedRx() argument 306 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg); in halbtc8703b2ant_LimitedRx() 308 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, &bBtCtrlRxAggSize); in halbtc8703b2ant_LimitedRx() 310 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_AGG_BUF_SIZE, &rxAggSize); in halbtc8703b2ant_LimitedRx() 312 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8703b2ant_LimitedRx() [all …]
|
| H A D | HalBtc8192e1Ant.c | 139 IN PBTC_COEXIST pBtCoexist, in halbtc8192e1ant_WifiRssiState() argument 149 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8192e1ant_WifiRssiState() 233 IN PBTC_COEXIST pBtCoexist, in halbtc8192e1ant_UpdateRaMask() argument 242 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_UPDATE_RAMASK, &pCoexDm->curRaMask); in halbtc8192e1ant_UpdateRaMask() 249 IN PBTC_COEXIST pBtCoexist, in halbtc8192e1ant_AutoRateFallbackRetry() argument 263 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, pCoexDm->backupArfrCnt1); in halbtc8192e1ant_AutoRateFallbackRetry() 264 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x434, pCoexDm->backupArfrCnt2); in halbtc8192e1ant_AutoRateFallbackRetry() 267 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_UNDER_B_MODE, &bWifiUnderBMode); in halbtc8192e1ant_AutoRateFallbackRetry() 270 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, 0x0); in halbtc8192e1ant_AutoRateFallbackRetry() 271 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x434, 0x01010101); in halbtc8192e1ant_AutoRateFallbackRetry() [all …]
|
| H A D | HalBtc8821a2Ant.c | 139 IN PBTC_COEXIST pBtCoexist, in halbtc8821a2ant_WifiRssiState() argument 149 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8821a2ant_WifiRssiState() 233 IN PBTC_COEXIST pBtCoexist in halbtc8821a2ant_MonitorBtEnableDisable() argument 260 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8821a2ant_MonitorBtEnableDisable() 271 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8821a2ant_MonitorBtEnableDisable() 292 IN PBTC_COEXIST pBtCoexist, in halbtc8821a2ant_LimitedRx() argument 306 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg); in halbtc8821a2ant_LimitedRx() 308 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, &bBtCtrlRxAggSize); in halbtc8821a2ant_LimitedRx() 310 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_AGG_BUF_SIZE, &rxAggSize); in halbtc8821a2ant_LimitedRx() 312 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8821a2ant_LimitedRx() [all …]
|
| H A D | HalBtc8723b2Ant.c | 139 IN PBTC_COEXIST pBtCoexist, in halbtc8723b2ant_WifiRssiState() argument 149 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8723b2ant_WifiRssiState() 233 IN PBTC_COEXIST pBtCoexist in halbtc8723b2ant_MonitorBtEnableDisable() argument 276 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8723b2ant_MonitorBtEnableDisable() 279 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_LEAVE_LPS, NULL); in halbtc8723b2ant_MonitorBtEnableDisable() 280 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_NORMAL_LPS, NULL); in halbtc8723b2ant_MonitorBtEnableDisable() 288 IN PBTC_COEXIST pBtCoexist, in halbtc8723b2ant_LimitedRx() argument 302 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg); in halbtc8723b2ant_LimitedRx() 304 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, &bBtCtrlRxAggSize); in halbtc8723b2ant_LimitedRx() 306 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_AGG_BUF_SIZE, &rxAggSize); in halbtc8723b2ant_LimitedRx() [all …]
|
| H A D | HalBtc8703b1Ant.c | 143 IN PBTC_COEXIST pBtCoexist, in halbtc8703b1ant_WifiRssiState() argument 153 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8703b1ant_WifiRssiState() 237 IN PBTC_COEXIST pBtCoexist, in halbtc8703b1ant_UpdateRaMask() argument 246 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_UPDATE_RAMASK, &pCoexDm->curRaMask); in halbtc8703b1ant_UpdateRaMask() 253 IN PBTC_COEXIST pBtCoexist, in halbtc8703b1ant_AutoRateFallbackRetry() argument 267 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, pCoexDm->backupArfrCnt1); in halbtc8703b1ant_AutoRateFallbackRetry() 268 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x434, pCoexDm->backupArfrCnt2); in halbtc8703b1ant_AutoRateFallbackRetry() 271 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_UNDER_B_MODE, &bWifiUnderBMode); in halbtc8703b1ant_AutoRateFallbackRetry() 274 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, 0x0); in halbtc8703b1ant_AutoRateFallbackRetry() 275 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x434, 0x01010101); in halbtc8703b1ant_AutoRateFallbackRetry() [all …]
|
| H A D | HalBtc8821a1Ant.c | 139 IN PBTC_COEXIST pBtCoexist, in halbtc8821a1ant_WifiRssiState() argument 149 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8821a1ant_WifiRssiState() 233 IN PBTC_COEXIST pBtCoexist, in halbtc8821a1ant_UpdateRaMask() argument 242 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_UPDATE_RAMASK, &pCoexDm->curRaMask); in halbtc8821a1ant_UpdateRaMask() 249 IN PBTC_COEXIST pBtCoexist, in halbtc8821a1ant_AutoRateFallbackRetry() argument 263 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, pCoexDm->backupArfrCnt1); in halbtc8821a1ant_AutoRateFallbackRetry() 264 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x434, pCoexDm->backupArfrCnt2); in halbtc8821a1ant_AutoRateFallbackRetry() 267 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_UNDER_B_MODE, &bWifiUnderBMode); in halbtc8821a1ant_AutoRateFallbackRetry() 270 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, 0x0); in halbtc8821a1ant_AutoRateFallbackRetry() 271 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x434, 0x01010101); in halbtc8821a1ant_AutoRateFallbackRetry() [all …]
|
| H A D | HalBtc8723a2Ant.c | 45 IN PBTC_COEXIST pBtCoexist in halbtc8723a2ant_IsWifiIdle() argument 50 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected); in halbtc8723a2ant_IsWifiIdle() 51 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_SCAN, &bScan); in halbtc8723a2ant_IsWifiIdle() 52 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_LINK, &bLink); in halbtc8723a2ant_IsWifiIdle() 53 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_ROAM, &bRoam); in halbtc8723a2ant_IsWifiIdle() 69 IN PBTC_COEXIST pBtCoexist in halbtc8723a2ant_IsWifiConnectedIdle() argument 74 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected); in halbtc8723a2ant_IsWifiConnectedIdle() 75 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_SCAN, &bScan); in halbtc8723a2ant_IsWifiConnectedIdle() 76 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_LINK, &bLink); in halbtc8723a2ant_IsWifiConnectedIdle() 77 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_ROAM, &bRoam); in halbtc8723a2ant_IsWifiConnectedIdle() [all …]
|
| H A D | HalBtc8192e2Ant.c | 134 IN PBTC_COEXIST pBtCoexist, in halbtc8192e2ant_WifiRssiState() argument 144 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8192e2ant_WifiRssiState() 228 IN PBTC_COEXIST pBtCoexist in halbtc8192e2ant_MonitorBtEnableDisable() argument 255 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8192e2ant_MonitorBtEnableDisable() 266 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_DISABLE, &bBtDisabled); in halbtc8192e2ant_MonitorBtEnableDisable() 287 IN PBTC_COEXIST pBtCoexist, in halbtc8192e2ant_DecideRaMask() argument 323 IN PBTC_COEXIST pBtCoexist, in halbtc8192e2ant_UpdateRaMask() argument 332 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_UPDATE_RAMASK, &pCoexDm->curRaMask); in halbtc8192e2ant_UpdateRaMask() 339 IN PBTC_COEXIST pBtCoexist, in halbtc8192e2ant_AutoRateFallbackRetry() argument 353 pBtCoexist->fBtcWrite4Byte(pBtCoexist, 0x430, pCoexDm->backupArfrCnt1); in halbtc8192e2ant_AutoRateFallbackRetry() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/ |
| H A D | HalBtc8723b1Ant.c | 154 PBTC_COEXIST pBtCoexist, bool bForceExec, u32 disRateMask in halbtc8723b1ant_UpdateRaMask() argument 160 pBtCoexist->fBtcSet( in halbtc8723b1ant_UpdateRaMask() 161 pBtCoexist, in halbtc8723b1ant_UpdateRaMask() 169 PBTC_COEXIST pBtCoexist, bool bForceExec, u8 type in halbtc8723b1ant_AutoRateFallbackRetry() argument 179 pBtCoexist->fBtcWrite4Byte( in halbtc8723b1ant_AutoRateFallbackRetry() 180 pBtCoexist, 0x430, pCoexDm->backupArfrCnt1 in halbtc8723b1ant_AutoRateFallbackRetry() 182 pBtCoexist->fBtcWrite4Byte( in halbtc8723b1ant_AutoRateFallbackRetry() 183 pBtCoexist, 0x434, pCoexDm->backupArfrCnt2 in halbtc8723b1ant_AutoRateFallbackRetry() 187 pBtCoexist->fBtcGet( in halbtc8723b1ant_AutoRateFallbackRetry() 188 pBtCoexist, BTC_GET_BL_WIFI_UNDER_B_MODE, &bWifiUnderBMode in halbtc8723b1ant_AutoRateFallbackRetry() [all …]
|
| H A D | HalBtc8723b2Ant.c | 13 halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, val); \ 111 PBTC_COEXIST pBtCoexist, in halbtc8723b2ant_WifiRssiState() argument 121 pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_S4_WIFI_RSSI, &wifiRssi); in halbtc8723b2ant_WifiRssiState() 192 PBTC_COEXIST pBtCoexist, in halbtc8723b2ant_LimitedRx() argument 206 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg); in halbtc8723b2ant_LimitedRx() 208 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, &bBtCtrlRxAggSize); in halbtc8723b2ant_LimitedRx() 210 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_U1_AGG_BUF_SIZE, &rxAggSize); in halbtc8723b2ant_LimitedRx() 212 pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in halbtc8723b2ant_LimitedRx() 215 static void halbtc8723b2ant_MonitorBtCtr(PBTC_COEXIST pBtCoexist) in halbtc8723b2ant_MonitorBtCtr() argument 223 u4Tmp = pBtCoexist->fBtcRead4Byte(pBtCoexist, regHPTxRx); in halbtc8723b2ant_MonitorBtCtr() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/ |
| H A D | hal_btcoex.c | 173 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable() argument 175 if (!pBtCoexist->bBinded || in halbtcoutsrc_IsBtCoexistAvailable() 176 NULL == pBtCoexist->Adapter) in halbtcoutsrc_IsBtCoexistAvailable() 191 static u8 halbtcoutsrc_IsCsrBtCoex(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsCsrBtCoex() argument 193 if (pBtCoexist->boardInfo.btChipType == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsCsrBtCoex() 194 || pBtCoexist->boardInfo.btChipType == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsCsrBtCoex() 201 static u8 halbtcoutsrc_IsHwMailboxExist(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsHwMailboxExist() argument 203 if (pBtCoexist->boardInfo.btChipType == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsHwMailboxExist() 204 || pBtCoexist->boardInfo.btChipType == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsHwMailboxExist() 208 else if (IS_HARDWARE_TYPE_8812(pBtCoexist->Adapter)) in halbtcoutsrc_IsHwMailboxExist() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/ |
| H A D | hal_btcoex.c | 251 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable() argument 253 if (!pBtCoexist->bBinded || in halbtcoutsrc_IsBtCoexistAvailable() 254 NULL == pBtCoexist->Adapter) in halbtcoutsrc_IsBtCoexistAvailable() 267 static u8 halbtcoutsrc_IsCsrBtCoex(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsCsrBtCoex() argument 269 if (pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsCsrBtCoex() 270 || pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsCsrBtCoex() 276 static void halbtcoutsrc_EnterPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_EnterPwrLock() argument 278 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_EnterPwrLock() 284 static void halbtcoutsrc_ExitPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_ExitPwrLock() argument 286 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_ExitPwrLock() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/ |
| H A D | hal_btcoex.c | 250 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable() argument 252 if (!pBtCoexist->bBinded || in halbtcoutsrc_IsBtCoexistAvailable() 253 NULL == pBtCoexist->Adapter) in halbtcoutsrc_IsBtCoexistAvailable() 266 static u8 halbtcoutsrc_IsCsrBtCoex(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsCsrBtCoex() argument 268 if (pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsCsrBtCoex() 269 || pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsCsrBtCoex() 275 static u8 halbtcoutsrc_IsHwMailboxExist(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsHwMailboxExist() argument 277 if (pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsHwMailboxExist() 278 || pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsHwMailboxExist() 281 else if (IS_HARDWARE_TYPE_8812(pBtCoexist->Adapter)) in halbtcoutsrc_IsHwMailboxExist() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/ |
| H A D | hal_btcoex.c | 257 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable() argument 259 if (!pBtCoexist->bBinded || in halbtcoutsrc_IsBtCoexistAvailable() 260 NULL == pBtCoexist->Adapter) in halbtcoutsrc_IsBtCoexistAvailable() 273 static void halbtcoutsrc_EnterPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_EnterPwrLock() argument 275 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_EnterPwrLock() 281 static void halbtcoutsrc_ExitPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_ExitPwrLock() argument 283 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_ExitPwrLock() 289 static u8 halbtcoutsrc_IsHwMailboxExist(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsHwMailboxExist() argument 291 if (pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsHwMailboxExist() 292 || pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsHwMailboxExist() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/ |
| H A D | hal_btcoex.c | 257 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable() argument 259 if (!pBtCoexist->bBinded || in halbtcoutsrc_IsBtCoexistAvailable() 260 NULL == pBtCoexist->Adapter) in halbtcoutsrc_IsBtCoexistAvailable() 273 static void halbtcoutsrc_EnterPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_EnterPwrLock() argument 275 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_EnterPwrLock() 281 static void halbtcoutsrc_ExitPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_ExitPwrLock() argument 283 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_ExitPwrLock() 289 static u8 halbtcoutsrc_IsHwMailboxExist(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsHwMailboxExist() argument 291 if (pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsHwMailboxExist() 292 || pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsHwMailboxExist() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/ |
| H A D | hal_btcoex.c | 257 static u8 halbtcoutsrc_IsBtCoexistAvailable(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsBtCoexistAvailable() argument 259 if (!pBtCoexist->bBinded || in halbtcoutsrc_IsBtCoexistAvailable() 260 NULL == pBtCoexist->Adapter) in halbtcoutsrc_IsBtCoexistAvailable() 273 static void halbtcoutsrc_EnterPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_EnterPwrLock() argument 275 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_EnterPwrLock() 281 static void halbtcoutsrc_ExitPwrLock(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_ExitPwrLock() argument 283 struct dvobj_priv *dvobj = adapter_to_dvobj((PADAPTER)pBtCoexist->Adapter); in halbtcoutsrc_ExitPwrLock() 289 static u8 halbtcoutsrc_IsHwMailboxExist(PBTC_COEXIST pBtCoexist) in halbtcoutsrc_IsHwMailboxExist() argument 291 if (pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC4 in halbtcoutsrc_IsHwMailboxExist() 292 || pBtCoexist->board_info.bt_chip_type == BTC_CHIP_CSR_BC8 in halbtcoutsrc_IsHwMailboxExist() [all …]
|