]> www.infradead.org Git - users/dwmw2/linux.git/commit
iwlwifi: mvm: fix TDLS discovery with the new firmware API
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 31 Jan 2020 13:45:29 +0000 (15:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2020 21:52:58 +0000 (16:52 -0500)
commit3fe076d0222acc95f68db03a9158d5f484037127
treed22a2999eef135b3a53eccb62c53f65a7ce8394f
parentfef27e78e14ff4ca453b2abfe07fc9b555d66969
iwlwifi: mvm: fix TDLS discovery with the new firmware API

commit b5b878e36c1836c0195575132cc7c199e5a34a7b upstream.

I changed the API for asking for a session protection but
I omitted the TDLS flows. Fix that now.
Note that for the TDLS flow, we need to block until the
session protection actually starts, so add this option
to iwl_mvm_schedule_session_protection.
This patch fixes a firmware assert in the TDLS flow since
the old TIME_EVENT_CMD is not supported anymore by newer
firwmare versions.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Fixes: fe959c7b2049 ("iwlwifi: mvm: use the new session protection command")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
drivers/net/wireless/intel/iwlwifi/mvm/tdls.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.c
drivers/net/wireless/intel/iwlwifi/mvm/time-event.h