Lines Matching refs:iwl_mvm
361 struct iwl_mvm *mvm;
579 struct iwl_mvm { struct
851 ((struct iwl_mvm *)(_iwl_op_mode)->op_mode_specific) argument
867 static inline bool iwl_mvm_is_radio_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_killed()
873 static inline bool iwl_mvm_is_radio_hw_killed(struct iwl_mvm *mvm) in iwl_mvm_is_radio_hw_killed()
882 iwl_mvm_sta_from_staid_rcu(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_rcu()
899 iwl_mvm_sta_from_staid_protected(struct iwl_mvm *mvm, u8 sta_id) in iwl_mvm_sta_from_staid_protected()
916 static inline bool iwl_mvm_is_d0i3_supported(struct iwl_mvm *mvm) in iwl_mvm_is_d0i3_supported()
924 static inline bool iwl_mvm_is_lar_supported(struct iwl_mvm *mvm) in iwl_mvm_is_lar_supported()
943 static inline bool iwl_mvm_is_wifi_mcc_supported(struct iwl_mvm *mvm) in iwl_mvm_is_wifi_mcc_supported()
949 static inline bool iwl_mvm_is_scd_cfg_supported(struct iwl_mvm *mvm) in iwl_mvm_is_scd_cfg_supported()
954 static inline bool iwl_mvm_bt_is_plcr_supported(struct iwl_mvm *mvm) in iwl_mvm_bt_is_plcr_supported()
960 static inline bool iwl_mvm_bt_is_rrc_supported(struct iwl_mvm *mvm) in iwl_mvm_bt_is_rrc_supported()
976 void __iwl_mvm_mac_stop(struct iwl_mvm *mvm);
977 int __iwl_mvm_mac_start(struct iwl_mvm *mvm);
983 int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm);
992 void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm);
994 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx);
997 int __must_check iwl_mvm_send_cmd(struct iwl_mvm *mvm,
999 int __must_check iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u8 id,
1001 int __must_check iwl_mvm_send_cmd_status(struct iwl_mvm *mvm,
1004 int __must_check iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u8 id,
1007 int iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb,
1009 int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb);
1010 void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb,
1013 void iwl_mvm_set_tx_cmd_crypto(struct iwl_mvm *mvm,
1017 void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd,
1025 int iwl_mvm_flush_tx_path(struct iwl_mvm *mvm, u32 tfd_msk, bool sync);
1026 void iwl_mvm_async_handlers_purge(struct iwl_mvm *mvm);
1028 static inline void iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm) in iwl_mvm_wait_for_async_handlers()
1034 void iwl_mvm_handle_rx_statistics(struct iwl_mvm *mvm,
1036 int iwl_mvm_rx_statistics(struct iwl_mvm *mvm,
1039 int iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear);
1040 void iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm);
1043 int iwl_nvm_init(struct iwl_mvm *mvm, bool read_nvm_from_nic);
1044 int iwl_mvm_load_nvm_to_nic(struct iwl_mvm *mvm);
1046 static inline u8 iwl_mvm_get_valid_tx_ant(struct iwl_mvm *mvm) in iwl_mvm_get_valid_tx_ant()
1053 static inline u8 iwl_mvm_get_valid_rx_ant(struct iwl_mvm *mvm) in iwl_mvm_get_valid_rx_ant()
1060 static inline u32 iwl_mvm_get_phy_config(struct iwl_mvm *mvm) in iwl_mvm_get_phy_config()
1073 int iwl_mvm_up(struct iwl_mvm *mvm);
1074 int iwl_mvm_load_d3_fw(struct iwl_mvm *mvm);
1076 int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm);
1077 bool iwl_mvm_bcast_filter_build_cmd(struct iwl_mvm *mvm,
1084 int iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1086 int iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1088 int iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1090 int iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1092 int iwl_mvm_rx_radio_ver(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1094 int iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm,
1097 int iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1099 int iwl_mvm_rx_card_state_notif(struct iwl_mvm *mvm,
1102 int iwl_mvm_rx_radio_ver(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1104 int iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1106 int iwl_mvm_rx_shared_mem_cfg_notif(struct iwl_mvm *mvm,
1111 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1114 int iwl_mvm_phy_ctxt_changed(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
1117 void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm,
1119 void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm,
1121 int iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm);
1126 int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1127 void iwl_mvm_mac_ctxt_release(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1128 int iwl_mvm_mac_ctxt_add(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1129 int iwl_mvm_mac_ctxt_changed(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1131 int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1133 int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
1135 int iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
1138 int iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,
1141 void iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm *mvm,
1143 unsigned long iwl_mvm_get_used_hw_queues(struct iwl_mvm *mvm,
1147 int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1148 int iwl_mvm_binding_remove_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1151 int iwl_mvm_update_quotas(struct iwl_mvm *mvm, bool force_upload,
1155 int iwl_mvm_scan_size(struct iwl_mvm *mvm);
1156 int iwl_mvm_cancel_scan(struct iwl_mvm *mvm);
1157 int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm, bool is_sched_scan);
1158 void iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm);
1161 int iwl_mvm_rx_scan_offload_complete_notif(struct iwl_mvm *mvm,
1164 int iwl_mvm_rx_scan_offload_iter_complete_notif(struct iwl_mvm *mvm,
1167 int iwl_mvm_config_sched_scan_profiles(struct iwl_mvm *mvm,
1169 int iwl_mvm_scan_offload_start(struct iwl_mvm *mvm,
1173 int iwl_mvm_scan_offload_stop(struct iwl_mvm *mvm, bool notify);
1174 int iwl_mvm_rx_scan_offload_results(struct iwl_mvm *mvm,
1179 int iwl_mvm_unified_scan_lmac(struct iwl_mvm *mvm,
1182 int iwl_mvm_unified_sched_scan_lmac(struct iwl_mvm *mvm,
1188 int iwl_mvm_config_scan(struct iwl_mvm *mvm);
1189 int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1191 int iwl_mvm_sched_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1194 int iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
1200 int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir);
1201 void iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1202 void iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1204 static inline int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, in iwl_mvm_dbgfs_register()
1210 iwl_mvm_vif_dbgfs_register(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_register()
1214 iwl_mvm_vif_dbgfs_clean(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_vif_dbgfs_clean()
1220 int iwl_mvm_send_lq_cmd(struct iwl_mvm *mvm, struct iwl_lq_cmd *lq, bool init);
1221 void iwl_mvm_update_frame_stats(struct iwl_mvm *mvm, u32 rate, bool agg);
1223 void rs_update_last_rssi(struct iwl_mvm *mvm,
1228 int iwl_mvm_power_update_device(struct iwl_mvm *mvm);
1229 int iwl_mvm_power_update_mac(struct iwl_mvm *mvm);
1230 int iwl_mvm_power_update_ps(struct iwl_mvm *mvm);
1231 int iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1234 void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1235 int iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm,
1240 int iwl_mvm_leds_init(struct iwl_mvm *mvm);
1241 void iwl_mvm_leds_exit(struct iwl_mvm *mvm);
1243 static inline int iwl_mvm_leds_init(struct iwl_mvm *mvm) in iwl_mvm_leds_init()
1247 static inline void iwl_mvm_leds_exit(struct iwl_mvm *mvm) in iwl_mvm_leds_exit()
1266 void iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm,
1270 iwl_mvm_set_last_nonqos_seq(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_set_last_nonqos_seq()
1276 int iwl_mvm_send_proto_offload(struct iwl_mvm *mvm,
1282 void iwl_mvm_ref(struct iwl_mvm *mvm, enum iwl_mvm_ref_type ref_type);
1283 void iwl_mvm_unref(struct iwl_mvm *mvm, enum iwl_mvm_ref_type ref_type);
1284 int iwl_mvm_ref_sync(struct iwl_mvm *mvm, enum iwl_mvm_ref_type ref_type);
1285 bool iwl_mvm_ref_taken(struct iwl_mvm *mvm);
1286 void iwl_mvm_d0i3_enable_tx(struct iwl_mvm *mvm, __le16 *qos_seq);
1289 int _iwl_mvm_exit_d0i3(struct iwl_mvm *mvm);
1292 int iwl_send_bt_init_conf(struct iwl_mvm *mvm);
1293 int iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
1296 void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1298 void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm);
1299 u16 iwl_mvm_coex_agg_time_limit(struct iwl_mvm *mvm,
1301 bool iwl_mvm_bt_coex_is_mimo_allowed(struct iwl_mvm *mvm,
1303 bool iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant);
1304 bool iwl_mvm_bt_coex_is_shared_ant_avail(struct iwl_mvm *mvm);
1305 bool iwl_mvm_bt_coex_is_tpc_allowed(struct iwl_mvm *mvm,
1307 u8 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr,
1310 bool iwl_mvm_bt_coex_is_shared_ant_avail_old(struct iwl_mvm *mvm);
1311 void iwl_mvm_bt_coex_vif_change_old(struct iwl_mvm *mvm);
1312 int iwl_send_bt_init_conf_old(struct iwl_mvm *mvm);
1313 int iwl_mvm_rx_bt_coex_notif_old(struct iwl_mvm *mvm,
1316 void iwl_mvm_bt_rssi_event_old(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1318 u16 iwl_mvm_coex_agg_time_limit_old(struct iwl_mvm *mvm,
1320 bool iwl_mvm_bt_coex_is_mimo_allowed_old(struct iwl_mvm *mvm,
1322 bool iwl_mvm_bt_coex_is_tpc_allowed_old(struct iwl_mvm *mvm,
1324 int iwl_mvm_rx_ant_coupling_notif_old(struct iwl_mvm *mvm,
1339 int iwl_mvm_update_d0i3_power_mode(struct iwl_mvm *mvm,
1342 int iwl_mvm_enable_beacon_filter(struct iwl_mvm *mvm,
1345 int iwl_mvm_disable_beacon_filter(struct iwl_mvm *mvm,
1349 void iwl_mvm_update_smps(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1352 bool iwl_mvm_rx_diversity_allowed(struct iwl_mvm *mvm);
1355 int iwl_mvm_update_low_latency(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1358 bool iwl_mvm_low_latency(struct iwl_mvm *mvm);
1377 void iwl_mvm_enable_txq(struct iwl_mvm *mvm, int queue, u16 ssn,
1380 void iwl_mvm_disable_txq(struct iwl_mvm *mvm, int queue, u8 flags);
1383 void iwl_mvm_enable_ac_txq(struct iwl_mvm *mvm, int queue, in iwl_mvm_enable_ac_txq()
1396 static inline void iwl_mvm_enable_agg_txq(struct iwl_mvm *mvm, int queue, in iwl_mvm_enable_agg_txq()
1413 void iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff);
1414 void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp);
1415 int iwl_mvm_temp_notif(struct iwl_mvm *mvm,
1418 void iwl_mvm_tt_handler(struct iwl_mvm *mvm);
1419 void iwl_mvm_tt_initialize(struct iwl_mvm *mvm, u32 min_backoff);
1420 void iwl_mvm_tt_exit(struct iwl_mvm *mvm);
1421 void iwl_mvm_set_hw_ctkill_state(struct iwl_mvm *mvm, bool state);
1422 int iwl_mvm_get_temp(struct iwl_mvm *mvm);
1426 iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2,
1428 int iwl_mvm_init_mcc(struct iwl_mvm *mvm);
1429 int iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm,
1436 struct ieee80211_regdomain *iwl_mvm_get_current_regdomain(struct iwl_mvm *mvm,
1438 int iwl_mvm_init_fw_regd(struct iwl_mvm *mvm);
1439 void iwl_mvm_update_changed_regdom(struct iwl_mvm *mvm);
1442 int iwl_mvm_sf_update(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1453 int iwl_mvm_tdls_sta_count(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
1454 void iwl_mvm_teardown_tdls_peers(struct iwl_mvm *mvm);
1455 void iwl_mvm_recalc_tdls_state(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1470 int iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
1474 struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm);
1476 void iwl_mvm_nic_restart(struct iwl_mvm *mvm, bool fw_error);
1477 void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm);
1479 int iwl_mvm_start_fw_dbg_conf(struct iwl_mvm *mvm, u8 id);
1480 int iwl_mvm_fw_dbg_collect(struct iwl_mvm *mvm, enum iwl_fw_dbg_trigger trig,
1482 int iwl_mvm_fw_dbg_collect_desc(struct iwl_mvm *mvm,
1485 void iwl_mvm_free_fw_dump_desc(struct iwl_mvm *mvm);
1486 int iwl_mvm_fw_dbg_collect_trig(struct iwl_mvm *mvm,
1489 unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm,
1492 void iwl_mvm_connection_loss(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
1504 iwl_fw_dbg_trigger_stop_conf_match(struct iwl_mvm *mvm, in iwl_fw_dbg_trigger_stop_conf_match()
1513 iwl_fw_dbg_trigger_check_stop(struct iwl_mvm *mvm, in iwl_fw_dbg_trigger_check_stop()
1524 iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm, in iwl_fw_dbg_trigger_simple_stop()