diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00pci.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00pci.h | 49 |
1 files changed, 44 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.h b/drivers/net/wireless/rt2x00/rt2x00pci.h index 9ac560b87b2b..3b1597ffb4f2 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.h +++ b/drivers/net/wireless/rt2x00/rt2x00pci.h | |||
@@ -97,15 +97,54 @@ int rt2x00pci_beacon_update(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
97 | * TX data handlers. | 97 | * TX data handlers. |
98 | */ | 98 | */ |
99 | int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev, | 99 | int rt2x00pci_write_tx_data(struct rt2x00_dev *rt2x00dev, |
100 | struct data_ring *ring, struct sk_buff *skb, | 100 | struct data_queue *queue, struct sk_buff *skb, |
101 | struct ieee80211_tx_control *control); | 101 | struct ieee80211_tx_control *control); |
102 | 102 | ||
103 | /* | 103 | /** |
104 | * RX/TX data handlers. | 104 | * struct queue_entry_priv_pci_rx: Per RX entry PCI specific information |
105 | * | ||
106 | * @desc: Pointer to device descriptor. | ||
107 | * @data: Pointer to device's entry memory. | ||
108 | * @dma: DMA pointer to &data. | ||
109 | */ | ||
110 | struct queue_entry_priv_pci_rx { | ||
111 | __le32 *desc; | ||
112 | |||
113 | void *data; | ||
114 | dma_addr_t dma; | ||
115 | }; | ||
116 | |||
117 | /** | ||
118 | * struct queue_entry_priv_pci_tx: Per TX entry PCI specific information | ||
119 | * | ||
120 | * @desc: Pointer to device descriptor | ||
121 | * @data: Pointer to device's entry memory. | ||
122 | * @dma: DMA pointer to &data. | ||
123 | * @control: mac80211 control structure used to transmit data. | ||
124 | */ | ||
125 | struct queue_entry_priv_pci_tx { | ||
126 | __le32 *desc; | ||
127 | |||
128 | void *data; | ||
129 | dma_addr_t dma; | ||
130 | |||
131 | struct ieee80211_tx_control control; | ||
132 | }; | ||
133 | |||
134 | /** | ||
135 | * rt2x00pci_rxdone - Handle RX done events | ||
136 | * @rt2x00dev: Device pointer, see &struct rt2x00_dev. | ||
105 | */ | 137 | */ |
106 | void rt2x00pci_rxdone(struct rt2x00_dev *rt2x00dev); | 138 | void rt2x00pci_rxdone(struct rt2x00_dev *rt2x00dev); |
107 | void rt2x00pci_txdone(struct rt2x00_dev *rt2x00dev, struct data_entry *entry, | 139 | |
108 | const int tx_status, const int retry); | 140 | /** |
141 | * rt2x00pci_txdone - Handle TX done events | ||
142 | * @rt2x00dev: Device pointer, see &struct rt2x00_dev. | ||
143 | * @entry: Entry which has completed the transmission of a frame. | ||
144 | * @desc: TX done descriptor | ||
145 | */ | ||
146 | void rt2x00pci_txdone(struct rt2x00_dev *rt2x00dev, struct queue_entry *entry, | ||
147 | struct txdone_entry_desc *desc); | ||
109 | 148 | ||
110 | /* | 149 | /* |
111 | * Device initialization handlers. | 150 | * Device initialization handlers. |