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