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_INIT_88XX_H_ 17 #define _HALMAC_INIT_88XX_H_ 18 19 #include "../halmac_api.h" 20 21 #if HALMAC_88XX_SUPPORT 22 23 enum halmac_ret_status 24 register_api_88xx(struct halmac_adapter *adapter, 25 struct halmac_api_registry *registry); 26 27 void 28 init_adapter_param_88xx(struct halmac_adapter *adapter); 29 30 void 31 init_adapter_dynamic_param_88xx(struct halmac_adapter *adapter); 32 33 enum halmac_ret_status 34 mount_api_88xx(struct halmac_adapter *adapter); 35 36 enum halmac_ret_status 37 init_mac_cfg_88xx(struct halmac_adapter *adapter, enum halmac_trx_mode mode); 38 39 enum halmac_ret_status 40 reset_ofld_feature_88xx(struct halmac_adapter *adapter, 41 enum halmac_feature_id feature_id); 42 43 enum halmac_ret_status 44 verify_platform_api_88xx(struct halmac_adapter *adapter); 45 46 void 47 tx_desc_chksum_88xx(struct halmac_adapter *adapter, u8 enable); 48 49 enum halmac_ret_status 50 pg_num_parser_88xx(struct halmac_adapter *adapter, enum halmac_trx_mode mode, 51 struct halmac_pg_num *tbl); 52 53 enum halmac_ret_status 54 rqpn_parser_88xx(struct halmac_adapter *adapter, enum halmac_trx_mode mode, 55 struct halmac_rqpn *tbl); 56 57 void 58 init_ofld_feature_state_machine_88xx(struct halmac_adapter *adapter); 59 60 enum halmac_ret_status 61 fwff_is_empty_88xx(struct halmac_adapter *adapter); 62 63 #endif /* HALMAC_88XX_SUPPORT */ 64 65 #endif/* _HALMAC_INIT_88XX_H_ */ 66