Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef HT_AGGRE_MODE_E to enum ht_aggre_mode
Browse files Browse the repository at this point in the history
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent d2eff5c commit d1936af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/rtl8192e/rtl819x_HT.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ enum ht_spec_ver {
HT_SPEC_VER_EWC = 1,
};

typedef enum _HT_AGGRE_MODE_E{
enum ht_aggre_mode {
HT_AGG_AUTO = 0,
HT_AGG_FORCE_ENABLE = 1,
HT_AGG_FORCE_DISABLE = 2,
} HT_AGGRE_MODE_E, *PHT_AGGRE_MODE_E;
};


struct rt_hi_throughput {
Expand Down Expand Up @@ -251,11 +251,11 @@ struct rt_hi_throughput {
u8 MPDU_Density;
u8 CurrentMPDUDensity;

HT_AGGRE_MODE_E ForcedAMPDUMode;
enum ht_aggre_mode ForcedAMPDUMode;
u8 ForcedAMPDUFactor;
u8 ForcedMPDUDensity;

HT_AGGRE_MODE_E ForcedAMSDUMode;
enum ht_aggre_mode ForcedAMSDUMode;
u16 ForcedAMSDUMaxSize;

u8 bForcedShortGI;
Expand Down

0 comments on commit d1936af

Please sign in to comment.