Skip to content

Commit 0da988e

Browse files
Marco Cesatiintel-lab-lkp
Marco Cesati
authored andcommitted
Staging: rtl8723bs: fix spaces in odm.c
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#285: FILE: ./hal/odm.c:285: +void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#287: FILE: ./hal/odm.c:287: +void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#289: FILE: ./hal/odm.c:289: +void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#291: FILE: ./hal/odm.c:291: +void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#305: FILE: ./hal/odm.c:305: +void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#309: FILE: ./hal/odm.c:309: +void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#311: FILE: ./hal/odm.c:311: +void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#313: FILE: ./hal/odm.c:313: +void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#315: FILE: ./hal/odm.c:315: +void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#323: FILE: ./hal/odm.c:323: +void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#325: FILE: ./hal/odm.c:325: +void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#327: FILE: ./hal/odm.c:327: +void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#330: FILE: ./hal/odm.c:330: +void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#338: FILE: ./hal/odm.c:338: +void odm_InitHybridAntDiv(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#341: FILE: ./hal/odm.c:341: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#349: FILE: ./hal/odm.c:349: +void odm_SetRxIdleAnt(struct DM_ODM_T * pDM_Odm, u8 Ant, bool bDualPath); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#353: FILE: ./hal/odm.c:353: +void odm_HwAntDiv(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#363: FILE: ./hal/odm.c:363: +void ODM_DMInit(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#393: FILE: ./hal/odm.c:393: +void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#420: FILE: ./hal/odm.c:420: + struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#448: FILE: ./hal/odm.c:448: +void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#560: FILE: ./hal/odm.c:560: +void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#689: FILE: ./hal/odm.c:689: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#717: FILE: ./hal/odm.c:717: +void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#831: FILE: ./hal/odm.c:831: +void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#841: FILE: ./hal/odm.c:841: +void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#867: FILE: ./hal/odm.c:867: +void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#888: FILE: ./hal/odm.c:888: +void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#935: FILE: ./hal/odm.c:935: +void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#937: FILE: ./hal/odm.c:937: + struct ODM_RATE_ADAPTIVE * pOdmRA = &pDM_Odm->RateAdaptive; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#953: FILE: ./hal/odm.c:953: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1083: FILE: ./hal/odm.c:1083: +void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1094: FILE: ./hal/odm.c:1094: +void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1131: FILE: ./hal/odm.c:1131: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#1137: FILE: ./hal/odm.c:1137: + struct ODM_RATE_ADAPTIVE * pRA = &pDM_Odm->RateAdaptive; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1196: FILE: ./hal/odm.c:1196: +void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1198: FILE: ./hal/odm.c:1198: + struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1204: FILE: ./hal/odm.c:1204: +void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1217: FILE: ./hal/odm.c:1217: + struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1234: FILE: ./hal/odm.c:1234: +void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1243: FILE: ./hal/odm.c:1243: + struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1306: FILE: ./hal/odm.c:1306: +static u8 getSwingIndex(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1330: FILE: ./hal/odm.c:1330: +void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1374: FILE: ./hal/odm.c:1374: +void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1398: FILE: ./hal/odm.c:1398: +void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1400: FILE: ./hal/odm.c:1400: + struct SWAT_T * pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table; Signed-off-by: Marco Cesati <marcocesati@gmail.com>
1 parent 8600d4a commit 0da988e

File tree

1 file changed

+46
-46
lines changed
  • drivers/staging/rtl8723bs/hal

1 file changed

+46
-46
lines changed

drivers/staging/rtl8723bs/hal/odm.c

+46-46
Original file line numberDiff line numberDiff line change
@@ -282,13 +282,13 @@ u32 TxScalingTable_Jaguar[TXSCALE_TABLE_SIZE] = {
282282
/* Local Function predefine. */
283283

284284
/* START------------COMMON INFO RELATED--------------- */
285-
void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm);
285+
void odm_CommonInfoSelfInit(struct DM_ODM_T *pDM_Odm);
286286

287-
void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm);
287+
void odm_CommonInfoSelfUpdate(struct DM_ODM_T *pDM_Odm);
288288

289-
void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm);
289+
void odm_CmnInfoInit_Debug(struct DM_ODM_T *pDM_Odm);
290290

291-
void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm);
291+
void odm_BasicDbgMessage(struct DM_ODM_T *pDM_Odm);
292292

293293
/* END------------COMMON INFO RELATED--------------- */
294294

@@ -302,55 +302,55 @@ void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm);
302302
/* Remove BB power Saving by YuChen */
303303
/* END---------BB POWER SAVE----------------------- */
304304

