Lines Matching full:reason
128 enum iwl_mld_emlsr_exit reason) in iwl_mld_check_emlsr_prevention() argument
134 * exit and the other, or if we exited due to a different reason. in iwl_mld_check_emlsr_prevention()
139 mld_vif->emlsr.last_exit_reason != reason) in iwl_mld_check_emlsr_prevention()
142 mld_vif->emlsr.last_exit_reason = reason; in iwl_mld_check_emlsr_prevention()
147 * Do not add a prevention when the reason was a block. For a block, in iwl_mld_check_emlsr_prevention()
150 if (reason == IWL_MLD_EMLSR_EXIT_BLOCK) in iwl_mld_check_emlsr_prevention()
159 reason & IWL_MLD_PREVENT_EMLSR_REASONS) { in iwl_mld_check_emlsr_prevention()
173 "Preventing EMLSR for %ld seconds due to %u exits with the reason = %s (0x%x)\n", in iwl_mld_check_emlsr_prevention()
175 iwl_mld_get_emlsr_exit_string(reason), reason); in iwl_mld_check_emlsr_prevention()
220 "Exiting EMLSR. reason = %s (0x%x). Current active links=0x%x, new active links = 0x%x\n", in _iwl_mld_exit_emlsr()
229 /* Update latest exit reason and check EMLSR prevention */ in _iwl_mld_exit_emlsr()
249 enum iwl_mld_emlsr_blocked reason, in _iwl_mld_emlsr_block() argument
259 if (mld_vif->emlsr.blocked_reasons & reason) in _iwl_mld_emlsr_block()
262 mld_vif->emlsr.blocked_reasons |= reason; in _iwl_mld_emlsr_block()
265 "Blocking EMLSR mode. reason = %s (0x%x)\n", in _iwl_mld_emlsr_block()
266 iwl_mld_get_emlsr_blocked_string(reason), reason); in _iwl_mld_emlsr_block()
269 if (reason == IWL_MLD_EMLSR_BLOCKED_TPT) in _iwl_mld_emlsr_block()
278 enum iwl_mld_emlsr_blocked reason, u8 link_to_keep) in iwl_mld_block_emlsr() argument
280 _iwl_mld_emlsr_block(mld, vif, reason, link_to_keep, false); in iwl_mld_block_emlsr()
284 enum iwl_mld_emlsr_blocked reason, u8 link_to_keep) in iwl_mld_block_emlsr_sync() argument
286 return _iwl_mld_emlsr_block(mld, vif, reason, link_to_keep, true); in iwl_mld_block_emlsr_sync()
293 enum iwl_mld_emlsr_blocked reason) in iwl_mld_unblock_emlsr() argument
302 if (!(mld_vif->emlsr.blocked_reasons & reason)) in iwl_mld_unblock_emlsr()
305 mld_vif->emlsr.blocked_reasons &= ~reason; in iwl_mld_unblock_emlsr()
308 "Unblocking EMLSR mode. reason = %s (0x%x)\n", in iwl_mld_unblock_emlsr()
309 iwl_mld_get_emlsr_blocked_string(reason), reason); in iwl_mld_unblock_emlsr()
312 if (reason == IWL_MLD_EMLSR_BLOCKED_TPT) in iwl_mld_unblock_emlsr()
375 IWL_DEBUG_INFO(mld, "Failed to %s EMLSR on link %d (FW: %d), reason %d\n", in iwl_mld_handle_emlsr_trans_fail_notif()