From 8ae2f94c9b39af8c57f151fc941f876cb5117ad3 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Thu, 12 Oct 2017 12:08:11 +0200 Subject: [PATCH] Add support for pre-configured SeqNum via RadioTap See http://www.radiotap.org/fields/TX%20flags value 0x0010 --- hal/rtl8812a/usb/rtl8812au_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/rtl8812a/usb/rtl8812au_xmit.c b/hal/rtl8812a/usb/rtl8812au_xmit.c index 29b50ad..b8e0cfa 100755 --- a/hal/rtl8812a/usb/rtl8812au_xmit.c +++ b/hal/rtl8812a/usb/rtl8812au_xmit.c @@ -118,7 +118,7 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag //offset 12 - if (!pattrib->qos_en) { + if (!pattrib->qos_en && pattrib->sw_seq == _FALSE) { SET_TX_DESC_HWSEQ_EN_8812(ptxdesc, 1); // Hw set sequence number } else { SET_TX_DESC_SEQ_8812(ptxdesc, pattrib->seqnum);