092e77d948
Patches by Jes Sorensen: https://git.kernel.org/cgit/linux/kernel/git/jes/linux.git/ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
25 lines
935 B
Diff
25 lines
935 B
Diff
From e3aee53b23762f47ad233591090640c6df3db3c0 Mon Sep 17 00:00:00 2001
|
|
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Date: Wed, 20 Jul 2016 14:31:08 -0400
|
|
Subject: [PATCH] rtl8xxxu: Add bit definitions for REG_FPGA0_TX_INFO
|
|
|
|
This adds TX antenna selection bit defines for OFDM mode.
|
|
|
|
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
---
|
|
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h
|
|
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_regs.h
|
|
@@ -780,6 +780,10 @@
|
|
#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
|