mac80211: reduce IEEE80211_TX_MAX_RATES
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Mon, 2 Jul 2012 17:46:16 +0000 (19:46 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Jul 2012 11:48:37 +0000 (13:48 +0200)
commite3e1a0bcb3f192fe2f95f86a74bd4e7967341e74
treeed07b2c0a4bd814263bc1b85183ed0d1040ba274
parentcb831b537d50d21f6afb5dffbde4cf6523627461
mac80211: reduce IEEE80211_TX_MAX_RATES

IEEE80211_TX_MAX_RATES can be reduced from 5 to 4 as there
is no current hardware supporting a rate chain with 5 multi
rate stages (mrr), so 4 mrr stages are sufficient.

The memory that is freed within the ieee80211_tx_info struct
will be used in the upcoming Transmission Power Control (TPC)
implementation.

Suggested-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
[reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/ath/carl9170/tx.c
drivers/net/wireless/p54/txrx.c
include/net/mac80211.h
net/mac80211/tx.c