linux/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c

// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
 *
 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/

#include "Mp_Precomp.h"

/*  Global variables, these are static variables */
static struct coex_dm_8723b_1ant GLCoexDm8723b1Ant;
static struct coex_dm_8723b_1ant *pCoexDm =;
static struct coex_sta_8723b_1ant GLCoexSta8723b1Ant;
static struct coex_sta_8723b_1ant *pCoexSta =;

/*  local function proto type if needed */
/*  local function start with halbtc8723b1ant_ */
static u8 halbtc8723b1ant_BtRssiState(
	u8 levelNum, u8 rssiThresh, u8 rssiThresh1
)
{}

static void halbtc8723b1ant_UpdateRaMask(
	struct btc_coexist *pBtCoexist, bool bForceExec, u32 disRateMask
)
{}

static void halbtc8723b1ant_AutoRateFallbackRetry(
	struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
)
{}

static void halbtc8723b1ant_RetryLimit(
	struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
)
{}

static void halbtc8723b1ant_AmpduMaxTime(
	struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
)
{}

static void halbtc8723b1ant_LimitedTx(
	struct btc_coexist *pBtCoexist,
	bool bForceExec,
	u8 raMaskType,
	u8 arfrType,
	u8 retryLimitType,
	u8 ampduTimeType
)
{}

static void halbtc8723b1ant_LimitedRx(
	struct btc_coexist *pBtCoexist,
	bool bForceExec,
	bool bRejApAggPkt,
	bool bBtCtrlAggBufSize,
	u8 aggBufSize
)
{}

static void halbtc8723b1ant_QueryBtInfo(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_MonitorBtCtr(struct btc_coexist *pBtCoexist)
{}


static void halbtc8723b1ant_MonitorWiFiCtr(struct btc_coexist *pBtCoexist)
{}

static bool halbtc8723b1ant_IsWifiStatusChanged(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_UpdateBtLinkInfo(struct btc_coexist *pBtCoexist)
{}

static u8 halbtc8723b1ant_ActionAlgorithm(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_SetSwPenaltyTxRateAdaptive(
	struct btc_coexist *pBtCoexist, bool bLowPenaltyRa
)
{}

static void halbtc8723b1ant_LowPenaltyRa(
	struct btc_coexist *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
)
{}

static void halbtc8723b1ant_SetCoexTable(
	struct btc_coexist *pBtCoexist,
	u32 val0x6c0,
	u32 val0x6c4,
	u32 val0x6c8,
	u8 val0x6cc
)
{}

static void halbtc8723b1ant_CoexTable(
	struct btc_coexist *pBtCoexist,
	bool bForceExec,
	u32 val0x6c0,
	u32 val0x6c4,
	u32 val0x6c8,
	u8 val0x6cc
)
{}

static void halbtc8723b1ant_CoexTableWithType(
	struct btc_coexist *pBtCoexist, bool bForceExec, u8 type
)
{}

static void halbtc8723b1ant_SetFwIgnoreWlanAct(
	struct btc_coexist *pBtCoexist, bool bEnable
)
{}

static void halbtc8723b1ant_IgnoreWlanAct(
	struct btc_coexist *pBtCoexist, bool bForceExec, bool bEnable
)
{}

static void halbtc8723b1ant_SetLpsRpwm(
	struct btc_coexist *pBtCoexist, u8 lpsVal, u8 rpwmVal
)
{}

static void halbtc8723b1ant_LpsRpwm(
	struct btc_coexist *pBtCoexist, bool bForceExec, u8 lpsVal, u8 rpwmVal
)
{}

static void halbtc8723b1ant_SwMechanism(
	struct btc_coexist *pBtCoexist, bool bLowPenaltyRA
)
{}

static void halbtc8723b1ant_SetAntPath(
	struct btc_coexist *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
)
{}

static void halbtc8723b1ant_SetFwPstdma(
	struct btc_coexist *pBtCoexist, u8 byte1, u8 byte2, u8 byte3, u8 byte4, u8 byte5
)
{}


static void halbtc8723b1ant_PsTdma(
	struct btc_coexist *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
)
{}

static bool halbtc8723b1ant_IsCommonAction(struct btc_coexist *pBtCoexist)
{}


static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
	struct btc_coexist *pBtCoexist, u8 wifiStatus
)
{}

static void halbtc8723b1ant_PsTdmaCheckForPowerSaveState(
	struct btc_coexist *pBtCoexist, bool bNewPsState
)
{}

static void halbtc8723b1ant_PowerSaveState(
	struct btc_coexist *pBtCoexist, u8 psType, u8 lpsVal, u8 rpwmVal
)
{}

/*  */
/*  */
/*	Software Coex Mechanism start */
/*  */
/*  */

/*  */
/*  */
/*	Non-Software Coex Mechanism start */
/*  */
/*  */
static void halbtc8723b1ant_ActionWifiMultiPort(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_ActionHs(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_ActionBtInquiry(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_ActionBtScoHidOnlyBusy(
	struct btc_coexist *pBtCoexist, u8 wifiStatus
)
{}

static void halbtc8723b1ant_ActionWifiConnectedBtAclBusy(
	struct btc_coexist *pBtCoexist, u8 wifiStatus
)
{}

static void halbtc8723b1ant_ActionWifiNotConnected(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_ActionWifiNotConnectedScan(
	struct btc_coexist *pBtCoexist
)
{}

static void halbtc8723b1ant_ActionWifiNotConnectedAssoAuth(
	struct btc_coexist *pBtCoexist
)
{}

static void halbtc8723b1ant_ActionWifiConnectedScan(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_ActionWifiConnectedSpecialPacket(
	struct btc_coexist *pBtCoexist
)
{}

static void halbtc8723b1ant_ActionWifiConnected(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_RunSwCoexistMechanism(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_RunCoexistMechanism(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_InitCoexDm(struct btc_coexist *pBtCoexist)
{}

static void halbtc8723b1ant_InitHwConfig(
	struct btc_coexist *pBtCoexist,
	bool bBackUp,
	bool bWifiOnly
)
{}

/*  */
/*  work around function start with wa_halbtc8723b1ant_ */
/*  */
/*  */
/*  extern function start with EXhalbtc8723b1ant_ */
/*  */
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
)
{}

void EXhalbtc8723b1ant_HaltNotify(struct btc_coexist *pBtCoexist)
{}

void EXhalbtc8723b1ant_PnpNotify(struct btc_coexist *pBtCoexist, u8 pnpState)
{}

void EXhalbtc8723b1ant_Periodical(struct btc_coexist *pBtCoexist)
{}