diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-15 17:39:26 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 15:43:44 -0400 |
commit | cc610ac0557b0ad0dcffdff1230cef28a970d755 (patch) | |
tree | 975cd15e3d2b42a2b1a5b7a178c595dd35a1b77c /drivers/net/wireless/ath/ath9k/hw.h | |
parent | d8903a5361817bd96ceed212ad27a380e7ef4d8e (diff) |
ath9k_hw: Define abstraction for tx desc access
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index affb848a2b98..457d8ddebf83 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -556,6 +556,33 @@ struct ath_hw_ops { | |||
556 | u8 rxchainmask, | 556 | u8 rxchainmask, |
557 | bool longcal); | 557 | bool longcal); |
558 | bool (*get_isr)(struct ath_hw *ah, enum ath9k_int *masked); | 558 | bool (*get_isr)(struct ath_hw *ah, enum ath9k_int *masked); |
559 | void (*fill_txdesc)(struct ath_hw *ah, void *ds, u32 seglen, | ||
560 | bool is_firstseg, bool is_is_lastseg, | ||
561 | const void *ds0, dma_addr_t buf_addr, | ||
562 | unsigned int qcu); | ||
563 | int (*proc_txdesc)(struct ath_hw *ah, void *ds, | ||
564 | struct ath_tx_status *ts); | ||
565 | void (*set11n_txdesc)(struct ath_hw *ah, void *ds, | ||
566 | u32 pktLen, enum ath9k_pkt_type type, | ||
567 | u32 txPower, u32 keyIx, | ||
568 | enum ath9k_key_type keyType, | ||
569 | u32 flags); | ||
570 | void (*set11n_ratescenario)(struct ath_hw *ah, void *ds, | ||
571 | void *lastds, | ||
572 | u32 durUpdateEn, u32 rtsctsRate, | ||
573 | u32 rtsctsDuration, | ||
574 | struct ath9k_11n_rate_series series[], | ||
575 | u32 nseries, u32 flags); | ||
576 | void (*set11n_aggr_first)(struct ath_hw *ah, void *ds, | ||
577 | u32 aggrLen); | ||
578 | void (*set11n_aggr_middle)(struct ath_hw *ah, void *ds, | ||
579 | u32 numDelims); | ||
580 | void (*set11n_aggr_last)(struct ath_hw *ah, void *ds); | ||
581 | void (*clr11n_aggr)(struct ath_hw *ah, void *ds); | ||
582 | void (*set11n_burstduration)(struct ath_hw *ah, void *ds, | ||
583 | u32 burstDuration); | ||
584 | void (*set11n_virtualmorefrag)(struct ath_hw *ah, void *ds, | ||
585 | u32 vmf); | ||
559 | }; | 586 | }; |
560 | 587 | ||
561 | struct ath_hw { | 588 | struct ath_hw { |