rt2x00: rt2800: use correct txop value in tx descriptor
authorHelmut Schaa <helmut.schaa@googlemail.com>
Fri, 7 May 2010 09:03:08 +0000 (11:03 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 7 May 2010 18:57:21 +0000 (14:57 -0400)
commit1affa091975e47d50ce6a88e9b1abfe717c2fe27
treef278fcbf35ea04e619de3d07ac1234d174f9c943
parentcbd1ea87a198669537591cef9ee834d6986c169b
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>
drivers/net/wireless/rt2x00/rt2800pci.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/rt2x00/rt2x00ht.c
drivers/net/wireless/rt2x00/rt2x00queue.h
drivers/net/wireless/rt2x00/rt2x00reg.h