haltxbfjaguar.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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_JAGUAR_H__
  26. #define __HAL_TXBF_JAGUAR_H__
  27. #if ((RTL8812A_SUPPORT == 1) || (RTL8821A_SUPPORT == 1))
  28. #if (BEAMFORMING_SUPPORT == 1)
  29. void hal_txbf_8812a_set_ndpa_rate(
  30. void *dm_void,
  31. u8 BW,
  32. u8 rate);
  33. void hal_txbf_jaguar_enter(
  34. void *dm_void,
  35. u8 idx);
  36. void hal_txbf_jaguar_leave(
  37. void *dm_void,
  38. u8 idx);
  39. void hal_txbf_jaguar_status(
  40. void *dm_void,
  41. u8 idx);
  42. void hal_txbf_jaguar_fw_txbf(
  43. void *dm_void,
  44. u8 idx);
  45. void hal_txbf_jaguar_patch(
  46. void *dm_void,
  47. u8 operation);
  48. void hal_txbf_jaguar_clk_8812a(
  49. void *dm_void);
  50. #else
  51. #define hal_txbf_8812a_set_ndpa_rate(dm_void, BW, rate)
  52. #define hal_txbf_jaguar_enter(dm_void, idx)
  53. #define hal_txbf_jaguar_leave(dm_void, idx)
  54. #define hal_txbf_jaguar_status(dm_void, idx)
  55. #define hal_txbf_jaguar_fw_txbf(dm_void, idx)
  56. #define hal_txbf_jaguar_patch(dm_void, operation)
  57. #define hal_txbf_jaguar_clk_8812a(dm_void)
  58. #endif
  59. #else
  60. #define hal_txbf_8812a_set_ndpa_rate(dm_void, BW, rate)
  61. #define hal_txbf_jaguar_enter(dm_void, idx)
  62. #define hal_txbf_jaguar_leave(dm_void, idx)
  63. #define hal_txbf_jaguar_status(dm_void, idx)
  64. #define hal_txbf_jaguar_fw_txbf(dm_void, idx)
  65. #define hal_txbf_jaguar_patch(dm_void, operation)
  66. #define hal_txbf_jaguar_clk_8812a(dm_void)
  67. #endif
  68. #endif /* @#ifndef __HAL_TXBF_JAGUAR_H__ */