haltxbf8814a.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. #if (RTL8814A_SUPPORT == 1)
  28. #if (BEAMFORMING_SUPPORT == 1)
  29. boolean
  30. phydm_beamforming_set_iqgen_8814A(void *dm_void);
  31. void hal_txbf_8814a_set_ndpa_rate(void *dm_void, u8 BW, u8 rate);
  32. u8 hal_txbf_8814a_get_ntx(void *dm_void);
  33. void hal_txbf_8814a_enter(void *dm_void, u8 idx);
  34. void hal_txbf_8814a_leave(void *dm_void, u8 idx);
  35. void hal_txbf_8814a_status(void *dm_void, u8 idx);
  36. void hal_txbf_8814a_reset_tx_path(void *dm_void, u8 idx);
  37. void hal_txbf_8814a_get_tx_rate(void *dm_void);
  38. void hal_txbf_8814a_fw_txbf(void *dm_void, u8 idx);
  39. #else
  40. #define hal_txbf_8814a_set_ndpa_rate(dm_void, BW, rate)
  41. #define hal_txbf_8814a_get_ntx(dm_void) 0
  42. #define hal_txbf_8814a_enter(dm_void, idx)
  43. #define hal_txbf_8814a_leave(dm_void, idx)
  44. #define hal_txbf_8814a_status(dm_void, idx)
  45. #define hal_txbf_8814a_reset_tx_path(dm_void, idx)
  46. #define hal_txbf_8814a_get_tx_rate(dm_void)
  47. #define hal_txbf_8814a_fw_txbf(dm_void, idx)
  48. #define phydm_beamforming_set_iqgen_8814A(dm_void) 0
  49. #endif
  50. #else
  51. #define hal_txbf_8814a_set_ndpa_rate(dm_void, BW, rate)
  52. #define hal_txbf_8814a_get_ntx(dm_void) 0
  53. #define hal_txbf_8814a_enter(dm_void, idx)
  54. #define hal_txbf_8814a_leave(dm_void, idx)
  55. #define hal_txbf_8814a_status(dm_void, idx)
  56. #define hal_txbf_8814a_reset_tx_path(dm_void, idx)
  57. #define hal_txbf_8814a_get_tx_rate(dm_void)
  58. #define hal_txbf_8814a_fw_txbf(dm_void, idx)
  59. #define phydm_beamforming_set_iqgen_8814A(dm_void) 0
  60. #endif
  61. #endif