Lines Matching refs:iwl_mvm

453 	struct iwl_mvm *mvm;
750 struct iwl_mvm *mvm;
792 struct iwl_mvm *mvm;
952 struct iwl_mvm {
962 /* for protecting access to iwl_mvm */
1328 ((struct iwl_mvm *)(_iwl_op_mode)->op_mode_specific)
1372 static inline bool iwl_mvm_is_radio_killed(struct iwl_mvm *mvm)
1378 static inline bool iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm)
1383 static inline bool iwl_mvm_firmware_running(struct iwl_mvm *mvm)
1392 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id)
1409 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id)
1427 iwl_mvm_rcu_dereference_vif_id(struct iwl_mvm *mvm, u8 vif_id, bool rcu)
1440 iwl_mvm_rcu_fw_link_id_to_link_conf(struct iwl_mvm *mvm, u8 link_id, bool rcu)
1452 static inline bool iwl_mvm_is_adaptive_dwell_supported(struct iwl_mvm *mvm)
1458 static inline bool iwl_mvm_is_adaptive_dwell_v2_supported(struct iwl_mvm *mvm)
1464 static inline bool iwl_mvm_is_adwell_hb_ap_num_supported(struct iwl_mvm *mvm)
1470 static inline bool iwl_mvm_is_oce_supported(struct iwl_mvm *mvm)
1476 static inline bool iwl_mvm_is_frag_ebs_supported(struct iwl_mvm *mvm)
1481 static inline bool iwl_mvm_is_short_beacon_notif_supported(struct iwl_mvm *mvm)
1487 static inline bool iwl_mvm_is_dqa_data_queue(struct iwl_mvm *mvm, u8 queue)
1493 static inline bool iwl_mvm_is_dqa_mgmt_queue(struct iwl_mvm *mvm, u8 queue)
1499 static inline bool iwl_mvm_is_lar_supported(struct iwl_mvm *mvm)
1515 static inline bool iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm)
1523 static inline bool iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm)
1530 static inline bool iwl_mvm_is_csum_supported(struct iwl_mvm *mvm)
1537 static inline bool iwl_mvm_is_mplut_supported(struct iwl_mvm *mvm)
1545 bool iwl_mvm_is_p2p_scm_uapsd_supported(struct iwl_mvm *mvm)
1553 static inline bool iwl_mvm_has_new_rx_api(struct iwl_mvm *mvm)
1571 static inline bool iwl_mvm_has_new_tx_api(struct iwl_mvm *mvm)
1577 static inline bool iwl_mvm_has_unified_ucode(struct iwl_mvm *mvm)
1583 static inline bool iwl_mvm_is_cdb_supported(struct iwl_mvm *mvm)
1598 static inline bool iwl_mvm_cdb_scan_api(struct iwl_mvm *mvm)
1608 static inline bool iwl_mvm_is_scan_ext_chan_supported(struct iwl_mvm *mvm)
1615 static inline bool iwl_mvm_is_reduced_config_scan_supported(struct iwl_mvm *mvm)
1621 static inline bool iwl_mvm_is_band_in_rx_supported(struct iwl_mvm *mvm)
1627 static inline bool iwl_mvm_has_new_rx_stats_api(struct iwl_mvm *mvm)
1633 static inline bool iwl_mvm_has_quota_low_latency(struct iwl_mvm *mvm)
1639 static inline bool iwl_mvm_has_no_host_disable_tx(struct iwl_mvm *mvm)
1645 static inline bool iwl_mvm_has_tlc_offload(const struct iwl_mvm *mvm)
1652 iwl_mvm_get_agg_status(struct iwl_mvm *mvm, void *tx_resp)
1660 static inline bool iwl_mvm_is_tt_in_fw(struct iwl_mvm *mvm)
1672 static inline bool iwl_mvm_is_ctdp_supported(struct iwl_mvm *mvm)
1688 static inline int iwl_mvm_max_active_links(struct iwl_mvm *mvm,
1709 static inline u8 iwl_mvm_mac_ac_to_tx_fifo(struct iwl_mvm *mvm,
1727 void __iwl_mvm_mac_stop(struct iwl_mvm *mvm);
1728 int __iwl_mvm_mac_start(struct iwl_mvm *mvm);
1734 int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm);
1749 bool iwl_mvm_is_nic_ack_enabled(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1751 static inline void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm)
1757 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx);
1758 void iwl_mvm_get_sync_time(struct iwl_mvm *mvm, int clock_type, u32 *gp2,
1760 u32 iwl_mvm_get_systime(struct iwl_mvm *mvm);
1763 int __must_check iwl_mvm_send_cmd(struct iwl_mvm *mvm,
1765 int __must_check iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u32 id,
1767 int __must_check iwl_mvm_send_cmd_status(struct iwl_mvm *mvm,
1770 int __must_check iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u32 id,
1773 int iwl_mvm_tx_skb_sta(struct iwl_mvm *mvm, struct sk_buff *skb,
1775 int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb);
1776 void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
1779 void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd,
1783 unsigned int iwl_mvm_max_amsdu_size(struct iwl_mvm *mvm,
1792 int iwl_mvm_flush_tx_path(struct iwl_mvm *mvm, u32 tfd_msk);
1793 int iwl_mvm_flush_sta(struct iwl_mvm *mvm, u32 sta_id, u32 tfd_queue_mask);
1794 int iwl_mvm_flush_sta_tids(struct iwl_mvm *mvm, u32 sta_id, u16 tids);
1803 int iwl_mvm_set_sta_pkt_ext(struct iwl_mvm *mvm,
1807 void iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm);
1818 static inline void iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm)
1824 void iwl_mvm_handle_rx_system_oper_stats(struct iwl_mvm *mvm,
1826 void iwl_mvm_handle_rx_system_oper_part1_stats(struct iwl_mvm *mvm,
1829 iwl_mvm_handle_rx_system_end_stats_notif(struct iwl_mvm *mvm,
1834 void iwl_mvm_handle_rx_statistics(struct iwl_mvm *mvm,
1836 void iwl_mvm_rx_statistics(struct iwl_mvm *mvm,
1838 int iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear);
1839 int iwl_mvm_request_periodic_system_statistics(struct iwl_mvm *mvm,
1841 void iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm);
1844 int iwl_nvm_init(struct iwl_mvm *mvm);
1845 int iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm);
1847 static inline u8 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm)
1860 static inline u8 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm)
1874 static inline void iwl_mvm_toggle_tx_ant(struct iwl_mvm *mvm, u8 *ant)
1879 static inline u32 iwl_mvm_get_phy_config(struct iwl_mvm *mvm)
1892 int iwl_mvm_up(struct iwl_mvm *mvm);
1893 int iwl_mvm_load_d3_fw(struct iwl_mvm *mvm);
1895 int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm);
1897 void iwl_mvm_mac_init_mvmvif(struct iwl_mvm *mvm, struct iwl_mvm_vif *mvmvif);
1906 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1907 void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct napi_struct *napi,
1909 void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi,
1911 void iwl_mvm_rx_monitor_no_data(struct iwl_mvm *mvm, struct napi_struct *napi,
1913 void iwl_mvm_rx_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi,
1915 void iwl_mvm_rx_bar_frame_release(struct iwl_mvm *mvm, struct napi_struct *napi,
1917 void iwl_mvm_rx_queue_notif(struct iwl_mvm *mvm, struct napi_struct *napi,
1919 void iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1920 void iwl_mvm_mfu_assert_dump_notif(struct iwl_mvm *mvm,
1922 void iwl_mvm_send_recovery_cmd(struct iwl_mvm *mvm, u32 flags);
1923 void iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1924 void iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm,
1926 void iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1927 void iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm,
1929 void iwl_mvm_rx_shared_mem_cfg_notif(struct iwl_mvm *mvm,
1933 struct iwl_mvm_phy_ctxt *iwl_mvm_get_free_phy_ctxt(struct iwl_mvm *mvm);
1934 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1938 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1942 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm,
1944 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm,
1946 int iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm);
1949 int iwl_mvm_phy_send_rlc(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1954 void iwl_mvm_prepare_mac_removal(struct iwl_mvm *mvm,
1956 void iwl_mvm_set_fw_basic_rates(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1959 void iwl_mvm_set_fw_protection_flags(struct iwl_mvm *mvm,
1964 void iwl_mvm_set_fw_qos_params(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1967 bool iwl_mvm_set_fw_mu_edca_params(struct iwl_mvm *mvm,
1970 void iwl_mvm_set_fw_dtim_tbtt(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1974 __le32 iwl_mac_ctxt_p2p_dev_has_extended_disc(struct iwl_mvm *mvm,
1976 void iwl_mvm_mac_ctxt_cmd_ap_set_filter_flags(struct iwl_mvm *mvm,
1982 __le32 iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin(struct iwl_mvm *mvm,
1984 u32 iwl_mvm_mac_ctxt_cmd_sta_get_twt_policy(struct iwl_mvm *mvm,
1986 int iwl_mvm_mld_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1987 int iwl_mvm_mld_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1989 int iwl_mvm_mld_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1990 int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1991 int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1992 int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1994 int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1995 int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
1998 int iwl_mvm_mac_ctxt_send_beacon_cmd(struct iwl_mvm *mvm,
2001 u8 iwl_mvm_mac_ctxt_get_beacon_rate(struct iwl_mvm *mvm,
2004 u8 iwl_mvm_mac_ctxt_get_lowest_rate(struct iwl_mvm *mvm,
2009 void iwl_mvm_mac_ctxt_set_tim(struct iwl_mvm *mvm,
2012 void iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
2014 void iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,
2016 void iwl_mvm_rx_stored_beacon_notif(struct iwl_mvm *mvm,
2018 void iwl_mvm_mu_mimo_grp_notif(struct iwl_mvm *mvm,
2020 void iwl_mvm_sta_pm_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
2021 void iwl_mvm_window_status_notif(struct iwl_mvm *mvm,
2023 void iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm *mvm,
2025 void iwl_mvm_probe_resp_data_notif(struct iwl_mvm *mvm,
2027 void iwl_mvm_rx_missed_vap_notif(struct iwl_mvm *mvm,
2029 void iwl_mvm_channel_switch_start_notif(struct iwl_mvm *mvm,
2031 void iwl_mvm_channel_switch_error_notif(struct iwl_mvm *mvm,
2034 int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2035 int iwl_mvm_binding_remove_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2036 u32 iwl_mvm_get_lmac_id(struct iwl_mvm *mvm, enum nl80211_band band);
2039 int iwl_mvm_set_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2041 int iwl_mvm_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2043 int iwl_mvm_link_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2046 int iwl_mvm_unset_link_mapping(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2048 int iwl_mvm_remove_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2050 int iwl_mvm_disable_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2053 void iwl_mvm_select_links(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2076 void iwl_mvm_stop_ap_ibss_common(struct iwl_mvm *mvm,
2080 void iwl_mvm_bss_info_changed_station_common(struct iwl_mvm *mvm,
2084 void iwl_mvm_bss_info_changed_station_assoc(struct iwl_mvm *mvm,
2103 int (*add_aux_sta_for_hs20)(struct iwl_mvm *mvm, u32 lmac_id);
2104 int (*link)(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2114 void iwl_mvm_protect_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2118 static inline size_t iwl_mvm_quota_cmd_size(struct iwl_mvm *mvm)
2126 *iwl_mvm_quota_cmd_get_quota(struct iwl_mvm *mvm,
2139 int iwl_mvm_update_quotas(struct iwl_mvm *mvm, bool force_upload,
2143 int iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2146 size_t iwl_mvm_scan_size(struct iwl_mvm *mvm);
2147 int iwl_mvm_scan_stop(struct iwl_mvm *mvm, int type, bool notify);
2149 int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm);
2150 void iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm);
2152 int iwl_mvm_int_mlo_scan(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2153 void iwl_mvm_rx_channel_survey_notif(struct iwl_mvm *mvm,
2157 void iwl_mvm_rx_lmac_scan_complete_notif(struct iwl_mvm *mvm,
2159 void iwl_mvm_rx_lmac_scan_iter_complete_notif(struct iwl_mvm *mvm,
2161 int iwl_mvm_sched_scan_start(struct iwl_mvm *mvm,
2166 void iwl_mvm_rx_scan_match_found(struct iwl_mvm *mvm,
2170 int iwl_mvm_config_scan(struct iwl_mvm *mvm);
2171 void iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
2173 void iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm,
2178 void iwl_mvm_dbgfs_register(struct iwl_mvm *mvm);
2180 void iwl_mvm_vif_dbgfs_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2181 void iwl_mvm_vif_dbgfs_rm_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2183 static inline void iwl_mvm_dbgfs_register(struct iwl_mvm *mvm)
2187 iwl_mvm_vif_dbgfs_add_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
2191 iwl_mvm_vif_dbgfs_rm_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
2197 int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq);
2198 void iwl_mvm_update_frame_stats(struct iwl_mvm *mvm, u32 rate, bool agg);
2200 void rs_update_last_rssi(struct iwl_mvm *mvm,
2205 int iwl_mvm_power_update_device(struct iwl_mvm *mvm);
2206 int iwl_mvm_power_update_mac(struct iwl_mvm *mvm);
2207 int iwl_mvm_power_update_ps(struct iwl_mvm *mvm);
2208 int iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2211 void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2212 void iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm,
2216 int iwl_mvm_leds_init(struct iwl_mvm *mvm);
2217 void iwl_mvm_leds_exit(struct iwl_mvm *mvm);
2218 void iwl_mvm_leds_sync(struct iwl_mvm *mvm);
2220 static inline int iwl_mvm_leds_init(struct iwl_mvm *mvm)
2224 static inline void iwl_mvm_leds_exit(struct iwl_mvm *mvm)
2227 static inline void iwl_mvm_leds_sync(struct iwl_mvm *mvm)
2246 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm,
2250 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif)
2256 int iwl_mvm_send_proto_offload(struct iwl_mvm *mvm,
2264 int iwl_mvm_send_bt_init_conf(struct iwl_mvm *mvm);
2265 void iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
2267 void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2269 void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm);
2270 u16 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm,
2272 bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm,
2274 bool iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant);
2275 bool iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm);
2276 bool iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm,
2278 u8 iwl_mvm_bt_coex_get_single_ant_msk(struct iwl_mvm *mvm, u8 enabled_ants);
2279 u8 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr,
2293 int iwl_mvm_enable_beacon_filter(struct iwl_mvm *mvm,
2295 int iwl_mvm_disable_beacon_filter(struct iwl_mvm *mvm,
2298 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2303 iwl_mvm_update_smps_on_active_links(struct iwl_mvm *mvm,
2307 bool iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm,
2313 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2317 bool iwl_mvm_low_latency(struct iwl_mvm *mvm);
2318 bool iwl_mvm_low_latency_band(struct iwl_mvm *mvm, enum nl80211_band band);
2319 void iwl_mvm_send_low_latency_cmd(struct iwl_mvm *mvm, bool low_latency,
2377 static inline u32 iwl_mvm_flushable_queues(struct iwl_mvm *mvm)
2383 void iwl_mvm_stop_device(struct iwl_mvm *mvm);
2386 void iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff);
2387 void iwl_mvm_temp_notif(struct iwl_mvm *mvm,
2389 void iwl_mvm_tt_handler(struct iwl_mvm *mvm);
2390 void iwl_mvm_thermal_initialize(struct iwl_mvm *mvm, u32 min_backoff);
2391 void iwl_mvm_thermal_exit(struct iwl_mvm *mvm);
2392 void iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state);
2393 int iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp);
2394 void iwl_mvm_ct_kill_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
2395 void iwl_mvm_enter_ctkill(struct iwl_mvm *mvm);
2396 int iwl_mvm_send_temp_report_ths_cmd(struct iwl_mvm *mvm);
2397 int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 budget);
2402 void iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm);
2406 static inline void iwl_mvm_vendor_cmds_register(struct iwl_mvm *mvm) {}
2412 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2,
2414 int iwl_mvm_init_mcc(struct iwl_mvm *mvm);
2415 void iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm,
2421 struct ieee80211_regdomain *iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm,
2423 int iwl_mvm_init_fw_regd(struct iwl_mvm *mvm, bool force_regd_sync);
2424 void iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm);
2427 int iwl_mvm_sf_update(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2431 int iwl_mvm_ftm_start_responder(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2433 void iwl_mvm_ftm_restart_responder(struct iwl_mvm *mvm,
2436 void iwl_mvm_ftm_responder_stats(struct iwl_mvm *mvm,
2438 int iwl_mvm_ftm_resp_remove_pasn_sta(struct iwl_mvm *mvm,
2440 int iwl_mvm_ftm_respoder_add_pasn_sta(struct iwl_mvm *mvm,
2444 void iwl_mvm_ftm_responder_clear(struct iwl_mvm *mvm,
2448 void iwl_mvm_ftm_restart(struct iwl_mvm *mvm);
2449 void iwl_mvm_ftm_range_resp(struct iwl_mvm *mvm,
2451 void iwl_mvm_ftm_lc_notif(struct iwl_mvm *mvm,
2453 int iwl_mvm_ftm_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2455 void iwl_mvm_ftm_abort(struct iwl_mvm *mvm, struct cfg80211_pmsr_request *req);
2456 void iwl_mvm_ftm_initiator_smooth_config(struct iwl_mvm *mvm);
2457 void iwl_mvm_ftm_initiator_smooth_stop(struct iwl_mvm *mvm);
2458 int iwl_mvm_ftm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2461 void iwl_mvm_ftm_remove_pasn_sta(struct iwl_mvm *mvm, u8 *addr);
2471 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2472 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm);
2473 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2489 void iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
2492 void iwl_mvm_sync_rx_queues_internal(struct iwl_mvm *mvm,
2496 struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm);
2497 struct ieee80211_vif *iwl_mvm_get_vif_by_macid(struct iwl_mvm *mvm, u32 macid);
2498 bool iwl_mvm_is_vif_assoc(struct iwl_mvm *mvm);
2504 void iwl_mvm_recalc_tcm(struct iwl_mvm *mvm);
2505 void iwl_mvm_pause_tcm(struct iwl_mvm *mvm, bool with_cancel);
2506 void iwl_mvm_resume_tcm(struct iwl_mvm *mvm);
2507 void iwl_mvm_tcm_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2508 void iwl_mvm_tcm_rm_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2511 void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error);
2512 unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm,
2515 void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2517 void iwl_mvm_event_frame_timeout_callback(struct iwl_mvm *mvm,
2523 void iwl_mvm_ptp_init(struct iwl_mvm *mvm);
2524 void iwl_mvm_ptp_remove(struct iwl_mvm *mvm);
2525 u64 iwl_mvm_ptp_get_adj_time(struct iwl_mvm *mvm, u64 base_time);
2526 int iwl_mvm_sar_select_profile(struct iwl_mvm *mvm, int prof_a, int prof_b);
2527 int iwl_mvm_get_sar_geo_profile(struct iwl_mvm *mvm);
2528 int iwl_mvm_ppag_send_cmd(struct iwl_mvm *mvm);
2529 void iwl_mvm_get_bios_tables(struct iwl_mvm *mvm);
2542 int iwl_mvm_sec_key_add(struct iwl_mvm *mvm,
2546 int iwl_mvm_sec_key_del(struct iwl_mvm *mvm,
2550 int iwl_mvm_sec_key_del_pasn(struct iwl_mvm *mvm,
2554 void iwl_mvm_sec_key_remove_ap(struct iwl_mvm *mvm,
2558 int iwl_mvm_mld_update_sta_keys(struct iwl_mvm *mvm,
2563 int iwl_mvm_mld_send_key(struct iwl_mvm *mvm, u32 sta_mask, u32 key_flags,
2565 u32 iwl_mvm_get_sec_flags(struct iwl_mvm *mvm,
2570 bool iwl_rfi_supported(struct iwl_mvm *mvm);
2571 int iwl_rfi_send_config_cmd(struct iwl_mvm *mvm,
2573 struct iwl_rfi_freq_table_resp_cmd *iwl_rfi_get_freq_table(struct iwl_mvm *mvm);
2574 void iwl_rfi_deactivate_notif_handler(struct iwl_mvm *mvm,
2628 int (*__assign_vif_chanctx)(struct iwl_mvm *mvm,
2633 void (*__unassign_vif_chanctx)(struct iwl_mvm *mvm,
2648 static inline bool iwl_mvm_has_ultra_hb_channel(struct iwl_mvm *mvm)
2654 static inline void *iwl_mvm_chan_info_cmd_tail(struct iwl_mvm *mvm,
2662 static inline size_t iwl_mvm_chan_info_padding(struct iwl_mvm *mvm)
2669 static inline void iwl_mvm_set_chan_info(struct iwl_mvm *mvm,
2691 iwl_mvm_set_chan_info_chandef(struct iwl_mvm *mvm,
2726 struct iwl_mvm_csme_conn_info *iwl_mvm_get_csme_conn_info(struct iwl_mvm *mvm);
2727 static inline int iwl_mvm_mei_get_ownership(struct iwl_mvm *mvm)
2734 static inline void iwl_mvm_mei_tx_copy_to_csme(struct iwl_mvm *mvm,
2742 static inline void iwl_mvm_mei_host_disassociated(struct iwl_mvm *mvm)
2748 static inline void iwl_mvm_mei_device_state(struct iwl_mvm *mvm, bool up)
2754 static inline void iwl_mvm_mei_set_sw_rfkill_state(struct iwl_mvm *mvm)
2764 static inline bool iwl_mvm_mei_filter_scan(struct iwl_mvm *mvm,
2780 void iwl_mvm_send_roaming_forbidden_event(struct iwl_mvm *mvm,
2868 int iwl_mvm_pre_channel_switch(struct iwl_mvm *mvm,
2902 int iwl_mvm_set_tx_power(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2907 int iwl_mvm_update_mu_groups(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2908 bool iwl_mvm_enable_fils(struct iwl_mvm *mvm,
2910 bool iwl_mvm_is_ftm_responder_chanctx(struct iwl_mvm *mvm,
2914 iwl_mvm_chanctx_def(struct iwl_mvm *mvm, struct ieee80211_chanctx_conf *ctx)
2926 int iwl_mvm_roc_add_cmd(struct iwl_mvm *mvm,
2932 bool iwl_mvm_vif_has_esr_cap(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
2933 void iwl_mvm_block_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2936 int iwl_mvm_block_esr_sync(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2938 void iwl_mvm_unblock_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2940 void iwl_mvm_exit_esr(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
2943 s8 iwl_mvm_get_esr_rssi_thresh(struct iwl_mvm *mvm,
2946 void iwl_mvm_bt_coex_update_link_esr(struct iwl_mvm *mvm,
2950 iwl_mvm_bt_coex_calculate_esr_mode(struct iwl_mvm *mvm,
2954 int iwl_mvm_esr_non_bss_link(struct iwl_mvm *mvm, struct ieee80211_vif *vif,