mac80211: give burst time in txop rather than 0.1msec units
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 10 Feb 2008 15:49:38 +0000 (16:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:07 +0000 (15:37 -0500)
commit3330d7be7008fa8e213648750fc13613eecc54bb
tree89f8ce89b984819144d6643e7c4a5e7e2d67e7cc
parentbb1eeff12d4cd6c706ef9fae340a9c93bb41ad05
mac80211: give burst time in txop rather than 0.1msec units

This changes mac80211 to pass the burst time to conf_tx in txop
units rather than 0.1msec units. 0.1msec units are only required
by atheros hardware (according to current driver support), all
other drivers do other calculations or require the txop value.
Therefore, it results in fewer calculations and more precision
if we just pass the txop value through to the driver.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c
drivers/net/wireless/p54common.c
include/net/mac80211.h
net/mac80211/ieee80211_sta.c