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 #ifndef __HAL_TXBF_8814A_H__ 26 #define __HAL_TXBF_8814A_H__ 27 28 #if (RTL8814A_SUPPORT == 1) 29 #ifdef PHYDM_BEAMFORMING_SUPPORT 30 31 boolean 32 phydm_beamforming_set_iqgen_8814A(void *dm_void); 33 34 void hal_txbf_8814a_set_ndpa_rate(void *dm_void, u8 BW, u8 rate); 35 36 u8 hal_txbf_8814a_get_ntx(void *dm_void); 37 38 void hal_txbf_8814a_enter(void *dm_void, u8 idx); 39 40 void hal_txbf_8814a_leave(void *dm_void, u8 idx); 41 42 void hal_txbf_8814a_status(void *dm_void, u8 idx); 43 44 void hal_txbf_8814a_reset_tx_path(void *dm_void, u8 idx); 45 46 void hal_txbf_8814a_get_tx_rate(void *dm_void); 47 48 void hal_txbf_8814a_fw_txbf(void *dm_void, u8 idx); 49 50 #else 51 52 #define hal_txbf_8814a_set_ndpa_rate(dm_void, BW, rate) 53 #define hal_txbf_8814a_get_ntx(dm_void) 0 54 #define hal_txbf_8814a_enter(dm_void, idx) 55 #define hal_txbf_8814a_leave(dm_void, idx) 56 #define hal_txbf_8814a_status(dm_void, idx) 57 #define hal_txbf_8814a_reset_tx_path(dm_void, idx) 58 #define hal_txbf_8814a_get_tx_rate(dm_void) 59 #define hal_txbf_8814a_fw_txbf(dm_void, idx) 60 #define phydm_beamforming_set_iqgen_8814A(dm_void) 0 61 62 #endif 63 64 #else 65 66 #define hal_txbf_8814a_set_ndpa_rate(dm_void, BW, rate) 67 #define hal_txbf_8814a_get_ntx(dm_void) 0 68 #define hal_txbf_8814a_enter(dm_void, idx) 69 #define hal_txbf_8814a_leave(dm_void, idx) 70 #define hal_txbf_8814a_status(dm_void, idx) 71 #define hal_txbf_8814a_reset_tx_path(dm_void, idx) 72 #define hal_txbf_8814a_get_tx_rate(dm_void) 73 #define hal_txbf_8814a_fw_txbf(dm_void, idx) 74 #define phydm_beamforming_set_iqgen_8814A(dm_void) 0 75 #endif 76 77 #endif 78