halmac_mimo_88xx.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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_MIMO_88XX_H_
  16. #define _HALMAC_MIMO_88XX_H_
  17. #include "../halmac_api.h"
  18. #if HALMAC_88XX_SUPPORT
  19. enum halmac_ret_status
  20. cfg_txbf_88xx(struct halmac_adapter *adapter, u8 userid, enum halmac_bw bw,
  21. u8 txbf_en);
  22. enum halmac_ret_status
  23. cfg_mumimo_88xx(struct halmac_adapter *adapter,
  24. struct halmac_cfg_mumimo_para *param);
  25. enum halmac_ret_status
  26. cfg_sounding_88xx(struct halmac_adapter *adapter, enum halmac_snd_role role,
  27. enum halmac_data_rate rate);
  28. enum halmac_ret_status
  29. del_sounding_88xx(struct halmac_adapter *adapter, enum halmac_snd_role role);
  30. enum halmac_ret_status
  31. su_bfee_entry_init_88xx(struct halmac_adapter *adapter, u8 userid, u16 paid);
  32. enum halmac_ret_status
  33. su_bfer_entry_init_88xx(struct halmac_adapter *adapter,
  34. struct halmac_su_bfer_init_para *param);
  35. enum halmac_ret_status
  36. mu_bfee_entry_init_88xx(struct halmac_adapter *adapter,
  37. struct halmac_mu_bfee_init_para *param);
  38. enum halmac_ret_status
  39. mu_bfer_entry_init_88xx(struct halmac_adapter *adapter,
  40. struct halmac_mu_bfer_init_para *param);
  41. enum halmac_ret_status
  42. su_bfee_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
  43. enum halmac_ret_status
  44. su_bfer_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
  45. enum halmac_ret_status
  46. mu_bfee_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
  47. enum halmac_ret_status
  48. mu_bfer_entry_del_88xx(struct halmac_adapter *adapter);
  49. enum halmac_ret_status
  50. cfg_csi_rate_88xx(struct halmac_adapter *adapter, u8 rssi, u8 cur_rate,
  51. u8 fixrate_en, u8 *new_rate);
  52. enum halmac_ret_status
  53. fw_snding_88xx(struct halmac_adapter *adapter,
  54. struct halmac_su_snding_info *su_info,
  55. struct halmac_mu_snding_info *mu_info, u8 period);
  56. enum halmac_ret_status
  57. get_h2c_ack_fw_snding_88xx(struct halmac_adapter *adapter, u8 *buf, u32 size);
  58. enum halmac_ret_status
  59. get_fw_snding_status_88xx(struct halmac_adapter *adapter,
  60. enum halmac_cmd_process_status *proc_status);
  61. #endif /* HALMAC_88XX_SUPPORT */
  62. #endif/* _HALMAC_MIMO_88XX_H_ */