diff options
author | Mohammed Shafi Shajakhan <mshajakhan@atheros.com> | 2011-03-24 06:19:54 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-04 16:18:33 -0400 |
commit | 468b0d4482cadd174298e2fe9bde6a20044f90f5 (patch) | |
tree | 93a79f7d587cc438fb8b00cf92f26943976394cb /drivers | |
parent | b64c6a3d1ab1bab9396e6efd2fd03479be4d0a63 (diff) |
ath9k: remove set11n_virtualmorefrag
This does not seems to be used anywhere so remove it.
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_mac.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_mac.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 2 |
4 files changed, 0 insertions, 32 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_mac.c b/drivers/net/wireless/ath/ath9k/ar9002_mac.c index 399ab3bb299b..8dd8f6308502 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_mac.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_mac.c | |||
@@ -415,17 +415,6 @@ static void ar9002_hw_set11n_burstduration(struct ath_hw *ah, void *ds, | |||
415 | ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur); | 415 | ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur); |
416 | } | 416 | } |
417 | 417 | ||
418 | static void ar9002_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds, | ||
419 | u32 vmf) | ||
420 | { | ||
421 | struct ar5416_desc *ads = AR5416DESC(ds); | ||
422 | |||
423 | if (vmf) | ||
424 | ads->ds_ctl0 |= AR_VirtMoreFrag; | ||
425 | else | ||
426 | ads->ds_ctl0 &= ~AR_VirtMoreFrag; | ||
427 | } | ||
428 | |||
429 | void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, | 418 | void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, |
430 | u32 size, u32 flags) | 419 | u32 size, u32 flags) |
431 | { | 420 | { |
@@ -459,5 +448,4 @@ void ar9002_hw_attach_mac_ops(struct ath_hw *ah) | |||
459 | ops->set11n_aggr_last = ar9002_hw_set11n_aggr_last; | 448 | ops->set11n_aggr_last = ar9002_hw_set11n_aggr_last; |
460 | ops->clr11n_aggr = ar9002_hw_clr11n_aggr; | 449 | ops->clr11n_aggr = ar9002_hw_clr11n_aggr; |
461 | ops->set11n_burstduration = ar9002_hw_set11n_burstduration; | 450 | ops->set11n_burstduration = ar9002_hw_set11n_burstduration; |
462 | ops->set11n_virtualmorefrag = ar9002_hw_set11n_virtualmorefrag; | ||
463 | } | 451 | } |
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c index 038a0cbfc6e7..724ac2464ad5 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c | |||
@@ -485,17 +485,6 @@ static void ar9003_hw_set11n_burstduration(struct ath_hw *ah, void *ds, | |||
485 | 485 | ||
486 | } | 486 | } |
487 | 487 | ||
488 | static void ar9003_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds, | ||
489 | u32 vmf) | ||
490 | { | ||
491 | struct ar9003_txc *ads = (struct ar9003_txc *) ds; | ||
492 | |||
493 | if (vmf) | ||
494 | ads->ctl11 |= AR_VirtMoreFrag; | ||
495 | else | ||
496 | ads->ctl11 &= ~AR_VirtMoreFrag; | ||
497 | } | ||
498 | |||
499 | void ar9003_hw_set_paprd_txdesc(struct ath_hw *ah, void *ds, u8 chains) | 488 | void ar9003_hw_set_paprd_txdesc(struct ath_hw *ah, void *ds, u8 chains) |
500 | { | 489 | { |
501 | struct ar9003_txc *ads = ds; | 490 | struct ar9003_txc *ads = ds; |
@@ -521,7 +510,6 @@ void ar9003_hw_attach_mac_ops(struct ath_hw *hw) | |||
521 | ops->set11n_aggr_last = ar9003_hw_set11n_aggr_last; | 510 | ops->set11n_aggr_last = ar9003_hw_set11n_aggr_last; |
522 | ops->clr11n_aggr = ar9003_hw_clr11n_aggr; | 511 | ops->clr11n_aggr = ar9003_hw_clr11n_aggr; |
523 | ops->set11n_burstduration = ar9003_hw_set11n_burstduration; | 512 | ops->set11n_burstduration = ar9003_hw_set11n_burstduration; |
524 | ops->set11n_virtualmorefrag = ar9003_hw_set11n_virtualmorefrag; | ||
525 | } | 513 | } |
526 | 514 | ||
527 | void ath9k_hw_set_rx_bufsize(struct ath_hw *ah, u16 buf_size) | 515 | void ath9k_hw_set_rx_bufsize(struct ath_hw *ah, u16 buf_size) |
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index c8f254fe0f0b..22ee888b0baf 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h | |||
@@ -122,12 +122,6 @@ static inline void ath9k_hw_set11n_burstduration(struct ath_hw *ah, void *ds, | |||
122 | ath9k_hw_ops(ah)->set11n_burstduration(ah, ds, burstDuration); | 122 | ath9k_hw_ops(ah)->set11n_burstduration(ah, ds, burstDuration); |
123 | } | 123 | } |
124 | 124 | ||
125 | static inline void ath9k_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds, | ||
126 | u32 vmf) | ||
127 | { | ||
128 | ath9k_hw_ops(ah)->set11n_virtualmorefrag(ah, ds, vmf); | ||
129 | } | ||
130 | |||
131 | /* Private hardware call ops */ | 125 | /* Private hardware call ops */ |
132 | 126 | ||
133 | /* PHY ops */ | 127 | /* PHY ops */ |
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 4cc320bdf0aa..031b1bf0d370 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -628,8 +628,6 @@ struct ath_hw_ops { | |||
628 | void (*clr11n_aggr)(struct ath_hw *ah, void *ds); | 628 | void (*clr11n_aggr)(struct ath_hw *ah, void *ds); |
629 | void (*set11n_burstduration)(struct ath_hw *ah, void *ds, | 629 | void (*set11n_burstduration)(struct ath_hw *ah, void *ds, |
630 | u32 burstDuration); | 630 | u32 burstDuration); |
631 | void (*set11n_virtualmorefrag)(struct ath_hw *ah, void *ds, | ||
632 | u32 vmf); | ||
633 | }; | 631 | }; |
634 | 632 | ||
635 | struct ath_nf_limits { | 633 | struct ath_nf_limits { |