1 /******************************************************************************
3 * Copyright(c) 2007 - 2016 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef __PHYDM_HAL_TXBF_API_H__
26 #define __PHYDM_HAL_TXBF_API_H__
28 #define tx_bf_nr(a, b) ((a > b) ? (b) : (a))
30 u8 beamforming_get_htndp_tx_rate(void *dm_void, u8 comp_steering_num_of_bfer);
32 u8 beamforming_get_vht_ndp_tx_rate(void *dm_void, u8 comp_steering_num_of_bfer);
34 u8 phydm_get_beamforming_sounding_info(void *dm_void, u16 *troughput,
35 u8 total_bfee_num, u8 *tx_rate);
37 u8 phydm_get_ndpa_rate(void *dm_void);
39 u8 phydm_get_mu_bfee_snding_decision(void *dm_void, u16 throughput);