wifi: mac80211: Rename and update IEEE80211_VIF_DISABLE_SMPS_OVERRIDE
authorIlan Peer <ilan.peer@intel.com>
Thu, 28 Sep 2023 14:35:27 +0000 (17:35 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Oct 2023 09:43:27 +0000 (11:43 +0200)
commit00f823b68ecee865bb2e4e6d5b7f4359eef0b3e3
tree7603a1a3eb4462feb2d6ec7af4ab22945a29273e
parentc942398f95efb06d5434f86ea00fabe267f57af8
wifi: mac80211: Rename and update IEEE80211_VIF_DISABLE_SMPS_OVERRIDE

EMLSR operation and SMPS operation cannot coexist. Thus, when EMLSR is
enabled, all SMPS signaling towards the AP should be stopped (it is
expected that the AP will consider SMPS to be off).

Rename IEEE80211_VIF_DISABLE_SMPS_OVERRIDE to IEEE80211_VIF_EML_ACTIVE
and use the flag as an indication from the driver that EMLSR is enabled.
When EMLSR is enabled SMPS flows towards the AP MLD should be stopped.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230928172905.fb2c2f9a0645.If6df5357568abd623a081f0f33b07e63fb8bba99@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/debugfs_netdev.c