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