1 2 /****************************************************************************** 3 * 4 * Copyright(c) 2019 Realtek Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of version 2 of the GNU General Public License as 8 * published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope that it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 * 15 *****************************************************************************/ 16 #ifndef _HAL_CUSTOM_H_ 17 #define _HAL_CUSTOM_H_ 18 19 #ifdef CONFIG_PHL_CUSTOM_FEATURE 20 enum rtw_hal_status 21 rtw_hal_custom_cfg_tx_ampdu(void *hal, 22 struct rtw_wifi_role_t *wrole, 23 struct rtw_phl_custom_ampdu_cfg *ampdu); 24 enum rtw_hal_status 25 rtw_hal_get_ampdu_cfg(void *hal, 26 struct rtw_wifi_role_t *wrole, 27 struct rtw_phl_custom_ampdu_cfg *cfg); 28 enum rtw_hal_status 29 rtw_hal_set_pop_en(void *hal, bool en, enum phl_phy_idx phy_idx); 30 31 bool 32 rtw_hal_query_pop_en(void *hal, enum phl_phy_idx phy_idx); 33 34 enum rtw_hal_status 35 rtw_hal_set_pkt_detect_thold(void *hal, u32 bound); 36 37 u8 38 rtw_hal_query_pkt_detect_thold(void *hal, 39 bool get_en_info, 40 enum phl_phy_idx phy_idx); 41 #endif 42 43 #endif /*_HAL_CUSTOM_H_*/ 44