summaryrefslogtreecommitdiff
path: root/package/rt2x00/src/rt2x00pci.h
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-08-07 09:12:49 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-08-07 09:12:49 +0000
commit195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d (patch)
tree881f2e1921a80a5701421cc99477c3592962a15f /package/rt2x00/src/rt2x00pci.h
parentce173e209444843060cc64cc22b5c7f612a9bf54 (diff)
downloadmtk-20170518-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.zip
mtk-20170518-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.gz
mtk-20170518-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.bz2
Upgrade rt2x00 to a more recent snapshot, master mode now working, thanks to Daniel Gimpelevich
SVN-Revision: 8367
Diffstat (limited to 'package/rt2x00/src/rt2x00pci.h')
-rw-r--r--package/rt2x00/src/rt2x00pci.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/package/rt2x00/src/rt2x00pci.h b/package/rt2x00/src/rt2x00pci.h
index 291d0c0..8595cbf 100644
--- a/package/rt2x00/src/rt2x00pci.h
+++ b/package/rt2x00/src/rt2x00pci.h
@@ -43,12 +43,13 @@
#define REGISTER_BUSY_DELAY 100
/*
- * TX descriptor available flag.
- * This flag is the combination of the TXD_W0_OWNER_NIC
- * and TXD_W0_VALID flag which have the same value on all
- * PCI drivers.
+ * Descriptor availability flags.
+ * All PCI device descriptors have these 2 flags
+ * with the exact same definition.
*/
-#define TXD_ENTRY_AVAILABLE FIELD32(0x00000003)
+#define TXD_ENTRY_OWNER_NIC FIELD32(0x00000001)
+#define TXD_ENTRY_VALID FIELD32(0x00000002)
+#define RXD_ENTRY_OWNER_NIC FIELD32(0x00000001)
/*
* Register access.
@@ -94,6 +95,11 @@ int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev,
struct ieee80211_tx_control *control);
/*
+ * RX data handlers.
+ */
+void rt2x00pci_rxdone(struct rt2x00_dev *rt2x00dev);
+
+/*
* Device initialization handlers.
*/
int rt2x00pci_initialize(struct rt2x00_dev *rt2x00dev);