mac80211.c (46466ae3a105d9620e1355e33125a413b8c6ce18) mac80211.c (1a81bddf7f47443240b7703bf9e5ffb12c4261cf)
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/*
3 * Copyright (C) 2012-2014, 2018-2020 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#include <linux/kernel.h>
8#include <linux/slab.h>

--- 5021 unchanged lines hidden (view full) ---

5030 unlock:
5031 mutex_unlock(&mvm->mutex);
5032}
5033
5034static void iwl_mvm_event_mlme_callback_ini(struct iwl_mvm *mvm,
5035 struct ieee80211_vif *vif,
5036 const struct ieee80211_mlme_event *mlme)
5037{
1// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2/*
3 * Copyright (C) 2012-2014, 2018-2020 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
6 */
7#include <linux/kernel.h>
8#include <linux/slab.h>

--- 5021 unchanged lines hidden (view full) ---

5030 unlock:
5031 mutex_unlock(&mvm->mutex);
5032}
5033
5034static void iwl_mvm_event_mlme_callback_ini(struct iwl_mvm *mvm,
5035 struct ieee80211_vif *vif,
5036 const struct ieee80211_mlme_event *mlme)
5037{
5038 if (mlme->data == ASSOC_EVENT && (mlme->status == MLME_DENIED ||
5039 mlme->status == MLME_TIMEOUT)) {
5038 if ((mlme->data == ASSOC_EVENT || mlme->data == AUTH_EVENT) &&
5039 (mlme->status == MLME_DENIED || mlme->status == MLME_TIMEOUT)) {
5040 iwl_dbg_tlv_time_point(&mvm->fwrt,
5041 IWL_FW_INI_TIME_POINT_ASSOC_FAILED,
5042 NULL);
5043 return;
5044 }
5045
5040 iwl_dbg_tlv_time_point(&mvm->fwrt,
5041 IWL_FW_INI_TIME_POINT_ASSOC_FAILED,
5042 NULL);
5043 return;
5044 }
5045
5046 if (mlme->data == AUTH_EVENT && (mlme->status == MLME_DENIED ||
5047 mlme->status == MLME_TIMEOUT)) {
5048 iwl_dbg_tlv_time_point(&mvm->fwrt,
5049 IWL_FW_INI_TIME_POINT_EAPOL_FAILED,
5050 NULL);
5051 return;
5052 }
5053
5054 if (mlme->data == DEAUTH_RX_EVENT || mlme->data == DEAUTH_TX_EVENT) {
5055 iwl_dbg_tlv_time_point(&mvm->fwrt,
5056 IWL_FW_INI_TIME_POINT_DEASSOC,
5057 NULL);
5058 return;
5059 }
5060}
5061

--- 336 unchanged lines hidden ---
5046 if (mlme->data == DEAUTH_RX_EVENT || mlme->data == DEAUTH_TX_EVENT) {
5047 iwl_dbg_tlv_time_point(&mvm->fwrt,
5048 IWL_FW_INI_TIME_POINT_DEASSOC,
5049 NULL);
5050 return;
5051 }
5052}
5053

--- 336 unchanged lines hidden ---