Advertisement
Guest User

Untitled

a guest
Sep 21st, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.56 KB | None | 0 0
  1. From 7cc400d15023ed2c36733b357de6a326689444ec Mon Sep 17 00:00:00 2001
  2. Message-Id: <7cc400d15023ed2c36733b357de6a326689444ec.1537530873.git.lorenzo.bianconi@redhat.com>
  3. In-Reply-To: <cover.1537530873.git.lorenzo.bianconi@redhat.com>
  4. References: <cover.1537530873.git.lorenzo.bianconi@redhat.com>
  5. From: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
  6. Date: Fri, 21 Sep 2018 13:48:29 +0200
  7. Subject: [PATCH] mt76x2: fix tx power configuration for VHT mcs 9
  8.  
  9. Fix tx power configuration for VHT 1SS/STBC mcs 9
  10.  
  11. Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
  12. Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
  13. ---
  14. drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c | 4 ++--
  15.  1 file changed, 2 insertions(+), 2 deletions(-)
  16.  
  17. diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c b/drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c
  18. index 3b704a70fad1..a24243df0066 100644
  19. --- a/drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c
  20. +++ b/drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c
  21. @@ -233,9 +233,9 @@ void mt76x2_phy_set_txpower(struct mt76x2_dev *dev)
  22.     mt76_wr(dev, MT_TX_PWR_CFG_7,
  23.         mt76x2_tx_power_mask(t.ofdm[6], t.vht[8], t.ht[6], t.vht[8]));
  24.     mt76_wr(dev, MT_TX_PWR_CFG_8,
  25. -       mt76x2_tx_power_mask(t.ht[14], t.vht[8], t.vht[8], 0));
  26. +       mt76x2_tx_power_mask(t.ht[14], 0, t.vht[8], t.vht[8]));
  27.     mt76_wr(dev, MT_TX_PWR_CFG_9,
  28. -       mt76x2_tx_power_mask(t.ht[6], t.vht[8], t.vht[8], 0));
  29. +       mt76x2_tx_power_mask(t.ht[6], 0, t.vht[8], t.vht[8]));
  30.  }
  31.  EXPORT_SYMBOL_GPL(mt76x2_phy_set_txpower);
  32.  
  33. --
  34. 2.17.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement