rtl8xxxu: Add a couple of new register definitions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 29 Feb 2016 22:04:34 +0000 (17:04 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:29:01 +0000 (15:29 +0200)
This adds some additional register definitions for 8723bu, as well as
a bit define for USB RXDMA aggregation in REG_RXDMA_AGG_PG_TH.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h

index f1375b8904daee1a6575473c7a9277955312198c..162a9e8e4cef96cc81a6f0df32fd4679a22ce5ca 100644 (file)
 
 /* 0x0280 ~ 0x02FF     RXDMA Configuration */
 #define REG_RXDMA_AGG_PG_TH            0x0280
+#define  RXDMA_USB_AGG_ENABLE          BIT(31)
 #define REG_RXPKT_NUM                  0x0284
 #define REG_RXDMA_STATUS               0x0288
 
+/* Presumably only found on newer chips such as 8723bu */
+#define REG_RX_DMA_CTRL_8723B          0x0286
+#define REG_RX_DMA_MODE_CTRL_8723B     0x0290
+
 #define REG_RF_BB_CMD_ADDR             0x02c0
 #define REG_RF_BB_CMD_DATA             0x02c4
 
 #define REG_POWER_STATUS               0x04a4
 #define REG_POWER_STAGE1               0x04b4
 #define REG_POWER_STAGE2               0x04b8
+#define REG_AMPDU_BURST_MODE_8723B     0x04bc
 #define REG_PKT_VO_VI_LIFE_TIME                0x04c0
 #define REG_PKT_BE_BK_LIFE_TIME                0x04c2
 #define REG_STBC_SETTING               0x04c4