iwlagn: store station rate scale information in mac80211 station structure
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 16 Oct 2009 21:25:55 +0000 (14:25 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:33 +0000 (16:48 -0400)
commit8d9698b3e6ce3c50f9ec5a0aaea4da82d5af7779
tree652b1fecb395e4f41397bfa68d11144dfe918ccf
parentcc1282f63b53d0967bd96ed56aa3d2463dc4b4b6
iwlagn: store station rate scale information in mac80211 station structure

Currently mac80211 initializes the rate scaling before notifying the driver
of the station's existence. The driver dealt with this by not relying on
mac80211's station notifications and instead mixing this functionality with
the rate scaling code and other places. To clean this up the driver needs
to do rate scaling initialization after being notified of the station, this
can be done if the rate scaling information forms part of the station
information passed from mac80211 to driver.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-dev.h