xref: /freebsd/sys/contrib/dev/iwlwifi/mld/nan.h (revision b2bd08185e4984c70179c195f712cef5a136d21b)
1*b2bd0818SBjoern A. Zeeb /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2*b2bd0818SBjoern A. Zeeb /*
3*b2bd0818SBjoern A. Zeeb  * Copyright (C) 2025 Intel Corporation
4*b2bd0818SBjoern A. Zeeb  */
5*b2bd0818SBjoern A. Zeeb 
6*b2bd0818SBjoern A. Zeeb #include <net/cfg80211.h>
7*b2bd0818SBjoern A. Zeeb #include <linux/etherdevice.h>
8*b2bd0818SBjoern A. Zeeb 
9*b2bd0818SBjoern A. Zeeb bool iwl_mld_nan_supported(struct iwl_mld *mld);
10*b2bd0818SBjoern A. Zeeb int iwl_mld_start_nan(struct ieee80211_hw *hw,
11*b2bd0818SBjoern A. Zeeb 		      struct ieee80211_vif *vif,
12*b2bd0818SBjoern A. Zeeb 		      struct cfg80211_nan_conf *conf);
13*b2bd0818SBjoern A. Zeeb int iwl_mld_nan_change_config(struct ieee80211_hw *hw,
14*b2bd0818SBjoern A. Zeeb 			      struct ieee80211_vif *vif,
15*b2bd0818SBjoern A. Zeeb 			      struct cfg80211_nan_conf *conf,
16*b2bd0818SBjoern A. Zeeb 			      u32 changes);
17*b2bd0818SBjoern A. Zeeb int iwl_mld_stop_nan(struct ieee80211_hw *hw,
18*b2bd0818SBjoern A. Zeeb 		     struct ieee80211_vif *vif);
19*b2bd0818SBjoern A. Zeeb void iwl_mld_handle_nan_cluster_notif(struct iwl_mld *mld,
20*b2bd0818SBjoern A. Zeeb 				      struct iwl_rx_packet *pkt);
21*b2bd0818SBjoern A. Zeeb void iwl_mld_handle_nan_dw_end_notif(struct iwl_mld *mld,
22*b2bd0818SBjoern A. Zeeb 				     struct iwl_rx_packet *pkt);
23*b2bd0818SBjoern A. Zeeb bool iwl_mld_cancel_nan_cluster_notif(struct iwl_mld *mld,
24*b2bd0818SBjoern A. Zeeb 				      struct iwl_rx_packet *pkt,
25*b2bd0818SBjoern A. Zeeb 				      u32 obj_id);
26*b2bd0818SBjoern A. Zeeb bool iwl_mld_cancel_nan_dw_end_notif(struct iwl_mld *mld,
27*b2bd0818SBjoern A. Zeeb 				     struct iwl_rx_packet *pkt,
28*b2bd0818SBjoern A. Zeeb 				     u32 obj_id);
29