• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  *
3  * Copyright(c) 2016 - 2019 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 
16 #ifndef _HALMAC_MIMO_88XX_H_
17 #define _HALMAC_MIMO_88XX_H_
18 
19 #include "../halmac_api.h"
20 
21 #if HALMAC_88XX_SUPPORT
22 
23 enum halmac_ret_status
24 cfg_txbf_88xx(struct halmac_adapter *adapter, u8 userid, enum halmac_bw bw,
25 	      u8 txbf_en);
26 
27 enum halmac_ret_status
28 cfg_mumimo_88xx(struct halmac_adapter *adapter,
29 		struct halmac_cfg_mumimo_para *param);
30 
31 enum halmac_ret_status
32 cfg_sounding_88xx(struct halmac_adapter *adapter, enum halmac_snd_role role,
33 		  enum halmac_data_rate rate);
34 
35 enum halmac_ret_status
36 del_sounding_88xx(struct halmac_adapter *adapter, enum halmac_snd_role role);
37 
38 enum halmac_ret_status
39 su_bfee_entry_init_88xx(struct halmac_adapter *adapter, u8 userid, u16 paid);
40 
41 enum halmac_ret_status
42 su_bfer_entry_init_88xx(struct halmac_adapter *adapter,
43 			struct halmac_su_bfer_init_para *param);
44 
45 enum halmac_ret_status
46 mu_bfee_entry_init_88xx(struct halmac_adapter *adapter,
47 			struct halmac_mu_bfee_init_para *param);
48 
49 enum halmac_ret_status
50 mu_bfer_entry_init_88xx(struct halmac_adapter *adapter,
51 			struct halmac_mu_bfer_init_para *param);
52 
53 enum halmac_ret_status
54 su_bfee_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
55 
56 enum halmac_ret_status
57 su_bfer_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
58 
59 enum halmac_ret_status
60 mu_bfee_entry_del_88xx(struct halmac_adapter *adapter, u8 userid);
61 
62 enum halmac_ret_status
63 mu_bfer_entry_del_88xx(struct halmac_adapter *adapter);
64 
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, u8 *bmp_ofdm54);
68 
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);
73 
74 enum halmac_ret_status
75 get_h2c_ack_fw_snding_88xx(struct halmac_adapter *adapter, u8 *buf, u32 size);
76 
77 enum halmac_ret_status
78 get_fw_snding_status_88xx(struct halmac_adapter *adapter,
79 			  enum halmac_cmd_process_status *proc_status);
80 
81 #endif /* HALMAC_88XX_SUPPORT */
82 
83 #endif/* _HALMAC_MIMO_88XX_H_ */
84