summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00.h
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2008-12-02 18:20:04 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-12-05 09:35:50 -0500
commit42c8285767dd17f450d986bdb163a8d56fb0330a (patch)
treed7c97c2e14faf69a448190c111bb482672a0caf2 /drivers/net/wireless/rt2x00/rt2x00.h
parent1ce9cdac482f0dfbbd22ba4b3e5c016a05543a42 (diff)
downloadkernel-crypto-42c8285767dd17f450d986bdb163a8d56fb0330a.tar.gz
kernel-crypto-42c8285767dd17f450d986bdb163a8d56fb0330a.tar.xz
kernel-crypto-42c8285767dd17f450d986bdb163a8d56fb0330a.zip
rt2x00: Store retry limit values
Store retry limit values in the rt2x00dev structure. This allows the removal of the FIXME where we assumed the long retry is only used when working with RTS frames. Instead we should check the current retry limit values and decide if the required retry count for this frame is a long or short retry. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index 780ba736581..e7ed56dcf68 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -803,6 +803,12 @@ struct rt2x00_dev {
u16 tx_power;
/*
+ * Current retry values.
+ */
+ u8 short_retry;
+ u8 long_retry;
+
+ /*
* Rssi <-> Dbm offset
*/
u8 rssi_offset;