Skip to content
Commit 43071d8f authored by Felix Fietkau's avatar Felix Fietkau Committed by Johannes Berg
Browse files

mac80211: initialize SMPS field in HT capabilities



ibss and mesh modes copy the ht capabilites from the band without
overriding the SMPS state. Unfortunately the default value 0 for the
SMPS field means static SMPS instead of disabled.

This results in HT ibss and mesh setups using only single-stream rates,
even though SMPS is not supposed to be active.

Initialize SMPS to disabled for all bands on ieee80211_hw_register to
ensure that the value is sane where it is not overriden with the real
SMPS state.

Reported-by: default avatarElektra Wagenrad <onelektra@gmx.net>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
[move VHT TODO comment to a better place]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d2941df8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment