18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Copyright(c) 2009-2010 Realtek Corporation.*/ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci#ifndef __RTL8821AE_HW_H__ 58c2ecf20Sopenharmony_ci#define __RTL8821AE_HW_H__ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_civoid rtl8821ae_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val); 88c2ecf20Sopenharmony_civoid rtl8821ae_read_eeprom_info(struct ieee80211_hw *hw); 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_civoid rtl8821ae_interrupt_recognized(struct ieee80211_hw *hw, 118c2ecf20Sopenharmony_ci struct rtl_int *int_vec); 128c2ecf20Sopenharmony_ciint rtl8821ae_hw_init(struct ieee80211_hw *hw); 138c2ecf20Sopenharmony_civoid rtl8821ae_card_disable(struct ieee80211_hw *hw); 148c2ecf20Sopenharmony_civoid rtl8821ae_enable_interrupt(struct ieee80211_hw *hw); 158c2ecf20Sopenharmony_civoid rtl8821ae_disable_interrupt(struct ieee80211_hw *hw); 168c2ecf20Sopenharmony_ciint rtl8821ae_set_network_type(struct ieee80211_hw *hw, 178c2ecf20Sopenharmony_ci enum nl80211_iftype type); 188c2ecf20Sopenharmony_civoid rtl8821ae_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid); 198c2ecf20Sopenharmony_civoid rtl8821ae_set_qos(struct ieee80211_hw *hw, int aci); 208c2ecf20Sopenharmony_civoid rtl8821ae_set_beacon_related_registers(struct ieee80211_hw *hw); 218c2ecf20Sopenharmony_civoid rtl8821ae_set_beacon_interval(struct ieee80211_hw *hw); 228c2ecf20Sopenharmony_civoid rtl8821ae_update_interrupt_mask(struct ieee80211_hw *hw, 238c2ecf20Sopenharmony_ci u32 add_msr, u32 rm_msr); 248c2ecf20Sopenharmony_civoid rtl8821ae_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val); 258c2ecf20Sopenharmony_civoid rtl8821ae_update_hal_rate_tbl(struct ieee80211_hw *hw, 268c2ecf20Sopenharmony_ci struct ieee80211_sta *sta, 278c2ecf20Sopenharmony_ci u8 rssi_level, bool update_bw); 288c2ecf20Sopenharmony_civoid rtl8821ae_update_channel_access_setting(struct ieee80211_hw *hw); 298c2ecf20Sopenharmony_cibool rtl8821ae_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid); 308c2ecf20Sopenharmony_civoid rtl8821ae_enable_hw_security_config(struct ieee80211_hw *hw); 318c2ecf20Sopenharmony_civoid rtl8821ae_set_key(struct ieee80211_hw *hw, u32 key_index, 328c2ecf20Sopenharmony_ci u8 *p_macaddr, bool is_group, u8 enc_algo, 338c2ecf20Sopenharmony_ci bool is_wepkey, bool clear_all); 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_civoid rtl8821ae_bt_reg_init(struct ieee80211_hw *hw); 368c2ecf20Sopenharmony_civoid rtl8821ae_bt_hw_init(struct ieee80211_hw *hw); 378c2ecf20Sopenharmony_civoid rtl8821ae_suspend(struct ieee80211_hw *hw); 388c2ecf20Sopenharmony_civoid rtl8821ae_resume(struct ieee80211_hw *hw); 398c2ecf20Sopenharmony_civoid rtl8821ae_allow_all_destaddr(struct ieee80211_hw *hw, 408c2ecf20Sopenharmony_ci bool allow_all_da, 418c2ecf20Sopenharmony_ci bool write_into_reg); 428c2ecf20Sopenharmony_civoid _rtl8821ae_stop_tx_beacon(struct ieee80211_hw *hw); 438c2ecf20Sopenharmony_civoid _rtl8821ae_resume_tx_beacon(struct ieee80211_hw *hw); 448c2ecf20Sopenharmony_civoid rtl8821ae_add_wowlan_pattern(struct ieee80211_hw *hw, 458c2ecf20Sopenharmony_ci struct rtl_wow_pattern *rtl_pattern, 468c2ecf20Sopenharmony_ci u8 index); 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci#endif 49