wifi: mac80211: Set TWT Information Frame Disabled bit as 1
authorHoward Hsu <howard-yh.hsu@mediatek.com>
Thu, 27 Oct 2022 01:56:53 +0000 (09:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Nov 2022 08:58:14 +0000 (09:58 +0100)
commit2fc902245c82e201b35aeb0becf1514b373eefe2
tree0114f03c60293d2ab9ffcb5c5f214cfcd23a6d34
parent95adbd2ac8de82e43fd6b347e7e1b47f74dc1abb
wifi: mac80211: Set TWT Information Frame Disabled bit as 1

[ Upstream commit 30ac96f7cc973bb850c718c9bbe1fdcedfbe826b ]

The TWT Information Frame Disabled bit of control field of TWT Setup
frame shall be set to 1 since handling TWT Information frame is not
supported by current mac80211 implementation.

Fixes: f5a4c24e689f ("mac80211: introduce individual TWT support in AP mode")
Signed-off-by: Howard Hsu <howard-yh.hsu@mediatek.com>
Link: https://lore.kernel.org/r/20221027015653.1448-1-howard-yh.hsu@mediatek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/s1g.c