rtw88: load wowlan firmware if wowlan is supported
authorChin-Yen Lee <timlee@realtek.com>
Thu, 19 Dec 2019 08:58:13 +0000 (16:58 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 15:37:02 +0000 (17:37 +0200)
commitc8e5695eae9959fc5774c0f490f2450be8bad3de
tree426333f9e622d7e2d68e6cb80c143e2a6da18edf
parent786221048e8f74bafb87b4ba8b613cd5bc0ea159
rtw88: load wowlan firmware if wowlan is supported

Driver used to download normal firmware only,
but some devices support wowlan and require to
download wowlan firmware when system suspends.
So modify rtw_load_firmware() and its callback to
allow driver to download both normal and wowlan firmware.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/main.c
drivers/net/wireless/realtek/rtw88/main.h