xref: /freebsd/sys/contrib/dev/athk/ath12k/p2p.h (revision a96550206e4bde15bf615ff2127b80404a7ec41f)
1*a9655020SBjoern A. Zeeb /* SPDX-License-Identifier: BSD-3-Clause-Clear */
2*a9655020SBjoern A. Zeeb /*
3*a9655020SBjoern A. Zeeb  * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved..
4*a9655020SBjoern A. Zeeb  */
5*a9655020SBjoern A. Zeeb 
6*a9655020SBjoern A. Zeeb #ifndef ATH12K_P2P_H
7*a9655020SBjoern A. Zeeb #define ATH12K_P2P_H
8*a9655020SBjoern A. Zeeb 
9*a9655020SBjoern A. Zeeb #include "wmi.h"
10*a9655020SBjoern A. Zeeb 
11*a9655020SBjoern A. Zeeb struct ath12k_wmi_p2p_noa_info;
12*a9655020SBjoern A. Zeeb 
13*a9655020SBjoern A. Zeeb struct ath12k_p2p_noa_arg {
14*a9655020SBjoern A. Zeeb 	u32 vdev_id;
15*a9655020SBjoern A. Zeeb 	struct ath12k *ar;
16*a9655020SBjoern A. Zeeb 	const struct ath12k_wmi_p2p_noa_info *noa;
17*a9655020SBjoern A. Zeeb };
18*a9655020SBjoern A. Zeeb 
19*a9655020SBjoern A. Zeeb void ath12k_p2p_noa_update(struct ath12k_link_vif *arvif,
20*a9655020SBjoern A. Zeeb 			   const struct ath12k_wmi_p2p_noa_info *noa);
21*a9655020SBjoern A. Zeeb void ath12k_p2p_noa_update_by_vdev_id(struct ath12k *ar, u32 vdev_id,
22*a9655020SBjoern A. Zeeb 				      const struct ath12k_wmi_p2p_noa_info *noa);
23*a9655020SBjoern A. Zeeb 
24*a9655020SBjoern A. Zeeb #endif
25