mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c
This commit fixes the following checkpatch.pl errors: WARNING: please, no space before tabs +^I/* ^IRx Aggregation related setting */$ WARNING: please, no space before tabs +^Iu8 ^IH2C_Parameter[1] = {0};$ WARNING: please, no space before tabs +^Iu8 ^IH2C_Parameter[6] = {0};$ WARNING: please, no space before tabs +^I/* u32 ^I^IfwVer = 0; */$ WARNING: please, no space before tabs +/* ^ISoftware Coex Mechanism start */$ WARNING: please, no space before tabs +/* ^INon-Software Coex Mechanism start */$ WARNING: please, no space before tabs +^I/* ^IBIT0: "0" for no antenna inverse; "1" for antenna inverse */$ WARNING: please, no space before tabs +^I/* ^IBIT1: "0" for internal switch; "1" for external switch */$ WARNING: please, no space before tabs +^I/* ^IBIT2: "0" for one antenna; "1" for two antenna */$ Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com> Link: https://lore.kernel.org/r/20210518044119.2960494-3-desmondcheongzx@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
83e9f677a4
commit
426ddc5298
1 changed files with 9 additions and 9 deletions
|
@ -231,7 +231,7 @@ static void halbtc8723b1ant_LimitedRx(
|
|||
u8 rxAggSize = aggBufSize;
|
||||
|
||||
/* */
|
||||
/* Rx Aggregation related setting */
|
||||
/* Rx Aggregation related setting */
|
||||
/* */
|
||||
pBtCoexist->fBtcSet(
|
||||
pBtCoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, &bRejectRxAgg
|
||||
|
@ -250,7 +250,7 @@ static void halbtc8723b1ant_LimitedRx(
|
|||
|
||||
static void halbtc8723b1ant_QueryBtInfo(struct btc_coexist *pBtCoexist)
|
||||
{
|
||||
u8 H2C_Parameter[1] = {0};
|
||||
u8 H2C_Parameter[1] = {0};
|
||||
|
||||
pCoexSta->bC2hBtInfoReqSent = true;
|
||||
|
||||
|
@ -606,7 +606,7 @@ static void halbtc8723b1ant_SetSwPenaltyTxRateAdaptive(
|
|||
struct btc_coexist *pBtCoexist, bool bLowPenaltyRa
|
||||
)
|
||||
{
|
||||
u8 H2C_Parameter[6] = {0};
|
||||
u8 H2C_Parameter[6] = {0};
|
||||
|
||||
H2C_Parameter[0] = 0x6; /* opCode, 0x6 = Retry_Penalty */
|
||||
|
||||
|
@ -1038,7 +1038,7 @@ static void halbtc8723b1ant_PsTdma(
|
|||
u8 rssiAdjustVal = 0;
|
||||
u8 psTdmaByte4Val = 0x50, psTdmaByte0Val = 0x51, psTdmaByte3Val = 0x10;
|
||||
s8 nWiFiDurationAdjust = 0x0;
|
||||
/* u32 fwVer = 0; */
|
||||
/* u32 fwVer = 0; */
|
||||
|
||||
pCoexDm->bCurPsTdmaOn = bTurnOn;
|
||||
pCoexDm->curPsTdma = type;
|
||||
|
@ -1575,13 +1575,13 @@ static void halbtc8723b1ant_PowerSaveState(
|
|||
|
||||
/* */
|
||||
/* */
|
||||
/* Software Coex Mechanism start */
|
||||
/* Software Coex Mechanism start */
|
||||
/* */
|
||||
/* */
|
||||
|
||||
/* */
|
||||
/* */
|
||||
/* Non-Software Coex Mechanism start */
|
||||
/* Non-Software Coex Mechanism start */
|
||||
/* */
|
||||
/* */
|
||||
static void halbtc8723b1ant_ActionWifiMultiPort(struct btc_coexist *pBtCoexist)
|
||||
|
@ -2166,9 +2166,9 @@ void EXhalbtc8723b1ant_PowerOnSetting(struct btc_coexist *pBtCoexist)
|
|||
/* */
|
||||
/* S0 or S1 setting and Local register setting(By the setting fw can get ant number, S0/S1, ... info) */
|
||||
/* Local setting bit define */
|
||||
/* BIT0: "0" for no antenna inverse; "1" for antenna inverse */
|
||||
/* BIT1: "0" for internal switch; "1" for external switch */
|
||||
/* BIT2: "0" for one antenna; "1" for two antenna */
|
||||
/* BIT0: "0" for no antenna inverse; "1" for antenna inverse */
|
||||
/* BIT1: "0" for internal switch; "1" for external switch */
|
||||
/* BIT2: "0" for one antenna; "1" for two antenna */
|
||||
/* NOTE: here default all internal switch and 1-antenna ==> BIT1 = 0 and BIT2 = 0 */
|
||||
if (pBtCoexist->chipInterface == BTC_INTF_USB) {
|
||||
/* fixed at S0 for USB interface */
|
||||
|
|
Loading…
Reference in a new issue