|
@@ -8,6 +8,7 @@
|
|
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
|
|
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
|
|
* Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
|
|
* Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
|
|
* Copyright(c) 2017 Intel Deutschland GmbH
|
|
* Copyright(c) 2017 Intel Deutschland GmbH
|
|
|
|
+ * Copyright(c) 2018 Intel Corporation
|
|
*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of version 2 of the GNU General Public License as
|
|
* it under the terms of version 2 of the GNU General Public License as
|
|
@@ -18,11 +19,6 @@
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
* General Public License for more details.
|
|
*
|
|
*
|
|
- * You should have received a copy of the GNU General Public License
|
|
|
|
- * along with this program; if not, write to the Free Software
|
|
|
|
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
|
|
|
|
- * USA
|
|
|
|
- *
|
|
|
|
* The full GNU General Public License is included in this distribution
|
|
* The full GNU General Public License is included in this distribution
|
|
* in the file called COPYING.
|
|
* in the file called COPYING.
|
|
*
|
|
*
|
|
@@ -35,6 +31,7 @@
|
|
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
|
|
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
|
|
* Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
|
|
* Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
|
|
* Copyright(c) 2017 Intel Deutschland GmbH
|
|
* Copyright(c) 2017 Intel Deutschland GmbH
|
|
|
|
+ * Copyright(c) 2018 Intel Corporation
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -198,9 +195,13 @@ static bool iwl_mvm_te_check_disconnect(struct iwl_mvm *mvm,
|
|
struct ieee80211_vif *vif,
|
|
struct ieee80211_vif *vif,
|
|
const char *errmsg)
|
|
const char *errmsg)
|
|
{
|
|
{
|
|
|
|
+ struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
|
|
|
|
+
|
|
if (vif->type != NL80211_IFTYPE_STATION)
|
|
if (vif->type != NL80211_IFTYPE_STATION)
|
|
return false;
|
|
return false;
|
|
- if (vif->bss_conf.assoc && vif->bss_conf.dtim_period)
|
|
|
|
|
|
+
|
|
|
|
+ if (!mvmvif->csa_bcn_pending && vif->bss_conf.assoc &&
|
|
|
|
+ vif->bss_conf.dtim_period)
|
|
return false;
|
|
return false;
|
|
if (errmsg)
|
|
if (errmsg)
|
|
IWL_ERR(mvm, "%s\n", errmsg);
|
|
IWL_ERR(mvm, "%s\n", errmsg);
|
|
@@ -344,7 +345,7 @@ static void iwl_mvm_te_handle_notif(struct iwl_mvm *mvm,
|
|
* and know the dtim period.
|
|
* and know the dtim period.
|
|
*/
|
|
*/
|
|
iwl_mvm_te_check_disconnect(mvm, te_data->vif,
|
|
iwl_mvm_te_check_disconnect(mvm, te_data->vif,
|
|
- "No association and the time event is over already...");
|
|
|
|
|
|
+ "No beacon heard and the time event is over already...");
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
break;
|
|
break;
|