]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ath5k: fix slot time handling
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 Apr 2011 21:10:21 +0000 (23:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:59:09 +0000 (16:59 -0400)
commitb1ad1b6febb7772583c98d9a879fbbdb82a726a7
tree9a6cdf99db5feeed59e9faf458007477552f5817
parent488a50176c169eb36544b4f970c8bba68ede30a1
ath5k: fix slot time handling

Set the slot time based on the mac80211 short slot vs long slot setting
instead of just forcing long slot for all CCK-enabled channels.
This slightly improves 802.11g mode performance in in my tests.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/mac80211-ops.c
drivers/net/wireless/ath/ath5k/pcu.c