linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi
Ping-Ke Shih 9a98302de1 rtlwifi: rtl8821ae: fix firmware is not ready to run
Without this patch, firmware will not run properly on rtl8821ae, and it
causes bad user experience. For example, bad connection performance with
low rate, higher power consumption, and so on.

rtl8821ae uses two kinds of firmwares for normal and WoWlan cases, and
each firmware has firmware data buffer and size individually. Original
code always overwrite size of normal firmware rtlpriv->rtlhal.fwsize, and
this mismatch causes firmware checksum error, then firmware can't start.

In this situation, driver gives message "Firmware is not ready to run!".

Fixes: fe89707f0a ("rtlwifi: rtl8821ae: Simplify loading of WOWLAN firmware")
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Cc: Stable <stable@vger.kernel.org> # 4.0+
Reviewed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-06-29 10:08:47 +03:00
..
btcoexist rtlwifi: remove duplicate code 2018-05-29 10:28:24 +03:00
rtl8188ee rtlwifi: remove dummy hal_op rx_command_packet from rtl8188ee and rtl8723ae 2018-05-29 10:16:52 +03:00
rtl8192c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
rtl8192ce rtlwifi: remove unused fw C2H command ID 2018-05-29 10:16:47 +03:00
rtl8192cu rtlwifi: rtl8192cu: remove pointless memcpy 2018-02-27 18:17:59 +02:00
rtl8192de rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8192ee rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8192se rtlwifi: Convert individual interrupt results to struct 2017-12-07 15:13:32 +02:00
rtl8723ae rtlwifi: remove dummy hal_op rx_command_packet from rtl8188ee and rtl8723ae 2018-05-29 10:16:52 +03:00
rtl8723be rtlwifi: remove hal_op c2h_content_parsing 2018-05-29 10:17:02 +03:00
rtl8723com rtlwifi: fill FW version and subversion 2018-01-08 19:08:00 +02:00
rtl8821ae wireless-drivers-next patches for 4.18 2018-06-03 11:03:10 -04:00
base.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
base.h rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
cam.c rtlwifi: Fix programing CAM content sequence. 2017-02-07 09:25:08 +02:00
cam.h
core.c rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-06-29 10:08:47 +03:00
core.h
debug.c rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
debug.h rtlwifi: Improve debugging by using debugfs 2018-01-08 19:07:45 +02:00
efuse.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
efuse.h rtlwifi: add efuse ops for other components 2018-02-27 18:15:25 +02:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
pci.h rtlwifi: cleanup the code that check whether TX ring is available 2017-12-07 15:14:52 +02:00
ps.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
ps.h rtlwifi: Remove unused parameter from rtl_ps_set_rf_state() 2016-07-05 17:31:41 +03:00
pwrseqcmd.h
rc.c rtlwifi: Fix VHT NSS in RC 2018-02-27 18:15:23 +02:00
rc.h
regd.c rtlwifi: fix spelling mistake: "conuntry" -> "country" 2017-03-08 17:07:32 +02:00
regd.h
stats.c
stats.h
usb.c rtlwifi: Fix kernel Oops "Fw download fail!!" 2018-06-24 19:54:21 +03:00
usb.h rtlwifi: Move items out of rtl_pci_priv and rtl_usb_priv 2017-02-08 17:24:42 +02:00
wifi.h rtlwifi: access skb->data to get C2H data by macro 2018-05-29 10:17:04 +03:00