mac80211: make software rate control optional
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 17 Nov 2009 17:18:36 +0000 (18:18 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:24 +0000 (17:09 -0500)
commitaf65cd96dd4ea8ea5adc6ee850e61a407cd1067a
treefcdd50d2b9121bc26110329cb0fbefdeace99858
parentc95cf3d09adc9afe7816a13a920b6df36062a3fe
mac80211: make software rate control optional

Some devices implement the entire rate control in
firmware in some way, like wl1271 or like iwlwifi
which does some things in software but not a lot.
Therefore generic software rate control is rather
useless for them and just adds avoidable overhead
to the transmit path.

It's fairly simple to let drivers indicate that
they do not need rate control, but they need to
fulfil a number of conditions that we encode in
WARN_ONs.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/debugfs.c
net/mac80211/rate.c
net/mac80211/rate.h
net/mac80211/sta_info.c
net/mac80211/tx.c