]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4fb33538915d7e1ee8ae6e4755af56f7043dc56
treef278fcbf35ea04e619de3d07ac1234d174f9c943
parent91fba0f9cf60db73d640417921d26cacd48dc0f6
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