305-
void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm);
305+
void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T *pDM_Odm);
306306

307307
/* Remove by YuChen */
308308

309-
void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm);
309+
void odm_RSSIMonitorInit(struct DM_ODM_T *pDM_Odm);
310310

311-
void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm);
311+
void odm_RSSIMonitorCheckCE(struct DM_ODM_T *pDM_Odm);
312312

313-
void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm);
313+
void odm_RSSIMonitorCheck(struct DM_ODM_T *pDM_Odm);
314314

315-
void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm);
315+
void odm_SwAntDetectInit(struct DM_ODM_T *pDM_Odm);
316316

317317
void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
318318

319319

320320

321321
void odm_GlobalAdapterCheck(void);
322322

323-
void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm);
323+
void odm_RefreshRateAdaptiveMask(struct DM_ODM_T *pDM_Odm);
324324

325-
void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm);
325+
void ODM_TXPowerTrackingCheck(struct DM_ODM_T *pDM_Odm);
326326

327-
void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm);
327+
void odm_RateAdaptiveMaskInit(struct DM_ODM_T *pDM_Odm);
328328

329329

330-
void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);
330+
void odm_TXPowerTrackingInit(struct DM_ODM_T *pDM_Odm);
331331

332332
/* Remove Edca by Yu Chen */
333333

334334

335335
#define RxDefaultAnt1 0x65a9
336336
#define RxDefaultAnt2 0x569a
337337

338-
void odm_InitHybridAntDiv(struct DM_ODM_T * pDM_Odm);
338+
void odm_InitHybridAntDiv(struct DM_ODM_T *pDM_Odm);
339339

340340
bool odm_StaDefAntSel(
341-
struct DM_ODM_T * pDM_Odm,
341+
struct DM_ODM_T *pDM_Odm,
342342
u32 OFDM_Ant1_Cnt,
343343
u32 OFDM_Ant2_Cnt,
344344
u32 CCK_Ant1_Cnt,
345345
u32 CCK_Ant2_Cnt,
346346
u8 *pDefAnt
347347
);
348348

349-
void odm_SetRxIdleAnt(struct DM_ODM_T * pDM_Odm, u8 Ant, bool bDualPath);
349+
void odm_SetRxIdleAnt(struct DM_ODM_T *pDM_Odm, u8 Ant, bool bDualPath);
350350

351351

352352

353-
void odm_HwAntDiv(struct DM_ODM_T * pDM_Odm);
353+
void odm_HwAntDiv(struct DM_ODM_T *pDM_Odm);
354354

355355

356356
/* */
@@ -360,7 +360,7 @@ void odm_HwAntDiv(struct DM_ODM_T * pDM_Odm);
360360
/* */
361361
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
362362
/* */
363-
void ODM_DMInit(struct DM_ODM_T * pDM_Odm)
363+
void ODM_DMInit(struct DM_ODM_T *pDM_Odm)
364364
{
365365

366366
odm_CommonInfoSelfInit(pDM_Odm);
@@ -390,7 +390,7 @@ void ODM_DMInit(struct DM_ODM_T * pDM_Odm)
390390
/* You can not add any dummy function here, be care, you can only use DM structure */
391391
/* to perform any new ODM_DM. */
392392
/* */
393-
void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
393+
void ODM_DMWatchdog(struct DM_ODM_T *pDM_Odm)
394394
{
395395
odm_CommonInfoSelfUpdate(pDM_Odm);
396396
odm_BasicDbgMessage(pDM_Odm);
@@ -417,7 +417,7 @@ void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
417417
odm_DIG(pDM_Odm);
418418

419419
{
420-
struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
420+
struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
421421

422422
odm_Adaptivity(pDM_Odm, pDM_DigTable->CurIGValue);
423423
}
@@ -445,7 +445,7 @@ void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
445445
/* */
446446
/* Init /.. Fixed HW value. Only init time. */
447447
/* */
448-
void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value)
448+
void ODM_CmnInfoInit(struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value)
449449
{
450450
/* */
451451
/* This section is used for init value */
@@ -557,7 +557,7 @@ void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32
557557
}
558558

559559

560-
void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue)
560+
void ODM_CmnInfoHook(struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue)
561561
{
562562
/* */
563563
/* Hook call by reference pointer. */
@@ -686,7 +686,7 @@ void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void
686686

687687

688688
void ODM_CmnInfoPtrArrayHook(
689-
struct DM_ODM_T * pDM_Odm,
689+
struct DM_ODM_T *pDM_Odm,
690690
enum ODM_CMNINFO_E CmnInfo,
691691
u16 Index,
692692
void *pValue
@@ -714,7 +714,7 @@ void ODM_CmnInfoPtrArrayHook(
714714
/* */
715715
/* Update Band/CHannel/.. The values are dynamic but non-per-packet. */
716716
/* */
717-
void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value)
717+
void ODM_CmnInfoUpdate(struct DM_ODM_T *pDM_Odm, u32 CmnInfo, u64 Value)
718718
{
719719
/* */
720720
/* This init variable may be changed in run time. */
@@ -828,7 +828,7 @@ void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value)
828828

829829
}
830830

831-
void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm)
831+
void odm_CommonInfoSelfInit(struct DM_ODM_T *pDM_Odm)
832832
{
833833
pDM_Odm->bCckHighPower = (bool) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(CCK_RPT_FORMAT, pDM_Odm), ODM_BIT(CCK_RPT_FORMAT, pDM_Odm));
834834
pDM_Odm->RFPathRxEnable = (u8) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(BB_RX_PATH, pDM_Odm), ODM_BIT(BB_RX_PATH, pDM_Odm));
@@ -838,7 +838,7 @@ void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm)
838838
pDM_Odm->TxRate = 0xFF;
839839
}
840840

