xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/rtw_beamforming.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2019 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  *****************************************************************************/
15 #ifndef __RTW_BEAMFORMING_H_
16 #define __RTW_BEAMFORMING_H_
17 
18 #ifdef CONFIG_BEAMFORMING
19 
20 #define	BEAMFORMING_HT_BEAMFORMER_ENABLE	BIT(0)	/*Declare sta support beamformer*/
21 #define	BEAMFORMING_HT_BEAMFORMEE_ENABLE	BIT(1)	/*Declare sta support beamformee*/
22 #define	BEAMFORMING_HT_BEAMFORMER_TEST		BIT(2)	/*Transmiting Beamforming no matter the target supports it or not*/
23 #define	BEAMFORMING_HT_BEAMFORMER_STEER_NUM		(BIT(4)|BIT(5))		/*Sta Bfer's capability*/
24 #define	BEAMFORMING_HT_BEAMFORMEE_CHNL_EST_CAP	(BIT(6)|BIT(7))		/*Sta BFee's capability*/
25 
26 #define	BEAMFORMING_VHT_BEAMFORMER_ENABLE	BIT(0)	/*Declare sta support beamformer*/
27 #define	BEAMFORMING_VHT_BEAMFORMEE_ENABLE	BIT(1)	/*Declare sta support beamformee*/
28 #define	BEAMFORMING_VHT_MU_MIMO_AP_ENABLE	BIT(2)	/*Declare sta support MU beamformer*/
29 #define	BEAMFORMING_VHT_MU_MIMO_STA_ENABLE	BIT(3)	/*Declare sta support MU beamformer*/
30 #define	BEAMFORMING_VHT_BEAMFORMER_TEST		BIT(4)	/*Transmiting Beamforming no matter the target supports it or not*/
31 #define	BEAMFORMING_VHT_BEAMFORMER_STS_CAP		(BIT(8)|BIT(9)|BIT(10))		/*Sta BFee's capability*/
32 #define	BEAMFORMING_VHT_BEAMFORMEE_SOUND_DIM	(BIT(12)|BIT(13)|BIT(14))	/*Sta Bfer's capability*/
33 
34 #define BEAMFORMING_HE_BEAMFORMER_ENABLE        BIT(0)  /*Declare sta support beamformer*/
35 #define BEAMFORMING_HE_BEAMFORMEE_ENABLE        BIT(1)  /*Declare sta support beamformee*/
36 #define BEAMFORMING_HE_MU_MIMO_AP_ENABLE        BIT(2)  /*Declare sta support MU beamformer*/
37 #define BEAMFORMING_HE_MU_MIMO_STA_ENABLE       BIT(3)  /*Declare sta support MU beamformer*/
38 #define BEAMFORMING_HE_BEAMFORMER_TEST          BIT(4)  /*Transmiting Beamforming no matter the target supports it or not*/
39 #define BEAMFORMING_HE_BEAMFORMER_STS_CAP               (BIT(8)|BIT(9)|BIT(10))         /*Sta BFee's capability*/
40 #define BEAMFORMING_HE_BEAMFORMEE_SOUND_DIM     (BIT(12)|BIT(13)|BIT(14))       /*Sta Bfer's capability*/
41 
42 void rtw_core_bf_watchdog(_adapter *padapter);
43 
44 #endif
45 #endif /*__RTW_BEAMFORMING_H_*/
46