mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
Fix 8821au firmware download issue #2
This commit is contained in:
parent
5ceaee8426
commit
2b79b03c89
2
Makefile
2
Makefile
@ -36,7 +36,7 @@ CONFIG_AUTOCFG_CP = n
|
||||
CONFIG_MULTIDRV = n
|
||||
CONFIG_RTL8188E = n
|
||||
CONFIG_RTL8812A = y
|
||||
CONFIG_RTL8821A = n
|
||||
CONFIG_RTL8821A = y
|
||||
CONFIG_RTL8192E = n
|
||||
CONFIG_RTL8723B = n
|
||||
CONFIG_RTL8814A = n
|
||||
|
@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl8812au"
|
||||
PACKAGE_VERSION="5.2.20.2~20180703"
|
||||
PACKAGE_VERSION="5.2.20.2~20180704"
|
||||
BUILT_MODULE_NAME[0]="8812au"
|
||||
PROCS_NUM=`nproc`
|
||||
[ $PROCS_NUM -gt 16 ] && PROCS_NUM=16
|
||||
|
@ -568,11 +568,16 @@ FirmwareDownload8812(
|
||||
#ifdef CONFIG_AP_WOWLAN
|
||||
if (pwrpriv->wowlan_ap_mode) {
|
||||
#ifdef CONFIG_RTL8812A
|
||||
pFirmware->szFwBuffer = array_mp_8812a_fw_ap;
|
||||
pFirmware->ulFwLength = array_length_mp_8812a_fw_ap;
|
||||
#else
|
||||
pFirmware->szFwBuffer = array_mp_8821a_fw_ap;
|
||||
pFirmware->ulFwLength = array_length_mp_8821a_fw_ap;
|
||||
if (pHalData->odmpriv.support_ic_type == ODM_RTL8812) {
|
||||
pFirmware->szFwBuffer = array_mp_8812a_fw_ap;
|
||||
pFirmware->ulFwLength = array_length_mp_8812a_fw_ap;
|
||||
}
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8821A
|
||||
if (pHalData->odmpriv.support_ic_type == ODM_RTL8821) {
|
||||
pFirmware->szFwBuffer = array_mp_8821a_fw_ap;
|
||||
pFirmware->ulFwLength = array_length_mp_8821a_fw_ap;
|
||||
}
|
||||
#endif
|
||||
|
||||
RTW_INFO("%s fw: %s, size: %d\n", __func__, "AP_WoWLAN", pFirmware->ulFwLength);
|
||||
|
Loading…
Reference in New Issue
Block a user