Lines Matching full:reason
886 enum iwl_mvm_esr_state reason) in iwl_mvm_check_esr_prevention() argument
896 if (!(reason & IWL_MVM_ESR_PREVENT_REASONS)) in iwl_mvm_check_esr_prevention()
901 * exit and the other, or if we exited due to a different reason. in iwl_mvm_check_esr_prevention()
904 if (timeout_expired || mvmvif->last_esr_exit.reason != reason) { in iwl_mvm_check_esr_prevention()
925 "Preventing EMLSR for %ld seconds due to %u exits with the reason = %s (0x%x)\n", in iwl_mvm_check_esr_prevention()
927 iwl_get_esr_state_string(reason), reason); in iwl_mvm_check_esr_prevention()
938 enum iwl_mvm_esr_state reason, in iwl_mvm_exit_esr() argument
962 "Exiting EMLSR. reason = %s (0x%x). Current active links=0x%x, new active links = 0x%x\n", in iwl_mvm_exit_esr()
963 iwl_get_esr_state_string(reason), reason, in iwl_mvm_exit_esr()
969 prevented = iwl_mvm_check_esr_prevention(mvm, mvmvif, reason); in iwl_mvm_exit_esr()
973 mvmvif->last_esr_exit.reason = reason; in iwl_mvm_exit_esr()
980 if (prevented || reason & IWL_MVM_BLOCK_ESR_REASONS) in iwl_mvm_exit_esr()
990 enum iwl_mvm_esr_state reason, in iwl_mvm_block_esr() argument
1001 if (WARN_ON(!(reason & IWL_MVM_BLOCK_ESR_REASONS))) in iwl_mvm_block_esr()
1004 if (mvmvif->esr_disable_reason & reason) in iwl_mvm_block_esr()
1008 "Blocking EMLSR mode. reason = %s (0x%x)\n", in iwl_mvm_block_esr()
1009 iwl_get_esr_state_string(reason), reason); in iwl_mvm_block_esr()
1011 mvmvif->esr_disable_reason |= reason; in iwl_mvm_block_esr()
1015 iwl_mvm_exit_esr(mvm, vif, reason, link_to_keep); in iwl_mvm_block_esr()
1019 enum iwl_mvm_esr_state reason) in iwl_mvm_block_esr_sync() argument
1028 if (WARN_ON(!(reason & IWL_MVM_BLOCK_ESR_REASONS))) in iwl_mvm_block_esr_sync()
1038 iwl_mvm_block_esr(mvm, vif, reason, primary_link); in iwl_mvm_block_esr_sync()
1059 /* If we exited due to an EXIT reason, and the exit was in less than in iwl_mvm_esr_unblocked()
1063 !(mvmvif->last_esr_exit.reason & IWL_MVM_BLOCK_ESR_REASONS)) { in iwl_mvm_esr_unblocked()
1091 enum iwl_mvm_esr_state reason) in iwl_mvm_unblock_esr() argument
1101 if (WARN_ON(!(reason & IWL_MVM_BLOCK_ESR_REASONS))) in iwl_mvm_unblock_esr()
1105 if (!(mvmvif->esr_disable_reason & reason)) in iwl_mvm_unblock_esr()
1108 mvmvif->esr_disable_reason &= ~reason; in iwl_mvm_unblock_esr()
1111 "Unblocking EMLSR mode. reason = %s (0x%x)\n", in iwl_mvm_unblock_esr()
1112 iwl_get_esr_state_string(reason), reason); in iwl_mvm_unblock_esr()