wifi: rtlwifi: Add rtl8192du/hw.{c,h}
These contain mostly hardware init/deinit routines for RTL8192DU. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://msgid.link/282afe18-f37d-45f7-9275-68c39d1fde09@gmail.com
This commit is contained in:
parent
dc71f4e142
commit
e769c67105
2 changed files with 1234 additions and 0 deletions
1212
drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.c
Normal file
1212
drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.c
Normal file
File diff suppressed because it is too large
Load diff
22
drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.h
Normal file
22
drivers/net/wireless/realtek/rtlwifi/rtl8192du/hw.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright(c) 2024 Realtek Corporation.*/
|
||||
|
||||
#ifndef __RTL92DU_HW_H__
|
||||
#define __RTL92DU_HW_H__
|
||||
|
||||
void rtl92du_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
|
||||
void rtl92du_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val);
|
||||
void rtl92du_read_chip_version(struct ieee80211_hw *hw);
|
||||
int rtl92du_hw_init(struct ieee80211_hw *hw);
|
||||
void rtl92du_card_disable(struct ieee80211_hw *hw);
|
||||
void rtl92du_enable_interrupt(struct ieee80211_hw *hw);
|
||||
void rtl92du_disable_interrupt(struct ieee80211_hw *hw);
|
||||
int rtl92du_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type);
|
||||
void rtl92du_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid);
|
||||
void rtl92du_set_beacon_related_registers(struct ieee80211_hw *hw);
|
||||
void rtl92du_set_beacon_interval(struct ieee80211_hw *hw);
|
||||
void rtl92du_update_interrupt_mask(struct ieee80211_hw *hw,
|
||||
u32 add_msr, u32 rm_msr);
|
||||
void rtl92du_linked_set_reg(struct ieee80211_hw *hw);
|
||||
|
||||
#endif
|
Loading…
Add table
Reference in a new issue