841-
void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm)
841+
void odm_CommonInfoSelfUpdate(struct DM_ODM_T *pDM_Odm)
842842
{
843843
u8 EntryCnt = 0;
844844
u8 i;
@@ -864,7 +864,7 @@ void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm)
864864
pDM_Odm->bOneEntryOnly = false;
865865
}
866866

867-
void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm)
867+
void odm_CmnInfoInit_Debug(struct DM_ODM_T *pDM_Odm)
868868
{
869869
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoInit_Debug ==>\n"));
870870
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportPlatform =%d\n", pDM_Odm->SupportPlatform));
@@ -885,7 +885,7 @@ void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm)
885885

886886
}
887887

888-
void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm)
888+
void odm_BasicDbgMessage(struct DM_ODM_T *pDM_Odm)
889889
{
890890
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_BasicDbgMsg ==>\n"));
891891
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bLinked = %d, RSSI_Min = %d,\n",
@@ -932,9 +932,9 @@ void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm)
932932
/* 3 Rate Adaptive */
933933
/* 3 ============================================================ */
934934

935-
void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm)
935+
void odm_RateAdaptiveMaskInit(struct DM_ODM_T *pDM_Odm)
936936
{
937-
struct ODM_RATE_ADAPTIVE * pOdmRA = &pDM_Odm->RateAdaptive;
937+
struct ODM_RATE_ADAPTIVE *pOdmRA = &pDM_Odm->RateAdaptive;
938938

939939
pOdmRA->Type = DM_Type_ByDriver;
940940
if (pOdmRA->Type == DM_Type_ByDriver)
@@ -950,7 +950,7 @@ void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm)
950950
}
951951

952952
u32 ODM_Get_Rate_Bitmap(
953-
struct DM_ODM_T * pDM_Odm,
953+
struct DM_ODM_T *pDM_Odm,
954954
u32 macid,
955955
u32 ra_mask,
956956
u8 rssi_level
@@ -1080,7 +1080,7 @@ u32 ODM_Get_Rate_Bitmap(
10801080
*
10811081
* --------------------------------------------------------------------------
10821082
*/
1083-
void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm)
1083+
void odm_RefreshRateAdaptiveMask(struct DM_ODM_T *pDM_Odm)
10841084
{
10851085

10861086
ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_TRACE, ("odm_RefreshRateAdaptiveMask()---------->\n"));
@@ -1091,7 +1091,7 @@ void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm)
10911091
odm_RefreshRateAdaptiveMaskCE(pDM_Odm);
10921092
}
10931093

