mac80211: move txrate_idx into RC algorithms
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 11 Sep 2008 01:04:36 +0000 (03:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2008 20:48:24 +0000 (16:48 -0400)
commitae17e986091637e7ef5a8224c7b689029b105131
tree184fb207b36348f4ac989831b3425d9d67221e02
parent323ce79a9cdbf838ea577677b1ddace8e0b4d4c6
mac80211: move txrate_idx into RC algorithms

The sta_info->txrate_idx member isn't used by all RC algorithms
in the way it was intended to be used, move it into those that
require it (only PID) and keep track in the core code of which
rate was last used for reporting to userspace and the mesh MLME.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/rc.c
drivers/net/wireless/iwlwifi/iwl-3945-rs.c
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
net/mac80211/mesh_hwmp.c
net/mac80211/rc80211_pid.h
net/mac80211/rc80211_pid_algo.c
net/mac80211/sta_info.h
net/mac80211/tx.c
net/mac80211/wext.c