Lines Matching refs:iwl_mvm
370 struct iwl_mvm *mvm;
665 struct iwl_mvm *mvm;
712 struct iwl_mvm *mvm;
778 struct iwl_mvm { struct
1114 ((struct iwl_mvm *)(_iwl_op_mode)->op_mode_specific) argument
1153 static inline bool iwl_mvm_is_radio_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_killed()
1159 static inline bool iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_hw_killed()
1164 static inline bool iwl_mvm_firmware_running(struct iwl_mvm *mvm) in iwl_mvm_firmware_running()
1173 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_rcu()
1190 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_protected()
1207 static inline bool iwl_mvm_is_d0i3_supported(struct iwl_mvm *mvm) in iwl_mvm_is_d0i3_supported()
1214 static inline bool iwl_mvm_is_adaptive_dwell_supported(struct iwl_mvm *mvm) in iwl_mvm_is_adaptive_dwell_supported()
1220 static inline bool iwl_mvm_is_adaptive_dwell_v2_supported(struct iwl_mvm *mvm) in iwl_mvm_is_adaptive_dwell_v2_supported()
1226 static inline bool iwl_mvm_is_oce_supported(struct iwl_mvm *mvm) in iwl_mvm_is_oce_supported()
1232 static inline bool iwl_mvm_enter_d0i3_on_suspend(struct iwl_mvm *mvm) in iwl_mvm_enter_d0i3_on_suspend()
1245 static inline bool iwl_mvm_is_dqa_data_queue(struct iwl_mvm *mvm, u8 queue) in iwl_mvm_is_dqa_data_queue()
1251 static inline bool iwl_mvm_is_dqa_mgmt_queue(struct iwl_mvm *mvm, u8 queue) in iwl_mvm_is_dqa_mgmt_queue()
1257 static inline bool iwl_mvm_is_lar_supported(struct iwl_mvm *mvm) in iwl_mvm_is_lar_supported()
1276 static inline bool iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm) in iwl_mvm_is_wifi_mcc_supported()
1284 static inline bool iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm) in iwl_mvm_bt_is_rrc_supported()
1291 static inline bool iwl_mvm_is_csum_supported(struct iwl_mvm *mvm) in iwl_mvm_is_csum_supported()
1298 static inline bool iwl_mvm_is_mplut_supported(struct iwl_mvm *mvm) in iwl_mvm_is_mplut_supported()
1306 bool iwl_mvm_is_p2p_scm_uapsd_supported(struct iwl_mvm *mvm) in iwl_mvm_is_p2p_scm_uapsd_supported()
1314 static inline bool iwl_mvm_has_new_rx_api(struct iwl_mvm *mvm) in iwl_mvm_has_new_rx_api()
1320 static inline bool iwl_mvm_has_new_tx_api(struct iwl_mvm *mvm) in iwl_mvm_has_new_tx_api()
1326 static inline bool iwl_mvm_has_unified_ucode(struct iwl_mvm *mvm) in iwl_mvm_has_unified_ucode()
1332 static inline bool iwl_mvm_is_cdb_supported(struct iwl_mvm *mvm) in iwl_mvm_is_cdb_supported()
1347 static inline bool iwl_mvm_cdb_scan_api(struct iwl_mvm *mvm) in iwl_mvm_cdb_scan_api()
1357 static inline bool iwl_mvm_has_new_rx_stats_api(struct iwl_mvm *mvm) in iwl_mvm_has_new_rx_stats_api()
1363 static inline bool iwl_mvm_has_quota_low_latency(struct iwl_mvm *mvm) in iwl_mvm_has_quota_low_latency()
1369 static inline bool iwl_mvm_has_tlc_offload(const struct iwl_mvm *mvm) in iwl_mvm_has_tlc_offload()
1376 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) in iwl_mvm_get_agg_status()
1384 static inline bool iwl_mvm_is_tt_in_fw(struct iwl_mvm *mvm) in iwl_mvm_is_tt_in_fw()
1400 static inline bool iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm) in iwl_mvm_is_ctdp_supported()
1409 static inline u8 iwl_mvm_mac_ac_to_tx_fifo(struct iwl_mvm *mvm, in iwl_mvm_mac_ac_to_tx_fifo()
1424 void __iwl_mvm_mac_stop(struct iwl_mvm *mvm);
1425 int __iwl_mvm_mac_start(struct iwl_mvm *mvm);
1431 int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm);
1440 void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm);
1442 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx);
1443 void iwl_mvm_get_sync_time(struct iwl_mvm *mvm, u32 *gp2, u64 *boottime);
1446 int __must_check iwl_mvm_send_cmd(struct iwl_mvm *mvm,
1448 int __must_check iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u32 id,
1450 int __must_check iwl_mvm_send_cmd_status(struct iwl_mvm *mvm,
1453 int __must_check iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id,
1456 int iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb,
1458 int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb);
1459 void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
1462 void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd,
1470 int iwl_mvm_flush_tx_path(struct iwl_mvm *mvm, u32 tfd_msk, u32 flags);
1471 int iwl_mvm_flush_sta(struct iwl_mvm *mvm, void *sta, bool internal, u32 flags);
1472 int iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id,
1475 void iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm);
1486 static inline void iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm) in iwl_mvm_wait_for_async_handlers()
1492 void iwl_mvm_handle_rx_statistics(struct iwl_mvm *mvm,
1494 void iwl_mvm_rx_statistics(struct iwl_mvm *mvm,
1496 int iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear);
1497 void iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm);
1500 int iwl_nvm_init(struct iwl_mvm *mvm);
1501 int iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm);
1503 static inline u8 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm) in iwl_mvm_get_valid_tx_ant()
1510 static inline u8 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm) in iwl_mvm_get_valid_rx_ant()
1517 static inline u32 iwl_mvm_get_phy_config(struct iwl_mvm *mvm) in iwl_mvm_get_phy_config()
1530 int iwl_mvm_up(struct iwl_mvm *mvm);
1531 int iwl_mvm_load_d3_fw(struct iwl_mvm *mvm);
1533 int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm);
1534 bool iwl_mvm_bcast_filter_build_cmd(struct iwl_mvm *mvm,
1541 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1542 void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct napi_struct *napi,
1544 void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi,
1546 void iwl_mvm_rx_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi,
1548 int iwl_mvm_notify_rx_queue(struct iwl_mvm *mvm, u32 rxq_mask,
1550 void iwl_mvm_rx_queue_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1552 void iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1553 void iwl_mvm_mfu_assert_dump_notif(struct iwl_mvm *mvm,
1555 void iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1556 void iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm,
1558 void iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1559 void iwl_mvm_rx_card_state_notif(struct iwl_mvm *mvm,
1561 void iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm,
1563 void iwl_mvm_rx_shared_mem_cfg_notif(struct iwl_mvm *mvm,
1567 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1570 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1573 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm,
1575 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm,
1577 int iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm);
1582 int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1583 int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1584 int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1586 int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1588 int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
1590 void iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
1592 void iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,
1594 void iwl_mvm_rx_stored_beacon_notif(struct iwl_mvm *mvm,
1596 void iwl_mvm_mu_mimo_grp_notif(struct iwl_mvm *mvm,
1598 void iwl_mvm_sta_pm_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1599 void iwl_mvm_window_status_notif(struct iwl_mvm *mvm,
1601 void iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm *mvm,
1603 unsigned long iwl_mvm_get_used_hw_queues(struct iwl_mvm *mvm,
1605 void iwl_mvm_channel_switch_noa_notif(struct iwl_mvm *mvm,
1608 int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1609 int iwl_mvm_binding_remove_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1612 static inline size_t iwl_mvm_quota_cmd_size(struct iwl_mvm *mvm) in iwl_mvm_quota_cmd_size()
1620 *iwl_mvm_quota_cmd_get_quota(struct iwl_mvm *mvm, in iwl_mvm_quota_cmd_get_quota()
1633 int iwl_mvm_update_quotas(struct iwl_mvm *mvm, bool force_upload,
1637 int iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1640 int iwl_mvm_scan_size(struct iwl_mvm *mvm);
1641 int iwl_mvm_scan_stop(struct iwl_mvm *mvm, int type, bool notify);
1642 int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm);
1643 void iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm);
1647 void iwl_mvm_rx_lmac_scan_complete_notif(struct iwl_mvm *mvm,
1649 void iwl_mvm_rx_lmac_scan_iter_complete_notif(struct iwl_mvm *mvm,
1651 int iwl_mvm_sched_scan_start(struct iwl_mvm *mvm,
1656 void iwl_mvm_rx_scan_match_found(struct iwl_mvm *mvm,
1660 int iwl_mvm_config_scan(struct iwl_mvm *mvm);
1661 void iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
1663 void iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm,
1668 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir);
1669 void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1670 void iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1672 static inline int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, in iwl_mvm_dbgfs_register()
1678 iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_register()
1682 iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_clean()
1688 int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq, bool init);
1689 void iwl_mvm_update_frame_stats(struct iwl_mvm *mvm, u32 rate, bool agg);
1691 void rs_update_last_rssi(struct iwl_mvm *mvm,
1696 int iwl_mvm_power_update_device(struct iwl_mvm *mvm);
1697 int iwl_mvm_power_update_mac(struct iwl_mvm *mvm);
1698 int iwl_mvm_power_update_ps(struct iwl_mvm *mvm);
1699 int iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1702 void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1703 void iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm,
1707 int iwl_mvm_leds_init(struct iwl_mvm *mvm);
1708 void iwl_mvm_leds_exit(struct iwl_mvm *mvm);
1709 void iwl_mvm_leds_sync(struct iwl_mvm *mvm);
1711 static inline int iwl_mvm_leds_init(struct iwl_mvm *mvm) in iwl_mvm_leds_init()
1715 static inline void iwl_mvm_leds_exit(struct iwl_mvm *mvm) in iwl_mvm_leds_exit()
1718 static inline void iwl_mvm_leds_sync(struct iwl_mvm *mvm) in iwl_mvm_leds_sync()
1737 int iwl_mvm_wowlan_config_key_params(struct iwl_mvm *mvm,
1741 void iwl_mvm_d0i3_update_keys(struct iwl_mvm *mvm,
1744 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm,
1747 static inline int iwl_mvm_wowlan_config_key_params(struct iwl_mvm *mvm, in iwl_mvm_wowlan_config_key_params()
1755 static inline void iwl_mvm_d0i3_update_keys(struct iwl_mvm *mvm, in iwl_mvm_d0i3_update_keys()
1762 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_set_last_nonqos_seq()
1768 int iwl_mvm_send_proto_offload(struct iwl_mvm *mvm,
1775 void iwl_mvm_ref(struct iwl_mvm *mvm, enum iwl_mvm_ref_type ref_type);
1776 void iwl_mvm_unref(struct iwl_mvm *mvm, enum iwl_mvm_ref_type ref_type);
1777 int iwl_mvm_ref_sync(struct iwl_mvm *mvm, enum iwl_mvm_ref_type ref_type);
1778 bool iwl_mvm_ref_taken(struct iwl_mvm *mvm);
1779 void iwl_mvm_d0i3_enable_tx(struct iwl_mvm *mvm, __le16 *qos_seq);
1782 int _iwl_mvm_exit_d0i3(struct iwl_mvm *mvm);
1785 int iwl_mvm_send_bt_init_conf(struct iwl_mvm *mvm);
1786 void iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
1788 void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1790 void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm);
1791 u16 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm,
1793 bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm,
1795 bool iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant);
1796 bool iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm);
1797 bool iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm,
1799 u8 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr,
1813 int iwl_mvm_update_d0i3_power_mode(struct iwl_mvm *mvm,
1816 int iwl_mvm_enable_beacon_filter(struct iwl_mvm *mvm,
1819 int iwl_mvm_disable_beacon_filter(struct iwl_mvm *mvm,
1823 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1826 bool iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm);
1829 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1833 bool iwl_mvm_low_latency(struct iwl_mvm *mvm);
1834 bool iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band);
1863 bool iwl_mvm_enable_txq(struct iwl_mvm *mvm, int queue, int mac80211_queue,
1866 int iwl_mvm_tvqm_enable_txq(struct iwl_mvm *mvm, int mac80211_queue,
1869 int iwl_mvm_disable_txq(struct iwl_mvm *mvm, int queue, int mac80211_queue,
1871 int iwl_mvm_find_free_queue(struct iwl_mvm *mvm, u8 sta_id, u8 minq, u8 maxq);
1876 static inline u32 iwl_mvm_flushable_queues(struct iwl_mvm *mvm) in iwl_mvm_flushable_queues()
1882 static inline void iwl_mvm_stop_device(struct iwl_mvm *mvm) in iwl_mvm_stop_device()
1892 void iwl_mvm_start_mac_queues(struct iwl_mvm *mvm, unsigned long mq);
1893 void iwl_mvm_stop_mac_queues(struct iwl_mvm *mvm, unsigned long mq);
1896 int iwl_mvm_reconfig_scd(struct iwl_mvm *mvm, int queue, int fifo, int sta_id,
1900 void iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff);
1901 void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp);
1902 void iwl_mvm_temp_notif(struct iwl_mvm *mvm,
1904 void iwl_mvm_tt_handler(struct iwl_mvm *mvm);
1905 void iwl_mvm_thermal_initialize(struct iwl_mvm *mvm, u32 min_backoff);
1906 void iwl_mvm_thermal_exit(struct iwl_mvm *mvm);
1907 void iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state);
1908 int iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp);
1909 void iwl_mvm_ct_kill_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1910 void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm);
1911 int iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm);
1912 int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 budget);
1916 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2,
1918 int iwl_mvm_init_mcc(struct iwl_mvm *mvm);
1919 void iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm,
1925 struct ieee80211_regdomain *iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm,
1927 int iwl_mvm_init_fw_regd(struct iwl_mvm *mvm);
1928 void iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm);
1931 int iwl_mvm_sf_update(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1942 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1943 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm);
1944 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1959 void iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1962 void iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm,
1966 struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm);
1967 bool iwl_mvm_is_vif_assoc(struct iwl_mvm *mvm);
1969 void iwl_mvm_inactivity_check(struct iwl_mvm *mvm);
1975 void iwl_mvm_recalc_tcm(struct iwl_mvm *mvm);
1976 void iwl_mvm_pause_tcm(struct iwl_mvm *mvm, bool with_cancel);
1977 void iwl_mvm_resume_tcm(struct iwl_mvm *mvm);
1978 void iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1979 void iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1982 void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error);
1983 unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm,
1986 void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1988 void iwl_mvm_event_frame_timeout_callback(struct iwl_mvm *mvm,
1993 int iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b);
1994 int iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm);