]> git.baikalelectronics.ru Git - kernel.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)
commit44316b1be820c259f2438b893127e661deb93e62
treeedcd3f61b5ce7ee4e2e848fe47c965b59321530a
parent2cc3f43ebe0f7758ca867bb301087903b939d967
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: 0a0cc67f2b08 ("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