]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: don't send a CSA command the firmware doesn't know
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 8 Oct 2020 15:12:40 +0000 (18:12 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 8 Oct 2020 17:14:50 +0000 (20:14 +0300)
commitd0dd0e46839c2b5469d1ac46a95c8116ace941ab
tree613eab4d97b3a576daaa5dcec4c8b0a1d4cd29a0
parent336c6c311ffb90c8677a7e2fb6e66f8b52eca2a4
iwlwifi: mvm: don't send a CSA command the firmware doesn't know

We introduced a new flow to remove an on-going CSA but we
assumed the firwmare understands the
CHANNEL_SWITCH_TIME_EVENT_CMD. This is not true for 7265 and down.

Don't send this command for those devices, but rather use the older
command.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201008181047.2574e3e47927.Ic0c56411da1096e9a45ee5c3383edf777c5baca0@changeid
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.h