]> asedeno.scripts.mit.edu Git - 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)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 3 Feb 2020 18:09:13 +0000 (20:09 +0200)
commitb5b878e36c1836c0195575132cc7c199e5a34a7b
treeedcd3f61b5ce7ee4e2e848fe47c965b59321530a
parent12d47f0ea5e0aa63f19ba618da55a7c67850ca10
iwlwifi: mvm: fix TDLS discovery with the new firmware API

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>
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