mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
iwlwifi: mvm: re-enable TX after channel switch
The FW relies on the re-enablement of the TX in order to know it can exit quiet mode. Currently in case of CSA with quiet mode, the quiet mode is never cancelled, resulting in a complete traffic hang. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/iwlwifi.20201008180656.fee389c83ded.I09550fdadb61f899242d7e7b7578672372e2b7fe@changeid
This commit is contained in:
parent
64f55156f7
commit
df72037369
2 changed files with 2 additions and 6 deletions
|
@ -1597,9 +1597,7 @@ void iwl_mvm_channel_switch_noa_notif(struct iwl_mvm *mvm,
|
||||||
RCU_INIT_POINTER(mvm->csa_vif, NULL);
|
RCU_INIT_POINTER(mvm->csa_vif, NULL);
|
||||||
return;
|
return;
|
||||||
case NL80211_IFTYPE_STATION:
|
case NL80211_IFTYPE_STATION:
|
||||||
if (!fw_has_capa(&mvm->fw->ucode_capa,
|
iwl_mvm_csa_client_absent(mvm, vif);
|
||||||
IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD))
|
|
||||||
iwl_mvm_csa_client_absent(mvm, vif);
|
|
||||||
cancel_delayed_work(&mvmvif->csa_work);
|
cancel_delayed_work(&mvmvif->csa_work);
|
||||||
ieee80211_chswitch_done(vif, true);
|
ieee80211_chswitch_done(vif, true);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1370,9 +1370,7 @@ static int iwl_mvm_post_channel_switch(struct ieee80211_hw *hw,
|
||||||
goto out_unlock;
|
goto out_unlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!fw_has_capa(&mvm->fw->ucode_capa,
|
iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false);
|
||||||
IWL_UCODE_TLV_CAPA_CHANNEL_SWITCH_CMD))
|
|
||||||
iwl_mvm_sta_modify_disable_tx(mvm, mvmsta, false);
|
|
||||||
|
|
||||||
iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL);
|
iwl_mvm_mac_ctxt_changed(mvm, vif, false, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue