xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/phydm/phydm_direct_bf.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 
26 #ifndef __PHYDM_DIR_BF_H__
27 #define __PHYDM_DIR_BF_H__
28 
29 #ifdef CONFIG_DIRECTIONAL_BF
30 #define ANGLE_NUM	12
31 
32 /*@
33  * ============================================================
34  * function prototype
35  * ============================================================
36  */
37 void phydm_iq_gen_en(void *dm_void);
38 void phydm_dis_cdd(void *dm_void);
39 void phydm_pathb_q_matrix_rotate_en(void *dm_void);
40 void phydm_pathb_q_matrix_rotate(void *dm_void, u16 idx);
41 void phydm_set_direct_bfer(void *dm_void, u16 phs_idx, u8 su_idx);
42 void phydm_set_direct_bfer_txdesc_en(void *dm_void, u8 enable);
43 #endif
44 #endif
45