wifi: cfg80211: disallow SMPS in AP mode
authorJohannes Berg <johannes.berg@intel.com>
Mon, 7 Oct 2024 12:00:46 +0000 (15:00 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Oct 2024 14:43:03 +0000 (16:43 +0200)
commit62262dd00c319195f2e14022903b7ebbb53119bc
treeeef8ecb5667d425da268c9af5ac4dce95f4a6e7e
parent074a8b54dacc1920f54381f3661ecee6786b0c21
wifi: cfg80211: disallow SMPS in AP mode

In practice, userspace hasn't been able to set this for many
years, and mac80211 has already rejected it (which is now no
longer needed), so reject SMPS mode (other than "OFF" to be
a bit more compatible) in AP mode. Also remove the parameter
from the AP settings struct.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241007144851.fe1fc46484cf.I8676fb52b818a4bedeb9c25b901e1396277ffc0b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/quantenna/qtnfmac/commands.c
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/nl80211.c