summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mld/notif.h
blob: 2eaa1d4e138ee08b435b8343f8e99697abb85478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/*
 * Copyright (C) 2024-2025 Intel Corporation
 */
#ifndef __iwl_mld_notif_h__
#define __iwl_mld_notif_h__

struct iwl_mld;

void iwl_mld_rx(struct iwl_op_mode *op_mode, struct napi_struct *napi,
		struct iwl_rx_cmd_buffer *rxb);

void iwl_mld_rx_rss(struct iwl_op_mode *op_mode, struct napi_struct *napi,
		    struct iwl_rx_cmd_buffer *rxb, unsigned int queue);

void iwl_mld_async_handlers_wk(struct wiphy *wiphy, struct wiphy_work *wk);

void iwl_mld_purge_async_handlers_list(struct iwl_mld *mld);

enum iwl_mld_object_type {
	IWL_MLD_OBJECT_TYPE_NONE,
	IWL_MLD_OBJECT_TYPE_LINK,
	IWL_MLD_OBJECT_TYPE_STA,
	IWL_MLD_OBJECT_TYPE_VIF,
	IWL_MLD_OBJECT_TYPE_ROC,
	IWL_MLD_OBJECT_TYPE_SCAN,
	IWL_MLD_OBJECT_TYPE_FTM_REQ,
};

void iwl_mld_cancel_notifications_of_object(struct iwl_mld *mld,
					    enum iwl_mld_object_type obj_type,
					    u32 obj_id);
void iwl_mld_delete_handlers(struct iwl_mld *mld, const u16 *cmds, int n_cmds);

#endif /* __iwl_mld_notif_h__ */