]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit859a7b0aa7b04ceab4deea08ab49a66d4ef52e97
tree7b937d9d04d03ed3cb90b62c9c791d77d80e7228
parenta6c2227c90f44d42d1da9c031301c89fed182b44
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