Lines Matching refs:mvm

79 int iwl_mvm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd)  in iwl_mvm_send_cmd()  argument
84 if (WARN_ON(mvm->d3_test_active)) in iwl_mvm_send_cmd()
94 lockdep_assert_held(&mvm->mutex); in iwl_mvm_send_cmd()
96 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd()
112 int iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u32 id, in iwl_mvm_send_cmd_pdu() argument
122 return iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_send_cmd_pdu()
128 int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, in iwl_mvm_send_cmd_status() argument
135 lockdep_assert_held(&mvm->mutex); in iwl_mvm_send_cmd_status()
138 if (WARN_ON(mvm->d3_test_active)) in iwl_mvm_send_cmd_status()
152 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd_status()
186 int iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id, u16 len, in iwl_mvm_send_cmd_pdu_status() argument
195 return iwl_mvm_send_cmd_status(mvm, &cmd, status); in iwl_mvm_send_cmd_pdu_status()
242 void iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_fw_error() argument
247 IWL_ERR(mvm, "FW Error notification: type 0x%08X cmd_id 0x%02X\n", in iwl_mvm_rx_fw_error()
249 IWL_ERR(mvm, "FW Error notification: seq 0x%04X service 0x%08X\n", in iwl_mvm_rx_fw_error()
252 IWL_ERR(mvm, "FW Error notification: timestamp 0x%16llX\n", in iwl_mvm_rx_fw_error()
274 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx) in iwl_mvm_next_antenna() argument
452 static void iwl_mvm_dump_umac_error_log(struct iwl_mvm *mvm) in iwl_mvm_dump_umac_error_log() argument
454 struct iwl_trans *trans = mvm->trans; in iwl_mvm_dump_umac_error_log()
458 base = mvm->umac_error_event_table; in iwl_mvm_dump_umac_error_log()
461 IWL_ERR(mvm, in iwl_mvm_dump_umac_error_log()
464 (mvm->cur_ucode == IWL_UCODE_INIT) in iwl_mvm_dump_umac_error_log()
474 mvm->status, table.valid); in iwl_mvm_dump_umac_error_log()
477 IWL_ERR(mvm, "0x%08X | %s\n", table.error_id, in iwl_mvm_dump_umac_error_log()
479 IWL_ERR(mvm, "0x%08X | umac branchlink1\n", table.blink1); in iwl_mvm_dump_umac_error_log()
480 IWL_ERR(mvm, "0x%08X | umac branchlink2\n", table.blink2); in iwl_mvm_dump_umac_error_log()
481 IWL_ERR(mvm, "0x%08X | umac interruptlink1\n", table.ilink1); in iwl_mvm_dump_umac_error_log()
482 IWL_ERR(mvm, "0x%08X | umac interruptlink2\n", table.ilink2); in iwl_mvm_dump_umac_error_log()
483 IWL_ERR(mvm, "0x%08X | umac data1\n", table.data1); in iwl_mvm_dump_umac_error_log()
484 IWL_ERR(mvm, "0x%08X | umac data2\n", table.data2); in iwl_mvm_dump_umac_error_log()
485 IWL_ERR(mvm, "0x%08X | umac data3\n", table.data3); in iwl_mvm_dump_umac_error_log()
486 IWL_ERR(mvm, "0x%08X | umac major\n", table.umac_major); in iwl_mvm_dump_umac_error_log()
487 IWL_ERR(mvm, "0x%08X | umac minor\n", table.umac_minor); in iwl_mvm_dump_umac_error_log()
488 IWL_ERR(mvm, "0x%08X | frame pointer\n", table.frame_pointer); in iwl_mvm_dump_umac_error_log()
489 IWL_ERR(mvm, "0x%08X | stack pointer\n", table.stack_pointer); in iwl_mvm_dump_umac_error_log()
490 IWL_ERR(mvm, "0x%08X | last host cmd\n", table.cmd_header); in iwl_mvm_dump_umac_error_log()
491 IWL_ERR(mvm, "0x%08X | isr status reg\n", table.nic_isr_pref); in iwl_mvm_dump_umac_error_log()
494 static void iwl_mvm_dump_nic_error_log_old(struct iwl_mvm *mvm) in iwl_mvm_dump_nic_error_log_old() argument
496 struct iwl_trans *trans = mvm->trans; in iwl_mvm_dump_nic_error_log_old()
500 base = mvm->error_event_table; in iwl_mvm_dump_nic_error_log_old()
501 if (mvm->cur_ucode == IWL_UCODE_INIT) { in iwl_mvm_dump_nic_error_log_old()
503 base = mvm->fw->init_errlog_ptr; in iwl_mvm_dump_nic_error_log_old()
506 base = mvm->fw->inst_errlog_ptr; in iwl_mvm_dump_nic_error_log_old()
510 IWL_ERR(mvm, in iwl_mvm_dump_nic_error_log_old()
513 (mvm->cur_ucode == IWL_UCODE_INIT) in iwl_mvm_dump_nic_error_log_old()
523 mvm->status, table.valid); in iwl_mvm_dump_nic_error_log_old()
528 IWL_ERR(mvm, "Loaded firmware version: %s\n", mvm->fw->fw_version); in iwl_mvm_dump_nic_error_log_old()
536 IWL_ERR(mvm, "0x%08X | %-28s\n", table.error_id, in iwl_mvm_dump_nic_error_log_old()
538 IWL_ERR(mvm, "0x%08X | uPc\n", table.pc); in iwl_mvm_dump_nic_error_log_old()
539 IWL_ERR(mvm, "0x%08X | branchlink1\n", table.blink1); in iwl_mvm_dump_nic_error_log_old()
540 IWL_ERR(mvm, "0x%08X | branchlink2\n", table.blink2); in iwl_mvm_dump_nic_error_log_old()
541 IWL_ERR(mvm, "0x%08X | interruptlink1\n", table.ilink1); in iwl_mvm_dump_nic_error_log_old()
542 IWL_ERR(mvm, "0x%08X | interruptlink2\n", table.ilink2); in iwl_mvm_dump_nic_error_log_old()
543 IWL_ERR(mvm, "0x%08X | data1\n", table.data1); in iwl_mvm_dump_nic_error_log_old()
544 IWL_ERR(mvm, "0x%08X | data2\n", table.data2); in iwl_mvm_dump_nic_error_log_old()
545 IWL_ERR(mvm, "0x%08X | data3\n", table.data3); in iwl_mvm_dump_nic_error_log_old()
546 IWL_ERR(mvm, "0x%08X | beacon time\n", table.bcon_time); in iwl_mvm_dump_nic_error_log_old()
547 IWL_ERR(mvm, "0x%08X | tsf low\n", table.tsf_low); in iwl_mvm_dump_nic_error_log_old()
548 IWL_ERR(mvm, "0x%08X | tsf hi\n", table.tsf_hi); in iwl_mvm_dump_nic_error_log_old()
549 IWL_ERR(mvm, "0x%08X | time gp1\n", table.gp1); in iwl_mvm_dump_nic_error_log_old()
550 IWL_ERR(mvm, "0x%08X | time gp2\n", table.gp2); in iwl_mvm_dump_nic_error_log_old()
551 IWL_ERR(mvm, "0x%08X | time gp3\n", table.gp3); in iwl_mvm_dump_nic_error_log_old()
552 IWL_ERR(mvm, "0x%08X | uCode version\n", table.ucode_ver); in iwl_mvm_dump_nic_error_log_old()
553 IWL_ERR(mvm, "0x%08X | hw version\n", table.hw_ver); in iwl_mvm_dump_nic_error_log_old()
554 IWL_ERR(mvm, "0x%08X | board version\n", table.brd_ver); in iwl_mvm_dump_nic_error_log_old()
555 IWL_ERR(mvm, "0x%08X | hcmd\n", table.hcmd); in iwl_mvm_dump_nic_error_log_old()
556 IWL_ERR(mvm, "0x%08X | isr0\n", table.isr0); in iwl_mvm_dump_nic_error_log_old()
557 IWL_ERR(mvm, "0x%08X | isr1\n", table.isr1); in iwl_mvm_dump_nic_error_log_old()
558 IWL_ERR(mvm, "0x%08X | isr2\n", table.isr2); in iwl_mvm_dump_nic_error_log_old()
559 IWL_ERR(mvm, "0x%08X | isr3\n", table.isr3); in iwl_mvm_dump_nic_error_log_old()
560 IWL_ERR(mvm, "0x%08X | isr4\n", table.isr4); in iwl_mvm_dump_nic_error_log_old()
561 IWL_ERR(mvm, "0x%08X | isr_pref\n", table.isr_pref); in iwl_mvm_dump_nic_error_log_old()
562 IWL_ERR(mvm, "0x%08X | wait_event\n", table.wait_event); in iwl_mvm_dump_nic_error_log_old()
563 IWL_ERR(mvm, "0x%08X | l2p_control\n", table.l2p_control); in iwl_mvm_dump_nic_error_log_old()
564 IWL_ERR(mvm, "0x%08X | l2p_duration\n", table.l2p_duration); in iwl_mvm_dump_nic_error_log_old()
565 IWL_ERR(mvm, "0x%08X | l2p_mhvalid\n", table.l2p_mhvalid); in iwl_mvm_dump_nic_error_log_old()
566 IWL_ERR(mvm, "0x%08X | l2p_addr_match\n", table.l2p_addr_match); in iwl_mvm_dump_nic_error_log_old()
567 IWL_ERR(mvm, "0x%08X | lmpm_pmg_sel\n", table.lmpm_pmg_sel); in iwl_mvm_dump_nic_error_log_old()
568 IWL_ERR(mvm, "0x%08X | timestamp\n", table.u_timestamp); in iwl_mvm_dump_nic_error_log_old()
569 IWL_ERR(mvm, "0x%08X | flow_handler\n", table.flow_handler); in iwl_mvm_dump_nic_error_log_old()
571 if (mvm->support_umac_log) in iwl_mvm_dump_nic_error_log_old()
572 iwl_mvm_dump_umac_error_log(mvm); in iwl_mvm_dump_nic_error_log_old()
575 void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) in iwl_mvm_dump_nic_error_log() argument
577 struct iwl_trans *trans = mvm->trans; in iwl_mvm_dump_nic_error_log()
581 if (!fw_has_api(&mvm->fw->ucode_capa, IWL_UCODE_TLV_API_NEW_VERSION)) { in iwl_mvm_dump_nic_error_log()
582 iwl_mvm_dump_nic_error_log_old(mvm); in iwl_mvm_dump_nic_error_log()
586 base = mvm->error_event_table; in iwl_mvm_dump_nic_error_log()
587 if (mvm->cur_ucode == IWL_UCODE_INIT) { in iwl_mvm_dump_nic_error_log()
589 base = mvm->fw->init_errlog_ptr; in iwl_mvm_dump_nic_error_log()
592 base = mvm->fw->inst_errlog_ptr; in iwl_mvm_dump_nic_error_log()
596 IWL_ERR(mvm, in iwl_mvm_dump_nic_error_log()
599 (mvm->cur_ucode == IWL_UCODE_INIT) in iwl_mvm_dump_nic_error_log()
609 mvm->status, table.valid); in iwl_mvm_dump_nic_error_log()
614 IWL_ERR(mvm, "Loaded firmware version: %s\n", mvm->fw->fw_version); in iwl_mvm_dump_nic_error_log()
622 IWL_ERR(mvm, "0x%08X | %-28s\n", table.error_id, in iwl_mvm_dump_nic_error_log()
624 IWL_ERR(mvm, "0x%08X | uPc\n", table.pc); in iwl_mvm_dump_nic_error_log()
625 IWL_ERR(mvm, "0x%08X | branchlink1\n", table.blink1); in iwl_mvm_dump_nic_error_log()
626 IWL_ERR(mvm, "0x%08X | branchlink2\n", table.blink2); in iwl_mvm_dump_nic_error_log()
627 IWL_ERR(mvm, "0x%08X | interruptlink1\n", table.ilink1); in iwl_mvm_dump_nic_error_log()
628 IWL_ERR(mvm, "0x%08X | interruptlink2\n", table.ilink2); in iwl_mvm_dump_nic_error_log()
629 IWL_ERR(mvm, "0x%08X | data1\n", table.data1); in iwl_mvm_dump_nic_error_log()
630 IWL_ERR(mvm, "0x%08X | data2\n", table.data2); in iwl_mvm_dump_nic_error_log()
631 IWL_ERR(mvm, "0x%08X | data3\n", table.data3); in iwl_mvm_dump_nic_error_log()
632 IWL_ERR(mvm, "0x%08X | beacon time\n", table.bcon_time); in iwl_mvm_dump_nic_error_log()
633 IWL_ERR(mvm, "0x%08X | tsf low\n", table.tsf_low); in iwl_mvm_dump_nic_error_log()
634 IWL_ERR(mvm, "0x%08X | tsf hi\n", table.tsf_hi); in iwl_mvm_dump_nic_error_log()
635 IWL_ERR(mvm, "0x%08X | time gp1\n", table.gp1); in iwl_mvm_dump_nic_error_log()
636 IWL_ERR(mvm, "0x%08X | time gp2\n", table.gp2); in iwl_mvm_dump_nic_error_log()
637 IWL_ERR(mvm, "0x%08X | time gp3\n", table.gp3); in iwl_mvm_dump_nic_error_log()
638 IWL_ERR(mvm, "0x%08X | uCode version major\n", table.major); in iwl_mvm_dump_nic_error_log()
639 IWL_ERR(mvm, "0x%08X | uCode version minor\n", table.minor); in iwl_mvm_dump_nic_error_log()
640 IWL_ERR(mvm, "0x%08X | hw version\n", table.hw_ver); in iwl_mvm_dump_nic_error_log()
641 IWL_ERR(mvm, "0x%08X | board version\n", table.brd_ver); in iwl_mvm_dump_nic_error_log()
642 IWL_ERR(mvm, "0x%08X | hcmd\n", table.hcmd); in iwl_mvm_dump_nic_error_log()
643 IWL_ERR(mvm, "0x%08X | isr0\n", table.isr0); in iwl_mvm_dump_nic_error_log()
644 IWL_ERR(mvm, "0x%08X | isr1\n", table.isr1); in iwl_mvm_dump_nic_error_log()
645 IWL_ERR(mvm, "0x%08X | isr2\n", table.isr2); in iwl_mvm_dump_nic_error_log()
646 IWL_ERR(mvm, "0x%08X | isr3\n", table.isr3); in iwl_mvm_dump_nic_error_log()
647 IWL_ERR(mvm, "0x%08X | isr4\n", table.isr4); in iwl_mvm_dump_nic_error_log()
648 IWL_ERR(mvm, "0x%08X | isr_pref\n", table.isr_pref); in iwl_mvm_dump_nic_error_log()
649 IWL_ERR(mvm, "0x%08X | wait_event\n", table.wait_event); in iwl_mvm_dump_nic_error_log()
650 IWL_ERR(mvm, "0x%08X | l2p_control\n", table.l2p_control); in iwl_mvm_dump_nic_error_log()
651 IWL_ERR(mvm, "0x%08X | l2p_duration\n", table.l2p_duration); in iwl_mvm_dump_nic_error_log()
652 IWL_ERR(mvm, "0x%08X | l2p_mhvalid\n", table.l2p_mhvalid); in iwl_mvm_dump_nic_error_log()
653 IWL_ERR(mvm, "0x%08X | l2p_addr_match\n", table.l2p_addr_match); in iwl_mvm_dump_nic_error_log()
654 IWL_ERR(mvm, "0x%08X | lmpm_pmg_sel\n", table.lmpm_pmg_sel); in iwl_mvm_dump_nic_error_log()
655 IWL_ERR(mvm, "0x%08X | timestamp\n", table.u_timestamp); in iwl_mvm_dump_nic_error_log()
656 IWL_ERR(mvm, "0x%08X | flow_handler\n", table.flow_handler); in iwl_mvm_dump_nic_error_log()
658 if (mvm->support_umac_log) in iwl_mvm_dump_nic_error_log()
659 iwl_mvm_dump_umac_error_log(mvm); in iwl_mvm_dump_nic_error_log()
662 int iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 minq, u8 maxq) in iwl_mvm_find_free_queue() argument
666 lockdep_assert_held(&mvm->queue_info_lock); in iwl_mvm_find_free_queue()
669 if (mvm->queue_info[i].hw_queue_refcount == 0 && in iwl_mvm_find_free_queue()
670 !mvm->queue_info[i].setup_reserved) in iwl_mvm_find_free_queue()
676 void iwl_mvm_enable_txq(struct iwl_mvm *mvm, int queue, int mac80211_queue, in iwl_mvm_enable_txq() argument
682 spin_lock_bh(&mvm->queue_info_lock); in iwl_mvm_enable_txq()
685 if (mvm->queue_info[queue].tid_bitmap & BIT(cfg->tid)) { in iwl_mvm_enable_txq()
686 spin_unlock_bh(&mvm->queue_info_lock); in iwl_mvm_enable_txq()
687 IWL_ERR(mvm, "Trying to enable TXQ with existing TID %d\n", in iwl_mvm_enable_txq()
693 mvm->queue_info[queue].hw_queue_to_mac80211 |= BIT(mac80211_queue); in iwl_mvm_enable_txq()
694 mvm->queue_info[queue].hw_queue_refcount++; in iwl_mvm_enable_txq()
695 if (mvm->queue_info[queue].hw_queue_refcount > 1) in iwl_mvm_enable_txq()
697 mvm->queue_info[queue].tid_bitmap |= BIT(cfg->tid); in iwl_mvm_enable_txq()
699 IWL_DEBUG_TX_QUEUES(mvm, in iwl_mvm_enable_txq()
701 queue, mvm->queue_info[queue].hw_queue_refcount, in iwl_mvm_enable_txq()
702 mvm->queue_info[queue].hw_queue_to_mac80211); in iwl_mvm_enable_txq()
704 spin_unlock_bh(&mvm->queue_info_lock); in iwl_mvm_enable_txq()
719 iwl_trans_txq_enable_cfg(mvm->trans, queue, ssn, NULL, in iwl_mvm_enable_txq()
721 WARN(iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, 0, sizeof(cmd), in iwl_mvm_enable_txq()
728 void iwl_mvm_disable_txq(struct iwl_mvm *mvm, int queue, int mac80211_queue, in iwl_mvm_disable_txq() argument
738 spin_lock_bh(&mvm->queue_info_lock); in iwl_mvm_disable_txq()
740 if (WARN_ON(mvm->queue_info[queue].hw_queue_refcount == 0)) { in iwl_mvm_disable_txq()
741 spin_unlock_bh(&mvm->queue_info_lock); in iwl_mvm_disable_txq()
745 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_disable_txq()
753 mvm->queue_info[queue].tid_bitmap; in iwl_mvm_disable_txq()
764 mvm->queue_info[queue].hw_queue_to_mac80211 &= in iwl_mvm_disable_txq()
766 mvm->queue_info[queue].hw_queue_refcount--; in iwl_mvm_disable_txq()
768 cmd.enable = mvm->queue_info[queue].hw_queue_refcount ? 1 : 0; in iwl_mvm_disable_txq()
770 IWL_DEBUG_TX_QUEUES(mvm, in iwl_mvm_disable_txq()
773 mvm->queue_info[queue].hw_queue_refcount, in iwl_mvm_disable_txq()
774 mvm->queue_info[queue].hw_queue_to_mac80211); in iwl_mvm_disable_txq()
778 spin_unlock_bh(&mvm->queue_info_lock); in iwl_mvm_disable_txq()
783 WARN(mvm->queue_info[queue].hw_queue_refcount || in iwl_mvm_disable_txq()
784 mvm->queue_info[queue].tid_bitmap || in iwl_mvm_disable_txq()
785 mvm->queue_info[queue].hw_queue_to_mac80211, in iwl_mvm_disable_txq()
787 queue, mvm->queue_info[queue].hw_queue_refcount, in iwl_mvm_disable_txq()
788 mvm->queue_info[queue].hw_queue_to_mac80211, in iwl_mvm_disable_txq()
789 mvm->queue_info[queue].tid_bitmap); in iwl_mvm_disable_txq()
792 mvm->queue_info[queue].hw_queue_refcount = 0; in iwl_mvm_disable_txq()
793 mvm->queue_info[queue].tid_bitmap = 0; in iwl_mvm_disable_txq()
794 mvm->queue_info[queue].hw_queue_to_mac80211 = 0; in iwl_mvm_disable_txq()
796 spin_unlock_bh(&mvm->queue_info_lock); in iwl_mvm_disable_txq()
798 iwl_trans_txq_disable(mvm->trans, queue, false); in iwl_mvm_disable_txq()
799 ret = iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, flags, in iwl_mvm_disable_txq()
802 IWL_ERR(mvm, "Failed to disable queue %d (ret=%d)\n", in iwl_mvm_disable_txq()
816 int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq, bool init) in iwl_mvm_send_lq_cmd() argument
828 return iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_send_lq_cmd()
839 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_update_smps() argument
847 lockdep_assert_held(&mvm->mutex); in iwl_mvm_update_smps()
850 if (num_of_ant(iwl_mvm_get_valid_rx_ant(mvm)) == 1) in iwl_mvm_update_smps()
872 int iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear) in iwl_mvm_request_statistics() argument
885 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_request_statistics()
889 iwl_mvm_handle_rx_statistics(mvm, cmd.resp_pkt); in iwl_mvm_request_statistics()
893 iwl_mvm_accu_radio_stats(mvm); in iwl_mvm_request_statistics()
898 void iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm) in iwl_mvm_accu_radio_stats() argument
900 mvm->accu_radio_stats.rx_time += mvm->radio_stats.rx_time; in iwl_mvm_accu_radio_stats()
901 mvm->accu_radio_stats.tx_time += mvm->radio_stats.tx_time; in iwl_mvm_accu_radio_stats()
902 mvm->accu_radio_stats.on_time_rf += mvm->radio_stats.on_time_rf; in iwl_mvm_accu_radio_stats()
903 mvm->accu_radio_stats.on_time_scan += mvm->radio_stats.on_time_scan; in iwl_mvm_accu_radio_stats()
920 bool iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm) in iwl_mvm_rx_diversity_allowed() argument
924 lockdep_assert_held(&mvm->mutex); in iwl_mvm_rx_diversity_allowed()
926 if (num_of_ant(iwl_mvm_get_valid_rx_ant(mvm)) == 1) in iwl_mvm_rx_diversity_allowed()
929 if (mvm->cfg->rx_with_siso_diversity) in iwl_mvm_rx_diversity_allowed()
933 mvm->hw, IEEE80211_IFACE_ITER_NORMAL, in iwl_mvm_rx_diversity_allowed()
939 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_update_low_latency() argument
945 lockdep_assert_held(&mvm->mutex); in iwl_mvm_update_low_latency()
952 res = iwl_mvm_update_quotas(mvm, false, NULL); in iwl_mvm_update_low_latency()
956 iwl_mvm_bt_coex_vif_change(mvm); in iwl_mvm_update_low_latency()
958 return iwl_mvm_power_update_mac(mvm); in iwl_mvm_update_low_latency()
969 bool iwl_mvm_low_latency(struct iwl_mvm *mvm) in iwl_mvm_low_latency() argument
974 mvm->hw, IEEE80211_IFACE_ITER_NORMAL, in iwl_mvm_low_latency()
1001 struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm) in iwl_mvm_get_bss_vif() argument
1006 mvm->hw, IEEE80211_IFACE_ITER_NORMAL, in iwl_mvm_get_bss_vif()
1010 IWL_ERR(mvm, "More than one managed interface active!\n"); in iwl_mvm_get_bss_vif()
1017 unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm, in iwl_mvm_get_wd_timeout() argument
1024 cmd_q ? IWL_DEF_WD_TIMEOUT : mvm->cfg->base_params->wd_timeout; in iwl_mvm_get_wd_timeout()
1026 if (!iwl_fw_dbg_trigger_enabled(mvm->fw, FW_DBG_TRIGGER_TXQ_TIMERS)) in iwl_mvm_get_wd_timeout()
1030 trigger = iwl_fw_dbg_get_trigger(mvm->fw, FW_DBG_TRIGGER_TXQ_TIMERS); in iwl_mvm_get_wd_timeout()
1057 return mvm->cfg->base_params->wd_timeout; in iwl_mvm_get_wd_timeout()
1061 void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_connection_loss() argument
1067 if (!iwl_fw_dbg_trigger_enabled(mvm->fw, FW_DBG_TRIGGER_MLME)) in iwl_mvm_connection_loss()
1070 trig = iwl_fw_dbg_get_trigger(mvm->fw, FW_DBG_TRIGGER_MLME); in iwl_mvm_connection_loss()
1072 if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trig)) in iwl_mvm_connection_loss()
1079 iwl_mvm_fw_dbg_collect_trig(mvm, trig, "%s", errmsg); in iwl_mvm_connection_loss()