rtlwifi: rtl8723ae: rtl8723-common: Copy common firmware code
The drivers for RTL8723AE and RTL8723BE have some code in common. This commit copies the common firmware routines into the shared code. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
0a168b48cd
commit
cbd0c8512f
@@ -1712,6 +1712,8 @@ struct rtl_tcb_desc {
|
||||
bool btx_enable_sw_calc_duration;
|
||||
};
|
||||
|
||||
struct rtl92c_firmware_header;
|
||||
|
||||
struct rtl_hal_ops {
|
||||
int (*init_sw_vars) (struct ieee80211_hw *hw);
|
||||
void (*deinit_sw_vars) (struct ieee80211_hw *hw);
|
||||
@@ -1809,6 +1811,7 @@ struct rtl_hal_ops {
|
||||
void (*fill_h2c_cmd) (struct ieee80211_hw *hw, u8 element_id,
|
||||
u32 cmd_len, u8 *p_cmdbuffer);
|
||||
bool (*get_btc_status) (void);
|
||||
bool (*is_fw_header) (struct rtl92c_firmware_header *hdr);
|
||||
};
|
||||
|
||||
struct rtl_intf_ops {
|
||||
|
Reference in New Issue
Block a user