diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-02-28 16:16:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-04 13:19:37 -0500 |
commit | cbd0c8512f3b06c86849c554eb092862c46885d5 (patch) | |
tree | d48a9d4dd30e74418e7c841c74aba7f43eeb619b /drivers/net/wireless/rtlwifi/wifi.h | |
parent | 0a168b48cdf7c22cf0250f62df4dde20adebf74b (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/wifi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h index 3f52bf8abe00..2304c7f23361 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h | |||
@@ -1712,6 +1712,8 @@ struct rtl_tcb_desc { | |||
1712 | bool btx_enable_sw_calc_duration; | 1712 | bool btx_enable_sw_calc_duration; |
1713 | }; | 1713 | }; |
1714 | 1714 | ||
1715 | struct rtl92c_firmware_header; | ||
1716 | |||
1715 | struct rtl_hal_ops { | 1717 | struct rtl_hal_ops { |
1716 | int (*init_sw_vars) (struct ieee80211_hw *hw); | 1718 | int (*init_sw_vars) (struct ieee80211_hw *hw); |
1717 | void (*deinit_sw_vars) (struct ieee80211_hw *hw); | 1719 | void (*deinit_sw_vars) (struct ieee80211_hw *hw); |
@@ -1809,6 +1811,7 @@ struct rtl_hal_ops { | |||
1809 | void (*fill_h2c_cmd) (struct ieee80211_hw *hw, u8 element_id, | 1811 | void (*fill_h2c_cmd) (struct ieee80211_hw *hw, u8 element_id, |
1810 | u32 cmd_len, u8 *p_cmdbuffer); | 1812 | u32 cmd_len, u8 *p_cmdbuffer); |
1811 | bool (*get_btc_status) (void); | 1813 | bool (*get_btc_status) (void); |
1814 | bool (*is_fw_header) (struct rtl92c_firmware_header *hdr); | ||
1812 | }; | 1815 | }; |
1813 | 1816 | ||
1814 | struct rtl_intf_ops { | 1817 | struct rtl_intf_ops { |