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 _PHL_TXPWR_H_ 16 #define _PHL_TXPWR_H_ 17 18 const char *rtw_phl_get_pw_lmt_regu_type_str(void *phl, enum band_type band); 19 20 bool rtw_phl_get_pwr_lmt_en(void *phl, u8 band_idx); 21 22 enum rtw_phl_status rtw_phl_set_tx_power(void *phl, u8 band_idx); 23 24 enum rtw_phl_status rtw_phl_get_txinfo_pwr(void *phl, s16 *pwr_dbm); 25 26 #endif /*_PHL_TXPWR_H_*/ 27