mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Remove antenna diversity configuration variables
Always selected are CONFIG_ANTENNA_DIVERSITY and CONFIG_hW_ANTENNA_DIVERSITY. Not selected is CONFIG_SW_ANTENNA_DIVERSITY. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
dae15933ce
commit
f6fb81d6a0
17 changed files with 44 additions and 421 deletions
|
@ -233,7 +233,6 @@ typedef struct _RX_High_Power_
|
|||
#define ASSOCIATE_ENTRY_NUM 32 /* Max size of AsocEntry[]. */
|
||||
#define ODM_ASSOCIATE_ENTRY_NUM ASSOCIATE_ENTRY_NUM
|
||||
|
||||
/* ifdef CONFIG_ANTENNA_DIVERSITY */
|
||||
/* This indicates two different the steps. */
|
||||
/* In SWAW_STEP_PEAK, driver needs to switch antenna and listen to the signal on the air. */
|
||||
/* In SWAW_STEP_DETERMINE, driver just compares the signal captured in SWAW_STEP_PEAK */
|
||||
|
@ -277,7 +276,6 @@ typedef struct _SW_Antenna_Switch_
|
|||
u64 RXByteCnt_B;
|
||||
u8 TrafficLoad;
|
||||
RT_TIMER SwAntennaSwitchTimer;
|
||||
#ifdef CONFIG_HW_ANTENNA_DIVERSITY
|
||||
/* Hybrid Antenna Diversity */
|
||||
u32 CCK_Ant1_Cnt[ASSOCIATE_ENTRY_NUM];
|
||||
u32 CCK_Ant2_Cnt[ASSOCIATE_ENTRY_NUM];
|
||||
|
@ -289,8 +287,6 @@ typedef struct _SW_Antenna_Switch_
|
|||
u8 TargetSTA;
|
||||
u8 antsel;
|
||||
u8 RxIdleAnt;
|
||||
|
||||
#endif
|
||||
}SWAT_T, *pSWAT_T;
|
||||
|
||||
typedef struct _EDCA_TURBO_ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue