|
@@ -1012,9 +1012,8 @@ static inline void iwl_mvm_wait_for_async_handlers(struct iwl_mvm *mvm)
|
|
|
/* Statistics */
|
|
|
void iwl_mvm_handle_rx_statistics(struct iwl_mvm *mvm,
|
|
|
struct iwl_rx_packet *pkt);
|
|
|
-int iwl_mvm_rx_statistics(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_statistics(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
int iwl_mvm_request_statistics(struct iwl_mvm *mvm, bool clear);
|
|
|
void iwl_mvm_accu_radio_stats(struct iwl_mvm *mvm);
|
|
|
|
|
@@ -1060,27 +1059,19 @@ bool iwl_mvm_bcast_filter_build_cmd(struct iwl_mvm *mvm,
|
|
|
* FW notifications / CMD responses handlers
|
|
|
* Convention: iwl_mvm_rx_<NAME OF THE CMD>
|
|
|
*/
|
|
|
-int iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_card_state_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_shared_mem_cfg_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_rx_mpdu(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_fw_error(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_card_state_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_mfuart_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_shared_mem_cfg_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
|
|
|
/* MVM PHY */
|
|
|
int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt,
|
|
@@ -1107,12 +1098,10 @@ int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
|
|
|
u32 iwl_mvm_mac_get_queues_mask(struct ieee80211_vif *vif);
|
|
|
int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
|
|
|
struct ieee80211_vif *vif);
|
|
|
-int iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_beacon_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_missed_beacons_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
void iwl_mvm_mac_ctxt_recalc_tsf_id(struct iwl_mvm *mvm,
|
|
|
struct ieee80211_vif *vif);
|
|
|
unsigned long iwl_mvm_get_used_hw_queues(struct iwl_mvm *mvm,
|
|
@@ -1136,29 +1125,24 @@ int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm);
|
|
|
void iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm);
|
|
|
|
|
|
/* Scheduled scan */
|
|
|
-int iwl_mvm_rx_lmac_scan_complete_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_lmac_scan_iter_complete_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_lmac_scan_complete_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_lmac_scan_iter_complete_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
int iwl_mvm_sched_scan_start(struct iwl_mvm *mvm,
|
|
|
struct ieee80211_vif *vif,
|
|
|
struct cfg80211_sched_scan_request *req,
|
|
|
struct ieee80211_scan_ies *ies,
|
|
|
int type);
|
|
|
-int iwl_mvm_rx_scan_match_found(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_scan_match_found(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
|
|
|
/* UMAC scan */
|
|
|
int iwl_mvm_config_scan(struct iwl_mvm *mvm);
|
|
|
-int iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
-int iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_umac_scan_complete_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
+void iwl_mvm_rx_umac_scan_iter_complete_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
|
|
|
/* MVM debugfs */
|
|
|
#ifdef CONFIG_IWLWIFI_DEBUGFS
|
|
@@ -1197,9 +1181,8 @@ int iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
|
|
|
char *buf, int bufsz);
|
|
|
|
|
|
void iwl_mvm_power_vif_assoc(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
|
|
|
-int iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
|
|
|
#ifdef CONFIG_IWLWIFI_LEDS
|
|
|
int iwl_mvm_leds_init(struct iwl_mvm *mvm);
|
|
@@ -1255,9 +1238,8 @@ int _iwl_mvm_exit_d0i3(struct iwl_mvm *mvm);
|
|
|
|
|
|
/* BT Coex */
|
|
|
int iwl_send_bt_init_conf(struct iwl_mvm *mvm);
|
|
|
-int iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_bt_coex_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
void iwl_mvm_bt_rssi_event(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
|
|
|
enum ieee80211_rssi_event_data);
|
|
|
void iwl_mvm_bt_coex_vif_change(struct iwl_mvm *mvm);
|
|
@@ -1275,9 +1257,8 @@ u8 iwl_mvm_bt_coex_tx_prio(struct iwl_mvm *mvm, struct ieee80211_hdr *hdr,
|
|
|
bool iwl_mvm_bt_coex_is_shared_ant_avail_old(struct iwl_mvm *mvm);
|
|
|
void iwl_mvm_bt_coex_vif_change_old(struct iwl_mvm *mvm);
|
|
|
int iwl_send_bt_init_conf_old(struct iwl_mvm *mvm);
|
|
|
-int iwl_mvm_rx_bt_coex_notif_old(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_bt_coex_notif_old(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
void iwl_mvm_bt_rssi_event_old(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
|
|
|
enum ieee80211_rssi_event_data);
|
|
|
u16 iwl_mvm_coex_agg_time_limit_old(struct iwl_mvm *mvm,
|
|
@@ -1286,9 +1267,8 @@ bool iwl_mvm_bt_coex_is_mimo_allowed_old(struct iwl_mvm *mvm,
|
|
|
struct ieee80211_sta *sta);
|
|
|
bool iwl_mvm_bt_coex_is_tpc_allowed_old(struct iwl_mvm *mvm,
|
|
|
enum ieee80211_band band);
|
|
|
-int iwl_mvm_rx_ant_coupling_notif_old(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_ant_coupling_notif_old(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
|
|
|
/* beacon filtering */
|
|
|
#ifdef CONFIG_IWLWIFI_DEBUGFS
|
|
@@ -1377,9 +1357,8 @@ static inline void iwl_mvm_enable_agg_txq(struct iwl_mvm *mvm, int queue,
|
|
|
/* Thermal management and CT-kill */
|
|
|
void iwl_mvm_tt_tx_backoff(struct iwl_mvm *mvm, u32 backoff);
|
|
|
void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp);
|
|
|
-int iwl_mvm_temp_notif(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_temp_notif(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
void iwl_mvm_tt_handler(struct iwl_mvm *mvm);
|
|
|
void iwl_mvm_tt_initialize(struct iwl_mvm *mvm, u32 min_backoff);
|
|
|
void iwl_mvm_tt_exit(struct iwl_mvm *mvm);
|
|
@@ -1391,9 +1370,8 @@ struct iwl_mcc_update_resp *
|
|
|
iwl_mvm_update_mcc(struct iwl_mvm *mvm, const char *alpha2,
|
|
|
enum iwl_mcc_source src_id);
|
|
|
int iwl_mvm_init_mcc(struct iwl_mvm *mvm);
|
|
|
-int iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm,
|
|
|
- struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_chub_update_mcc(struct iwl_mvm *mvm,
|
|
|
+ struct iwl_rx_cmd_buffer *rxb);
|
|
|
struct ieee80211_regdomain *iwl_mvm_get_regdomain(struct wiphy *wiphy,
|
|
|
const char *alpha2,
|
|
|
enum iwl_mcc_source src_id,
|
|
@@ -1432,8 +1410,7 @@ void iwl_mvm_tdls_recv_channel_switch(struct ieee80211_hw *hw,
|
|
|
void iwl_mvm_tdls_cancel_channel_switch(struct ieee80211_hw *hw,
|
|
|
struct ieee80211_vif *vif,
|
|
|
struct ieee80211_sta *sta);
|
|
|
-int iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
|
|
|
- struct iwl_device_cmd *cmd);
|
|
|
+void iwl_mvm_rx_tdls_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
|
|
|
void iwl_mvm_tdls_ch_switch_work(struct work_struct *work);
|
|
|
|
|
|
struct ieee80211_vif *iwl_mvm_get_bss_vif(struct iwl_mvm *mvm);
|