rtlwifi: fill FW version and subversion
This commit fills FW version information of RTL8188EE and RTL8723, so the btcoex can cooperate with FW correctly. Also, we can display this version in debugfs. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
08431b627d
commit
874e837d67
|
@ -141,6 +141,8 @@ int rtl88e_download_fw(struct ieee80211_hw *hw,
|
|||
return 1;
|
||||
|
||||
pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware;
|
||||
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
|
||||
rtlhal->fw_subversion = pfwheader->subversion;
|
||||
pfwdata = rtlhal->pfirmware;
|
||||
fwsize = rtlhal->fwsize;
|
||||
RT_TRACE(rtlpriv, COMP_FW, DBG_DMESG,
|
||||
|
|
|
@ -200,6 +200,8 @@ int rtl8723_download_fw(struct ieee80211_hw *hw,
|
|||
return 1;
|
||||
|
||||
pfwheader = (struct rtlwifi_firmware_header *)rtlhal->pfirmware;
|
||||
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
|
||||
rtlhal->fw_subversion = pfwheader->subversion;
|
||||
pfwdata = rtlhal->pfirmware;
|
||||
fwsize = rtlhal->fwsize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue