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_8192E_H__ 26 #define __HAL_TXBF_8192E_H__ 27 28 #if (RTL8192E_SUPPORT == 1) 29 #ifdef PHYDM_BEAMFORMING_SUPPORT 30 31 void hal_txbf_8192e_set_ndpa_rate( 32 void *dm_void, 33 u8 BW, 34 u8 rate); 35 36 void hal_txbf_8192e_enter( 37 void *dm_void, 38 u8 idx); 39 40 void hal_txbf_8192e_leave( 41 void *dm_void, 42 u8 idx); 43 44 void hal_txbf_8192e_status( 45 void *dm_void, 46 u8 idx); 47 48 void hal_txbf_8192e_fw_tx_bf( 49 void *dm_void, 50 u8 idx); 51 #else 52 53 #define hal_txbf_8192e_set_ndpa_rate(dm_void, BW, rate) 54 #define hal_txbf_8192e_enter(dm_void, idx) 55 #define hal_txbf_8192e_leave(dm_void, idx) 56 #define hal_txbf_8192e_status(dm_void, idx) 57 #define hal_txbf_8192e_fw_tx_bf(dm_void, idx) 58 59 #endif 60 61 #else 62 63 #define hal_txbf_8192e_set_ndpa_rate(dm_void, BW, rate) 64 #define hal_txbf_8192e_enter(dm_void, idx) 65 #define hal_txbf_8192e_leave(dm_void, idx) 66 #define hal_txbf_8192e_status(dm_void, idx) 67 #define hal_txbf_8192e_fw_tx_bf(dm_void, idx) 68 69 #endif 70 71 #endif 72