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/rt2500pci.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/rt2500pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index fb86e2c55248..ebcc49770922 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -1233,7 +1233,7 @@ static void rt2500pci_write_tx_desc(struct rt2x00_dev *rt2x00dev, | |||
1233 | rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, | 1233 | rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, |
1234 | test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); | 1234 | test_bit(ENTRY_TXD_REQ_TIMESTAMP, &txdesc->flags)); |
1235 | rt2x00_set_field32(&word, TXD_W0_OFDM, | 1235 | rt2x00_set_field32(&word, TXD_W0_OFDM, |
1236 | test_bit(ENTRY_TXD_OFDM_RATE, &txdesc->flags)); | 1236 | (txdesc->rate_mode == RATE_MODE_OFDM)); |
1237 | rt2x00_set_field32(&word, TXD_W0_CIPHER_OWNER, 1); | 1237 | rt2x00_set_field32(&word, TXD_W0_CIPHER_OWNER, 1); |
1238 | rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); | 1238 | rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->ifs); |
1239 | rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, | 1239 | rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, |