mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Minor fix for 8814au BEAMFORMING + retry limit
This commit is contained in:
parent
e65fc45229
commit
4a6960b2ad
@ -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`
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user