#include <hal_data.h>
#include <rtw_debug.h>
#include <hal_btcoex.h>
#include <Mp_Precomp.h>
struct btc_coexist GLBtCoexist;
static u8 GLBtcWiFiInScanState;
static u8 GLBtcWiFiInIQKState;
static u8 halbtcoutsrc_IsBtCoexistAvailable(struct btc_coexist *pBtCoexist)
{ … }
static void halbtcoutsrc_LeaveLps(struct btc_coexist *pBtCoexist)
{ … }
static void halbtcoutsrc_EnterLps(struct btc_coexist *pBtCoexist)
{ … }
static void halbtcoutsrc_NormalLps(struct btc_coexist *pBtCoexist)
{ … }
static void halbtcoutsrc_LeaveLowPower(struct btc_coexist *pBtCoexist)
{ … }
static void halbtcoutsrc_NormalLowPower(struct btc_coexist *pBtCoexist)
{ … }
static void halbtcoutsrc_DisableLowPower(struct btc_coexist *pBtCoexist, u8 bLowPwrDisable)
{ … }
static void halbtcoutsrc_AggregationCheck(struct btc_coexist *pBtCoexist)
{ … }
static u8 halbtcoutsrc_IsWifiBusy(struct adapter *padapter)
{ … }
static u32 _halbtcoutsrc_GetWifiLinkStatus(struct adapter *padapter)
{ … }
static u32 halbtcoutsrc_GetWifiLinkStatus(struct btc_coexist *pBtCoexist)
{ … }
static u32 halbtcoutsrc_GetBtPatchVer(struct btc_coexist *pBtCoexist)
{ … }
static s32 halbtcoutsrc_GetWifiRssi(struct adapter *padapter)
{ … }
static u8 halbtcoutsrc_GetWifiScanAPNum(struct adapter *padapter)
{ … }
static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
{ … }
static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
{ … }
static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
{ … }
static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr)
{ … }
static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr)
{ … }
static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
{ … }
static void halbtcoutsrc_BitMaskWrite1Byte(void *pBtcContext, u32 regAddr, u8 bitMask, u8 data1b)
{ … }
static void halbtcoutsrc_Write2Byte(void *pBtcContext, u32 RegAddr, u16 Data)
{ … }
static void halbtcoutsrc_Write4Byte(void *pBtcContext, u32 RegAddr, u32 Data)
{ … }
static void halbtcoutsrc_WriteLocalReg1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
{ … }
static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data)
{ … }
static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask)
{ … }
static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data)
{ … }
static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask)
{ … }
static void halbtcoutsrc_SetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr, u32 Data)
{ … }
static u32 halbtcoutsrc_GetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr)
{ … }
static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen, u8 *pCmdBuffer)
{ … }
static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
{ … }
void hal_btcoex_Initialize(void *padapter)
{ … }
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)
{ … }
void EXhalbtcoutsrc_SpecialPacketNotify(struct btc_coexist *pBtCoexist, u8 pktType)
{ … }
void EXhalbtcoutsrc_BtInfoNotify(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_SetAntNum(u8 type, u8 antNum)
{ … }
void EXhalbtcoutsrc_SetSingleAntPath(u8 singleAntPath)
{ … }
void hal_btcoex_SetBTCoexist(struct adapter *padapter, u8 bBtExist)
{ … }
bool hal_btcoex_IsBtExist(struct adapter *padapter)
{ … }
bool hal_btcoex_IsBtDisabled(struct adapter *padapter)
{ … }
void hal_btcoex_SetPgAntNum(struct adapter *padapter, u8 antNum)
{ … }
void hal_btcoex_SetSingleAntPath(struct adapter *padapter, u8 singleAntPath)
{ … }
void hal_btcoex_PowerOnSetting(struct adapter *padapter)
{ … }
void hal_btcoex_InitHwConfig(struct adapter *padapter, u8 bWifiOnly)
{ … }
void hal_btcoex_IpsNotify(struct adapter *padapter, u8 type)
{ … }
void hal_btcoex_LpsNotify(struct adapter *padapter, u8 type)
{ … }
void hal_btcoex_ScanNotify(struct adapter *padapter, u8 type)
{ … }
void hal_btcoex_ConnectNotify(struct adapter *padapter, u8 action)
{ … }
void hal_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus)
{ … }
void hal_btcoex_SpecialPacketNotify(struct adapter *padapter, u8 pktType)
{ … }
void hal_btcoex_IQKNotify(struct adapter *padapter, u8 state)
{ … }
void hal_btcoex_BtInfoNotify(struct adapter *padapter, u8 length, u8 *tmpBuf)
{ … }
void hal_btcoex_SuspendNotify(struct adapter *padapter, u8 state)
{ … }
void hal_btcoex_HaltNotify(struct adapter *padapter)
{ … }
void hal_btcoex_Handler(struct adapter *padapter)
{ … }
s32 hal_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter)
{ … }
bool hal_btcoex_IsBtControlLps(struct adapter *padapter)
{ … }
bool hal_btcoex_IsLpsOn(struct adapter *padapter)
{ … }
u8 hal_btcoex_RpwmVal(struct adapter *padapter)
{ … }
u8 hal_btcoex_LpsVal(struct adapter *padapter)
{ … }
u32 hal_btcoex_GetRaMask(struct adapter *padapter)
{ … }
void hal_btcoex_RecordPwrMode(struct adapter *padapter, u8 *pCmdBuf, u8 cmdLen)
{ … }