Commit cc6603aa authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Kalle Valo

mt76x2: fix TXD_INFO bitmask definition

Despite this issue is not harmful since it is not actually used in
mt76 driver, fix DMA txinfo bitmask definition

Fixes: 7bc04215 ('mt76: add driver code for MT76x2e')
Signed-off-by: default avatarLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 2019c39a
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "dma.h" #include "dma.h"
#define MT_TXD_INFO_LEN GENMASK(13, 0) #define MT_TXD_INFO_LEN GENMASK(15, 0)
#define MT_TXD_INFO_NEXT_VLD BIT(16) #define MT_TXD_INFO_NEXT_VLD BIT(16)
#define MT_TXD_INFO_TX_BURST BIT(17) #define MT_TXD_INFO_TX_BURST BIT(17)
#define MT_TXD_INFO_80211 BIT(19) #define MT_TXD_INFO_80211 BIT(19)
...@@ -27,9 +27,8 @@ ...@@ -27,9 +27,8 @@
#define MT_TXD_INFO_CSO BIT(21) #define MT_TXD_INFO_CSO BIT(21)
#define MT_TXD_INFO_WIV BIT(24) #define MT_TXD_INFO_WIV BIT(24)
#define MT_TXD_INFO_QSEL GENMASK(26, 25) #define MT_TXD_INFO_QSEL GENMASK(26, 25)
#define MT_TXD_INFO_TCO BIT(29) #define MT_TXD_INFO_DPORT GENMASK(29, 27)
#define MT_TXD_INFO_UCO BIT(30) #define MT_TXD_INFO_TYPE GENMASK(31, 30)
#define MT_TXD_INFO_ICO BIT(31)
#define MT_RX_FCE_INFO_LEN GENMASK(13, 0) #define MT_RX_FCE_INFO_LEN GENMASK(13, 0)
#define MT_RX_FCE_INFO_SELF_GEN BIT(15) #define MT_RX_FCE_INFO_SELF_GEN BIT(15)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment