ath5k: Extend rate_duration
authorNick Kossifidis <mickflemm@gmail.com>
Tue, 23 Nov 2010 19:12:23 +0000 (21:12 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Nov 2010 18:53:21 +0000 (13:53 -0500)
commit61cde037234c4b8e6497a23f5f236c64cbf9d41d
treeca988a018dc9d9e4f433f273d48d4ebe517eeec0
parent3017fcab416d8d1ee48ca16aa9a3062f600dab8e
ath5k: Extend rate_duration

 * Extend ieee80211_generic_frame_duration to support the various
 bwmodes.

 * Better document what's going on with ack bitrates and update
 write_rate_duration to support the standard ack bitrates (when
 we don't set the high bit).

 * Get rid of set_ack_bitrate_high and introduce a flag on ath5k_hw
 for this (we only called the function on init anyway so there is no
 difference).

Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/pcu.c