mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
staging: rtl8723au: Firmware always handles adaptive rates
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7ea9039d91
commit
9939cf9427
@@ -1010,10 +1010,6 @@ void odm_RateAdaptiveMaskInit23a(struct dm_odm_t *pDM_Odm)
|
||||
struct odm_rate_adapt *pOdmRA = &pDM_Odm->RateAdaptive;
|
||||
|
||||
pOdmRA->Type = DM_Type_ByDriver;
|
||||
if (pOdmRA->Type == DM_Type_ByDriver)
|
||||
pDM_Odm->bUseRAMask = true;
|
||||
else
|
||||
pDM_Odm->bUseRAMask = false;
|
||||
|
||||
pOdmRA->RATRState = DM_RATR_STA_INIT;
|
||||
pOdmRA->HighRSSIThresh = 50;
|
||||
@@ -1139,14 +1135,6 @@ void odm_RefreshRateAdaptiveMask23aCE23a(struct dm_odm_t *pDM_Odm)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!pDM_Odm->bUseRAMask) {
|
||||
ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_LOUD,
|
||||
("<---- odm_RefreshRateAdaptiveMask23a(): driver does not control rate adaptive mask\n"));
|
||||
return;
|
||||
}
|
||||
|
||||
/* printk("==> %s \n", __func__); */
|
||||
|
||||
for (i = 0; i < ODM_ASSOCIATE_ENTRY_NUM; i++) {
|
||||
struct sta_info *pstat = pDM_Odm->pODM_StaInfo[i];
|
||||
if (pstat) {
|
||||
|
||||
@@ -749,9 +749,6 @@ struct dm_odm_t {
|
||||
u8 RSSI_BT; /* come from BT */
|
||||
bool bPSDinProcess;
|
||||
|
||||
/* for rate adaptive, in fact, 88c/92c fw will handle this */
|
||||
u8 bUseRAMask;
|
||||
|
||||
struct odm_rate_adapt RateAdaptive;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user