1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Add support for pre-configured SeqNum via RadioTap

See http://www.radiotap.org/fields/TX%20flags value 0x0010
This commit is contained in:
Christian kimocoder 2017-10-12 12:10:37 +02:00 committed by GitHub
parent 8ae2f94c9b
commit 2f7c30a20a

View File

@ -122,7 +122,10 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag
if (!pattrib->qos_en) {
/* HW sequence, to fix to use 0 queue. todo: 4AC packets to use auto queue select */
SET_TX_DESC_HWSEQ_EN_8814A(ptxdesc, 1); // Hw set sequence number
if(pattrib->sw_seq == _FALSE)
SET_TX_DESC_HWSEQ_EN_8814A(ptxdesc, 1); // Hw set sequence number
else
SET_TX_DESC_SEQ_8814A(ptxdesc, pattrib->seqnum);
SET_TX_DESC_EN_HWEXSEQ_8814A(ptxdesc, 0);
SET_TX_DESC_DISQSELSEQ_8814A(ptxdesc, 1);
SET_TX_DESC_HW_SSN_SEL_8814A(ptxdesc, 0);