]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: merge value scaling macros of minstrel_ht and minstrel
authorThomas Huehn <thomas@net.t-labs.tu-berlin.de>
Mon, 4 Mar 2013 22:30:02 +0000 (23:30 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:36:07 +0000 (16:36 +0100)
commit7f2cfddb35280ff83e8eebe651928c9505bb1c0d
tree87a1285588a6dcec2926e804e52fdc4d9bf8fba6
parent907e4a3fdc95c1855f814c99c8e95719a43e8e6c
mac80211: merge value scaling macros of minstrel_ht and minstrel

Both minstrel versions use individual ways to scale up integer values
to perform calculations. Merge minstrel_ht's scaling macros into
minstrels header file and use them in both minstrel versions.

Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel.c
net/mac80211/rc80211_minstrel.h
net/mac80211/rc80211_minstrel_debugfs.c
net/mac80211/rc80211_minstrel_ht.h