1 /****************************************************************************** 2 * 3 * Copyright(c)2021 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 _HAL_TXPWR_H_ 16 #define _HAL_TXPWR_H_ 17 18 const char *rtw_hal_get_pw_lmt_regu_type_str(void *hal, enum band_type band); 19 20 bool rtw_hal_get_pwr_lmt_en(void *hal, u8 band_idx); 21 22 enum rtw_hal_status rtw_hal_set_tx_power(void *hal, u8 band_idx, 23 enum phl_pwr_table pwr_table); 24 25 enum rtw_hal_status rtw_hal_get_txinfo_power(void *hal, 26 s16 *txinfo_power_dbm); 27 #endif