18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright(c) 2009-2010 Realtek Corporation.*/ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef __RTL8821AE_RF_H__ 58c2ecf20Sopenharmony_ci#define __RTL8821AE_RF_H__ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#define RF6052_MAX_TX_PWR 0x3F 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_civoid rtl8821ae_phy_rf6052_set_bandwidth(struct ieee80211_hw *hw, 108c2ecf20Sopenharmony_ci u8 bandwidth); 118c2ecf20Sopenharmony_civoid rtl8821ae_phy_rf6052_set_cck_txpower(struct ieee80211_hw *hw, 128c2ecf20Sopenharmony_ci u8 *ppowerlevel); 138c2ecf20Sopenharmony_civoid rtl8821ae_phy_rf6052_set_ofdm_txpower(struct ieee80211_hw *hw, 148c2ecf20Sopenharmony_ci u8 *ppowerlevel_ofdm, 158c2ecf20Sopenharmony_ci u8 *ppowerlevel_bw20, 168c2ecf20Sopenharmony_ci u8 *ppowerlevel_bw40, 178c2ecf20Sopenharmony_ci u8 channel); 188c2ecf20Sopenharmony_cibool rtl8821ae_phy_rf6052_config(struct ieee80211_hw *hw); 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#endif 21