Fix 8821au firmware download issue #2

This commit is contained in:
kimocoder 2018-07-04 17:56:32 +02:00
parent 5ceaee8426
commit 2b79b03c89
3 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -568,11 +568,16 @@ FirmwareDownload8812(
#ifdef CONFIG_AP_WOWLAN
if (pwrpriv->wowlan_ap_mode) {
#ifdef CONFIG_RTL8812A
if (pHalData->odmpriv.support_ic_type == ODM_RTL8812) {
pFirmware->szFwBuffer = array_mp_8812a_fw_ap;
pFirmware->ulFwLength = array_length_mp_8812a_fw_ap;
#else
}
#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);