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