GNU Linux-libre 4.19.286-gnu1
[releases.git] / drivers / staging / rtlwifi / phydm / txbf / phydm_hal_txbf_api.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2016  Realtek Corporation.
5  *
6  * Contact Information:
7  * wlanfae <wlanfae@realtek.com>
8  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
9  * Hsinchu 300, Taiwan.
10  *
11  * Larry Finger <Larry.Finger@lwfinger.net>
12  *
13  *****************************************************************************/
14 #ifndef __PHYDM_HAL_TXBF_API_H__
15 #define __PHYDM_HAL_TXBF_API_H__
16
17 #define tx_bf_nr(a, b) ((a > b) ? (b) : (a))
18
19 u8 beamforming_get_htndp_tx_rate(void *dm_void, u8 comp_steering_num_of_bfer);
20
21 u8 beamforming_get_vht_ndp_tx_rate(void *dm_void, u8 comp_steering_num_of_bfer);
22
23 u8 phydm_get_beamforming_sounding_info(void *dm_void, u16 *troughput,
24                                        u8 total_bfee_num, u8 *tx_rate);
25
26 u8 phydm_get_ndpa_rate(void *dm_void);
27
28 u8 phydm_get_mu_bfee_snding_decision(void *dm_void, u16 throughput);
29
30 #endif