mt76x0: phy: unify calibration between mt76x0u and mt76x0e
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 mt76x0: phy: unify calibration between mt76x0u and mt76x0e
Align phy calibration logic between mt76x0u and mt76x0e drivers This patch improves connection stability with low SNR
Signed-off-by Lorenzo Bianconi <[email protected]>
--- .../net/wireless/mediatek/mt76/mt76x0/main.c | 3 - .../wireless/mediatek/mt76/mt76x0/mt76x0.h | 1 - .../net/wireless/mediatek/mt76/mt76x0/phy.c | 83 +------------------ .../net/wireless/mediatek/mt76/mt76x0/usb.c | 1 + 4 files changed, 4 insertions(+), 84 deletions(-)
drivers/net/wireless/mediatek/mt76/mt76x0/main.c +0 -3
@@ -121,9 +121,6 @@ void mt76x0_bss_info_changed(struct ieee80211_hw *hw, MT_BKOFF_SLOT_CFG_SLOTTIME, slottime); } -if (changed &BSS_CHANGED_ASSOC ) -mt76x0_phy_recalibrate_after_assoc (dev); -mutex_unlock (&dev->mt76.mutex); }EXPORT_SYMBOL_GPL (mt76x0_bss_info_changed);
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h +0 -1
@@ -64,7 +64,6 @@ void mt76x0_phy_init(struct mt76x02_dev *dev);int mt76x0_phy_wait_bbp_ready (struct mt76x02_dev *dev);int mt76x0_phy_set_channel (struct mt76x02_dev *dev,struct cfg80211_chan_def *chandef); -void mt76x0_phy_recalibrate_after_assoc (struct mt76x02_dev *dev);void mt76x0_phy_set_txpower (struct mt76x02_dev *dev);void mt76x0_phy_calibrate (struct mt76x02_dev *dev,bool power_on);
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c +3 -80
104 lines not on this page · raw message
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c +1 -0
@@ -117,6 +117,7 @@ static int mt76x0u_start(struct ieee80211_hw *hw)if (ret) goto out; +mt76x0_phy_calibrate (dev, true);ieee80211_queue_delayed_work (dev->mt76.hw, &dev->mac_work,MT_CALIBRATE_INTERVAL ); ieee80211_queue_delayed_work(dev->mt76.hw, &dev->cal_work,
Signature · 1 line
2.17.2
Quoted 4 lines · Lorenzo Bianconi
Align phy calibration logic between mt76x0u and mt76x0e drivers This patch improves connection stability with low SNR
Signed-off-by Lorenzo Bianconi <[email protected]>
Tested-by Stanislaw Gruszka <[email protected]>
Quoted 4 lines · Lorenzo Bianconi
Align phy calibration logic between mt76x0u and mt76x0e drivers This patch improves connection stability with low SNR
Signed-off-by Lorenzo Bianconi <[email protected]>
Applied, thanks.
- Felix