rtl8xxxu: Add bit definitions for REG_FPGA0_TX_INFO
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 19 Aug 2016 21:46:32 +0000 (17:46 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 3 Sep 2016 16:57:18 +0000 (19:57 +0300)
This adds TX antenna selection bit defines for OFDM mode.

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 921c5653fff2295337e403c4e1432fa244408b42..a3388906781f9a8775982033e2cacd9d98312560 100644 (file)
 #define  FPGA_RF_MODE_OFDM             BIT(25)
 
 #define REG_FPGA0_TX_INFO              0x0804
+#define  FPGA0_TX_INFO_OFDM_PATH_A     BIT(0)
+#define  FPGA0_TX_INFO_OFDM_PATH_B     BIT(1)
+#define  FPGA0_TX_INFO_OFDM_PATH_C     BIT(2)
+#define  FPGA0_TX_INFO_OFDM_PATH_D     BIT(3)
 #define REG_FPGA0_PSD_FUNC             0x0808
 #define REG_FPGA0_TX_GAIN              0x080c
 #define REG_FPGA0_RF_TIMING1           0x0810