xref: /wlan-dirver/qca-wifi-host-cmn/target_if/cfr/inc/target_if_cfr_6490.h (revision 2f4b444fb7e689b83a4ab0e7b3b38f0bf4def8e0)
1 /*
2  * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for
5  * any purpose with or without fee is hereby granted, provided that the
6  * above copyright notice and this permission notice appear in all
7  * copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16  * PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 /**
20  * DOC : target_if_cfr_6490.h
21  *
22  * Target interface of CFR for QCA6490 implementation
23  *
24  */
25 
26 #ifndef _TARGET_IF_CFR_6490_H
27 #define _TARGET_IF_CFR_6490_H
28 
29 #if defined(QCA_WIFI_QCA6490) || defined(QCA_WIFI_WCN7850)
30 #define CFR_MAC_ID_24G 1
31 #define CFR_MAC_ID_5G  0
32 #endif /* QCA_WIFI_QCA6490 */
33 
34 /**
35  * target_if_cfr_subscribe_ppdu_desc() - subscribe ppdu description
36  * for CFR component
37  *
38  * @pdev: pointer to pdev object
39  * @is_subscribe: subscribe or unsubscribe
40  *
41  * Return: QDF_STATUS
42  */
43 QDF_STATUS
44 target_if_cfr_subscribe_ppdu_desc(struct wlan_objmgr_pdev *pdev,
45 				  bool is_subscribe);
46 
47 #endif /* _TARGET_IF_CFR_6490_H */
48