Message ID | 1544189231-3676-2-git-send-email-sgruszka@redhat.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/5] mt76x02: do not set protection on set_rts_threshold callback | expand |
> > On new mt76 chips, phy mode is configured by last 3 bits > of rate value. Hence OFDM bit is marked by 0x2000 > instead of 0x4000. > > Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> > --- > drivers/net/wireless/mediatek/mt76/mt76x02_regs.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h b/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h > index f7de77d09d28..d1ac847adce5 100644 > --- a/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h > +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h > @@ -440,9 +440,9 @@ > #define MT_PROT_TXOP_ALLOW_GF40 BIT(25) > #define MT_PROT_RTS_THR_EN BIT(26) > #define MT_PROT_RATE_CCK_11 0x0003 > -#define MT_PROT_RATE_OFDM_6 0x4000 > -#define MT_PROT_RATE_OFDM_24 0x4004 > -#define MT_PROT_RATE_DUP_OFDM_24 0x4084 > +#define MT_PROT_RATE_OFDM_6 0x2000 > +#define MT_PROT_RATE_OFDM_24 0x2004 > +#define MT_PROT_RATE_DUP_OFDM_24 0x2084 > #define MT_PROT_TXOP_ALLOW_ALL GENMASK(25, 20) > #define MT_PROT_TXOP_ALLOW_BW20 (MT_PROT_TXOP_ALLOW_ALL & \ > ~MT_PROT_TXOP_ALLOW_MM40 & \ > -- > 1.9.3 > Acked-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h b/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h index f7de77d09d28..d1ac847adce5 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_regs.h @@ -440,9 +440,9 @@ #define MT_PROT_TXOP_ALLOW_GF40 BIT(25) #define MT_PROT_RTS_THR_EN BIT(26) #define MT_PROT_RATE_CCK_11 0x0003 -#define MT_PROT_RATE_OFDM_6 0x4000 -#define MT_PROT_RATE_OFDM_24 0x4004 -#define MT_PROT_RATE_DUP_OFDM_24 0x4084 +#define MT_PROT_RATE_OFDM_6 0x2000 +#define MT_PROT_RATE_OFDM_24 0x2004 +#define MT_PROT_RATE_DUP_OFDM_24 0x2084 #define MT_PROT_TXOP_ALLOW_ALL GENMASK(25, 20) #define MT_PROT_TXOP_ALLOW_BW20 (MT_PROT_TXOP_ALLOW_ALL & \ ~MT_PROT_TXOP_ALLOW_MM40 & \
On new mt76 chips, phy mode is configured by last 3 bits of rate value. Hence OFDM bit is marked by 0x2000 instead of 0x4000. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> --- drivers/net/wireless/mediatek/mt76/mt76x02_regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)