diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-11-16 13:58:21 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-18 17:09:17 -0500 |
commit | 5f0b7de59fae1e57b2481c9756cd4a0f6308530f (patch) | |
tree | 7b937d9d04d03ed3cb90b62c9c791d77d80e7228 /net/mac80211/ieee80211_i.h | |
parent | eb9fb5b8883535c27d2cc5d4e4dbab3532f97b18 (diff) | |
download | op-kernel-dev-5f0b7de59fae1e57b2481c9756cd4a0f6308530f.zip op-kernel-dev-5f0b7de59fae1e57b2481c9756cd4a0f6308530f.tar.gz |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index c612981f..a1bd4b2 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -171,7 +171,6 @@ struct ieee80211_rx_data { struct ieee80211_sub_if_data *sdata; struct sta_info *sta; struct ieee80211_key *key; - struct ieee80211_rate *rate; unsigned int flags; int queue; |