xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/txbf/haltxbfjaguar.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2017  Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  *
22  * Larry Finger <Larry.Finger@lwfinger.net>
23  *
24  *****************************************************************************/
25 #ifndef __HAL_TXBF_JAGUAR_H__
26 #define __HAL_TXBF_JAGUAR_H__
27 #if ((RTL8812A_SUPPORT == 1) || (RTL8821A_SUPPORT == 1))
28 #ifdef PHYDM_BEAMFORMING_SUPPORT
29 
30 void hal_txbf_8812a_set_ndpa_rate(
31 	void *dm_void,
32 	u8 BW,
33 	u8 rate);
34 
35 void hal_txbf_jaguar_enter(
36 	void *dm_void,
37 	u8 idx);
38 
39 void hal_txbf_jaguar_leave(
40 	void *dm_void,
41 	u8 idx);
42 
43 void hal_txbf_jaguar_status(
44 	void *dm_void,
45 	u8 idx);
46 
47 void hal_txbf_jaguar_fw_txbf(
48 	void *dm_void,
49 	u8 idx);
50 
51 void hal_txbf_jaguar_patch(
52 	void *dm_void,
53 	u8 operation);
54 
55 void hal_txbf_jaguar_clk_8812a(
56 	void *dm_void);
57 #else
58 
59 #define hal_txbf_8812a_set_ndpa_rate(dm_void, BW, rate)
60 #define hal_txbf_jaguar_enter(dm_void, idx)
61 #define hal_txbf_jaguar_leave(dm_void, idx)
62 #define hal_txbf_jaguar_status(dm_void, idx)
63 #define hal_txbf_jaguar_fw_txbf(dm_void, idx)
64 #define hal_txbf_jaguar_patch(dm_void, operation)
65 #define hal_txbf_jaguar_clk_8812a(dm_void)
66 #endif
67 #else
68 
69 #define hal_txbf_8812a_set_ndpa_rate(dm_void, BW, rate)
70 #define hal_txbf_jaguar_enter(dm_void, idx)
71 #define hal_txbf_jaguar_leave(dm_void, idx)
72 #define hal_txbf_jaguar_status(dm_void, idx)
73 #define hal_txbf_jaguar_fw_txbf(dm_void, idx)
74 #define hal_txbf_jaguar_patch(dm_void, operation)
75 #define hal_txbf_jaguar_clk_8812a(dm_void)
76 #endif
77 
78 #endif /*  @#ifndef __HAL_TXBF_JAGUAR_H__ */
79