mac80211: re-organize the rx rate calculation logic
authorSaravana <saravanad@posedge.com>
Wed, 28 Nov 2012 12:59:38 +0000 (18:29 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 29 Nov 2012 14:33:05 +0000 (15:33 +0100)
commit003e676af5044c2168dafbb49c7b8d61dd68cc60
treedf109c33b23c9013d400af440dadc83fccd4a040
parent91b8c050b2a2ed3a1277de53d90e1899f28225e8
mac80211: re-organize the rx rate calculation logic

Currently the logic to fill a struct rate_info with
a STA's last RX rate is accessible only in the cfg.c.
As the RX rate calculation might be needed elsewhere,
split this out into a separate function.

Signed-off-by: Saravana <saravanad@posedge.com>
[fix various whitespace issues, reword commit log]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/sta_info.h