1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-19 20:50:41 +00:00

Minor fix for 8814au BEAMFORMING + retry limit

This commit is contained in:
kimocoder 2020-02-01 06:19:18 +01:00
parent e65fc45229
commit 4a6960b2ad
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl88xxau"
PACKAGE_VERSION="5.6.4.2~20200125"
PACKAGE_VERSION="5.6.4.2~20200201"
CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=88XXau
PROCS_NUM=`nproc`

View File

@ -304,7 +304,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz , u8 ba
if (pattrib->retry_ctrl == _TRUE)
SET_TX_DESC_DATA_RETRY_LIMIT_8812(ptxdesc, 6);
else
SET_TX_DESC_DATA_RETRY_LIMIT_8812(ptxdesc, 12);
SET_TX_DESC_DATA_RETRY_LIMIT_8812(ptxdesc, 0);
}
#ifdef CONFIG_XMIT_ACK

View File

@ -242,6 +242,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
SET_TX_DESC_TX_RATE_8814A(ptxdesc, MRateToHwRate(pattrib->rate));
}
#ifdef CONFIG_BEAMFORMING
// VHT NDPA or HT NDPA Packet for Beamformer.
if ((pattrib->subtype == WIFI_NDPA) ||
((pattrib->subtype == WIFI_ACTION_NOACK) && (pattrib->order == 1)))
@ -265,12 +266,13 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
}
}
else
#endif
{
SET_TX_DESC_RETRY_LIMIT_ENABLE_8814A(ptxdesc, 1);
if (pattrib->retry_ctrl == _TRUE) {
SET_TX_DESC_DATA_RETRY_LIMIT_8814A(ptxdesc, 6);
} else {
SET_TX_DESC_DATA_RETRY_LIMIT_8814A(ptxdesc, 12);
SET_TX_DESC_DATA_RETRY_LIMIT_8814A(ptxdesc, 0);
}
}