]> git.baikalelectronics.ru Git - kernel.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)
commit5c2e71ece6feb5f4a0c44232c11595aa1cc76149
tree5b46915bd36cb0f6d979c010ccaf9afe12fda785
parent0f580725046c767576558f3d7c0c750ea189f7a0
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