Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723au: Remove a number of unused entries from struct dm_odm_t

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jes Sorensen and committed by
Greg Kroah-Hartman
bb514494 c2073f3b

+1 -36
-9
drivers/staging/rtl8723au/hal/odm.c
··· 330 330 /* do nothing */ 331 331 break; 332 332 } 333 - 334 - /* */ 335 - /* Tx power tracking BB swing table. */ 336 - /* The base index = 12. +((12-n)/2)dB 13~?? = decrease tx pwr by -((n-12)/2)dB */ 337 - /* */ 338 - pDM_Odm->BbSwingIdxOfdm = 12; /* Set defalut value as index 12. */ 339 - pDM_Odm->BbSwingIdxOfdmCurrent = 12; 340 - pDM_Odm->BbSwingFlagOfdm = false; 341 - 342 333 } 343 334 344 335 void ODM_CmnInfoPtrArrayHook23a(struct dm_odm_t *pDM_Odm, enum odm_cmninfo CmnInfo,
+1 -27
drivers/staging/rtl8723au/include/odm.h
··· 609 609 /* 2012/01/12 MH For MP, we need to reduce one array pointer for default port.?? */ 610 610 struct sta_info * pODM_StaInfo[ODM_ASSOCIATE_ENTRY_NUM]; 611 611 612 - /* */ 613 - /* 2012/02/14 MH Add to share 88E ra with other SW team. */ 614 - /* We need to colelct all support abilit to a proper area. */ 615 - /* */ 616 - bool RaSupport88E; 617 - 618 - /* Define ........... */ 619 - 620 612 /* Latest packet phy info (ODM write) */ 621 613 struct odm_phy_dbg_info PhyDbgInfo; 622 614 /* PHY_INFO_88E PhyInfo; */ ··· 640 648 /* */ 641 649 642 650 /* PSD */ 643 - bool bUserAssignLevel; 644 - u8 RSSI_BT; /* come from BT */ 645 - bool bPSDinProcess; 646 - 651 + u8 RSSI_BT; /* come from BT */ 647 652 struct odm_rate_adapt RateAdaptive; 648 653 649 654 650 655 struct odm_rf_cal_t RFCalibrateInfo; 651 - 652 - /* */ 653 - /* TX power tracking */ 654 - /* */ 655 - u8 BbSwingIdxOfdm; 656 - u8 BbSwingIdxOfdmCurrent; 657 - u8 BbSwingIdxOfdmBase; 658 - bool BbSwingFlagOfdm; 659 - u8 BbSwingIdxCck; 660 - u8 BbSwingIdxCckCurrent; 661 - u8 BbSwingIdxCckBase; 662 - bool BbSwingFlagCck; 663 - /* */ 664 - /* ODM system resource. */ 665 - /* */ 666 656 }; /* DM_Dynamic_Mechanism_Structure */ 667 657 668 658 enum odm_rf_content {