diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h index a5e543bd2271..68dbd7a8ddca 100644 --- a/drivers/net/wireless/ath/ath9k/mac.h +++ b/drivers/net/wireless/ath/ath9k/mac.h | |||
@@ -233,18 +233,9 @@ struct ath_desc { | |||
233 | u32 ds_ctl0; | 233 | u32 ds_ctl0; |
234 | u32 ds_ctl1; | 234 | u32 ds_ctl1; |
235 | u32 ds_hw[20]; | 235 | u32 ds_hw[20]; |
236 | union { | ||
237 | struct ath_tx_status tx; | ||
238 | struct ath_rx_status rx; | ||
239 | void *stats; | ||
240 | } ds_us; | ||
241 | void *ds_vdata; | 236 | void *ds_vdata; |
242 | } __packed; | 237 | } __packed; |
243 | 238 | ||
244 | #define ds_txstat ds_us.tx | ||
245 | #define ds_rxstat ds_us.rx | ||
246 | #define ds_stat ds_us.stats | ||
247 | |||
248 | #define ATH9K_TXDESC_CLRDMASK 0x0001 | 239 | #define ATH9K_TXDESC_CLRDMASK 0x0001 |
249 | #define ATH9K_TXDESC_NOACK 0x0002 | 240 | #define ATH9K_TXDESC_NOACK 0x0002 |
250 | #define ATH9K_TXDESC_RTSENA 0x0004 | 241 | #define ATH9K_TXDESC_RTSENA 0x0004 |
@@ -702,7 +693,8 @@ void ath9k_hw_filltxdesc(struct ath_hw *ah, struct ath_desc *ds, | |||
702 | u32 segLen, bool firstSeg, | 693 | u32 segLen, bool firstSeg, |
703 | bool lastSeg, const struct ath_desc *ds0); | 694 | bool lastSeg, const struct ath_desc *ds0); |
704 | void ath9k_hw_cleartxdesc(struct ath_hw *ah, struct ath_desc *ds); | 695 | void ath9k_hw_cleartxdesc(struct ath_hw *ah, struct ath_desc *ds); |
705 | int ath9k_hw_txprocdesc(struct ath_hw *ah, struct ath_desc *ds); | 696 | int ath9k_hw_txprocdesc(struct ath_hw *ah, struct ath_desc *ds, |
697 | struct ath_tx_status *ts); | ||
706 | void ath9k_hw_set11n_txdesc(struct ath_hw *ah, struct ath_desc *ds, | 698 | void ath9k_hw_set11n_txdesc(struct ath_hw *ah, struct ath_desc *ds, |
707 | u32 pktLen, enum ath9k_pkt_type type, u32 txPower, | 699 | u32 pktLen, enum ath9k_pkt_type type, u32 txPower, |
708 | u32 keyIx, enum ath9k_key_type keyType, u32 flags); | 700 | u32 keyIx, enum ath9k_key_type keyType, u32 flags); |
@@ -732,7 +724,7 @@ int ath9k_hw_setuptxqueue(struct ath_hw *ah, enum ath9k_tx_queue type, | |||
732 | bool ath9k_hw_releasetxqueue(struct ath_hw *ah, u32 q); | 724 | bool ath9k_hw_releasetxqueue(struct ath_hw *ah, u32 q); |
733 | bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q); | 725 | bool ath9k_hw_resettxqueue(struct ath_hw *ah, u32 q); |
734 | int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds, | 726 | int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds, |
735 | u32 pa, struct ath_desc *nds, u64 tsf); | 727 | struct ath_rx_status *rs, u64 tsf); |
736 | void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, | 728 | void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, |
737 | u32 size, u32 flags); | 729 | u32 size, u32 flags); |
738 | bool ath9k_hw_setrxabort(struct ath_hw *ah, bool set); | 730 | bool ath9k_hw_setrxabort(struct ath_hw *ah, bool set); |