]> asedeno.scripts.mit.edu Git - linux.git/commit
mac80211_hwsim: add hwsim_tx_rate_flags to netlink attributes
authorBenjamin Beichler <benjamin.beichler@uni-rostock.de>
Wed, 10 Jan 2018 16:42:55 +0000 (17:42 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 15 Jan 2018 12:18:42 +0000 (13:18 +0100)
commit6e3d6ca16319d461206d0e348be3dab8c165f7f8
tree5b46915bd36cb0f6d979c010ccaf9afe12fda785
parentc6509cc3b3e84b6b0a640280981d60090ad7871e
mac80211_hwsim: add hwsim_tx_rate_flags to netlink attributes

For correct interpretation of a tx rate, the corresponding rate flags are
needed (e.g. whether a HT-MCS rate or a legacy rate) and moreover for more
correct simulation the other infos of the flags are important (like
short-GI). Keeping compatibility, the flags are not integrated into the
existing hwsim_tx_rate, but transmitted as an additional netlink attribute.

Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/mac80211_hwsim.h