halmac_bb_rf_88xx.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
  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. ******************************************************************************/
  15. #ifndef _HALMAC_BB_RF_88XX_H_
  16. #define _HALMAC_BB_RF_88XX_H_
  17. #include "../halmac_api.h"
  18. #if HALMAC_88XX_SUPPORT
  19. enum halmac_ret_status
  20. start_iqk_88xx(struct halmac_adapter *adapter, struct halmac_iqk_para *param);
  21. enum halmac_ret_status
  22. ctrl_pwr_tracking_88xx(struct halmac_adapter *adapter,
  23. struct halmac_pwr_tracking_option *opt);
  24. enum halmac_ret_status
  25. get_iqk_status_88xx(struct halmac_adapter *adapter,
  26. enum halmac_cmd_process_status *proc_status);
  27. enum halmac_ret_status
  28. get_pwr_trk_status_88xx(struct halmac_adapter *adapter,
  29. enum halmac_cmd_process_status *proc_status);
  30. enum halmac_ret_status
  31. get_psd_status_88xx(struct halmac_adapter *adapter,
  32. enum halmac_cmd_process_status *proc_status, u8 *data,
  33. u32 *size);
  34. enum halmac_ret_status
  35. psd_88xx(struct halmac_adapter *adapter, u16 start_psd, u16 end_psd);
  36. enum halmac_ret_status
  37. get_h2c_ack_iqk_88xx(struct halmac_adapter *adapter, u8 *buf, u32 size);
  38. enum halmac_ret_status
  39. get_h2c_ack_pwr_trk_88xx(struct halmac_adapter *adapter, u8 *buf, u32 size);
  40. enum halmac_ret_status
  41. get_psd_data_88xx(struct halmac_adapter *adapter, u8 *buf, u32 size);
  42. #endif /* HALMAC_88XX_SUPPORT */
  43. #endif/* _HALMAC_BB_RF_88XX_H_ */