1 /******************************************************************************
3 * Copyright(c) 2016 - 2018 Realtek Corporation. All rights reserved.
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.
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
14 ******************************************************************************/
16 #ifndef _HALMAC_MIMO_88XX_H_
17 #define _HALMAC_MIMO_88XX_H_
19 #include "../halmac_api.h"
21 #if HALMAC_88XX_SUPPORT
23 enum halmac_ret_status
24 cfg_txbf_88xx(struct halmac_adapter *adapter, u8 userid, enum halmac_bw bw,
27 enum halmac_ret_status
28 cfg_mumimo_88xx(struct halmac_adapter *adapter,
29 struct halmac_cfg_mumimo_para *param);
31 enum halmac_ret_status
32 cfg_sounding_88xx(struct halmac_adapter *adapter, enum halmac_snd_role role,
33 enum halmac_data_rate rate);
35 enum halmac_ret_status
36 del_sounding_88xx(struct halmac_adapter *adapter, enum halmac_snd_role role);
38 enum halmac_ret_status
39 su_bfee_entry_init_88xx(struct halmac_adapter *adapter, u8 userid, u16 paid);
41 enum halmac_ret_status
42 su_bfer_entry_init_88xx(struct halmac_adapter *adapter,
43 struct halmac_su_bfer_init_para *param);
45 enum halmac_ret_status
46 mu_bfee_entry_init_88xx(struct halmac_adapter *adapter,
47 struct halmac_mu_bfee_init_para *param);
49 enum halmac_ret_status
50 mu_bfer_entry_init_88xx(struct halmac_adapter *adapter,
51 struct halmac_mu_bfer_init_para *param);
53 enum halmac_ret_status
54 su_bfee_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
56 enum halmac_ret_status
57 su_bfer_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
59 enum halmac_ret_status
60 mu_bfee_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
62 enum halmac_ret_status
63 mu_bfer_entry_del_88xx(struct halmac_adapter *adapter);
65 enum halmac_ret_status
66 cfg_csi_rate_88xx(struct halmac_adapter *adapter, u8 rssi, u8 cur_rate,
67 u8 fixrate_en, u8 *new_rate);
69 enum halmac_ret_status
70 fw_snding_88xx(struct halmac_adapter *adapter,
71 struct halmac_su_snding_info *su_info,
72 struct halmac_mu_snding_info *mu_info, u8 period);
74 enum halmac_ret_status
75 get_h2c_ack_fw_snding_88xx(struct halmac_adapter *adapter, u8 *buf, u32 size);
77 enum halmac_ret_status
78 get_fw_snding_status_88xx(struct halmac_adapter *adapter,
79 enum halmac_cmd_process_status *proc_status);
81 #endif /* HALMAC_88XX_SUPPORT */
83 #endif/* _HALMAC_MIMO_88XX_H_ */