diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2007-11-27 15:47:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:05:05 -0500 |
commit | 49da2605e27935835861a118df0671b5f004bfac (patch) | |
tree | c90466b2d4585f9458d62d85191c553885182faf /drivers/net/wireless/rt2x00/rt2400pci.h | |
parent | 2360157c413b06fe2958a051daeab7bac68f6588 (diff) |
rt2x00: Extend PLCP descriptor definition for rt2400pci
Extend word field definitions for the PLCP words
in the TX descriptor to contain the BBP fields as well.
This will remove rt2400pci_write_tx_desc() from the
checkstack script.
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/rt2400pci.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.h b/drivers/net/wireless/rt2x00/rt2400pci.h index f5dbde7b2015..369aac6d0336 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.h +++ b/drivers/net/wireless/rt2x00/rt2400pci.h | |||
@@ -839,11 +839,21 @@ | |||
839 | 839 | ||
840 | /* | 840 | /* |
841 | * Word3 & 4: PLCP information | 841 | * Word3 & 4: PLCP information |
842 | */ | 842 | * The PLCP values should be treated as if they were BBP values. |
843 | #define TXD_W3_PLCP_SIGNAL FIELD32(0x0000ffff) | 843 | */ |
844 | #define TXD_W3_PLCP_SERVICE FIELD32(0xffff0000) | 844 | #define TXD_W3_PLCP_SIGNAL FIELD32(0x000000ff) |
845 | #define TXD_W4_PLCP_LENGTH_LOW FIELD32(0x0000ffff) | 845 | #define TXD_W3_PLCP_SIGNAL_REGNUM FIELD32(0x00007f00) |
846 | #define TXD_W4_PLCP_LENGTH_HIGH FIELD32(0xffff0000) | 846 | #define TXD_W3_PLCP_SIGNAL_BUSY FIELD32(0x00008000) |
847 | #define TXD_W3_PLCP_SERVICE FIELD32(0x00ff0000) | ||
848 | #define TXD_W3_PLCP_SERVICE_REGNUM FIELD32(0x7f000000) | ||
849 | #define TXD_W3_PLCP_SERVICE_BUSY FIELD32(0x80000000) | ||
850 | |||
851 | #define TXD_W4_PLCP_LENGTH_LOW FIELD32(0x000000ff) | ||
852 | #define TXD_W3_PLCP_LENGTH_LOW_REGNUM FIELD32(0x00007f00) | ||
853 | #define TXD_W3_PLCP_LENGTH_LOW_BUSY FIELD32(0x00008000) | ||
854 | #define TXD_W4_PLCP_LENGTH_HIGH FIELD32(0x00ff0000) | ||
855 | #define TXD_W3_PLCP_LENGTH_HIGH_REGNUM FIELD32(0x7f000000) | ||
856 | #define TXD_W3_PLCP_LENGTH_HIGH_BUSY FIELD32(0x80000000) | ||
847 | 857 | ||
848 | /* | 858 | /* |
849 | * Word5 | 859 | * Word5 |