OSDN Git Service

mac80211: remove supported channels element in 6 GHz if ECSA support
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Jan 2020 11:31:11 +0000 (13:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2020 11:43:00 +0000 (12:43 +0100)
commit2ff69b0e25f4faa442f28b652a909f1b75206803
tree91e28934c3f664d2bd820a4e74265bb0749ae56d
parent8cadb207145c7e2fa45bbec2319cb84aec5da988
mac80211: remove supported channels element in 6 GHz if ECSA support

We should not include the supported channels element if we have
(advertise) support for extended channel switching. To avoid any
interop issues because we always added it in the past, obey this
restriction only in the (new) 6 GHz band.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20200131113111.893106-1-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c