rt2x00: Remove ENTRY_TXD_OFDM_RATE
The flag ENTRY_TXD_OFDM_RATE isn't flexible enough to indicate which rate modulation should be used for a frame. This will become a problem when 11n support is added. Remove the flag and replace it with an enum value which can better indicate the exact rate modulation. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
7b40982e23
commit
076f9582a6
@@ -124,6 +124,16 @@ enum cipher {
|
||||
CIPHER_MAX = 4,
|
||||
};
|
||||
|
||||
/*
|
||||
* Rate modulations
|
||||
*/
|
||||
enum rate_modulation {
|
||||
RATE_MODE_CCK = 0,
|
||||
RATE_MODE_OFDM = 1,
|
||||
RATE_MODE_HT_MIX = 2,
|
||||
RATE_MODE_HT_GREENFIELD = 3,
|
||||
};
|
||||
|
||||
/*
|
||||
* Register handlers.
|
||||
* We store the position of a register field inside a field structure,
|
||||
|
Reference in New Issue
Block a user