1094-
void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm)
1094+
void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T *pDM_Odm)
10951095
{
10961096
u8 i;
10971097
struct adapter *padapter = pDM_Odm->Adapter;
@@ -1128,13 +1128,13 @@ void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm)
11281128
/* Return Value: bool */
11291129
/* - true: RATRState is changed. */
11301130
bool ODM_RAStateCheck(
1131-
struct DM_ODM_T * pDM_Odm,
1131+
struct DM_ODM_T *pDM_Odm,
11321132
s32 RSSI,
11331133
bool bForceUpdate,
11341134
u8 *pRATRState
11351135
)
11361136
{
1137-
struct ODM_RATE_ADAPTIVE * pRA = &pDM_Odm->RateAdaptive;
1137+
struct ODM_RATE_ADAPTIVE *pRA = &pDM_Odm->RateAdaptive;
11381138
const u8 GoUpGap = 5;
11391139
u8 HighRSSIThreshForRA = pRA->HighRSSIThresh;
11401140
u8 LowRSSIThreshForRA = pRA->LowRSSIThresh;
@@ -1193,15 +1193,15 @@ bool ODM_RAStateCheck(
11931193
/* 3 RSSI Monitor */
11941194
/* 3 ============================================================ */
11951195

1196-
void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm)
1196+
void odm_RSSIMonitorInit(struct DM_ODM_T *pDM_Odm)
11971197
{
1198-
struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table;
1198+
struct RA_T *pRA_Table = &pDM_Odm->DM_RA_Table;
11991199

12001200
pRA_Table->firstconnect = false;
12011201

12021202
}
12031203

1204-
void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm)
1204+
void odm_RSSIMonitorCheck(struct DM_ODM_T *pDM_Odm)
12051205
{
12061206
if (!(pDM_Odm->SupportAbility & ODM_BB_RSSI_MONITOR))
12071207
return;
@@ -1214,7 +1214,7 @@ static void FindMinimumRSSI(struct adapter *padapter)
12141214
{
12151215
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
12161216
struct dm_priv *pdmpriv = &pHalData->dmpriv;
1217-
struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
1217+
struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
12181218

12191219
/* 1 1.Determine the minimum RSSI */
12201220

@@ -1231,7 +1231,7 @@ static void FindMinimumRSSI(struct adapter *padapter)
12311231
/* ODM_RT_TRACE(pDM_Odm, COMP_DIG, DBG_LOUD, ("MinUndecoratedPWDBForDM =%d\n", pHalData->MinUndecoratedPWDBForDM)); */
12321232
}
12331233

1234-
void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
1234+
void odm_RSSIMonitorCheckCE(struct DM_ODM_T *pDM_Odm)
12351235
{
12361236
struct adapter *Adapter = pDM_Odm->Adapter;
12371237
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
@@ -1240,7 +1240,7 @@ void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
12401240
int tmpEntryMaxPWDB = 0, tmpEntryMinPWDB = 0xff;
12411241
u8 sta_cnt = 0;
12421242
u32 PWDB_rssi[NUM_STA] = {0};/* 0~15]:MACID, [16~31]:PWDB_rssi */
1243-
struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table;
1243+
struct RA_T *pRA_Table = &pDM_Odm->DM_RA_Table;
12441244

12451245
if (pDM_Odm->bLinked != true)
12461246
return;
@@ -1303,7 +1303,7 @@ void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
13031303
/* 3 Tx Power Tracking */
13041304
/* 3 ============================================================ */
13051305

1306-
static u8 getSwingIndex(struct DM_ODM_T * pDM_Odm)
1306+
static u8 getSwingIndex(struct DM_ODM_T *pDM_Odm)
13071307
{
13081308
struct adapter *Adapter = pDM_Odm->Adapter;
13091309
u8 i = 0;
@@ -1327,7 +1327,7 @@ static u8 getSwingIndex(struct DM_ODM_T * pDM_Odm)
13271327
return i;
13281328
}
13291329

1330-
void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm)
1330+
void odm_TXPowerTrackingInit(struct DM_ODM_T *pDM_Odm)
13311331
{
13321332
u8 defaultSwingIndex = getSwingIndex(pDM_Odm);
13331333
u8 p = 0;
@@ -1371,7 +1371,7 @@ void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm)
13711371

13721372
}
13731373

1374-
void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm)
1374+
void ODM_TXPowerTrackingCheck(struct DM_ODM_T *pDM_Odm)
13751375
{
13761376
struct adapter *Adapter = pDM_Odm->Adapter;
13771377

@@ -1395,9 +1395,9 @@ void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm)
13951395
/* 3 ============================================================ */
13961396
/* 3 SW Antenna Diversity */
13971397
/* 3 ============================================================ */
1398-
void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm)
1398+
void odm_SwAntDetectInit(struct DM_ODM_T *pDM_Odm)
13991399
{
1400-
struct SWAT_T * pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
1400+
struct SWAT_T *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
14011401

14021402
pDM_SWAT_Table->SWAS_NoLink_BK_Reg92c = rtw_read32(pDM_Odm->Adapter, rDPDT_control);
14031403
pDM_SWAT_Table->PreAntenna = MAIN_ANT;

0 commit comments

Comments
 (0)