Commit 7204b51e authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Convert typedef dig_t to struct dig_t

Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 8e8b90c6
...@@ -64,7 +64,7 @@ static u32 edca_setting_UL[HT_IOT_PEER_MAX] = ...@@ -64,7 +64,7 @@ static u32 edca_setting_UL[HT_IOT_PEER_MAX] =
/*------------------------Define global variable-----------------------------*/ /*------------------------Define global variable-----------------------------*/
dig_t dm_digtable; struct dig_t dm_digtable;
u8 dm_shadow[16][256] = {{0}}; u8 dm_shadow[16][256] = {{0}};
struct drx_path_sel DM_RxPathSelTable; struct drx_path_sel DM_RxPathSelTable;
/*------------------------Define global variable-----------------------------*/ /*------------------------Define global variable-----------------------------*/
......
...@@ -84,8 +84,7 @@ ...@@ -84,8 +84,7 @@
/*------------------------------Define structure----------------------------*/ /*------------------------------Define structure----------------------------*/
typedef struct _dynamic_initial_gain_threshold_ struct dig_t {
{
u8 dig_enable_flag; u8 dig_enable_flag;
u8 dig_algorithm; u8 dig_algorithm;
u8 Dig_TwoPort_Algorithm; u8 Dig_TwoPort_Algorithm;
...@@ -126,7 +125,7 @@ typedef struct _dynamic_initial_gain_threshold_ ...@@ -126,7 +125,7 @@ typedef struct _dynamic_initial_gain_threshold_
bool initialgain_lowerbound_state; bool initialgain_lowerbound_state;
long rssi_val; long rssi_val;
}dig_t; };//;
typedef enum tag_dynamic_init_gain_state_definition typedef enum tag_dynamic_init_gain_state_definition
{ {
...@@ -260,7 +259,7 @@ typedef struct tag_Tx_Config_Cmd_Format ...@@ -260,7 +259,7 @@ typedef struct tag_Tx_Config_Cmd_Format
/*------------------------Export global variable----------------------------*/ /*------------------------Export global variable----------------------------*/
extern dig_t dm_digtable; extern struct dig_t dm_digtable;
extern u8 dm_shadow[16][256]; extern u8 dm_shadow[16][256];
extern struct drx_path_sel DM_RxPathSelTable; extern struct drx_path_sel DM_RxPathSelTable;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment