xref: /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012  Realtek Corporation.*/
3 
4 #ifndef __RTL92D_HW_COMMON_H__
5 #define __RTL92D_HW_COMMON_H__
6 
7 void rtl92d_stop_tx_beacon(struct ieee80211_hw *hw);
8 void rtl92d_resume_tx_beacon(struct ieee80211_hw *hw);
9 void rtl92d_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
10 void rtl92d_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
11 bool rtl92d_llt_write(struct ieee80211_hw *hw, u32 address, u32 data);
12 void rtl92d_enable_hw_security_config(struct ieee80211_hw *hw);
13 void rtl92d_set_qos(struct ieee80211_hw *hw, int aci);
14 void rtl92d_read_eeprom_info(struct ieee80211_hw *hw);
15 void rtl92d_update_hal_rate_tbl(struct ieee80211_hw *hw,
16 				struct ieee80211_sta *sta,
17 				u8 rssi_level, bool update_bw);
18 void rtl92d_update_channel_access_setting(struct ieee80211_hw *hw);
19 bool rtl92d_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid);
20 void rtl92d_set_key(struct ieee80211_hw *hw, u32 key_index,
21 		    u8 *p_macaddr, bool is_group, u8 enc_algo,
22 		    bool is_wepkey, bool clear_all);
23 
24 #endif
25