rt2x00: rt2800: use correct txop value in tx descriptor
rt2800 devices use a different enumeration to specify what IFS values should be used on frame transmission compared to the other rt2x00 devices. Hence, create a new enum called txop that contains the valid values. Furthermore use the appropriate txop values as found in the ralink drivers: - TXOP_BACKOFF for management frames - TXOP_SIFS for subsequent fragments in a burst - TXOP_HTTXOP for all data frames Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
cbd1ea87a1
commit
1affa09197
@@ -100,6 +100,16 @@ enum ifs {
|
||||
IFS_NONE = 3,
|
||||
};
|
||||
|
||||
/*
|
||||
* IFS backoff values for HT devices
|
||||
*/
|
||||
enum txop {
|
||||
TXOP_HTTXOP = 0,
|
||||
TXOP_PIFS = 1,
|
||||
TXOP_SIFS = 2,
|
||||
TXOP_BACKOFF = 3,
|
||||
};
|
||||
|
||||
/*
|
||||
* Cipher types for hardware encryption
|
||||
*/
|
||||
|
Reference in New Issue
Block a user