staging: r8188eu: make odm_RateAdaptiveMaskInit() static
Function odm_RateAdaptiveMaskInit() is only used in odm.c. Make it static. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211229205108.26373-20-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5ab68d92cd
commit
b82d0bc677
@ -337,6 +337,15 @@ static void odm_CommonInfoSelfUpdate(struct odm_dm_struct *pDM_Odm)
|
||||
pDM_Odm->bOneEntryOnly = false;
|
||||
}
|
||||
|
||||
static void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct odm_rate_adapt *pOdmRA = &pDM_Odm->RateAdaptive;
|
||||
|
||||
pOdmRA->RATRState = DM_RATR_STA_INIT;
|
||||
pOdmRA->HighRSSIThresh = 50;
|
||||
pOdmRA->LowRSSIThresh = 20;
|
||||
}
|
||||
|
||||
/* 3 Export Interface */
|
||||
|
||||
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
|
||||
@ -646,15 +655,6 @@ void ODM_RF_Saving(struct odm_dm_struct *pDM_Odm, u8 bForceInNormal)
|
||||
/* 3 Rate Adaptive */
|
||||
/* 3============================================================ */
|
||||
|
||||
void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
struct odm_rate_adapt *pOdmRA = &pDM_Odm->RateAdaptive;
|
||||
|
||||
pOdmRA->RATRState = DM_RATR_STA_INIT;
|
||||
pOdmRA->HighRSSIThresh = 50;
|
||||
pOdmRA->LowRSSIThresh = 20;
|
||||
}
|
||||
|
||||
u32 ODM_Get_Rate_Bitmap(struct odm_dm_struct *pDM_Odm, u32 macid, u32 ra_mask, u8 rssi_level)
|
||||
{
|
||||
struct sta_info *pEntry;
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "odm_RegConfig8188E.h"
|
||||
#include "odm_RTL8188E.h"
|
||||
|
||||
void odm_RateAdaptiveMaskInit(struct odm_dm_struct *pDM_Odm);
|
||||
void odm_DynamicBBPowerSavingInit(struct odm_dm_struct *pDM_Odm);
|
||||
void odm_TXPowerTrackingInit(struct odm_dm_struct *pDM_Odm);
|
||||
void ODM_EdcaTurboInit(struct odm_dm_struct *pDM_Odm);
|
||||
|
Loading…
Reference in New Issue
Block a user