]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add STBC encoding to ieee80211_parse_tx_radiotap
authorPhilipp Borgers <borgers@mi.fu-berlin.de>
Mon, 25 Jan 2021 15:07:44 +0000 (16:07 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Feb 2021 08:04:22 +0000 (09:04 +0100)
commitdc2ade86f4e9761fbe1c950c31ac8f374f23886d
tree125c6755aad2298764164a3a92879a73151c53d4
parent4ccf4e0dd2b048308682ddab279f9d5fab932520
mac80211: add STBC encoding to ieee80211_parse_tx_radiotap

This patch adds support for STBC encoding to the radiotap tx parse
function. Prior to this change adding the STBC flag to the radiotap
header did not encode frames with STBC.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
Link: https://lore.kernel.org/r/20210125150744.83065-1-borgers@mi.fu-berlin.de
[use u8_get_bits/u32_encode_bits instead of manually shifting]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c