summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/wlan/if_runreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/wlan/if_runreg.h')
-rw-r--r--sys/dev/usb/wlan/if_runreg.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/sys/dev/usb/wlan/if_runreg.h b/sys/dev/usb/wlan/if_runreg.h
index f872fad..33f3b94 100644
--- a/sys/dev/usb/wlan/if_runreg.h
+++ b/sys/dev/usb/wlan/if_runreg.h
@@ -517,8 +517,10 @@
#define RT2860_LNA_PE_A0_POL (1 << 12)
#define RT2860_LNA_PE_G1_EN (1 << 11)
#define RT2860_LNA_PE_A1_EN (1 << 10)
+#define RT2860_LNA_PE1_EN (RT2860_LNA_PE_A1_EN | RT2860_LNA_PE_G1_EN)
#define RT2860_LNA_PE_G0_EN (1 << 9)
#define RT2860_LNA_PE_A0_EN (1 << 8)
+#define RT2860_LNA_PE0_EN (RT2860_LNA_PE_A0_EN | RT2860_LNA_PE_G0_EN)
#define RT2860_PA_PE_G1_POL (1 << 7)
#define RT2860_PA_PE_A1_POL (1 << 6)
#define RT2860_PA_PE_G0_POL (1 << 5)
@@ -896,7 +898,7 @@ struct rt2860_rxwi {
#define RT2860_RIDX_CCK1 0
#define RT2860_RIDX_CCK11 3
#define RT2860_RIDX_OFDM6 4
-#define RT2860_RIDX_MAX 11
+#define RT2860_RIDX_MAX 12
static const struct rt2860_rate {
uint8_t rate;
uint8_t mcs;
@@ -1097,24 +1099,6 @@ static const struct rt2860_rate {
{ 171, 0x100bb1, 0x1300f5, 0x05e014, 0x001401 }, \
{ 173, 0x100bb1, 0x1300f5, 0x05e014, 0x001403 }
-#if 0
-#define RT3070_RF3020 \
- { 241, 2, 2 }, \
- { 241, 2, 7 }, \
- { 242, 2, 2 }, \
- { 242, 2, 7 }, \
- { 243, 2, 2 }, \
- { 243, 2, 7 }, \
- { 244, 2, 2 }, \
- { 244, 2, 7 }, \
- { 245, 2, 2 }, \
- { 245, 2, 7 }, \
- { 246, 2, 2 }, \
- { 246, 2, 7 }, \
- { 247, 2, 2 }, \
- { 248, 2, 4 }
-#endif
-
#define RT3070_RF3052 \
{ 0xf1, 2, 2 }, \
{ 0xf1, 2, 7 }, \
OpenPOWER on IntegriCloud