diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-03-10 11:08:50 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-15 15:31:52 -0400 |
commit | 200763bb7503102aa364658e2b32cb2463a08d91 (patch) | |
tree | afa71939cc0a86697b3a8b5ac10a97deecc515e7 /drivers/net/wireless/ath/ath5k/ath5k.h | |
parent | a93b7aec657e3bd01ef043dff46d3c27dba26bb3 (diff) |
ath5k: remove unused beacon timer code
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 365eccd777a..1d7491c8546 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -613,28 +613,6 @@ struct ath5k_rx_status { | |||
613 | #define AR5K_BEACON_ENA 0x00800000 /*enable beacon xmit*/ | 613 | #define AR5K_BEACON_ENA 0x00800000 /*enable beacon xmit*/ |
614 | #define AR5K_BEACON_RESET_TSF 0x01000000 /*force a TSF reset*/ | 614 | #define AR5K_BEACON_RESET_TSF 0x01000000 /*force a TSF reset*/ |
615 | 615 | ||
616 | #if 0 | ||
617 | /** | ||
618 | * struct ath5k_beacon_state - Per-station beacon timer state. | ||
619 | * @bs_interval: in TU's, can also include the above flags | ||
620 | * @bs_cfp_max_duration: if non-zero hw is setup to coexist with a | ||
621 | * Point Coordination Function capable AP | ||
622 | */ | ||
623 | struct ath5k_beacon_state { | ||
624 | u32 bs_next_beacon; | ||
625 | u32 bs_next_dtim; | ||
626 | u32 bs_interval; | ||
627 | u8 bs_dtim_period; | ||
628 | u8 bs_cfp_period; | ||
629 | u16 bs_cfp_max_duration; | ||
630 | u16 bs_cfp_du_remain; | ||
631 | u16 bs_tim_offset; | ||
632 | u16 bs_sleep_duration; | ||
633 | u16 bs_bmiss_threshold; | ||
634 | u32 bs_cfp_next; | ||
635 | }; | ||
636 | #endif | ||
637 | |||
638 | 616 | ||
639 | /* | 617 | /* |
640 | * TSF to TU conversion: | 618 | * TSF to TU conversion: |
@@ -1212,12 +1190,6 @@ u64 ath5k_hw_get_tsf64(struct ath5k_hw *ah); | |||
1212 | void ath5k_hw_set_tsf64(struct ath5k_hw *ah, u64 tsf64); | 1190 | void ath5k_hw_set_tsf64(struct ath5k_hw *ah, u64 tsf64); |
1213 | void ath5k_hw_reset_tsf(struct ath5k_hw *ah); | 1191 | void ath5k_hw_reset_tsf(struct ath5k_hw *ah); |
1214 | void ath5k_hw_init_beacon(struct ath5k_hw *ah, u32 next_beacon, u32 interval); | 1192 | void ath5k_hw_init_beacon(struct ath5k_hw *ah, u32 next_beacon, u32 interval); |
1215 | #if 0 | ||
1216 | int ath5k_hw_set_beacon_timers(struct ath5k_hw *ah, | ||
1217 | const struct ath5k_beacon_state *state); | ||
1218 | void ath5k_hw_reset_beacon(struct ath5k_hw *ah); | ||
1219 | int ath5k_hw_beaconq_finish(struct ath5k_hw *ah, unsigned long phys_addr); | ||
1220 | #endif | ||
1221 | /* ACK bit rate */ | 1193 | /* ACK bit rate */ |
1222 | void ath5k_hw_set_ack_bitrate_high(struct ath5k_hw *ah, bool high); | 1194 | void ath5k_hw_set_ack_bitrate_high(struct ath5k_hw *ah, bool high); |
1223 | /* Clock rate related functions */ | 1195 | /* Clock rate related functions */ |