#ifndef __FW_COMMON_H__
#define __FW_COMMON_H__
#define REG_SYS_FUNC_EN …
#define REG_MCUFWDL …
#define FW_8192C_PAGE_SIZE …
#define FW_8723A_POLLING_TIMEOUT_COUNT …
#define FW_8723B_POLLING_TIMEOUT_COUNT …
#define FW_8192C_POLLING_DELAY …
#define MCUFWDL_RDY …
#define FWDL_CHKSUM_RPT …
#define WINTINI_RDY …
#define REG_RSV_CTRL …
#define REG_HMETFR …
enum version_8723e { … };
enum rtl8723be_cmd { … };
void rtl8723ae_firmware_selfreset(struct ieee80211_hw *hw);
void rtl8723be_firmware_selfreset(struct ieee80211_hw *hw);
void rtl8723_enable_fw_download(struct ieee80211_hw *hw, bool enable);
void rtl8723_write_fw(struct ieee80211_hw *hw,
enum version_8723e version,
u8 *buffer, u32 size, u8 max_page);
int rtl8723_fw_free_to_go(struct ieee80211_hw *hw, bool is_8723be, int count);
int rtl8723_download_fw(struct ieee80211_hw *hw, bool is_8723be, int count);
#endif