Lines Matching refs:iwl_mvm
491 struct iwl_mvm *mvm;
830 struct iwl_mvm *mvm;
990 struct iwl_mvm { struct
1378 ((struct iwl_mvm *)(_iwl_op_mode)->op_mode_specific) argument
1383 DEFINE_GUARD(mvm, struct iwl_mvm *, mutex_lock(&_T->mutex), mutex_unlock(&_T->mutex))
1425 static inline bool iwl_mvm_is_radio_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_killed()
1431 static inline bool iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_hw_killed()
1436 static inline bool iwl_mvm_firmware_running(struct iwl_mvm *mvm) in iwl_mvm_firmware_running()
1445 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_rcu()
1462 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_protected()
1480 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu) in iwl_mvm_rcu_dereference_vif_id()
1493 iwl_mvm_rcu_fw_link_id_to_link_conf(struct iwl_mvm *mvm, u8 link_id, bool rcu) in iwl_mvm_rcu_fw_link_id_to_link_conf()
1506 static inline bool iwl_mvm_is_adaptive_dwell_supported(struct iwl_mvm *mvm) in iwl_mvm_is_adaptive_dwell_supported()
1512 static inline bool iwl_mvm_is_adaptive_dwell_v2_supported(struct iwl_mvm *mvm) in iwl_mvm_is_adaptive_dwell_v2_supported()
1518 static inline bool iwl_mvm_is_adwell_hb_ap_num_supported(struct iwl_mvm *mvm) in iwl_mvm_is_adwell_hb_ap_num_supported()
1524 static inline bool iwl_mvm_is_oce_supported(struct iwl_mvm *mvm) in iwl_mvm_is_oce_supported()
1530 static inline bool iwl_mvm_is_frag_ebs_supported(struct iwl_mvm *mvm) in iwl_mvm_is_frag_ebs_supported()
1535 static inline bool iwl_mvm_is_short_beacon_notif_supported(struct iwl_mvm *mvm) in iwl_mvm_is_short_beacon_notif_supported()
1541 static inline bool iwl_mvm_is_dqa_data_queue(struct iwl_mvm *mvm, u8 queue) in iwl_mvm_is_dqa_data_queue()
1547 static inline bool iwl_mvm_is_dqa_mgmt_queue(struct iwl_mvm *mvm, u8 queue) in iwl_mvm_is_dqa_mgmt_queue()
1553 static inline bool iwl_mvm_is_lar_supported(struct iwl_mvm *mvm) in iwl_mvm_is_lar_supported()
1569 static inline bool iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm) in iwl_mvm_is_wifi_mcc_supported()
1577 static inline bool iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm) in iwl_mvm_bt_is_rrc_supported()
1584 static inline bool iwl_mvm_is_csum_supported(struct iwl_mvm *mvm) in iwl_mvm_is_csum_supported()
1591 static inline bool iwl_mvm_is_mplut_supported(struct iwl_mvm *mvm) in iwl_mvm_is_mplut_supported()
1599 bool iwl_mvm_is_p2p_scm_uapsd_supported(struct iwl_mvm *mvm) in iwl_mvm_is_p2p_scm_uapsd_supported()
1607 static inline bool iwl_mvm_has_new_rx_api(struct iwl_mvm *mvm) in iwl_mvm_has_new_rx_api()
1625 static inline bool iwl_mvm_has_new_tx_api(struct iwl_mvm *mvm) in iwl_mvm_has_new_tx_api()
1631 static inline bool iwl_mvm_has_unified_ucode(struct iwl_mvm *mvm) in iwl_mvm_has_unified_ucode()
1637 static inline bool iwl_mvm_is_cdb_supported(struct iwl_mvm *mvm) in iwl_mvm_is_cdb_supported()
1652 static inline bool iwl_mvm_cdb_scan_api(struct iwl_mvm *mvm) in iwl_mvm_cdb_scan_api()
1662 static inline bool iwl_mvm_is_scan_ext_chan_supported(struct iwl_mvm *mvm) in iwl_mvm_is_scan_ext_chan_supported()
1669 static inline bool iwl_mvm_is_reduced_config_scan_supported(struct iwl_mvm *mvm) in iwl_mvm_is_reduced_config_scan_supported()
1675 static inline bool iwl_mvm_is_band_in_rx_supported(struct iwl_mvm *mvm) in iwl_mvm_is_band_in_rx_supported()
1681 static inline bool iwl_mvm_has_new_rx_stats_api(struct iwl_mvm *mvm) in iwl_mvm_has_new_rx_stats_api()
1687 static inline bool iwl_mvm_has_quota_low_latency(struct iwl_mvm *mvm) in iwl_mvm_has_quota_low_latency()
1693 static inline bool iwl_mvm_has_no_host_disable_tx(struct iwl_mvm *mvm) in iwl_mvm_has_no_host_disable_tx()
1699 static inline bool iwl_mvm_has_tlc_offload(const struct iwl_mvm *mvm) in iwl_mvm_has_tlc_offload()
1706 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp) in iwl_mvm_get_agg_status()
1714 static inline bool iwl_mvm_is_tt_in_fw(struct iwl_mvm *mvm) in iwl_mvm_is_tt_in_fw()
1726 static inline bool iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm) in iwl_mvm_is_ctdp_supported()
1742 static inline int iwl_mvm_max_active_links(struct iwl_mvm *mvm, in iwl_mvm_max_active_links()
1763 static inline u8 iwl_mvm_mac_ac_to_tx_fifo(struct iwl_mvm *mvm, in iwl_mvm_mac_ac_to_tx_fifo()
1773 static inline bool iwl_mvm_has_rlc_offload(struct iwl_mvm *mvm) in iwl_mvm_has_rlc_offload()
1788 void __iwl_mvm_mac_stop(struct iwl_mvm *mvm, bool suspend);
1789 int __iwl_mvm_mac_start(struct iwl_mvm *mvm);
1795 int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm);
1810 bool iwl_mvm_is_nic_ack_enabled(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1812 static inline void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm) in iwl_mvm_dump_nic_error_log()
1818 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx);
1819 void iwl_mvm_get_sync_time(struct iwl_mvm *mvm, int clock_type, u32 *gp2,
1821 u32 iwl_mvm_get_systime(struct iwl_mvm *mvm);
1825 int __must_check iwl_mvm_send_cmd(struct iwl_mvm *mvm,
1827 int __must_check iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u32 id,
1829 int __must_check iwl_mvm_send_cmd_status(struct iwl_mvm *mvm,
1832 int __must_check iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id,
1835 int iwl_mvm_tx_skb_sta(struct iwl_mvm *mvm, struct sk_buff *skb,
1837 int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb);
1838 void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
1841 void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd,
1845 unsigned int iwl_mvm_max_amsdu_size(struct iwl_mvm *mvm,
1854 int iwl_mvm_flush_tx_path(struct iwl_mvm *mvm, u32 tfd_msk);
1855 int iwl_mvm_flush_sta(struct iwl_mvm *mvm, u32 sta_id, u32 tfd_queue_mask);
1856 int iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, u16 tids);
1865 int iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm,
1869 void iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm);
1880 static inline void iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm) in iwl_mvm_wait_for_async_handlers()
1886 void iwl_mvm_handle_rx_system_oper_stats(struct iwl_mvm *mvm,
1888 void iwl_mvm_handle_rx_system_oper_part1_stats(struct iwl_mvm *mvm,
1891 iwl_mvm_handle_rx_system_end_stats_notif(struct iwl_mvm *mvm, in iwl_mvm_handle_rx_system_end_stats_notif()
1896 void iwl_mvm_handle_rx_statistics(struct iwl_mvm *mvm,
1898 void iwl_mvm_rx_statistics(struct iwl_mvm *mvm,
1900 int iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear);
1901 int iwl_mvm_request_periodic_system_statistics(struct iwl_mvm *mvm,
1903 void iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm);
1906 int iwl_nvm_init(struct iwl_mvm *mvm);
1907 int iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm);
1909 static inline u8 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm) in iwl_mvm_get_valid_tx_ant()
1922 static inline u8 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm) in iwl_mvm_get_valid_rx_ant()
1936 static inline void iwl_mvm_toggle_tx_ant(struct iwl_mvm *mvm, u8 *ant) in iwl_mvm_toggle_tx_ant()
1941 static inline u32 iwl_mvm_get_phy_config(struct iwl_mvm *mvm) in iwl_mvm_get_phy_config()
1954 int iwl_mvm_up(struct iwl_mvm *mvm);
1955 int iwl_mvm_load_d3_fw(struct iwl_mvm *mvm);
1957 int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm);
1959 void iwl_mvm_mac_init_mvmvif(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif);
1968 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1969 void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct napi_struct *napi,
1971 void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi,
1973 void iwl_mvm_rx_monitor_no_data(struct iwl_mvm *mvm, struct napi_struct *napi,
1975 void iwl_mvm_rx_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi,
1977 void iwl_mvm_rx_bar_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi,
1979 void iwl_mvm_rx_queue_notif(struct iwl_mvm *mvm, struct napi_struct *napi,
1981 void iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1982 void iwl_mvm_mfu_assert_dump_notif(struct iwl_mvm *mvm,
1984 void iwl_mvm_send_recovery_cmd(struct iwl_mvm *mvm, u32 flags);
1985 void iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1986 void iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm,
1988 void iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1989 void iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm,
1991 void iwl_mvm_rx_shared_mem_cfg_notif(struct iwl_mvm *mvm,
1995 struct iwl_mvm_phy_ctxt *iwl_mvm_get_free_phy_ctxt(struct iwl_mvm *mvm);
1996 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
2000 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
2004 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm,
2006 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm,
2008 int iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm);
2011 int iwl_mvm_phy_send_rlc(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
2016 void iwl_mvm_prepare_mac_removal(struct iwl_mvm *mvm,
2018 void iwl_mvm_set_fw_basic_rates(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2021 void iwl_mvm_set_fw_protection_flags(struct iwl_mvm *mvm,
2026 void iwl_mvm_set_fw_qos_params(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2029 bool iwl_mvm_set_fw_mu_edca_params(struct iwl_mvm *mvm,
2032 void iwl_mvm_set_fw_dtim_tbtt(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2036 __le32 iwl_mac_ctxt_p2p_dev_has_extended_disc(struct iwl_mvm *mvm,
2038 void iwl_mvm_mac_ctxt_cmd_ap_set_filter_flags(struct iwl_mvm *mvm,
2044 __le32 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(struct iwl_mvm *mvm,
2046 u32 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy(struct iwl_mvm *mvm,
2048 int iwl_mvm_mld_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2049 int iwl_mvm_mld_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2051 int iwl_mvm_mld_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2052 int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2053 int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2054 int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2056 int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2057 int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
2060 int iwl_mvm_mac_ctxt_send_beacon_cmd(struct iwl_mvm *mvm,
2063 u8 iwl_mvm_mac_ctxt_get_beacon_rate(struct iwl_mvm *mvm,
2066 u8 iwl_mvm_mac_ctxt_get_lowest_rate(struct iwl_mvm *mvm,
2071 void iwl_mvm_mac_ctxt_set_tim(struct iwl_mvm *mvm,
2074 void iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
2076 void iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,
2078 void iwl_mvm_rx_missed_beacons_notif_legacy(struct iwl_mvm *mvm,
2080 void iwl_mvm_rx_stored_beacon_notif(struct iwl_mvm *mvm,
2082 void iwl_mvm_mu_mimo_grp_notif(struct iwl_mvm *mvm,
2084 void iwl_mvm_sta_pm_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
2085 void iwl_mvm_window_status_notif(struct iwl_mvm *mvm,
2087 void iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm *mvm,
2089 void iwl_mvm_probe_resp_data_notif(struct iwl_mvm *mvm,
2091 void iwl_mvm_rx_missed_vap_notif(struct iwl_mvm *mvm,
2093 void iwl_mvm_channel_switch_start_notif(struct iwl_mvm *mvm,
2095 void iwl_mvm_channel_switch_error_notif(struct iwl_mvm *mvm,
2098 int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2099 int iwl_mvm_binding_remove_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2100 u32 iwl_mvm_get_lmac_id(struct iwl_mvm *mvm, enum nl80211_band band);
2103 int iwl_mvm_set_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2105 int iwl_mvm_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2107 int iwl_mvm_link_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2110 int iwl_mvm_unset_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2112 int iwl_mvm_remove_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2114 int iwl_mvm_disable_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2117 void iwl_mvm_select_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2140 void iwl_mvm_stop_ap_ibss_common(struct iwl_mvm *mvm,
2144 void iwl_mvm_bss_info_changed_station_common(struct iwl_mvm *mvm,
2148 void iwl_mvm_bss_info_changed_station_assoc(struct iwl_mvm *mvm,
2167 int (*add_aux_sta_for_hs20)(struct iwl_mvm *mvm, u32 lmac_id);
2168 int (*link)(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2178 void iwl_mvm_protect_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2182 static inline size_t iwl_mvm_quota_cmd_size(struct iwl_mvm *mvm) in iwl_mvm_quota_cmd_size()
2190 *iwl_mvm_quota_cmd_get_quota(struct iwl_mvm *mvm, in iwl_mvm_quota_cmd_get_quota()
2203 int iwl_mvm_update_quotas(struct iwl_mvm *mvm, bool force_upload,
2207 int iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2210 size_t iwl_mvm_scan_size(struct iwl_mvm *mvm);
2211 int iwl_mvm_scan_stop(struct iwl_mvm *mvm, int type, bool notify);
2213 int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm);
2214 void iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm);
2216 int iwl_mvm_int_mlo_scan(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2217 void iwl_mvm_rx_channel_survey_notif(struct iwl_mvm *mvm,
2221 void iwl_mvm_rx_lmac_scan_complete_notif(struct iwl_mvm *mvm,
2223 void iwl_mvm_rx_lmac_scan_iter_complete_notif(struct iwl_mvm *mvm,
2225 int iwl_mvm_sched_scan_start(struct iwl_mvm *mvm,
2230 void iwl_mvm_rx_scan_match_found(struct iwl_mvm *mvm,
2234 int iwl_mvm_config_scan(struct iwl_mvm *mvm);
2235 void iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
2237 void iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm,
2242 void iwl_mvm_dbgfs_register(struct iwl_mvm *mvm);
2244 void iwl_mvm_vif_dbgfs_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2245 void iwl_mvm_vif_dbgfs_rm_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2247 static inline void iwl_mvm_dbgfs_register(struct iwl_mvm *mvm) in iwl_mvm_dbgfs_register()
2251 iwl_mvm_vif_dbgfs_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_add_link()
2255 iwl_mvm_vif_dbgfs_rm_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_rm_link()
2261 int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq);
2262 void iwl_mvm_update_frame_stats(struct iwl_mvm *mvm, u32 rate, bool agg);
2264 void rs_update_last_rssi(struct iwl_mvm *mvm,
2269 int iwl_mvm_power_update_device(struct iwl_mvm *mvm);
2270 int iwl_mvm_power_update_mac(struct iwl_mvm *mvm);
2271 int iwl_mvm_power_update_ps(struct iwl_mvm *mvm);
2272 int iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2275 void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2276 void iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm,
2280 int iwl_mvm_leds_init(struct iwl_mvm *mvm);
2281 void iwl_mvm_leds_exit(struct iwl_mvm *mvm);
2282 void iwl_mvm_leds_sync(struct iwl_mvm *mvm);
2284 static inline int iwl_mvm_leds_init(struct iwl_mvm *mvm) in iwl_mvm_leds_init()
2288 static inline void iwl_mvm_leds_exit(struct iwl_mvm *mvm) in iwl_mvm_leds_exit()
2291 static inline void iwl_mvm_leds_sync(struct iwl_mvm *mvm) in iwl_mvm_leds_sync()
2310 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm,
2312 void iwl_mvm_fast_suspend(struct iwl_mvm *mvm);
2313 int iwl_mvm_fast_resume(struct iwl_mvm *mvm);
2316 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_set_last_nonqos_seq()
2320 static inline void iwl_mvm_fast_suspend(struct iwl_mvm *mvm) in iwl_mvm_fast_suspend()
2324 static inline int iwl_mvm_fast_resume(struct iwl_mvm *mvm) in iwl_mvm_fast_resume()
2331 int iwl_mvm_send_proto_offload(struct iwl_mvm *mvm,
2339 int iwl_mvm_send_bt_init_conf(struct iwl_mvm *mvm);
2340 void iwl_mvm_rx_bt_coex_old_notif(struct iwl_mvm *mvm,
2342 void iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
2344 void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2346 void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm);
2347 u16 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm,
2349 bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm,
2351 bool iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant);
2352 bool iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm);
2353 bool iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm,
2355 u8 iwl_mvm_bt_coex_get_single_ant_msk(struct iwl_mvm *mvm, u8 enabled_ants);
2356 u8 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr,
2370 int iwl_mvm_enable_beacon_filter(struct iwl_mvm *mvm,
2372 int iwl_mvm_disable_beacon_filter(struct iwl_mvm *mvm,
2375 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2380 iwl_mvm_update_smps_on_active_links(struct iwl_mvm *mvm,
2384 bool iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm,
2390 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2394 bool iwl_mvm_low_latency(struct iwl_mvm *mvm);
2395 bool iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band);
2396 void iwl_mvm_send_low_latency_cmd(struct iwl_mvm *mvm, bool low_latency,
2454 static inline u32 iwl_mvm_flushable_queues(struct iwl_mvm *mvm) in iwl_mvm_flushable_queues()
2460 void iwl_mvm_stop_device(struct iwl_mvm *mvm);
2463 void iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff);
2464 void iwl_mvm_temp_notif(struct iwl_mvm *mvm,
2466 void iwl_mvm_tt_handler(struct iwl_mvm *mvm);
2467 void iwl_mvm_thermal_initialize(struct iwl_mvm *mvm, u32 min_backoff);
2468 void iwl_mvm_thermal_exit(struct iwl_mvm *mvm);
2469 void iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state);
2470 int iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp);
2471 void iwl_mvm_ct_kill_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
2472 void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm);
2473 int iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm);
2474 int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 budget);
2479 void iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm);
2483 static inline void iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm) {} in iwl_mvm_vendor_cmds_register()
2489 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2,
2491 int iwl_mvm_init_mcc(struct iwl_mvm *mvm);
2492 void iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm,
2498 struct ieee80211_regdomain *iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm,
2500 int iwl_mvm_init_fw_regd(struct iwl_mvm *mvm, bool force_regd_sync);
2501 void iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm);
2504 int iwl_mvm_sf_update(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2508 int iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2510 void iwl_mvm_ftm_restart_responder(struct iwl_mvm *mvm,
2513 void iwl_mvm_ftm_responder_stats(struct iwl_mvm *mvm,
2515 int iwl_mvm_ftm_resp_remove_pasn_sta(struct iwl_mvm *mvm,
2517 int iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm *mvm,
2521 void iwl_mvm_ftm_responder_clear(struct iwl_mvm *mvm,
2525 void iwl_mvm_ftm_restart(struct iwl_mvm *mvm);
2526 void iwl_mvm_ftm_range_resp(struct iwl_mvm *mvm,
2528 void iwl_mvm_ftm_lc_notif(struct iwl_mvm *mvm,
2530 int iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2532 void iwl_mvm_ftm_abort(struct iwl_mvm *mvm, struct cfg80211_pmsr_request *req);
2533 void iwl_mvm_ftm_initiator_smooth_config(struct iwl_mvm *mvm);
2534 void iwl_mvm_ftm_initiator_smooth_stop(struct iwl_mvm *mvm);
2535 int iwl_mvm_ftm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2538 void iwl_mvm_ftm_remove_pasn_sta(struct iwl_mvm *mvm, u8 *addr);
2548 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2549 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm);
2550 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2566 void iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
2569 void iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm,
2573 struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm);
2574 struct ieee80211_vif *iwl_mvm_get_vif_by_macid(struct iwl_mvm *mvm, u32 macid);
2575 bool iwl_mvm_is_vif_assoc(struct iwl_mvm *mvm);
2581 void iwl_mvm_recalc_tcm(struct iwl_mvm *mvm);
2582 void iwl_mvm_pause_tcm(struct iwl_mvm *mvm, bool with_cancel);
2583 void iwl_mvm_resume_tcm(struct iwl_mvm *mvm);
2584 void iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2585 void iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2588 void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error);
2589 unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm,
2591 void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2593 void iwl_mvm_event_frame_timeout_callback(struct iwl_mvm *mvm,
2599 void iwl_mvm_ptp_init(struct iwl_mvm *mvm);
2600 void iwl_mvm_ptp_remove(struct iwl_mvm *mvm);
2601 u64 iwl_mvm_ptp_get_adj_time(struct iwl_mvm *mvm, u64 base_time);
2602 int iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b);
2603 int iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm);
2604 int iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm);
2605 void iwl_mvm_get_bios_tables(struct iwl_mvm *mvm);
2618 int iwl_mvm_sec_key_add(struct iwl_mvm *mvm,
2622 int iwl_mvm_sec_key_del(struct iwl_mvm *mvm,
2626 int iwl_mvm_sec_key_del_pasn(struct iwl_mvm *mvm,
2630 void iwl_mvm_sec_key_remove_ap(struct iwl_mvm *mvm,
2634 int iwl_mvm_mld_update_sta_keys(struct iwl_mvm *mvm,
2639 int iwl_mvm_mld_send_key(struct iwl_mvm *mvm, u32 sta_mask, u32 key_flags,
2641 u32 iwl_mvm_get_sec_flags(struct iwl_mvm *mvm,
2646 bool iwl_rfi_supported(struct iwl_mvm *mvm);
2647 int iwl_rfi_send_config_cmd(struct iwl_mvm *mvm,
2649 struct iwl_rfi_freq_table_resp_cmd *iwl_rfi_get_freq_table(struct iwl_mvm *mvm);
2650 void iwl_rfi_deactivate_notif_handler(struct iwl_mvm *mvm,
2704 int (*__assign_vif_chanctx)(struct iwl_mvm *mvm,
2709 void (*__unassign_vif_chanctx)(struct iwl_mvm *mvm,
2724 static inline bool iwl_mvm_has_ultra_hb_channel(struct iwl_mvm *mvm) in iwl_mvm_has_ultra_hb_channel()
2730 static inline void *iwl_mvm_chan_info_cmd_tail(struct iwl_mvm *mvm, in iwl_mvm_chan_info_cmd_tail()
2738 static inline size_t iwl_mvm_chan_info_padding(struct iwl_mvm *mvm) in iwl_mvm_chan_info_padding()
2745 static inline void iwl_mvm_set_chan_info(struct iwl_mvm *mvm, in iwl_mvm_set_chan_info()
2767 iwl_mvm_set_chan_info_chandef(struct iwl_mvm *mvm, in iwl_mvm_set_chan_info_chandef()
2802 struct iwl_mvm_csme_conn_info *iwl_mvm_get_csme_conn_info(struct iwl_mvm *mvm);
2803 static inline int iwl_mvm_mei_get_ownership(struct iwl_mvm *mvm) in iwl_mvm_mei_get_ownership()
2810 static inline void iwl_mvm_mei_tx_copy_to_csme(struct iwl_mvm *mvm, in iwl_mvm_mei_tx_copy_to_csme()
2818 static inline void iwl_mvm_mei_host_disassociated(struct iwl_mvm *mvm) in iwl_mvm_mei_host_disassociated()
2824 static inline void iwl_mvm_mei_device_state(struct iwl_mvm *mvm, bool up) in iwl_mvm_mei_device_state()
2830 static inline void iwl_mvm_mei_set_sw_rfkill_state(struct iwl_mvm *mvm) in iwl_mvm_mei_set_sw_rfkill_state()
2840 static inline bool iwl_mvm_has_p2p_over_aux(struct iwl_mvm *mvm) in iwl_mvm_has_p2p_over_aux()
2847 static inline bool iwl_mvm_mei_filter_scan(struct iwl_mvm *mvm, in iwl_mvm_mei_filter_scan()
2863 void iwl_mvm_send_roaming_forbidden_event(struct iwl_mvm *mvm,
2951 int iwl_mvm_pre_channel_switch(struct iwl_mvm *mvm,
2985 int iwl_mvm_set_tx_power(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2990 int iwl_mvm_update_mu_groups(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2991 bool iwl_mvm_enable_fils(struct iwl_mvm *mvm,
2993 bool iwl_mvm_is_ftm_responder_chanctx(struct iwl_mvm *mvm,
2997 iwl_mvm_chanctx_def(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx) in iwl_mvm_chanctx_def()
3009 int iwl_mvm_roc_add_cmd(struct iwl_mvm *mvm,
3015 bool iwl_mvm_vif_has_esr_cap(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
3016 void iwl_mvm_block_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
3019 int iwl_mvm_block_esr_sync(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
3021 void iwl_mvm_unblock_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
3023 void iwl_mvm_exit_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
3026 s8 iwl_mvm_get_esr_rssi_thresh(struct iwl_mvm *mvm,
3029 void iwl_mvm_bt_coex_update_link_esr(struct iwl_mvm *mvm,
3033 iwl_mvm_bt_coex_calculate_esr_mode(struct iwl_mvm *mvm,
3037 int iwl_mvm_esr_non_bss_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
3041 iwl_mvm_send_ap_tx_power_constraint_cmd(struct iwl_mvm *mvm,