1 /****************************************************************************** 2 * 3 * Copyright(c) 2019 Realtek Corporation. 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 _PHL_CUSTOM_H_ 16 #define _PHL_CUSTOM_H_ 17 18 #ifdef CONFIG_PHL_CUSTOM_FEATURE 19 20 enum rtw_phl_status 21 phl_register_custom_module(struct phl_info_t *phl_info, u8 band_idx); 22 23 enum rtw_phl_status 24 phl_custom_prepare_evt_rpt(void *custom_ctx, 25 u32 evt_id, 26 u32 customer_id, 27 u8 *rpt, 28 u32 rpt_len); 29 struct phl_info_t * 30 phl_custom_get_phl_info(void *custom_ctx); 31 32 enum rtw_phl_status 33 phl_custom_init_role_cap(struct phl_info_t *phl_info, 34 u8 hw_band, 35 struct role_cap_t *role_cap); 36 #else 37 #define phl_register_custom_module(_phl_info, _band_idx) (RTW_PHL_STATUS_SUCCESS) 38 #define phl_custom_init_role_cap(_phl_info, _hw_band, _role_cap) (RTW_PHL_STATUS_SUCCESS) 39 #endif 40 41 #endif /*_PHL_CUSTOMIZE_FEATURE_H_*/ 42 43