1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-22 21:34:37 +00:00

Fix some 8814au slow speed issue

This commit is contained in:
kimocoder 2019-11-09 18:59:09 +00:00
parent 7c9ab6fe6f
commit 04f55bbaac
2 changed files with 1125 additions and 4 deletions

View File

@ -127,13 +127,13 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
if ((pxmitframe->frame_tag&0x0f) == DATA_FRAMETAG) {
if ((pxmitframe->frame_tag&0x0f) == DATA_FRAMETAG) {
//RTW_INFO("pxmitframe->frame_tag == DATA_FRAMETAG\n");
rtl8814a_fill_txdesc_sectype(pattrib, ptxdesc);
//offset 20
}
#ifdef CONFIG_USB_TX_AGGREGATION
if (pxmitframe->agg_num > 1){
//RTW_INFO("%s agg_num:%d\n",__FUNCTION__,pxmitframe->agg_num );
@ -224,8 +224,8 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
SET_TX_DESC_TX_RATE_8814A(ptxdesc, MRateToHwRate(pmlmeext->tx_rate));
}
if ((pxmitframe->frame_tag&0x0f)== MGNT_FRAMETAG) {
}
else if ((pxmitframe->frame_tag&0x0f)== MGNT_FRAMETAG) {
//RTW_INFO("pxmitframe->frame_tag == MGNT_FRAMETAG\n");
SET_TX_DESC_USE_RATE_8814A(ptxdesc, 1);

File diff suppressed because it is too large Load Diff