]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Parse legacy and HT rate in injected frames
authorSven Eckelmann <sven@narfation.org>
Tue, 26 Jan 2016 16:11:13 +0000 (17:11 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 24 Feb 2016 08:04:30 +0000 (09:04 +0100)
commite6faa62fdeaa22ef7f0f51d1390c7fc6d903fe19
tree68171d12c6bd64d08b39beda5e27aac1c44eb696
parente1fd99344da09633c23747200ffc45a1d565d4aa
mac80211: Parse legacy and HT rate in injected frames

Drivers/devices without their own rate control algorithm can get the
information what rates they should use from either the radiotap header of
injected frames or from the rate control algorithm. But the parsing of the
legacy rate information from the radiotap header was removed in commit
a1389a406e06 ("mac80211/drivers: rewrite the rate control API").

The removal of this feature heavily reduced the usefulness of frame
injection when wanting to simulate specific transmission behavior. Having
rate parsing together with MCS rates and retry support allows a fine
grained selection of the tx behavior of injected frames for these kind of
tests.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Cc: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Documentation/networking/mac80211-injection.txt
include/net/mac80211.h
net/mac80211/tx.c