linux-uconsole/drivers/net/wireless
Ping-Ke Shih 99f303b367 rtlwifi: rtl8821ae: fix firmware is not ready to run
commit 9a98302de1 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-22 14:25:53 +02:00
..
ath ath10k: fix rfc1042 header retrieval in QCA4019 with eth decap mode 2018-07-11 16:03:47 +02:00
b43 driver core update for 4.4-rc1 2015-11-04 21:50:37 -08:00
b43legacy
brcm80211 brcmfmac: Fix check for ISO3166 code 2018-06-13 16:15:27 +02:00
cw1200 wireless: cw1200: use __maybe_unused to hide pm functions_ 2018-02-25 11:03:50 +01:00
hostap hostap: avoid uninitialized variable use in hfa384x_get_rid 2017-04-30 05:49:28 +02:00
ipw2x00
iwlegacy mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
iwlwifi iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD 2017-10-18 09:20:41 +02:00
libertas
libertas_tf
mediatek mt7601u: check return value of alloc_skb 2018-03-24 10:58:44 +01:00
mwifiex mwifiex: correct channel stat buffer overflows 2017-09-13 14:09:45 -07:00
orinoco
p54 p54: memset(0) whole array 2017-09-02 07:06:51 +02:00
prism54
realtek rtlwifi: rtl8821ae: fix firmware is not ready to run 2018-07-22 14:25:53 +02:00
rsi mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
rt2x00 mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
ti wl1251: check return from call to wl1251_acx_arp_ip_filter 2018-04-13 19:50:14 +02:00
zd1211rw
adm8211.c
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig
mac80211_hwsim.c mac80211_hwsim: fix possible memory leak in hwsim_new_radio_nl() 2018-05-30 07:48:54 +02:00
mac80211_hwsim.h
Makefile
mwl8k.c mac80211: pass block ack session timeout to to driver 2017-05-20 14:27:03 +02:00
ray_cs.c ray_cs: Avoid reading past end of buffer 2018-04-13 19:50:09 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: add return value validation 2018-03-24 10:58:44 +01:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h