1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2024  Realtek Corporation.*/
3 
4 #ifndef __RTL92DU_HW_H__
5 #define __RTL92DU_HW_H__
6 
7 void rtl92du_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
8 void rtl92du_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
9 void rtl92du_read_chip_version(struct ieee80211_hw *hw);
10 int rtl92du_hw_init(struct ieee80211_hw *hw);
11 void rtl92du_card_disable(struct ieee80211_hw *hw);
12 void rtl92du_enable_interrupt(struct ieee80211_hw *hw);
13 void rtl92du_disable_interrupt(struct ieee80211_hw *hw);
14 int rtl92du_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type);
15 void rtl92du_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid);
16 void rtl92du_set_beacon_related_registers(struct ieee80211_hw *hw);
17 void rtl92du_set_beacon_interval(struct ieee80211_hw *hw);
18 void rtl92du_update_interrupt_mask(struct ieee80211_hw *hw,
19 				   u32 add_msr, u32 rm_msr);
20 void rtl92du_linked_set_reg(struct ieee80211_hw *hw);
21 
22 #endif
23