]> git.baikalelectronics.ru Git - kernel.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)
commit0ed8ebf801ec54667ec98f4553fcecbae61d6223
tree9a6cdf99db5feeed59e9faf458007477552f5817
parentd832e08cbc5f2e9536e07c53e7a46f9708cfa063
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