mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-29 15:43:38 +00:00
rtl8188eu: Remove ODM_RF_PATH_MAX
This is always equal to RF_PATH_MAX. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e1e88e1ceb
commit
2936b46458
3 changed files with 1 additions and 6 deletions
|
@ -1170,14 +1170,11 @@ typedef struct DM_Out_Source_Dynamic_Mechanism_Structure
|
||||||
/* ODM relative workitem. */
|
/* ODM relative workitem. */
|
||||||
} DM_ODM_T, *PDM_ODM_T; /* DM_Dynamic_Mechanism_Structure */
|
} DM_ODM_T, *PDM_ODM_T; /* DM_Dynamic_Mechanism_Structure */
|
||||||
|
|
||||||
#define ODM_RF_PATH_MAX 2
|
|
||||||
|
|
||||||
typedef enum _ODM_RF_RADIO_PATH {
|
typedef enum _ODM_RF_RADIO_PATH {
|
||||||
ODM_RF_PATH_A = 0, /* Radio Path A */
|
ODM_RF_PATH_A = 0, /* Radio Path A */
|
||||||
ODM_RF_PATH_B = 1, /* Radio Path B */
|
ODM_RF_PATH_B = 1, /* Radio Path B */
|
||||||
ODM_RF_PATH_C = 2, /* Radio Path C */
|
ODM_RF_PATH_C = 2, /* Radio Path C */
|
||||||
ODM_RF_PATH_D = 3, /* Radio Path D */
|
ODM_RF_PATH_D = 3, /* Radio Path D */
|
||||||
/* ODM_RF_PATH_MAX, Max RF number 90 support */
|
|
||||||
} ODM_RF_RADIO_PATH_E, *PODM_RF_RADIO_PATH_E;
|
} ODM_RF_RADIO_PATH_E, *PODM_RF_RADIO_PATH_E;
|
||||||
|
|
||||||
typedef enum _ODM_RF_CONTENT{
|
typedef enum _ODM_RF_CONTENT{
|
||||||
|
|
|
@ -442,7 +442,7 @@ odm_RxPhyStatus92CSeries_Parsing(
|
||||||
pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM++;
|
pDM_Odm->PhyDbgInfo.NumQryPhyStatusOFDM++;
|
||||||
|
|
||||||
/* (1)Get RSSI for HT rate */
|
/* (1)Get RSSI for HT rate */
|
||||||
for (i = ODM_RF_PATH_A; i < ODM_RF_PATH_MAX; i++)
|
for (i = ODM_RF_PATH_A; i < RF_PATH_MAX; i++)
|
||||||
{
|
{
|
||||||
/* 2008/01/30 MH we will judge RF RX path now. */
|
/* 2008/01/30 MH we will judge RF RX path now. */
|
||||||
if (pDM_Odm->RFPathRxEnable & BIT(i))
|
if (pDM_Odm->RFPathRxEnable & BIT(i))
|
||||||
|
|
|
@ -946,8 +946,6 @@ struct odm_dm_struct {
|
||||||
struct timer_list FastAntTrainingTimer;
|
struct timer_list FastAntTrainingTimer;
|
||||||
}; /* DM_Dynamic_Mechanism_Structure */
|
}; /* DM_Dynamic_Mechanism_Structure */
|
||||||
|
|
||||||
#define ODM_RF_PATH_MAX 3
|
|
||||||
|
|
||||||
enum ODM_RF_RADIO_PATH {
|
enum ODM_RF_RADIO_PATH {
|
||||||
ODM_RF_PATH_A = 0, /* Radio Path A */
|
ODM_RF_PATH_A = 0, /* Radio Path A */
|
||||||
ODM_RF_PATH_B = 1, /* Radio Path B */
|
ODM_RF_PATH_B = 1, /* Radio Path B */
|
||||||
|
|
Loading…
Reference in a new issue