mac80211: improve rate handling
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 16 Nov 2009 12:58:21 +0000 (13:58 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:17 +0000 (17:09 -0500)
commit5f0b7de59fae1e57b2481c9756cd4a0f6308530f
tree7b937d9d04d03ed3cb90b62c9c791d77d80e7228
parenteb9fb5b8883535c27d2cc5d4e4dbab3532f97b18
mac80211: improve rate handling

Some code currently assumes that there's a valid
rate pointer even in the HT case, but there can't
be. To reduce reliance on that, remove the rate
pointer from the RX data struct and pass it where
it's needed.

Also, for now, in radiotap announce HT frames as
having a DYN channel type, and remove their rate
from cooked monitor radiotap completely (it isn't
present in the regular monitor radiotap either.)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/rx.c