summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2015-11-10 00:42:32 +0000
committeravos <avos@FreeBSD.org>2015-11-10 00:42:32 +0000
commitaedba6c5a22be3a69a4373d744394c58cebba938 (patch)
tree7126de73dab86120d6ba0796183805ac68a64cbb
parentca5f285ba46e88b7c2d64982aec77c5647bc5717 (diff)
downloadFreeBSD-src-aedba6c5a22be3a69a4373d744394c58cebba938.zip
FreeBSD-src-aedba6c5a22be3a69a4373d744394c58cebba938.tar.gz
urtwn(4): fix the build.
Add some missing bits from D4020.
-rw-r--r--sys/dev/usb/wlan/if_urtwnreg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_urtwnreg.h b/sys/dev/usb/wlan/if_urtwnreg.h
index 89e0dbc..4020d2f 100644
--- a/sys/dev/usb/wlan/if_urtwnreg.h
+++ b/sys/dev/usb/wlan/if_urtwnreg.h
@@ -1028,8 +1028,16 @@ struct r92c_tx_desc {
#define R92C_TXDW1_AGGBK 0x00000040
#define R92C_TXDW1_QSEL_M 0x00001f00
#define R92C_TXDW1_QSEL_S 8
-#define R92C_TXDW1_QSEL_BE 0x00
+
+#define R92C_TXDW1_QSEL_BE 0x00 /* or 0x03 */
+#define R92C_TXDW1_QSEL_BK 0x01 /* or 0x02 */
+#define R92C_TXDW1_QSEL_VI 0x04 /* or 0x05 */
+#define R92C_TXDW1_QSEL_VO 0x06 /* or 0x07 */
+#define URTWN_MAX_TID 8
+
+#define R92C_TXDW1_QSEL_BEACON 0x10
#define R92C_TXDW1_QSEL_MGNT 0x12
+
#define R92C_TXDW1_RAID_M 0x000f0000
#define R92C_TXDW1_RAID_S 16
#define R92C_TXDW1_CIPHER_M 0x00c00000
OpenPOWER on IntegriCloud