developer | f552fec | 2023-03-27 11:22:06 +0800 | [diff] [blame] | 1 | From 9a407d91aec5a9320d3522d5c5d12c99503355b2 Mon Sep 17 00:00:00 2001 |
developer | bb6ddff | 2023-03-08 17:22:32 +0800 | [diff] [blame] | 2 | From: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 3 | Date: Thu, 23 Feb 2023 19:18:45 +0800 |
developer | f552fec | 2023-03-27 11:22:06 +0800 | [diff] [blame] | 4 | Subject: [PATCH 06/29] wifi: mt76: mt7996: fix eeprom antenna bitfield mask |
developer | bb6ddff | 2023-03-08 17:22:32 +0800 | [diff] [blame] | 5 | |
| 6 | Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 7 | --- |
| 8 | mt7996/eeprom.h | 8 ++++---- |
| 9 | 1 file changed, 4 insertions(+), 4 deletions(-) |
| 10 | |
| 11 | diff --git a/mt7996/eeprom.h b/mt7996/eeprom.h |
| 12 | index 8da599e0..cfc48698 100644 |
| 13 | --- a/mt7996/eeprom.h |
| 14 | +++ b/mt7996/eeprom.h |
| 15 | @@ -31,11 +31,11 @@ enum mt7996_eeprom_field { |
| 16 | #define MT_EE_WIFI_CONF2_BAND_SEL GENMASK(2, 0) |
| 17 | |
| 18 | #define MT_EE_WIFI_CONF1_TX_PATH_BAND0 GENMASK(5, 3) |
| 19 | -#define MT_EE_WIFI_CONF2_TX_PATH_BAND1 GENMASK(5, 3) |
| 20 | -#define MT_EE_WIFI_CONF2_TX_PATH_BAND2 GENMASK(2, 0) |
| 21 | +#define MT_EE_WIFI_CONF2_TX_PATH_BAND1 GENMASK(2, 0) |
| 22 | +#define MT_EE_WIFI_CONF2_TX_PATH_BAND2 GENMASK(5, 3) |
| 23 | #define MT_EE_WIFI_CONF4_STREAM_NUM_BAND0 GENMASK(5, 3) |
| 24 | -#define MT_EE_WIFI_CONF5_STREAM_NUM_BAND1 GENMASK(5, 3) |
| 25 | -#define MT_EE_WIFI_CONF5_STREAM_NUM_BAND2 GENMASK(2, 0) |
| 26 | +#define MT_EE_WIFI_CONF5_STREAM_NUM_BAND1 GENMASK(2, 0) |
| 27 | +#define MT_EE_WIFI_CONF5_STREAM_NUM_BAND2 GENMASK(5, 3) |
| 28 | |
| 29 | #define MT_EE_RATE_DELTA_MASK GENMASK(5, 0) |
| 30 | #define MT_EE_RATE_DELTA_SIGN BIT(6) |
| 31 | -- |
| 32 | 2.39.2 |
| 33 | |