Linux-libre 4.14.68-gnu
[librecmc/linux-libre.git] / drivers / staging / rtlwifi / phydm / txbf / halcomtxbf.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2016  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_COM_TXBF_H__
26 #define __HAL_COM_TXBF_H__
27
28 enum txbf_set_type {
29         TXBF_SET_SOUNDING_ENTER,
30         TXBF_SET_SOUNDING_LEAVE,
31         TXBF_SET_SOUNDING_RATE,
32         TXBF_SET_SOUNDING_STATUS,
33         TXBF_SET_SOUNDING_FW_NDPA,
34         TXBF_SET_SOUNDING_CLK,
35         TXBF_SET_TX_PATH_RESET,
36         TXBF_SET_GET_TX_RATE
37 };
38
39 enum txbf_get_type {
40         TXBF_GET_EXPLICIT_BEAMFORMEE,
41         TXBF_GET_EXPLICIT_BEAMFORMER,
42         TXBF_GET_MU_MIMO_STA,
43         TXBF_GET_MU_MIMO_AP
44 };
45
46 /* 2 HAL TXBF related */
47 struct _HAL_TXBF_INFO {
48         u8 txbf_idx;
49         u8 ndpa_idx;
50         u8 BW;
51         u8 rate;
52
53         struct timer_list txbf_fw_ndpa_timer;
54 };
55
56 #define hal_com_txbf_beamform_init(dm_void) NULL
57 #define hal_com_txbf_config_gtab(dm_void) NULL
58 #define hal_com_txbf_enter_work_item_callback(_adapter) NULL
59 #define hal_com_txbf_leave_work_item_callback(_adapter) NULL
60 #define hal_com_txbf_fw_ndpa_work_item_callback(_adapter) NULL
61 #define hal_com_txbf_clk_work_item_callback(_adapter) NULL
62 #define hal_com_txbf_rate_work_item_callback(_adapter) NULL
63 #define hal_com_txbf_fw_ndpa_timer_callback(_adapter) NULL
64 #define hal_com_txbf_status_work_item_callback(_adapter) NULL
65 #define hal_com_txbf_get(_adapter, _get_type, _pout_buf)
66
67 #endif /*  #ifndef __HAL_COM_TXBF_H__ */