diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:59:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:40 -0500 |
commit | 076f9582a6b82e54339ee815130315744b730787 (patch) | |
tree | a000f26561a903f6cfcebe95a99182ab22b6fc2a /drivers/net/wireless/rt2x00/rt2500usb.c | |
parent | 7b40982e235d6ff9343d38703eb48a0143afcc26 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 7b97160e2b5a..e992bad64644 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -1217,7 +1217,7 @@ static void rt2500usb_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
1217 | rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, | 1217 | rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, |
1218 | test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); | 1218 | test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); |
1219 | rt2x00_set_field32(&word, TXD_W0_OFDM, | 1219 | rt2x00_set_field32(&word, TXD_W0_OFDM, |
1220 | test_bit(ENTRY_TXD_OFDM_RATE, &txdesc->flags)); | 1220 | (txdesc->rate_mode == RATE_MODE_OFDM)); |
1221 | rt2x00_set_field32(&word, TXD_W0_NEW_SEQ, | 1221 | rt2x00_set_field32(&word, TXD_W0_NEW_SEQ, |
1222 | test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)); | 1222 | test_bit(ENTRY_TXD_FIRST_FRAGMENT, &txdesc->flags)); |
1223 | rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); | 1223 | rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); |