Path: blob/main/sys/contrib/dev/iwlwifi/mld/ftm-initiator.h
48286 views
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */1/*2* Copyright (C) 2025 Intel Corporation3*/4#ifndef __iwl_mld_ftm_initiator_h__5#define __iwl_mld_ftm_initiator_h__67/**8* struct ftm_initiator_data - FTM initiator data9*10* @req: a pointer to cfg80211 FTM request11* @req_wdev: a pointer to the wdev that requested the current FTM request12* @responses: the number of responses received for the current FTM session.13* Used for tracking the burst index in a periodic request.14*/15struct ftm_initiator_data {16struct cfg80211_pmsr_request *req;17struct wireless_dev *req_wdev;18int responses[IWL_TOF_MAX_APS];19};2021int iwl_mld_ftm_start(struct iwl_mld *mld, struct ieee80211_vif *vif,22struct cfg80211_pmsr_request *req);2324void iwl_mld_handle_ftm_resp_notif(struct iwl_mld *mld,25struct iwl_rx_packet *pkt);26void iwl_mld_ftm_restart_cleanup(struct iwl_mld *mld);2728#endif /* __iwl_mld_ftm_initiator_h__ */293031